cnhis-design-vue 3.1.41-beta.26 → 3.1.41-beta.27

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 (47) hide show
  1. package/README.md +87 -87
  2. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  3. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  4. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  5. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  6. package/es/components/date-picker/index.d.ts +20 -0
  7. package/es/components/date-picker/index.js +1 -0
  8. package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -0
  9. package/es/components/date-picker/src/DatePicker.vue.js +1 -0
  10. package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
  11. package/es/components/form-config/index.d.ts +5 -5
  12. package/es/components/form-config/src/FormConfig.vue.d.ts +5 -5
  13. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -3
  14. package/es/components/index.css +1 -1
  15. package/es/components/index.d.ts +3 -1
  16. package/es/components/index.js +1 -1
  17. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  18. package/es/components/shortcut-setter/index.d.ts +1 -1
  19. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  20. package/es/components/table-filter/index.d.ts +64 -452
  21. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +19 -88
  22. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
  23. package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +37 -253
  24. package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
  25. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +0 -42
  26. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  27. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
  28. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  29. package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +0 -84
  30. package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -1
  31. package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +4 -130
  32. package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -1
  33. package/es/components/table-filter/src/components/table-modal/index.vue.d.ts +3 -43
  34. package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -1
  35. package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +10 -113
  36. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
  37. package/es/components/table-filter/src/types/index.d.ts +6 -162
  38. package/es/components/table-filter/style/iconfont.ttf +0 -0
  39. package/es/components/table-filter/style/index.css +1 -1
  40. package/es/components/time-picker/index.d.ts +18 -0
  41. package/es/components/time-picker/index.js +1 -0
  42. package/es/components/time-picker/src/TimePicker.vue.d.ts +18 -0
  43. package/es/components/time-picker/src/TimePicker.vue.js +1 -0
  44. package/es/env.d.ts +24 -24
  45. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  46. package/es/shared/utils/tapable/index.d.ts +139 -0
  47. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import 'moment/locale/zh-cn';
3
- import { IParentNamesType, ISearchType, ISaveType, IConditionMapType, IApiServerType } from '../../../../../es/components/table-filter/src/types';
3
+ import { IParentNamesType, ISearchType, ISaveType, IApiServerType } from '../../../../../es/components/table-filter/src/types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  searchFieldList: {
6
6
  type: PropType<IApiServerType[]>;
@@ -10,14 +10,6 @@ declare const _default: import("vue").DefineComponent<{
10
10
  type: StringConstructor;
11
11
  default: string;
12
12
  };
13
- source: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- quickSearchListObj: {
18
- type: PropType<IConditionMapType>;
19
- default: () => {};
20
- };
21
13
  filterApiConfig: {
22
14
  type: ObjectConstructor;
23
15
  };
@@ -29,7 +21,6 @@ declare const _default: import("vue").DefineComponent<{
29
21
  trigger: string[];
30
22
  };
31
23
  };
32
- attrs: any;
33
24
  $message: import("naive-ui").MessageApi;
34
25
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
35
26
  outQuickSearchFn: {
@@ -80,27 +71,15 @@ declare const _default: import("vue").DefineComponent<{
80
71
  type: StringConstructor;
81
72
  default: string;
82
73
  };
83
- source: {
84
- type: StringConstructor;
85
- default: string;
86
- };
87
- quickSearchListObj: {
88
- type: PropType<IConditionMapType>;
89
- default: () => {};
90
- };
91
74
  filterApiConfig: {
92
75
  type: ObjectConstructor;
93
76
  };
94
77
  }>> & {
95
- onOnSave?: ((...args: any[]) => any) | undefined;
96
- onGetParam?: ((...args: any[]) => any) | undefined;
97
- onFilterCountChange?: ((...args: any[]) => any) | undefined;
98
- onCloseModal?: ((...args: any[]) => any) | undefined;
99
- onUpdateTableCondiTion?: ((...args: any[]) => any) | undefined;
78
+ onOnFilterSearch?: ((...args: any[]) => any) | undefined;
79
+ onGetFilterParam?: ((...args: any[]) => any) | undefined;
100
80
  onClearQuickSearchConfig?: ((...args: any[]) => any) | undefined;
101
81
  }>>;
102
- emit: (event: "onSave" | "getParam" | "filterCountChange" | "closeModal" | "updateTableCondiTion" | "clearQuickSearchConfig", ...args: any[]) => void;
103
- ageAttrDomList: any;
82
+ emit: (event: "onFilterSearch" | "getFilterParam" | "clearQuickSearchConfig", ...args: any[]) => void;
104
83
  formRef: any;
105
84
  formValue: import("vue").Ref<{
106
85
  classname: string;
@@ -116,32 +95,6 @@ declare const _default: import("vue").DefineComponent<{
116
95
  settingObj?: any;
117
96
  placeholder?: string | undefined;
118
97
  AGEAttr?: boolean | undefined;
119
- BIRTHDAY?: {
120
- con: any;
121
- limit_date?: any;
122
- start_val: any;
123
- end_val: any;
124
- unit?: string | undefined;
125
- units?: {
126
- con: string;
127
- title: string;
128
- name: string;
129
- units?: number | undefined;
130
- }[] | undefined;
131
- } | undefined;
132
- DATE?: {
133
- con: any;
134
- limit_date?: any;
135
- start_val: any;
136
- end_val: any;
137
- unit?: string | undefined;
138
- units?: {
139
- con: string;
140
- title: string;
141
- name: string;
142
- units?: number | undefined;
143
- }[] | undefined;
144
- } | undefined;
145
98
  CL?: string | undefined;
146
99
  CONVERT?: any;
147
100
  EVALUATEAttr?: boolean | undefined;
@@ -165,12 +118,6 @@ declare const _default: import("vue").DefineComponent<{
165
118
  comAttr?: string | undefined;
166
119
  con?: string | undefined;
167
120
  dataSource?: any;
168
- dateTeam?: {
169
- con: string;
170
- title: string;
171
- name: string;
172
- units?: number | undefined;
173
- }[] | undefined;
174
121
  dictionarieObj?: any;
175
122
  explicitRequired?: number | undefined;
176
123
  explicitDefaultVal?: string | undefined;
@@ -254,9 +201,6 @@ declare const _default: import("vue").DefineComponent<{
254
201
  hasFieldList?: any;
255
202
  search_DefaultValue?: any;
256
203
  }[]>;
257
- isChangeWindow: import("vue").Ref<boolean>;
258
- modalWidth: import("vue").Ref<string>;
259
- modalHeight: import("vue").Ref<string>;
260
204
  parentNames: import("vue").Ref<{
261
205
  disabled: boolean;
262
206
  isAdd?: boolean | undefined;
@@ -268,8 +212,7 @@ declare const _default: import("vue").DefineComponent<{
268
212
  parentNamesHasAdd: import("vue").ComputedRef<boolean>;
269
213
  handleName: import("vue").ComputedRef<(item: ISearchType, key?: string) => any>;
270
214
  init: () => void;
271
- handleParentName: () => void;
272
- onSave: () => {
215
+ onFilterSearch: () => {
273
216
  columnName: string;
274
217
  title: string;
275
218
  fieldType?: string | undefined;
@@ -279,32 +222,6 @@ declare const _default: import("vue").DefineComponent<{
279
222
  settingObj?: any;
280
223
  placeholder?: string | undefined;
281
224
  AGEAttr?: boolean | undefined;
282
- BIRTHDAY?: {
283
- con: any;
284
- limit_date?: any;
285
- start_val: any;
286
- end_val: any;
287
- unit?: string | undefined;
288
- units?: {
289
- con: string;
290
- title: string;
291
- name: string;
292
- units?: number | undefined;
293
- }[] | undefined;
294
- } | undefined;
295
- DATE?: {
296
- con: any;
297
- limit_date?: any;
298
- start_val: any;
299
- end_val: any;
300
- unit?: string | undefined;
301
- units?: {
302
- con: string;
303
- title: string;
304
- name: string;
305
- units?: number | undefined;
306
- }[] | undefined;
307
- } | undefined;
308
225
  CL?: string | undefined;
309
226
  CONVERT?: any;
310
227
  EVALUATEAttr?: boolean | undefined;
@@ -328,12 +245,6 @@ declare const _default: import("vue").DefineComponent<{
328
245
  comAttr?: string | undefined;
329
246
  con?: string | undefined;
330
247
  dataSource?: any;
331
- dateTeam?: {
332
- con: string;
333
- title: string;
334
- name: string;
335
- units?: number | undefined;
336
- }[] | undefined;
337
248
  dictionarieObj?: any;
338
249
  explicitRequired?: number | undefined;
339
250
  explicitDefaultVal?: string | undefined;
@@ -419,8 +330,6 @@ declare const _default: import("vue").DefineComponent<{
419
330
  }[];
420
331
  getMergeConObj: () => any;
421
332
  getConObjParams: () => any;
422
- closeModal: () => void;
423
- resetChangeWindow: () => void;
424
333
  openSaveToCalss: () => void;
425
334
  getConObj: (arr: ISearchType[]) => any;
426
335
  saveToCalss: () => void;
@@ -757,7 +666,7 @@ declare const _default: import("vue").DefineComponent<{
757
666
  [key: string]: any;
758
667
  }> | null;
759
668
  handleUpdate(val: any, widgetType: any, defValueUnit: any): void;
760
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
669
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange")[], "update:modelValue" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
761
670
  cfg: {
762
671
  type: ObjectConstructor;
763
672
  required: true;
@@ -767,8 +676,9 @@ declare const _default: import("vue").DefineComponent<{
767
676
  };
768
677
  }>> & {
769
678
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
679
+ onOutFilterChange?: ((...args: any[]) => any) | undefined;
770
680
  }, {}>;
771
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSave" | "getParam" | "filterCountChange" | "closeModal" | "updateTableCondiTion" | "clearQuickSearchConfig")[], "onSave" | "getParam" | "filterCountChange" | "closeModal" | "updateTableCondiTion" | "clearQuickSearchConfig", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
681
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onFilterSearch" | "getFilterParam" | "clearQuickSearchConfig")[], "onFilterSearch" | "getFilterParam" | "clearQuickSearchConfig", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
772
682
  searchFieldList: {
773
683
  type: PropType<IApiServerType[]>;
774
684
  default: () => never[];
@@ -777,28 +687,15 @@ declare const _default: import("vue").DefineComponent<{
777
687
  type: StringConstructor;
778
688
  default: string;
779
689
  };
780
- source: {
781
- type: StringConstructor;
782
- default: string;
783
- };
784
- quickSearchListObj: {
785
- type: PropType<IConditionMapType>;
786
- default: () => {};
787
- };
788
690
  filterApiConfig: {
789
691
  type: ObjectConstructor;
790
692
  };
791
693
  }>> & {
792
- onOnSave?: ((...args: any[]) => any) | undefined;
793
- onGetParam?: ((...args: any[]) => any) | undefined;
794
- onFilterCountChange?: ((...args: any[]) => any) | undefined;
795
- onCloseModal?: ((...args: any[]) => any) | undefined;
796
- onUpdateTableCondiTion?: ((...args: any[]) => any) | undefined;
694
+ onOnFilterSearch?: ((...args: any[]) => any) | undefined;
695
+ onGetFilterParam?: ((...args: any[]) => any) | undefined;
797
696
  onClearQuickSearchConfig?: ((...args: any[]) => any) | undefined;
798
697
  }, {
799
- source: string;
800
698
  searchFieldList: IApiServerType[];
801
699
  tableId: string;
802
- quickSearchListObj: IConditionMapType;
803
700
  }>;
804
701
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as l,ref as a,computed as t,watch as i,openBlock as n,createElementBlock as o,createElementVNode as u,normalizeClass as s,Fragment as c,renderList as r,unref as d,createCommentVNode as v,toDisplayString as f,createBlock as m,createVNode as p,withCtx as h,createTextVNode as g,withDirectives as k,vShow as b,isRef as y}from"vue";import{useMessage as C,NModal as S,NCard as x,NIcon as q,NButton as _,NForm as T,NFormItem as j,NInput as w}from"naive-ui";import{CloseOutline as L,AddOutline as A}from"@vicons/ionicons5";import O from"../hooks/useMixins.js";import I from"../hooks/useRenderWidget.js";import E from"../hooks/useAdvanced.js";import"moment/locale/zh-cn";import{cloneDeep as Q}from"lodash-es";import R from"../components/render-widget/index.vue.js";import U from"../../../../_virtual/plugin-vue_export-helper.js";const V={class:"quick-row"},z={class:"svg-wrap"},M={class:"flex_right"},B={class:"class-filter-content"},D={class:"quickSearch-content"},F=u("span",{class:"label"},"父类名称:",-1),N=["onDblclick","onClick"],P={key:0,class:"s-content"};var W=U(e({__name:"QuickSearch",props:{searchFieldList:{type:Array,default:()=>[]},tableId:{type:String,default:""},source:{type:String,default:"editTable"},quickSearchListObj:{type:Object,default:()=>({})},filterApiConfig:{type:Object}},emits:["filterCountChange","onSave","closeModal","updateTableCondiTion","clearQuickSearchConfig","getParam"],setup(e,{expose:U,emit:W}){const G=e,J={classname:{required:!0,message:"请输入分类名称",trigger:["input","blur"]}},H=l(),K=C(),{handleGetConfigApi:X,outQuickSearchFn:Y}=O(),{initRenderWidgetCfg:Z,getRenderSearchConObj:$,resetRenderWidgetValue:ee}=I(),{transformData:le}=E();a(new Map);const ae=a(null),te=a({classname:""});let ie=a(!1),ne=a([]),oe=a(!1),ue=a("700px"),se=a("60vh"),ce=a([]),re=a(!1),de=a(""),ve=t((()=>!!ce.value.length&&ce.value.some((e=>e.isAdd)))),fe=t((()=>(e,l="name")=>e.alias||e[l]));function me(){return function(e){if(!Array.isArray(e))return[];let l=[];for(let a=0;a<e.length;a++){let t=e[a];const i=$(t);i&&l.push(i)}return l.filter((e=>e.value))}(ne.value)||[]}function pe(){ue.value="700px",se.value="60vh",oe.value=!1}function he(){var e;null==(e=ae.value)||e.validate((e=>{var l;if(e)return;let a=me();a.length||(a=[]);let t=null==(l=ce.value.filter((e=>e.selected))[0])?void 0:l.value;!async function(e){var l;try{if(!await X(e,"requestSaveTableCondiTion",{},G.filterApiConfig))return;ie.value=!1,null==(l=ae.value)||l.restoreValidation(),te.value.classname="",ce.value=[],W("updateTableCondiTion"),Ce(),pe(),W("closeModal")}catch(e){console.log(e)}}({tableId:G.tableId||"",setting:JSON.stringify({displayCategory:t,name:te.value.classname,conObj:a}),conditionList:"[]"})}))}function ge(e){var l;const a=null==(l=null==e?void 0:e.target)?void 0:l.nextElementSibling;setTimeout((()=>{a&&a.focus()})),re.value=!0}function ke(){re.value=!1,de.value&&(ce.value.forEach((e=>e.selected=!1)),ce.value.push({disabled:!0,value:de.value,selected:!0,isAdd:!0}),de.value="")}function be(e,l){!function(e,l){let{conditionList:a=[]}=G.quickSearchListObj||{};if(!a||a&&0===(null==a?void 0:a.length))return void ce.value.splice(e,1);let t=a.filter((e=>e.displayCategory===l.value));if(!t||!t.length)return void ce.value.splice(e,1);K.error("该分类下有已有数据,请删除该分类下的筛选集后重试!")}(e,l)}function ye(){ie.value=!1}function Ce(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{ee(e)})),Y.handlerInitSearchItem(ne.value)}(ne.value),"editTable"!==G.source?null==H||H.clearQuickSearchConfig():W("clearQuickSearchConfig")}return i((()=>G.searchFieldList),(e=>{e&&e.length>0&&function(){let e=Q(le(G.searchFieldList)).filter((e=>1==e.isShowSearch&&1!=e.filterExplicit))||[];setTimeout((()=>{ne.value=e||[],Y.handlerInitSearchItem(ne.value)}))}()}),{immediate:!0,deep:!0}),i((()=>G.quickSearchListObj),(e=>{e&&Object.keys(e).length?function(){let e=[],{displayCategoryList:l=[]}=G.quickSearchListObj;l&&l.length?(l.forEach((l=>{"未分类"!==l&&e.push({disabled:!0,selected:!1,value:l})})),ce.value=e):ce.value=[]}():ce.value=[]}),{immediate:!0,deep:!0}),i((()=>ne),(()=>{const e=me()||[];W("filterCountChange",e.length),W("getParam",e)}),{deep:!0}),U({openSaveToCalss:function(){let e=me();e&&(e.length>0?ie.value=!0:K.warning("请设置搜索条件"))},clearData:Ce,onSave:function(){let e=me()||[];return pe(),W("onSave",e),ne.value}}),(l,a)=>(n(),o("div",null,[u("div",{class:s(["quick-search-block",{"quick-search-table":"editTable"===e.source}])},[(n(!0),o(c,null,r(d(ne),(l=>(n(),o("div",{class:s(["quick-item",{"quick-block":l._isBlock}]),key:l.sid||l.columnName},[u("div",V,[v(" title "),u("div",{class:s(["quick-item-title",{"quick-item-title-default":"editTable"!==e.source}])},[u("span",null,f(d(fe)(l,"title"))+"  ",1)],2),v(" content "),u("div",{class:s(["quick-item-col",{"quick-item-col-default":"editTable"!==e.source}])},[v(" 直接渲染组件 "),l.isRender?(n(),m(R,{key:0,cfg:l,modelValue:l.value,"onUpdate:modelValue":e=>l.value=e},null,8,["cfg","modelValue","onUpdate:modelValue"])):v("v-if",!0)],2)])],2)))),128))],2),v(" 保存到分类的弹窗 "),p(d(S),{show:d(ie),maskClosable:!1,"positive-text":"确认","negative-text":"取消",onPositiveClick:he,onNegativeClick:ye,class:"classification-modal-block"},{default:h((()=>[p(d(x),{title:"设置筛选分类",style:{width:"520px"},bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":h((()=>[u("div",z,[p(d(q),{component:d(L),size:"24",onClick:ye},null,8,["component"])])])),footer:h((()=>[u("div",M,[p(d(_),{onClick:ye},{default:h((()=>[g("取消")])),_:1}),p(d(_),{type:"info",onClick:he},{default:h((()=>[g("确认")])),_:1})])])),default:h((()=>[u("div",B,[p(d(T),{ref_key:"formRef",ref:ae,"label-placement":"left",rules:J,model:te.value},{default:h((()=>[p(d(j),{label:"筛选集名称",path:"classname"},{default:h((()=>[p(d(w),{value:te.value.classname,"onUpdate:value":a[0]||(a[0]=e=>te.value.classname=e),placeholder:"请输入分类名称",clearable:""},null,8,["value"])])),_:1})])),_:1},8,["model"]),u("div",D,[F,(n(!0),o(c,null,r(d(ce),((e,l)=>(n(),o("div",{class:s(["edit-tag",{"edit-tag-select":e.selected&&e.disabled}]),key:l,onDblclick:l=>function(e,l){l.disabled=!1,setTimeout((()=>{var l;null==(l=e.target)||l.focus()}),0)}(l,e),onClick:a=>function(e,l){e.disabled&&(ce.value.forEach(((e,a)=>{a!==l&&(e.selected=!1)})),e.selected=!e.selected)}(e,l)},[e.disabled?(n(),o("div",P,[u("span",null,f(e.value),1)])):(n(),m(d(w),{key:1,style:{width:"100px"},value:e.value,"onUpdate:value":l=>e.value=l,disabled:e.disabled,onBlur:()=>e.disabled=!0,maxLength:10},null,8,["value","onUpdate:value","disabled","onBlur"])),p(d(q),{component:d(L),class:"anticon-close",size:"20",onClick:a=>be(l,e)},null,8,["component","onClick"])],42,N)))),128)),d(ve)?v("v-if",!0):(n(),o(c,{key:0},[k(p(d(_),{dashed:"",icon:"plus",class:"ant-btn",onClick:ge},{default:h((()=>[p(d(q),{component:d(A),size:"20"},null,8,["component"]),g("添加分类 ")])),_:1},512),[[b,!d(re)]]),k(p(d(w),{style:{width:"100px"},class:"edit-tag",value:d(de),"onUpdate:value":a[1]||(a[1]=e=>y(de)?de.value=e:de=e),valueModifiers:{trim:!0},onBlur:ke,maxLength:10},null,8,["value"]),[[b,d(re)]])],64))])])])),_:1})])),_:1},8,["show"])]))}}),[["__file","QuickSearch.vue"]]);export{W as default};
1
+ import{defineComponent as e,ref as l,computed as a,watch as t,openBlock as i,createElementBlock as n,createElementVNode as o,Fragment as s,renderList as u,unref as c,normalizeClass as r,createCommentVNode as d,toDisplayString as v,createBlock as f,createVNode as m,withCtx as p,createTextVNode as h,withDirectives as g,vShow as k,isRef as b}from"vue";import{useMessage as y,NModal as C,NCard as S,NIcon as x,NButton as _,NForm as w,NFormItem as A,NInput as q}from"naive-ui";import{CloseOutline as F,AddOutline as j}from"@vicons/ionicons5";import I from"../hooks/useMixins.js";import L from"../hooks/useRenderWidget.js";import R from"../hooks/useAdvanced.js";import"moment/locale/zh-cn";import{cloneDeep as T}from"lodash-es";import U from"../components/render-widget/index.vue.js";import V from"../../../../_virtual/plugin-vue_export-helper.js";const z={class:"quick-search-block quick-search-table"},E={class:"quick-row"},Q={class:"quick-item-title"},B={class:"quick-item-col"},D={class:"svg-wrap"},O={class:"flex_right"},N={class:"class-filter-content"},P={class:"quickSearch-content"},W=o("span",{class:"label"},"父类名称:",-1),M=["onDblclick","onClick"],G={key:0,class:"s-content"};var J=V(e({__name:"QuickSearch",props:{searchFieldList:{type:Array,default:()=>[]},tableId:{type:String,default:""},filterApiConfig:{type:Object}},emits:["getFilterParam","onFilterSearch","clearQuickSearchConfig"],setup(e,{expose:V,emit:J}){const H=e,K={classname:{required:!0,message:"请输入分类名称",trigger:["input","blur"]}},X=y(),{handleGetConfigApi:Y,outQuickSearchFn:Z}=I(),{initRenderWidgetCfg:$,getRenderSearchConObj:ee,resetRenderWidgetValue:le}=L(),{transformData:ae}=R(),te=l(null),ie=l({classname:""});let ne=l(!1),oe=l([]),se=l([]),ue=l(!1),ce=l(""),re=a((()=>!!se.value.length&&se.value.some((e=>e.isAdd)))),de=a((()=>(e,l="name")=>e.alias||e[l]));function ve(){return function(e){if(!Array.isArray(e))return[];let l=[];for(let a=0;a<e.length;a++){let t=e[a];const i=ee(t);i&&l.push(i)}return l.filter((e=>e.value))}(oe.value)||[]}function fe(){var e;null==(e=te.value)||e.validate((e=>{var l;if(e)return;let a=ve();a.length||(a=[]);let t=null==(l=se.value.filter((e=>e.selected))[0])?void 0:l.value;!async function(e){var l;try{if(!await Y(e,"requestSaveTableCondiTion",{},H.filterApiConfig))return;ne.value=!1,null==(l=te.value)||l.restoreValidation(),ie.value.classname="",se.value=[],ke()}catch(e){console.log(e)}}({tableId:H.tableId||"",setting:JSON.stringify({displayCategory:t,name:ie.value.classname,conObj:a}),conditionList:"[]"})}))}function me(e){var l;const a=null==(l=null==e?void 0:e.target)?void 0:l.nextElementSibling;setTimeout((()=>{a&&a.focus()})),ue.value=!0}function pe(){ue.value=!1,ce.value&&(se.value.forEach((e=>e.selected=!1)),se.value.push({disabled:!0,value:ce.value,selected:!0,isAdd:!0}),ce.value="")}function he(e,l){!function(e,l){se.value.splice(e,1)}(e)}function ge(){ne.value=!1}function ke(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{le(e)})),Z.handlerInitSearchItem(oe.value)}(oe.value),J("clearQuickSearchConfig")}return t((()=>H.searchFieldList),(e=>{e&&e.length>0&&function(){let e=T(ae(H.searchFieldList)).filter((e=>1==e.isShowSearch&&1!=e.filterExplicit))||[];setTimeout((()=>{oe.value=e||[],Z.handlerInitSearchItem(oe.value)}))}()}),{immediate:!0,deep:!0}),t((()=>oe),(()=>{const e=ve()||[];J("getFilterParam",e)}),{deep:!0}),V({openSaveToCalss:function(){let e=ve();e&&(e.length>0?ne.value=!0:X.warning("请设置搜索条件"))},clearData:ke,onFilterSearch:function(){let e=ve()||[];return J("onFilterSearch",e,!1),oe.value}}),(e,l)=>(i(),n("div",null,[o("div",z,[(i(!0),n(s,null,u(c(oe),(e=>(i(),n("div",{class:r(["quick-item",{"quick-block":e._isBlock}]),key:e.sid||e.columnName},[o("div",E,[d(" title "),o("div",Q,[o("span",null,v(c(de)(e,"title"))+"  ",1)]),d(" content "),o("div",B,[d(" 直接渲染组件 "),e.isRender?(i(),f(U,{key:0,cfg:e,modelValue:e.value,"onUpdate:modelValue":l=>e.value=l},null,8,["cfg","modelValue","onUpdate:modelValue"])):d("v-if",!0)])])],2)))),128))]),d(" 保存到分类的弹窗 "),m(c(C),{show:c(ne),maskClosable:!1,"positive-text":"确认","negative-text":"取消",onPositiveClick:fe,onNegativeClick:ge,class:"classification-modal-block"},{default:p((()=>[m(c(S),{title:"设置筛选分类",style:{width:"520px"},bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":p((()=>[o("div",D,[m(c(x),{component:c(F),size:"24",onClick:ge},null,8,["component"])])])),footer:p((()=>[o("div",O,[m(c(_),{onClick:ge},{default:p((()=>[h("取消")])),_:1}),m(c(_),{type:"info",onClick:fe},{default:p((()=>[h("确认")])),_:1})])])),default:p((()=>[o("div",N,[m(c(w),{ref_key:"formRef",ref:te,"label-placement":"left",rules:K,model:ie.value},{default:p((()=>[m(c(A),{label:"筛选集名称",path:"classname"},{default:p((()=>[m(c(q),{value:ie.value.classname,"onUpdate:value":l[0]||(l[0]=e=>ie.value.classname=e),placeholder:"请输入分类名称",clearable:""},null,8,["value"])])),_:1})])),_:1},8,["model"]),o("div",P,[W,(i(!0),n(s,null,u(c(se),((e,l)=>(i(),n("div",{class:r(["edit-tag",{"edit-tag-select":e.selected&&e.disabled}]),key:l,onDblclick:l=>function(e,l){l.disabled=!1,setTimeout((()=>{var l;null==(l=e.target)||l.focus()}),0)}(l,e),onClick:a=>function(e,l){e.disabled&&(se.value.forEach(((e,a)=>{a!==l&&(e.selected=!1)})),e.selected=!e.selected)}(e,l)},[e.disabled?(i(),n("div",G,[o("span",null,v(e.value),1)])):(i(),f(c(q),{key:1,style:{width:"100px"},value:e.value,"onUpdate:value":l=>e.value=l,disabled:e.disabled,onBlur:()=>e.disabled=!0,maxLength:10},null,8,["value","onUpdate:value","disabled","onBlur"])),m(c(x),{component:c(F),class:"anticon-close",size:"20",onClick:e=>he(l)},null,8,["component","onClick"])],42,M)))),128)),c(re)?d("v-if",!0):(i(),n(s,{key:0},[g(m(c(_),{dashed:"",icon:"plus",class:"ant-btn",onClick:me},{default:p((()=>[m(c(x),{component:c(j),size:"20"},null,8,["component"]),h("添加分类 ")])),_:1},512),[[k,!c(ue)]]),g(m(c(q),{style:{width:"100px"},class:"edit-tag",value:c(ce),"onUpdate:value":l[1]||(l[1]=e=>b(ce)?ce.value=e:ce=e),valueModifiers:{trim:!0},onBlur:pe,maxLength:10},null,8,["value"]),[[k,c(ue)]])],64))])])])),_:1})])),_:1},8,["show"])]))}}),[["__file","QuickSearch.vue"]]);export{J as default};
@@ -1,23 +1,4 @@
1
1
  export declare type funcVoid = () => void;
2
- export declare type IrelationType = {
3
- fieldList?: any;
4
- valueField?: any;
5
- primaryField?: any;
6
- relationField?: any;
7
- tableId: any;
8
- parameterConversionId: any;
9
- converFun: any;
10
- preConObj: any;
11
- relationOrgId: any;
12
- preSqlExpression: any;
13
- tableName?: string;
14
- quote_con?: {
15
- conObj: ISearchConfigType;
16
- sqlExpression: string;
17
- };
18
- field_key?: string;
19
- con?: string;
20
- };
21
2
  export declare type ISearchType = {
22
3
  columnName: string;
23
4
  title: string;
@@ -28,8 +9,6 @@ export declare type ISearchType = {
28
9
  settingObj?: any;
29
10
  placeholder?: string;
30
11
  AGEAttr?: boolean;
31
- BIRTHDAY?: IDateType;
32
- DATE?: IDateType;
33
12
  CL?: string;
34
13
  CONVERT?: any;
35
14
  EVALUATEAttr?: boolean;
@@ -53,7 +32,6 @@ export declare type ISearchType = {
53
32
  comAttr?: string;
54
33
  con?: string;
55
34
  dataSource?: any;
56
- dateTeam?: ITeamType[];
57
35
  dictionarieObj?: any;
58
36
  explicitRequired?: number;
59
37
  explicitDefaultVal?: string;
@@ -105,14 +83,6 @@ export declare type ISearchType = {
105
83
  hasFieldList?: any;
106
84
  search_DefaultValue?: any;
107
85
  };
108
- export declare type IDateType = {
109
- con: any;
110
- limit_date?: any;
111
- start_val: any;
112
- end_val: any;
113
- unit?: string;
114
- units?: ITeamType[];
115
- };
116
86
  export declare type IlabelType = {
117
87
  labelId?: string;
118
88
  change_text: string;
@@ -131,50 +101,12 @@ export declare type IFilterItemType = {
131
101
  key?: string;
132
102
  value: string;
133
103
  };
134
- export declare type IsettingType = {
135
- acrossTable?: string;
136
- attr?: string;
137
- colorAndIcon?: any;
138
- colorSetting?: any;
139
- fontContentCopy?: string;
140
- format?: string;
141
- isHide?: string;
142
- isSystemField?: string;
143
- labelType?: any;
144
- notParticipatingSearch?: string;
145
- notParticipatingSort?: string;
146
- relationTable?: any;
147
- showSetting?: IlabelType[];
148
- wordbook?: IwordbookType;
149
- isPreciseSearch?: number;
150
- };
151
- export declare type IwordbookType = {
152
- id?: string;
153
- showType?: string;
154
- params?: any;
155
- autograph?: any;
156
- field_key?: string;
157
- showKeys?: any;
158
- filterKeys?: any;
159
- wordbookType?: any;
160
- };
161
104
  export declare type IParentNamesType = {
162
105
  disabled: boolean;
163
106
  isAdd?: boolean;
164
107
  selected: boolean;
165
108
  value: string;
166
109
  };
167
- export declare type ITeamType = {
168
- con: string;
169
- title: string;
170
- name: string;
171
- units?: number;
172
- };
173
- export declare type IEvaluateType = {
174
- label: string;
175
- value: string;
176
- isSelect?: boolean;
177
- };
178
110
  export declare type ISaveType = {
179
111
  id?: string;
180
112
  tableId: string;
@@ -194,17 +126,6 @@ export declare type ILabelItemListType = {
194
126
  typeId: string;
195
127
  typeName: string;
196
128
  };
197
- export declare type ILabelType = {
198
- addVal: string;
199
- isShowBtn: boolean;
200
- isUnfold: boolean;
201
- itemList: ILabelItemListType[];
202
- showAdd: boolean;
203
- typeId: string;
204
- typeName: string;
205
- change_text?: string;
206
- filter?: any;
207
- };
208
129
  export declare type IClassifyListType = {
209
130
  classifyId: string;
210
131
  displayCategory: string;
@@ -246,31 +167,6 @@ export declare type ITreeDataType = {
246
167
  open?: boolean;
247
168
  selected?: boolean;
248
169
  };
249
- export declare type IActionType = {
250
- curKey: number;
251
- field_key: string;
252
- fieldId: any;
253
- fieldType: string;
254
- con: string;
255
- searchList: any;
256
- searchChildList: any;
257
- dateList: any;
258
- wordbookData: any;
259
- relationData: any;
260
- relationField: string;
261
- relationFieldList: any;
262
- quote_con: any;
263
- title: string;
264
- unit: string;
265
- setting: string;
266
- settingObj: any;
267
- wordbookValueList: string[];
268
- isIllegalField: boolean;
269
- is_compare_field: boolean;
270
- selectList: any;
271
- customInput: boolean;
272
- compare_field: any;
273
- };
274
170
  export declare type IConditionMapType = {
275
171
  conditionList: IClassifyListType[];
276
172
  displayCategoryList: string[];
@@ -278,39 +174,6 @@ export declare type IConditionMapType = {
278
174
  countTabCondition: string;
279
175
  settingId: string;
280
176
  };
281
- export declare type ILocalObjType = {
282
- autograph?: string;
283
- extendParams?: any;
284
- id?: string;
285
- menuId?: string;
286
- name?: string;
287
- params?: any;
288
- preConObj?: any;
289
- preSqlExpression?: any;
290
- primaryKeyValue?: any;
291
- reportType?: any;
292
- triggerObjContentObj?: ITriggerObjType;
293
- type?: string;
294
- };
295
- export declare type ITriggerObjType = Record<'id' | 'name' | 'type', string>;
296
- export declare type ISelectAllType = Record<'name' | 'sid', string>;
297
- export declare type IOriginConditionType = {
298
- checked?: boolean;
299
- classifyId?: string;
300
- conObj: ISearchConfigType;
301
- createdByName: string;
302
- digital: number;
303
- displayCategory: string;
304
- from?: string;
305
- isDefault: boolean;
306
- isEdit: boolean;
307
- isPublic: string;
308
- isShow: boolean;
309
- name: string;
310
- selected?: boolean;
311
- sid: string;
312
- sqlExpression?: string;
313
- };
314
177
  export declare type IbtnType = {
315
178
  buttonType: string;
316
179
  color: string;
@@ -368,9 +231,6 @@ export declare type IparamsType = Record<'p_name' | 'p_value', string>;
368
231
  export declare type IsettingsType = {
369
232
  hideQuickSearch: number;
370
233
  };
371
- export declare type InjectisShowResetButton = {
372
- from: '';
373
- };
374
234
  export declare type IeditTableWrapperItem = {
375
235
  options?: IeditTableWrapperDetail;
376
236
  };
@@ -378,28 +238,6 @@ export declare type IeditTableWrapperDetail = {
378
238
  isButtonFolding?: boolean;
379
239
  extendParams?: any;
380
240
  };
381
- export declare type IrowBtnListObj = {
382
- ADD: {
383
- name: string;
384
- children: IbtnType[];
385
- };
386
- INLINE: {
387
- name: string;
388
- children: IbtnType[];
389
- };
390
- BATCH: {
391
- name: string;
392
- children: IbtnType[];
393
- };
394
- };
395
- export declare type IPrintType = {
396
- number: number;
397
- authorizationKey: string;
398
- versionType: any;
399
- port: number;
400
- id: string;
401
- };
402
- export declare type IPrintAboutType = Record<'templateId' | 'formatId' | 'type', string>;
403
241
  export declare type ICheckboxType = Record<'label' | 'value', string>;
404
242
  export declare type IApiServerType = {
405
243
  name: string;
@@ -471,3 +309,9 @@ export declare type IFormStateType = {
471
309
  displayCategory: string;
472
310
  filterConditions: Record<'condition' | 'key' | 'presetVal' | 'value', string>[];
473
311
  };
312
+ export declare type ISearchParamsType = {
313
+ field_key: string;
314
+ con: string;
315
+ value: any;
316
+ unit: string | null;
317
+ };
@@ -1 +1 @@
1
- .classification-modal-block .n-card-header .svg-wrap .svg-icon{cursor:pointer;font-size:14px}.classification-modal-block .n-card-header .svg-wrap .svg-icon+svg{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex;flex-wrap:wrap}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-action{cursor:pointer;float:right;font-size:16px;margin-top:6px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.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:8px}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px}.quick-search-block .quick-item .quick-row{align-items:center;display:flex}.quick-search-block .quick-item .quick-row .quick-item-title{line-height:32px;min-width:80px;padding-left:12px;text-align:right}.quick-search-block .quick-item .quick-row .quick-item-col{align-items:center;display:flex;padding:0 12px}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block}.classification-block .tree-type{border:1px solid #d5d5d5;border-radius:4px;height:100%;line-height:32px;margin-top:8px;padding-bottom:80px;width:150px}.classification-block .tree-type .header{border-bottom:1px solid #e6eaef;display:flex;font-size:14px;justify-content:space-between;padding:0 10px}.classification-block .tree-type .header .header-1{align-items:center;cursor:pointer;display:flex}.classification-block .tree-type .tree{height:calc(100% - 32px);line-height:32px;margin:0;overflow:auto;padding-left:0}.classification-block .tree-type .tree::-webkit-scrollbar{width:5px}.classification-block .tree-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer}.classification-block .tree-type .tree .tree-item.tree-header{box-sizing:border-box;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .tree-type .tree .tree-item .header-item{box-sizing:border-box;line-height:1.4}.classification-block .tree-type .tree .tree-item .header-item.selected,.classification-block .tree-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children{align-items:center;display:flex;height:32px;padding-left:23px;padding-right:10px}.classification-block .tree-type .tree .tree-item .children .child-item{align-items:center;border-bottom:1px solid transparent;color:#7c7c7c;display:flex;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .tree-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-content{align-items:center;display:flex}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item .digital-span{flex:1;margin-left:5px;text-align:left}.classification-block .tree-type .tree-type-footer{bottom:0;line-height:20px;padding-left:16px;position:absolute;width:100%}.classification-block .tree-type .tree-type-footer .selected-num{margin-bottom:9px;margin-right:8px}.classification-block .tree-type .tree-type-footer .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;justify-content:center;margin-bottom:15px;margin-left:0}.classification-block .tile-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 17px}.classification-block .tile-type .header{align-items:center;border-bottom:1px solid #d5d5d5;display:inline-flex;justify-content:space-between;line-height:44px;width:100%}.classification-block .tile-type .header .all-data{border-bottom:1px solid transparent;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;line-height:1.4;margin-right:auto}.classification-block .tile-type .header .all-data:hover{color:#2d7aff}.classification-block .tile-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .tile-type .header .selected{color:#2d7aff}.classification-block .tile-type .header .right-setting{display:flex}.classification-block .tile-type .header .right-setting .setting-1{align-items:center;cursor:pointer;display:flex}.classification-block .tile-type .header .right-setting .setting-1 .n-icon{margin-right:6px}.classification-block .tile-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .tile-type .tile{border-bottom:1px solid #d5d5d5;margin:0;padding:9px 0}.classification-block .tile-type .tile .tile-item{cursor:pointer;display:flex;line-height:38px}.classification-block .tile-type .tile .tile-item .parent{box-sizing:border-box;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:600;max-width:135px;padding-right:16px;width:135px}.classification-block .tile-type .tile .tile-item .children{flex:1}.classification-block .tile-type .tile .tile-item .children .child-item{border-bottom:1px solid transparent;border-radius:4px;color:#7c7c7c;display:inline-block;font-size:14px;line-height:1.5;margin:0 5px;padding:1px 6px}.classification-block .tile-type .tile .tile-item .children .child-item.selected,.classification-block .tile-type .tile .tile-item .children .child-item:hover{background-color:rgba(45,122,255,.1);color:#2d7aff}.classification-block .tile-type .tile .tile-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tile-type .tile .tile-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tile-type .tile .tile-item .child-item.selected{color:#2d7aff}.classification-block .tile-type .selected-list{align-items:center;display:flex;padding:12px 6px}.classification-block .tile-type .selected-list .selected-num{font-size:14px;line-height:20px;margin-right:8px}.classification-block .tile-type .selected-list .selected-item{align-items:center;background-color:rgba(45,122,255,.1);border-radius:4px;color:#2d7aff;cursor:pointer;display:flex;margin-left:8px;padding:1px 8px}.classification-block .tile-type .selected-list .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;font-size:14px;line-height:20px;margin-left:22px}.classification-block .select-type{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;position:relative;width:100px}.classification-block .select-type .title{align-items:center;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;color:#969696;cursor:pointer;display:flex;font-size:12px;height:100%;justify-content:space-between;padding:0 8px;width:100%}.classification-block .select-type .title>.name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .title:before{color:#409eff;content:"&";font-weight:700;margin:0 5px}.classification-block .select-type .main-wrapper{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;min-width:270px;position:absolute;top:39px;width:100%;z-index:3000}.classification-block .select-type .main-wrapper::-webkit-scrollbar{width:5px}.classification-block .select-type .tree{margin:0;max-height:300px;overflow:auto;padding:32px 0}.classification-block .select-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer;line-height:32px}.classification-block .select-type .tree .tree-item.tree-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:40px;padding:0 10px;position:absolute;top:0;width:100%;z-index:1}.classification-block .select-type .tree .tree-item .tree-footer{align-items:center;color:rgba(0,0,0,.6);display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon{align-items:center;cursor:pointer;display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon .n-icon{margin-right:6px}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon:first-child{margin-right:16px}.classification-block .select-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .select-type .tree .tree-item .header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6);flex:1}.classification-block .select-type .tree .tree-item .header-item.selected,.classification-block .select-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children{align-items:center;display:flex;height:32px;line-height:32px;padding-left:23px;padding-right:10px}.classification-block .select-type .tree .tree-item .children .child-item{border-bottom:1px solid transparent;color:#7c7c7c;display:inline-block;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree .tree-item .children .child-item.child-header{padding:0 10px}.classification-block .select-type .tree .tree-item .children .child-item.header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree .tree-item .children .child-item.header-item.selected,.classification-block .select-type .tree .tree-item .children .child-item.header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .select-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .select-type .tree .tree-item:last-child{border-bottom:0}.classification-block .select-type .select-type-footer{align-items:center;background-color:#fff;border-top:1px solid #d5d5d5;bottom:0;display:flex;height:40px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .select-type .select-type-footer .selected-num{color:rgba(0,0,0,.6)}.classification-block .select-type .select-type-footer .selected-item-del{color:#2474ff;cursor:pointer}
1
+ @font-face{font-family:iconfont;src:url(iconfont.ttf?t=1679642303548) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family: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"}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter{cursor:pointer;font-size:18px}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter:last-child{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex;flex-wrap:wrap}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .delete-item-icon{color:red;cursor:pointer;font-size:18px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.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:8px}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px}.quick-search-block .quick-item .quick-row{align-items:center;display:flex}.quick-search-block .quick-item .quick-row .quick-item-title{line-height:32px;min-width:80px;padding-left:12px;text-align:right}.quick-search-block .quick-item .quick-row .quick-item-col{align-items:center;display:flex;padding:0 12px}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block}.classification-block .tree-type{border:1px solid #d5d5d5;border-radius:4px;height:100%;line-height:32px;margin-top:8px;padding-bottom:80px;width:150px}.classification-block .tree-type .header{border-bottom:1px solid #e6eaef;display:flex;font-size:14px;justify-content:space-between;padding:0 10px}.classification-block .tree-type .header .header-1{align-items:center;cursor:pointer;display:flex}.classification-block .tree-type .tree{height:calc(100% - 32px);line-height:32px;margin:0;overflow:auto;padding-left:0}.classification-block .tree-type .tree::-webkit-scrollbar{width:5px}.classification-block .tree-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer}.classification-block .tree-type .tree .tree-item.tree-header{box-sizing:border-box;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .tree-type .tree .tree-item .header-item{box-sizing:border-box;line-height:1.4}.classification-block .tree-type .tree .tree-item .header-item.selected,.classification-block .tree-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children{align-items:center;display:flex;height:32px;padding-left:23px;padding-right:10px}.classification-block .tree-type .tree .tree-item .children .child-item{align-items:center;border-bottom:1px solid transparent;color:#7c7c7c;display:flex;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .tree-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-content{align-items:center;display:flex}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item .digital-span{flex:1;margin-left:5px;text-align:left}.classification-block .tree-type .tree .tree-item:last-child{border-bottom:none}.classification-block .tree-type .tree-type-footer{border-top:1px solid #d5d5d5;bottom:0;height:80px;line-height:20px;padding-left:16px;position:absolute;width:100%}.classification-block .tree-type .tree-type-footer .selected-num{margin:10px}.classification-block .tree-type .tree-type-footer .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;justify-content:center;margin-left:0}.classification-block .tile-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 17px}.classification-block .tile-type .header{align-items:center;border-bottom:1px solid #d5d5d5;display:inline-flex;justify-content:space-between;line-height:44px;width:100%}.classification-block .tile-type .header .all-data{border-bottom:1px solid transparent;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;line-height:1.4;margin-right:auto}.classification-block .tile-type .header .all-data:hover{color:#2d7aff}.classification-block .tile-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .tile-type .header .selected{color:#2d7aff}.classification-block .tile-type .header .right-setting{display:flex}.classification-block .tile-type .header .right-setting .setting-1{align-items:center;cursor:pointer;display:flex}.classification-block .tile-type .header .right-setting .setting-1 .n-icon{margin-right:6px}.classification-block .tile-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .tile-type .tile{border-bottom:1px solid #d5d5d5;margin:0;padding:9px 0}.classification-block .tile-type .tile .tile-item{cursor:pointer;display:flex;line-height:38px}.classification-block .tile-type .tile .tile-item .parent{box-sizing:border-box;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:600;max-width:135px;padding-right:16px;width:135px}.classification-block .tile-type .tile .tile-item .children{flex:1}.classification-block .tile-type .tile .tile-item .children .child-item{border-bottom:1px solid transparent;border-radius:4px;color:#7c7c7c;display:inline-block;font-size:14px;line-height:1.5;margin:0 5px;padding:1px 6px}.classification-block .tile-type .tile .tile-item .children .child-item.selected,.classification-block .tile-type .tile .tile-item .children .child-item:hover{background-color:rgba(45,122,255,.1);color:#2d7aff}.classification-block .tile-type .tile .tile-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tile-type .tile .tile-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tile-type .tile .tile-item .child-item.selected{color:#2d7aff}.classification-block .tile-type .selected-list{align-items:center;display:flex;padding:12px 6px}.classification-block .tile-type .selected-list .selected-num{font-size:14px;line-height:20px;margin-right:8px}.classification-block .tile-type .selected-list .selected-item{align-items:center;background-color:rgba(45,122,255,.1);border-radius:4px;color:#2d7aff;cursor:pointer;display:flex;margin-left:8px;padding:1px 8px}.classification-block .tile-type .selected-list .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;font-size:14px;line-height:20px;margin-left:22px}.classification-block .select-type{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;position:relative;width:100px}.classification-block .select-type .title{align-items:center;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;color:#969696;cursor:pointer;display:flex;font-size:12px;height:100%;justify-content:space-between;padding:0 8px;width:100%}.classification-block .select-type .title>.name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .main-wrapper{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;min-width:270px;position:absolute;top:39px;width:100%;z-index:3000}.classification-block .select-type .main-wrapper::-webkit-scrollbar{width:5px}.classification-block .select-type .tree{margin:0;max-height:300px;overflow:auto;padding:32px 0}.classification-block .select-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer;line-height:32px}.classification-block .select-type .tree .tree-item.tree-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:40px;padding:0 10px;position:absolute;top:0;width:100%;z-index:1}.classification-block .select-type .tree .tree-item .tree-footer{align-items:center;color:rgba(0,0,0,.6);display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon{align-items:center;cursor:pointer;display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon .n-icon{margin-right:6px}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon:first-child{margin-right:16px}.classification-block .select-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .select-type .tree .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .select-type .tree .tree-item .header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6);flex:1}.classification-block .select-type .tree .tree-item .header-item.selected,.classification-block .select-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children{align-items:center;display:flex;height:32px;line-height:32px;padding-left:23px;padding-right:10px}.classification-block .select-type .tree .tree-item .children .child-item{border-bottom:1px solid transparent;color:#7c7c7c;display:inline-block;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree .tree-item .children .child-item.child-header{padding:0 10px}.classification-block .select-type .tree .tree-item .children .child-item.header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree .tree-item .children .child-item.header-item.selected,.classification-block .select-type .tree .tree-item .children .child-item.header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .select-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .select-type .tree .tree-item:last-child{border-bottom:0}.classification-block .select-type .select-type-footer{align-items:center;background-color:#fff;border-top:1px solid #d5d5d5;bottom:0;display:flex;height:40px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .select-type .select-type-footer .selected-num{color:rgba(0,0,0,.6)}.classification-block .select-type .select-type-footer .selected-item-del{color:#2474ff;cursor:pointer}
@@ -0,0 +1,18 @@
1
+ import { SFCWithInstall } from '../../../es/shared/types';
2
+ declare const TimePicker: SFCWithInstall<import("vue").DefineComponent<{}, {
3
+ attrs: {
4
+ [x: string]: unknown;
5
+ };
6
+ emits: (event: "update:formattedValue", ...args: any[]) => void;
7
+ timePickerRef: import("vue").Ref<null>;
8
+ __formattedValue: import("vue").Ref<any>;
9
+ keyupValue: import("vue").Ref<string>;
10
+ formatRef: import("vue").ComputedRef<string>;
11
+ updateFormattedValue: (value: any) => void;
12
+ onBlur: () => void;
13
+ onKeyUp: (event: import("../../../es/shared/types").AnyObject) => any;
14
+ NTimePicker: any;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formattedValue"[], "update:formattedValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
16
+ "onUpdate:formattedValue"?: ((...args: any[]) => any) | undefined;
17
+ }, {}>>;
18
+ export default TimePicker;
@@ -0,0 +1 @@
1
+ import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as i}from"../../shared/utils/index.js";import e from"./src/TimePicker.vue.js";const o=e;o.install=function(e){i(e,o,r+"TimePicker")};export{o as default};
@@ -0,0 +1,18 @@
1
+ import { AnyObject } from '../../../../es/shared/types';
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ attrs: {
4
+ [x: string]: unknown;
5
+ };
6
+ emits: (event: "update:formattedValue", ...args: any[]) => void;
7
+ timePickerRef: import("vue").Ref<null>;
8
+ __formattedValue: import("vue").Ref<any>;
9
+ keyupValue: import("vue").Ref<string>;
10
+ formatRef: import("vue").ComputedRef<string>;
11
+ updateFormattedValue: (value: any) => void;
12
+ onBlur: () => void;
13
+ onKeyUp: (event: AnyObject) => any;
14
+ NTimePicker: any;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formattedValue"[], "update:formattedValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
16
+ "onUpdate:formattedValue"?: ((...args: any[]) => any) | undefined;
17
+ }, {}>;
18
+ export default _default;
@@ -0,0 +1 @@
1
+ import{defineComponent as e,useAttrs as t,ref as u,computed as l,watch as a,openBlock as r,createBlock as o,unref as i,mergeProps as n,createSlots as v,renderList as m,withCtx as f,renderSlot as d}from"vue";import{NTimePicker as s}from"naive-ui";import{parse as c,isValid as p,format as _}from"date-fns";import k from"../../../_virtual/plugin-vue_export-helper.js";var P=k(e({__name:"TimePicker",emits:["update:formattedValue"],setup(e,{expose:k,emit:P}){const $=t(),b=u(null),x=u(),y=u(""),V=l((()=>$.format?$.format:"HH:mm:ss"));function g(e){P("update:formattedValue",e)}function H(){const e=c(y.value,V.value.replace(/:/,""),new Date);p(e)&&(x.value=_(e,V.value),g(x.value))}function T(e){var t,u;const{keyCode:l=0}=e;if(13==l)return null==(t=b.value)?void 0:t.blur();y.value=(null==(u=e.target)?void 0:u.value)||""}return a((()=>$["formatted-value"]),(e=>{x.value=e}),{immediate:!0}),k({$timePicker:b,focus:()=>{var e,t;return null==(t=null==(e=b.value)?void 0:e.focus)?void 0:t.call(e)},blur:()=>{var e,t;return null==(t=null==(e=b.value)?void 0:e.blur)?void 0:t.call(e)}}),(e,t)=>(r(),o(i(s),n({ref_key:"timePickerRef",ref:b},e.$attrs,{"formatted-value":x.value,"onUpdate:formattedValue":g,onBlur:H,onKeyup:T}),v({_:2},[m(e.$slots,((t,u)=>({name:u,fn:f((()=>[d(e.$slots,u)]))})))]),1040,["formatted-value"]))}}),[["__file","TimePicker.vue"]]);export{P as default};