cnhis-design-vue 3.1.41-release.4 → 3.1.41-release.6

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 (198) 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/button-print/src/utils/print.js +1 -1
  7. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  8. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -0
  9. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  10. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
  13. package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
  14. package/es/components/field-set/index.d.ts +8 -0
  15. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
  16. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  17. package/es/components/field-set/style/index.css +1 -1
  18. package/es/components/form-config/index.d.ts +6761 -45
  19. package/es/components/form-config/src/FormConfig.vue.d.ts +6902 -185
  20. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  21. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +2 -2
  22. package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
  23. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +4 -4
  24. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
  25. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3414 -59
  26. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
  27. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +2 -2
  28. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  29. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +3 -3
  30. package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
  31. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +10 -10
  32. package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
  33. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -6
  34. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  35. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -3
  36. package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
  37. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +4 -2
  38. package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
  39. package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
  40. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  41. package/es/components/form-config/src/types/index.d.ts +9 -2
  42. package/es/components/form-config/src/utils/index.d.ts +4 -1
  43. package/es/components/form-config/src/utils/index.js +1 -1
  44. package/es/components/form-config/style/index.css +1 -1
  45. package/es/components/form-render/index.d.ts +2 -2
  46. package/es/components/form-render/index.js +1 -1
  47. package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
  48. package/es/components/form-render/src/FormRender.vue.js +1 -1
  49. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +22 -21
  50. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  51. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  52. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  53. package/es/components/form-render/src/constants/index.d.ts +0 -12
  54. package/es/components/form-render/src/constants/index.js +1 -1
  55. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
  56. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  57. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  58. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  59. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  60. package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
  61. package/es/components/form-render/src/hooks/useFormField.js +1 -1
  62. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  63. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  64. package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
  65. package/es/components/form-render/src/types/index.d.ts +5 -3
  66. package/es/components/form-render/src/utils/dom.d.ts +2 -1
  67. package/es/components/form-render/src/utils/dom.js +1 -1
  68. package/es/components/iho-table/index.d.ts +5 -5
  69. package/es/components/iho-table/index.js +1 -1
  70. package/es/components/iho-table/src/IhoTable.vue.d.ts +5 -5
  71. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  72. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  73. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  74. package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
  75. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
  76. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
  77. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
  78. package/es/components/iho-table/src/plugins/index.js +1 -1
  79. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +85 -0
  80. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -0
  81. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{timeRendererPlugin.d.ts → timeRendererPlugin/index.d.ts} +1 -1
  82. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -0
  83. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +2 -0
  84. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +1 -0
  85. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
  86. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
  87. package/es/components/iho-table/src/types/index.d.ts +20 -11
  88. package/es/components/iho-table/src/utils/index.js +1 -1
  89. package/es/components/iho-table/style/index.css +1 -1
  90. package/es/components/index.css +1 -1
  91. package/es/components/index.js +1 -1
  92. package/es/components/info-header/index.d.ts +289 -155
  93. package/es/components/info-header/src/InfoHeader.vue.d.ts +293 -160
  94. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  95. package/es/components/info-header/src/components/index.d.ts +3 -0
  96. package/es/components/info-header/src/components/index.js +1 -0
  97. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -0
  98. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -0
  99. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +266 -0
  100. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -0
  101. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +38 -0
  102. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -0
  103. package/es/components/info-header/src/types/index.d.ts +29 -0
  104. package/es/components/recommend-search/index.d.ts +10 -10
  105. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +10 -10
  106. package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
  107. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
  108. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
  109. package/es/components/scale-view/index.d.ts +1 -2
  110. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -2
  111. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  112. package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
  113. package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
  114. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  115. package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
  116. package/es/components/scale-view/src/utils/judge-types.js +1 -1
  117. package/es/components/scale-view/style/index.css +1 -1
  118. package/es/components/shortcut-setter/index.d.ts +3 -2
  119. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +3 -2
  120. package/es/components/steps-wheel/index.d.ts +1 -1
  121. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  122. package/es/components/table-filter/index.d.ts +902 -7615
  123. package/es/components/table-filter/index.js +1 -1
  124. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +44 -3313
  125. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
  126. package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +461 -2810
  127. package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
  128. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
  129. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
  130. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  131. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -7
  132. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  133. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  134. package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +456 -0
  135. package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
  136. package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +843 -0
  137. package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
  138. package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
  139. package/es/components/table-filter/src/hooks/export.js +1 -1
  140. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  141. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  142. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  143. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  144. package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +51 -1190
  145. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
  146. package/es/components/table-filter/src/types/index.d.ts +4 -14
  147. package/es/components/table-filter/style/index.css +1 -1
  148. package/es/env.d.ts +24 -24
  149. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
  150. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  151. package/es/shared/components/no-data/NoData.vue.d.ts +5 -0
  152. package/es/shared/components/no-data/NoData.vue.js +1 -1
  153. package/es/shared/utils/index.d.ts +16 -0
  154. package/es/shared/utils/index.js +1 -1
  155. package/es/shared/utils/tapable/index.d.ts +139 -0
  156. package/package.json +64 -64
  157. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
  158. package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
  159. package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
  160. package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
  161. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -1
  162. package/es/components/info-header/src/HiddenContent.vue.js +0 -1
  163. package/es/components/info-header/src/InfoEllipsis.vue.js +0 -1
  164. package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -90
  165. package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
  166. package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1469
  167. package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
  168. package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
  169. package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
  170. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
  171. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
  172. package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
  173. package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
  174. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
  175. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
  176. package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
  177. package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
  178. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
  179. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
  180. package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
  181. package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
  182. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
  183. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
  184. package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
  185. package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
  186. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
  187. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
  188. package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +0 -1651
  189. package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
  190. package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
  191. package/es/components/table-filter/src/const/dataOptions.d.ts +0 -36
  192. package/es/components/table-filter/src/const/dataOptions.js +0 -1
  193. package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
  194. package/es/components/table-filter/src/directive/preventReClick.js +0 -1
  195. package/es/components/info-header/src/{HiddenContent.vue.d.ts → components/infoDescription/HiddenContent.vue.d.ts} +2 -2
  196. package/es/components/info-header/src/{InfoEllipsis.vue.d.ts → components/infoDescription/InfoEllipsis.vue.d.ts} +1 -1
  197. /package/es/components/{iho-table/src/plugins/filterPlugin/types.js → info-header/src/types/index.js} +0 -0
  198. /package/es/components/table-filter/src/components/table-modal/{TableModal.vue.d.ts → index.vue.d.ts} +0 -0
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as l,ref as t,computed as a,watch as i,openBlock as n,createElementBlock as o,createElementVNode as s,normalizeClass as u,unref as c,createCommentVNode as r,Fragment as d,renderList as v,toDisplayString as p,createBlock as f,withCtx as m,createVNode as h,createTextVNode as y,renderSlot as g,withDirectives as b,normalizeStyle as k,withModifiers as A,withKeys as E,vModelText as T,vShow as S,isRef as C}from"vue";import{TEAMS as O,DAYUNITS as D,EVALUATEList1 as L,AGEOPTIONS as R,DATETEAM0 as U,DATETEAM2 as _,DATETEAM3 as w}from"../const/dataOptions.js";import{useMessage as N,NTooltip as V,NTag as B,NIcon as x,NInput as I,NInputNumber as j,NRadioGroup as Y,NRadioButton as H,NDatePicker as P,NSelect as q,NCheckboxGroup as M,NCheckbox as Q,NRadio as F,NModal as W,NCard as $,NButton as G,NForm as z,NFormItem as J,NGrid as K,NGridItem as X}from"naive-ui";import{ChevronUp as Z,ChevronDown as ee,CloseOutline as le,AddOutline as te}from"@vicons/ionicons5";import ae from"../hooks/useMixins.js";import ie from"../hooks/useTableSearchCon.js";import ne from"../hooks/useWordBookutils.js";import oe from"../hooks/useRenderWidget.js";import se from"axios";import ue from"moment";import"moment/locale/zh-cn";import{cloneDeep as ce}from"lodash-es";import re from"../../../../shared/components/SvgIcon/SvgIcon.vue.js";import de from"../components/range-age/index.vue.js";import ve from"../components/multi-select/multi-select.vue.js";import pe from"../components/c-tree-select/tree-select.vue.js";import fe from"../components/render-widget/index.vue.js";import me from"../directive/resize.js";import{handleLabelColor as he}from"../../../../shared/utils/vexutils.js";import ye from"../../../../_virtual/plugin-vue_export-helper.js";import ge from"xe-utils";const be={key:0,class:"module-title"},ke={class:"quick-row"},Ae={class:"age-container"},Ee={class:"label-attr-container"},Te={class:"edit-label"},Se={class:"label-content"},Ce={key:0,class:"label-unfold-btn"},Oe=["onClick"],De=s("span",null,"收起",-1),Le=s("span",null,"展开",-1),Re={class:"tag-evaluate"},Ue={class:"ant-calendar-picker",style:{width:"300px"}},_e=["onUpdate:modelValue","onKeyup","title","placeholder"],we=s("span",{class:"ant-calendar-range-picker-separator"}," ~  ",-1),Ne=["onUpdate:modelValue","title","onKeyup","placeholder"],Ve=["onClick"],Be=[s("i",{"aria-label":"图标: close-circle",tabindex:"-1",class:"anticon anticon-close-circle ant-input-clear-icon"},[s("svg",{viewBox:"64 64 896 896","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",class:""},[s("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"})])],-1)],xe={key:3},Ie=["onClick"],je={class:"check-date"},Ye={class:"age-wrap"},He=s("p",null,"年龄",-1),Pe=["onClick"],qe={class:"module-title"},Me={class:"quick-row"},Qe={key:0},Fe={class:"edit-label"},We={class:"edit-content"},$e={class:"label-content"},Ge={class:"tag-evaluate"},ze={class:"ant-calendar-picker",style:{width:"300px"}},Je=["onUpdate:modelValue","onKeyup","title","placeholder"],Ke=s("span",{class:"ant-calendar-range-picker-separator"}," ~  ",-1),Xe=["onUpdate:modelValue","title","onKeyup","placeholder"],Ze=["onClick"],el=[s("i",{"aria-label":"图标: close-circle",tabindex:"-1",class:"anticon anticon-close-circle ant-input-clear-icon"},[s("svg",{viewBox:"64 64 896 896","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",class:""},[s("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"})])],-1)],ll=s("span",{class:"ant-calendar-picker-icon"},null,-1),tl={key:3},al=["onClick"],il={class:"check-date"},nl={class:"svg-wrap"},ol=["onDblclick","onClick"],sl={key:0,class:"s-content"};var ul=ye(e({__name:"QuickSearch",props:{visible:{type:Boolean},searchFieldList:{type:Array,default:()=>[]},searchFieldLimit:{type:Object,default:()=>({})},quickSearchConfig:{type:Array,default:()=>[]},source:{type:String,default:"editTable"},quickSearchListObj:{type:Object,default:()=>({})},originConditionList:{type:Array,default:()=>[]},isOrgAdmin:{type:Boolean,default:!1},lastQuickSearchData:{type:Array,default:()=>[]},show:{type:Boolean},getFilterData:{type:Function},filterApiConfig:{type:Object}},emits:["filterCountChange","onSave","closeModal","updateTableCondiTion","clearQuickSearchConfig"],setup(e,{expose:ye,emit:ul}){const cl=e,rl={classname:{required:!0,message:"请输入分类名称",trigger:["input","blur"]}};se.create({});const dl=l(),vl=N(),{handleGetConfigApi:pl}=ae(),{validConObj:fl,getSearchDefValueByLimit:ml,formatSearchLimit:hl}=ie(),{wordBookutils:yl}=ne(),{isRender:gl,getDefValByRenderWidget:bl,initRenderWidgetCfg:kl,getRenderSearchConObj:Al,getDefValByRenderConObj:El,isExistDefValByRenderWidget:Tl,resetRenderWidgetValue:Sl}=oe(),Cl=t(new Map),Ol=t(null),Dl=t({classname:""});let Ll=t(cl.visible),Rl=t(!1),Ul=t([]),_l=t([]),wl=t([]),Nl=t({}),Vl=t(),Bl=t(""),xl=t(O),Il=t([]),jl=t(""),Yl=t(D),Hl=t(!1),Pl=t("700px"),ql=t("60vh"),Ml=t(L);t(R),t(8);let Ql=t([]),Fl=t(!1),Wl=t(""),$l=t(!1),Gl=t(U),zl=t(_),Jl=t(w),Kl=a((()=>function(e){var l;return"PERCENTAGE"===(null==(l=e.settingObj)?void 0:l.attr)||!1})),Xl=a((()=>function(e){return`${e.advanceColWidth||200}px`})),Zl=a((()=>-1!=wl.value.findIndex((e=>e.fieldList&&e.fieldList.length)))),et=a((()=>!!Ql.value.length&&Ql.value.some((e=>e.isAdd)))),lt=a((()=>(e,l="name")=>e.alias||e[l]));function tt(...e){return ge.filterOption(...e)}function at(...e){return he(...e)}function it(e){if(!e.length)return Ul.value.forEach(((e,l)=>{if(gl(e))return void(Ul.value[l].value=bl(e));let t=null==e?void 0:e.advanceOptionSetting;"0"==String(t)?Ul.value[l].value=void 0:e.CONVERT&&Array.isArray(e.CONVERT)&&(Ul.value[l].CONVERT=[])})),!1;Ul.value.forEach(((l,t)=>{var a;let i=null==l?void 0:l.advanceOptionSetting,n="0"==String(i),o=e.find((e=>e.field_key===l.columnName));if(o){if(gl(l))return void(Ul.value[t].value=El(o,l));let e=null==o?void 0:o.value;if(Array.isArray(e)&&l.CONVERT&&Array.isArray(l.CONVERT)){let i=(null==(a=e.map)?void 0:a.call(e,(e=>JSON.stringify(e))))||o.value;if(i=i.filter(Boolean),Ul.value[t].CONVERT=i,n&&l.labelList){let e=i[0]?l.labelList.findIndex((e=>e.value==i[0])):"";Ul.value[t].value=e}}else Ul.value[t].value=e}else Ul.value[t].CONVERT=n?"":[]}))}function nt(e){Array.isArray(e)&&e.forEach((e=>{var l,t,a,i,n,o,s,u,c,r,d,v,p;if(kl(e))return;const f=(null==(l=null==e?void 0:e.settingObj)?void 0:l.isPreciseSearch)||"";if(e.setting){e.setting="string"==typeof e.setting?JSON.parse(e.setting):e.setting;let l=null==e?void 0:e.advanceOptionSetting,u="0"==String(l),c=null==(a=null==(t=null==e?void 0:e.setting)?void 0:t.wordbook)?void 0:a.id;if(ge.anyNotEmpty(null==(i=e.setting)?void 0:i.wordbook)&&c){let l="tree"===(null==(o=null==(n=null==e?void 0:e.setting)?void 0:n.wordbook)?void 0:o.showType)?"treeSelect":"SelectMuiWordBook",t=[];return u&&(t=void 0),e.con="QUOTE",e.dataSource=[],e.QUOTE=[],e.value=t,e.com="SelectMui",e.comType=l,void(e.searchPageConfig={keyword:void 0,isRequest:!1,page:1,total:1,hasNextPage:!1})}if((null==(s=null==e?void 0:e.setting)?void 0:s.showSetting)&&(null==e?void 0:e.setting.showSetting.length)>0){e.con="CONVERT";let l=e.setting.showSetting,t=function(e){let{defaultValue:l,defaultValueTitle:t}=(null==e?void 0:e.dictionarieObj)||{},a=null;l&&t&&(a={change_text:t,filter:[{con:"EQ",field_key:e.columnName,value:l}]});return a}(e);if(t&&l.unshift(t),l.forEach((e=>{e.label=e.change_text,e.value=JSON.stringify(e.filter)})),u){e.com="SelectMui",e.comType="SelectMui";const l=e.setting.showSetting.map((e=>(e.labelName=e.change_text,e)));e.labelList=l}return e.setting.showSetting=l,void(e.CONVERT=u?"":[])}}if("LABEL"===(null==(u=e.setting)?void 0:u.attr))e.con="CL",e.LABELAttr=!0,e.labelSelectList=[],e.inputVal="",async function(e,l){let t={},a=await pl(e,"requestedLabel",{},cl.filterApiConfig);a.forEach((e=>{e.isSelect=!1,t[e.typeName]?t[e.typeName].itemList.push({...e}):t[e.typeName]={itemList:[{...e}],showAdd:!1,addVal:"",typeName:e.typeName,typeId:e.typeId,isUnfold:!1,isShowBtn:!1}})),l.labelObj=t,l.labelList=a}(e.setting.labelType,e);else if("EVALUATE"===(null==(c=e.setting)?void 0:c.attr))e.con="CL",e.selecteds=[],e.EVALUATEAttr=!0;else if("AGE"===(null==(r=e.setting)?void 0:r.attr)&&"NUMBER"!=e.fieldType){let l=e.setting.format||"YYYY-MM-DD";l=l.toUpperCase(),e.con="IN",e.ageObj={},e.format=l,e.AGEAttr=!0}else if("PASSWORD"===(null==(d=e.setting)?void 0:d.attr))e.comAttr="PASSWORD",e.PASSWORDTYPE=!0;else if("NUMBER"==e.fieldType)e.con="EQ",e.EQ="",e.NUMBERFiled=!0,e.lessValue="",e.bigValue="","PERCENTAGE"==(null==(v=e.setting)?void 0:v.attr)&&(e.inputUnit="%");else if(null==(p=null==e?void 0:e.fieldType)?void 0:p.includes("DATE"))if(e.settingObj&&"BIRTHDAY"==e.settingObj.attr)e.con="BIRTHDAY",e.showDate=!1,e.marginx="ml",e.BIRTHDAY=Ct();else{const l=ml(e,cl.searchFieldLimit);let t=Array.isArray(l),a=null==e?void 0:e.advanceOptionSetting,i="1"==String(a);e.con="DATE",e.showDate=i||t,e.marginx=i||t?"mr":"ml",e.DATE={con:t?"IN":null,start_val:t?l[0]:null,end_val:t?l[1]:null};let n=[];switch(a){case"0":n=[];break;case"2":n=(null==zl?void 0:zl.value)||Gl.value;break;case"3":n=(null==Jl?void 0:Jl.value)||Gl.value}e.dateTeam=n}else if("TEXT"==e.fieldType){let l=1==f?"EQ":"CL";e.con=l,e.isPreciseSearch=1==f}else"JSONB"==e.fieldType&&(e.con="EQ",e.EQ="")}))}function ot(e){e.showDate=!e.showDate,e.showDate?e.marginx="mr":e.marginx="ml"}function st(e,l){let{id:t,filterKeys:a,wordbookType:i}=e;$l.value=!0;let n={wordbookId:t,fieldKeys:Array.isArray(a)?JSON.stringify(a):a,wordbookType:i||"WORDBOOK",asyncCount:1,...l};return pl(n,"requestGetWordbookData",{fields:e},cl.filterApiConfig).then((e=>($l.value=!1,"object"==typeof e.data&&(e.data.reqParams=n),e))).catch((()=>{$l.value=!1}))}function ut(e,l,t){e.hasFieldList=!1;const{rows:a,hasFieldList:i,searchPageConfig:n}=yl.handleWordbookData(e,l,t);e.hasFieldList=i,e.dataSource=a,e.searchPageConfig=Object.assign(e.searchPageConfig,n)}function ct(){}function rt(e){return Array.isArray(e.value)?e.value.length:1}function dt(e,l){var t,a,i,n,o,s,u;if(("SelectMui"!=l.comType||"0"!==String(l.advanceOptionSetting))&&e){let e={};(null==(a=null==(t=l.setting)?void 0:t.wordbook)?void 0:a.params)&&(null==(o=null==(n=null==(i=l.setting)?void 0:i.wordbook)?void 0:n.params)||o.forEach((l=>{e[l.p_name]=l.p_value}))),l.settingObj.wordbook&&(e.autograph=l.settingObj.wordbook.autograph),Vl.value=null==(s=l.setting)?void 0:s.wordbook,Bl.value=l.settingObj.wordbook&&l.settingObj.wordbook.autograph,Nl.value=l,st(null==(u=l.setting)?void 0:u.wordbook,e).then((({data:t})=>{ut(l,t,e)}))}}function vt(e,l,t={}){var a,i,n,o,s;if("SelectMui"==l.comType&&"0"===String(l.advanceOptionSetting))return;let u={keyword:e,autograph:Bl.value},c={};((null==(i=null==(a=null==l?void 0:l.setting)?void 0:a.wordbook)?void 0:i.params)||void 0)&&(null==(s=null==(o=null==(n=l.setting)?void 0:n.wordbook)?void 0:o.params)||s.forEach((e=>{c[e.p_name]=e.p_value})));let r={...u,...c,...t};st(Vl.value,r).then((({data:e})=>{ut(Nl.value,e,r)}))}function pt(){let e=mt(Ul.value)||[],l=[];return wl.value.forEach((e=>{let t=mt(e.fieldList);t&&t.length&&l.push({field_key:e.primaryField,valueField:e.relationField,con:"QUOTE_IN",tableId:e.tableId,parameterConversionId:e.parameterConversionId,converFun:e.converFun,preConObj:e.preConObj,relationOrgId:e.relationOrgId,preSqlExpression:e.preSqlExpression,quote_con:{conObj:mt(e.fieldList),sqlExpression:""}})})),e.push(...l),e||[]}function ft(){Pl.value="700px",ql.value="60vh",Hl.value=!1}function mt(e){var l,t,a,i,n,o;if(!Array.isArray(e))return[];let s=[];for(let u=0;u<e.length;u++){let c=e[u];const r=Al(c);if(r){s.push(r);continue}let d="",v="",p=null==c?void 0:c.advanceOptionSetting,f="0"===String(p);if(c.EQ||c.CL)d=c.EQ||c.CL,"PERCENTAGE"===(null==(l=c.settingObj)?void 0:l.attr)&&(d=Number(d)/100),c.EVALUATEAttr&&(d=c.selecteds.join("|#|"));else if("SelectMui"==c.comType&&f&&c.labelList){let e=c.value,l=null==c?void 0:c.labelList[e];d="CONVERT"==c.con?(null==l?void 0:l.filter)?[null==l?void 0:l.filter]:void 0:(null==l?void 0:l.labelName)?[null==l?void 0:l.labelName]:void 0}else if("QUOTE"==c.con&&ge.anyNotEmpty(c.value))if("treeSelect"==c.comType){let e=c.value;"string"==typeof e?([e]=e.split("<&=&>"),d=e):Array.isArray(e)&&(e=e.map((e=>{let[l]="string"==typeof e?e.split("<&=&>"):[];return l})),d=e.join("|#|"))}else d=f?c.value:c.value.join("|#|");else if(ge.anyNotEmpty(c.CONVERT)&&Array.isArray(c.CONVERT))d=c.CONVERT.map((e=>e&&ge.isJSON(e)?JSON.parse(e):e));else if(c.DATE&&!c.AGEAttr)(c.DATE.start_val||c.DATE.end_val)&&(c.DATE.con="IN"),c.tempCon=c.DATE.con,c.start_val=c.DATE.start_val||null,c.end_val=c.DATE.end_val||null;else if(c.BIRTHDAY){let e=!1;if(((null==(a=null==(t=c.BIRTHDAY)?void 0:t.limit_date)?void 0:a.length)>0||c.BIRTHDAY.start_val||c.BIRTHDAY.end_val)&&(c.BIRTHDAY.con="IN"),c.tempCon=c.BIRTHDAY.con,e=!(!c.BIRTHDAY.start_val&&!c.BIRTHDAY.end_val),c.BIRTHDAY.start_val){if(!ge.validateBirthday(c.BIRTHDAY.start_val,c.title,c.BIRTHDAY.unit))return}if(c.BIRTHDAY.end_val){if(!ge.validateBirthday(c.BIRTHDAY.end_val,c.title,c.BIRTHDAY.unit))return}if(+c.BIRTHDAY.start_val>+c.BIRTHDAY.end_val)return void vl.warning(`${c.title}请输入有效范围`);v=jl.value||"",c.unit=e&&c.BIRTHDAY.unit||"",c.start_val=c.BIRTHDAY.start_val||null,c.end_val=c.BIRTHDAY.end_val||null}if(c.LABELAttr)if(Object.keys(c.labelObj||{}).length>0&&Array.isArray(c.labelSelectList)){let e=[];c.labelSelectList.forEach((l=>{e.push(l.labelName)})),d=e.join("|#|")}else d=c.inputVal;else if(c.EVALUATEAttr)d=c.selecteds.join("|#|");else if(c.AGEAttr)d="";else if(c.NUMBERFiled&&(c.lessValue||c.bigValue)){let e=null!=(i=c.lessValue)?i:"",l=null!=(n=c.bigValue)?n:"";"PERCENTAGE"===(null==(o=c.setting)?void 0:o.attr)&&(e=(e||0===e)&&Number(e)/100||"",l=(l||0===l)&&Number(l)/100||""),d=`${e}~${l}`}d&&ge.isString(d)&&(d=d.trim());let m={field_key:c.columnName,con:c.DATE||c.BIRTHDAY?c.tempCon:c.con,value:d,limit_date:v||"",start_val:c.start_val||null,end_val:c.end_val||null,unit:c.unit||"",id:c.id};s.push(m)}let u=xl.value.map((e=>e.con));return s.filter((e=>e.value||e.limit_date||e.start_val||e.end_val||u.includes(e.con)))}function ht(e){return e&&e<ue().startOf("year")||e>ue().endOf("year")}function yt(e,l){l[0]?jl.value=l.join("~"):jl.value=""}function gt(){var e;null==(e=Ol.value)||e.validate((e=>{var l;if(e)return;let t=pt();t.length||(t=[]);let a=null==(l=Ql.value.filter((e=>e.selected))[0])?void 0:l.value;!async function(e){var l;try{if(!await pl(e,"requestSaveTableCondiTion",{},cl.filterApiConfig))return;Rl.value=!1,null==(l=Ol.value)||l.restoreValidation(),Dl.value.classname="",Ql.value=[],ul("updateTableCondiTion"),Tt(),ft(),ul("closeModal")}catch(e){console.log(e)}}({tableId:dl.tableId||"",setting:JSON.stringify({displayCategory:a,name:Dl.value.classname,conObj:t}),conditionList:JSON.stringify(cl.originConditionList)})}))}function bt(e){var l;const t=null==(l=null==e?void 0:e.target)?void 0:l.nextElementSibling;setTimeout((()=>{t&&t.focus()})),Fl.value=!0}function kt(){Fl.value=!1,Wl.value&&(Ql.value.forEach((e=>e.selected=!1)),Ql.value.push({disabled:!0,value:Wl.value,selected:!0,isAdd:!0}),Wl.value="")}function At(e,l){!function(e,l){let{conditionList:t=[]}=cl.quickSearchListObj||{};if(!t||t&&0===(null==t?void 0:t.length))return void Ql.value.splice(e,1);let a=t.filter((e=>e.displayCategory===l.value));if(!a||!a.length)return void Ql.value.splice(e,1);vl.error("该分类下有已有数据,请删除该分类下的筛选集后重试!")}(e,l)}function Et(){Rl.value=!1}function Tt(){St(Ul.value),wl.value.forEach((e=>{St(e.fieldList)})),"editTable"!==cl.source?null==dl||dl.clearQuickSearchConfig():ul("clearQuickSearchConfig")}function St(e){Array.isArray(e)&&e.forEach((e=>{if(Sl(e))return;let l=null==e?void 0:e.advanceOptionSetting,t="0"===String(l);var a;e.EQ||e.CL?(e.EQ="",e.CL=""):"QUOTE"==e.con&&ge.anyNotEmpty(e.value)?(e.QUOTE=[],e.value=[]):"SelectMui"==e.com&&"CONVERT"==e.con&&t?(e.CONVERT=[],e.value=void 0):ge.anyNotEmpty(e.CONVERT)?e.CONVERT=[]:e.DATE?(e.showDate="1"==String(l),e.marginx="ml",e.DATE={con:null,start_val:null,end_val:null}):e.BIRTHDAY?(e.showDate=!1,e.marginx="ml",e.BIRTHDAY=Ct()):e.LABELAttr?(a=e).labelSelectList&&(a.labelSelectList.length=0,a.inputVal="",Object.entries(a.labelObj||{}).forEach((e=>{let[,l]=e;l.itemList.forEach((e=>{e.isSelect=!1}))}))):e.EVALUATEAttr?e.selecteds=[]:e.AGEAttr?function(e){e.start_val=null,e.end_val=null;let l=Cl.value.get(`${e.columnName}_AGEAttr`);l&&(Array.isArray(l)&&(l=l[0]||!1),null==l||l.reset())}(e):e.NUMBERFiled&&wt(e)}))}function Ct(){return jl.value="",{con:null,limit_date:[],start_val:null,end_val:null,unit:"YEAR",units:Yl.value.filter((e=>1===e.units))}}function Ot(e,l){e&&(e.con==l?e.con=null:("IN"===e.con&&(e.start_val=null,e.end_val=null),e.con=l))}function Dt(e){var l;return(null==(l=null==e?void 0:e.color)?void 0:l.split("-")[1])||"yellow"}function Lt(e,l,t){let a=t.labelSelectList||[];if(e){if(a.some((e=>e.labelId==l.labelId)))return;a.push(l)}else{let e=a.findIndex((e=>e.labelId==l.labelId));-1!=e&&a.splice(e,1)}l.isSelect=e,t.labelSelectList=a}function Rt(e,l,t){if(e)t.selecteds.push(l.value);else{let e=t.selecteds.findIndex((e=>e===l.value));t.selecteds.splice(e,1)}}function Ut(e){e&&Cl.value.set(e.dataName,e)}function _t(e){if(e.lessValue&&e.bigValue){const l=e.lessValue,t=e.bigValue;t<l&&(e.lessValue=t,e.bigValue=l)}else;}function wt(e){e.lessValue="",e.bigValue=""}function Nt(e,l,t){var a,i;let n=!1;if("start"===t){const t=null==(a=null==l?void 0:l.DATE)?void 0:a.end_val;n=t&&e>ue(t).valueOf()}else if("end"===t){const t=null==(i=null==l?void 0:l.DATE)?void 0:i.start_val;n=t&&e<=ue(t).valueOf()}let o=String(null==l?void 0:l.advanceOptionSetting);return["2","3"].includes(o)?"2"===o?e>=ue().endOf("day")||n:"3"===o&&e&&e<ue().startOf("day")||n:n}return i((()=>cl.visible),(e=>{Ll.value=e,it(cl.quickSearchConfig)})),i((()=>cl.searchFieldList),(e=>{e&&e.length>0&&(_l.value=dl.relationTableList?dl.relationTableList:[],function(){Ul.value=[],wl.value=[],Il.value=xl.value.filter((e=>"THIS_YEAR"!=e.con&&"NEXT_YEAR"!=e.con&&"LAST_YEAR"!=e.con));let e=ce(cl.searchFieldList).filter((e=>1==e.isShowSearch&&1!=e.filterExplicit))||[],l=ce(_l.value);wl.value=l.map((e=>({fieldList:e.fieldList.fieldList.filter((e=>1==e.isShowSearch&&1!=e.filterExplicit)),tableName:e.tableName,primaryField:e.primaryField,parameterConversionId:e.parameterConversionId,tableId:e.tableId,relationField:e.relationField,converFun:e.converFun,relationOrgId:e.relationOrgId,preConObj:e.preConObj,preSqlExpression:e.preSqlExpression}))),Ul.value=e||[],nt(Ul.value),wl.value.forEach((e=>{nt(e.fieldList)}))}())}),{immediate:!0,deep:!0}),i((()=>cl.quickSearchConfig),(e=>{it(e)}),{deep:!0}),i((()=>cl.quickSearchListObj),(e=>{e&&Object.keys(e).length?function(){let e=[],{displayCategoryList:l=[]}=cl.quickSearchListObj;l&&l.length?(l.forEach((l=>{"未分类"!==l&&e.push({disabled:!0,selected:!1,value:l})})),Ql.value=e):Ql.value=[]}():Ql.value=[]}),{immediate:!0,deep:!0}),i((()=>Ul),(()=>{const e=pt()||[];ul("filterCountChange",e.length)}),{deep:!0}),i((()=>cl.show),(e=>{e&&cl.lastQuickSearchData.length>0&&(Ul.value=ce(cl.lastQuickSearchData))}),{deep:!0}),ye({openSaveToCalss:function(){let e=pt();if(console.log("conObj>>>>>",e),e)if(e.length>0){if(!fl(e,cl.searchFieldList,cl.searchFieldLimit))return;Rl.value=!0}else vl.warning("请设置搜索条件")},clearData:Tt,onSave:function(){let e=function(){let e=[...pt()||[]];return cl.quickSearchConfig.forEach((l=>{e.find((e=>l.field_key===e.field_key))||Ul.value.find((e=>e.columnName===l.field_key))||e.push(l)})),e||[]}();return ft(),!!fl(e,cl.searchFieldList,cl.searchFieldLimit)&&(ul("onSave",e),Ul.value)}}),(l,t)=>(n(),o("div",null,[s("div",{class:u(["quick-search-block",{"quick-search-table":"editTable"===e.source}])},["editTable"===e.source&&c(Zl)?(n(),o("p",be,"高级筛选")):r("v-if",!0),(n(!0),o(d,null,v(c(Ul),(t=>(n(),o("div",{class:u(["quick-item",{"quick-block":"DATE"==t.con||"BIRTHDAY"==t.con||"CONVERT"==t.con||t.LABELAttr||t._isBlock}]),key:t.sid},[s("div",ke,[r(" title "),s("div",{class:u(["quick-item-title",{"quick-item-title-default":"editTable"!==e.source}])},[s("span",null,p(c(lt)(t,"title"))+"  ",1),e.searchFieldLimit[t.columnName]&&e.searchFieldLimit[t.columnName].tips?(n(),f(c(V),{key:0},{trigger:m((()=>[h(c(re),{"icon-class":"xitongtubiaodaohangtubiaowenti"})])),default:m((()=>[y(" "+p(e.searchFieldLimit[t.columnName].tips),1)])),_:2},1024)):r("v-if",!0)],2),s("div",{class:u(["quick-item-col",{"quick-item-col-default":"editTable"!==e.source}])},[r(" 直接渲染组件 "),t.isRender?(n(),f(fe,{key:0,cfg:t,modelValue:t.value,"onUpdate:modelValue":e=>t.value=e},null,8,["cfg","modelValue","onUpdate:modelValue"])):t.AGEAttr?(n(),o(d,{key:1},[r(" age "),r(" TODO: 清除,跨表 "),s("div",Ae,[h(de,{ref_for:!0,ref:Ut,dataName:`${t.columnName}_AGEAttr`,format:t.format,onChange:e=>function(e,l){let t=e.star_val,a=e.end_val;l.start_val=isNaN(t)?null:t,l.end_val=isNaN(a)?null:a}(e,t)},null,8,["dataName","format","onChange"])])],2112)):t.LABELAttr?(n(),o(d,{key:2},[r(" age "),r(" label "),s("div",Ee,[t.labelObj&&Object.keys(t.labelObj||{}).length>0?g(l.$slots,"default",{key:0},(()=>[(n(!0),o(d,null,v(t.labelObj,((e,l)=>(n(),o("div",{key:l,class:"edit-label-content"},[s("div",Te,p(l)+":",1),s("div",{class:u(["edit-content quickSearch_label-container",{"label-container-height":!e.isUnfold&&e.itemList&&e.isShowBtn}])},[r(' <div class="label-content" v-resize="el => onResize(el, v)"> '),b((n(),o("div",Se,[(n(!0),o(d,null,v(e.itemList,((e,l)=>(n(),f(c(B),{type:"success",checked:e.isSelect,checkable:"",key:l,style:k(at(e)),"onUpdate:checked":l=>Lt(l,e,t)},{default:m((()=>[h(c(V),{placement:"topLeft"},{trigger:m((()=>[s("span",null,p(e.labelName),1)])),default:m((()=>[y(" "+p(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","style","onUpdate:checked"])))),128))])),[[c(me),l=>function(e,l){let t=e.offsetHeight||0;t&&(t>80?l.isShowBtn=!0:(l.isShowBtn=!1,l.isUnfold=!1))}(l,e)]])],2),e.itemList&&e.isShowBtn?(n(),o("div",Ce,[r(" {{ v.isUnfold }} "),s("span",{onClick:A((l=>function(e){e.isUnfold=!e.isUnfold}(e)),["stop"])},[e.isUnfold?(n(),o(d,{key:0},[De,h(c(x),{component:c(Z),size:"16"},null,8,["component"])],64)):(n(),o(d,{key:1},[Le,h(c(x),{component:c(ee),size:"16"},null,8,["component"])],64))],8,Oe)])):r("v-if",!0)])))),128))])):(n(),f(c(I),{key:1,style:{width:"200px"},value:t.inputVal,"onUpdate:value":e=>t.inputVal=e,clearable:""},null,8,["value","onUpdate:value"]))])],2112)):t.EVALUATEAttr?(n(),o(d,{key:3},[r(" label "),r(" EVALUATE "),s("div",Re,[(n(!0),o(d,null,v(c(Ml),(e=>(n(),f(c(B),{key:e.value,class:u({"ant-tag-checkable-checked":t.selecteds.indexOf(e.value)>-1}),checkable:"",checked:t.selecteds.indexOf(e.value)>-1,"onUpdate:checked":l=>Rt(l,e,t)},{default:m((()=>[y(p(e.label),1)])),_:2},1032,["class","checked","onUpdate:checked"])))),128))])],2112)):t.NUMBERFiled?(n(),o(d,{key:4},[r(" EVALUATE "),r(" NUMBERFiled "),s("div",Ue,[s("span",{class:u(["ant-calendar-picker-input ant-input num-picker",{"num-picker-unit":t.inputUnit}])},[b(s("input",{"onUpdate:modelValue":e=>t.lessValue=e,onKeyup:E((()=>_t(t)),["enter"]),title:`起始${t.alias||t.title}`,placeholder:`起始${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,_e),[[T,t.lessValue]]),we,b(s("input",{"onUpdate:modelValue":e=>t.bigValue=e,title:`截止${t.alias||t.title}`,onKeyup:E((()=>_t(t)),["enter"]),placeholder:`截止${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Ne),[[T,t.bigValue]]),t.inputUnit?(n(),o(d,{key:0},[y(" "+p(t.inputUnit),1)],64)):r("v-if",!0),t.lessValue||t.bigValue?(n(),o("span",{key:1,class:"ant-input-suffix clear-number-icon",onClick:e=>wt(t)},Be,8,Ve)):r("v-if",!0)],2)])],2112)):(n(),o(d,{key:5},[r(" NUMBERFiled "),r(" other "),g(l.$slots,"default",{},(()=>["CL"==t.con?(n(),o(d,{key:0},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"CL-input",style:{"`width":"${getEleWidth(item)}`"},value:t.CL,"onUpdate:value":e=>t.CL=e,min:0,max:100,clearable:"",placeholder:t.placeholder},null,8,["value","onUpdate:value","placeholder"])):(n(),f(c(I),{key:1,class:u(["CL-input",{"psw-icon":"PASSWORD"==t.comAttr}]),style:k({width:`${c(Xl)(t)}`,"font-family":t.PASSWORDTYPE?"text-security-disc":"inherit"}),value:t.CL,"onUpdate:value":e=>t.CL=e,clearable:"",placeholder:t.placeholder},{default:m((()=>["PASSWORD"==t.comAttr?(n(),f(c(re),{key:0,class:"psw-icon",onClick:e=>t.PASSWORDTYPE=!t.PASSWORDTYPE,"icon-class":t.PASSWORDTYPE?"anniuyincang":"chakan",style:{"font-size":"1em"}},null,8,["onClick","icon-class"])):r("v-if",!0)])),_:2},1032,["class","style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),"EQ"==t.con?(n(),o(d,{key:1},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,min:0,max:100,clearable:"",placeholder:t.placeholder},null,8,["style","value","onUpdate:value","placeholder"])):(n(),f(c(I),{key:1,class:u(["EQ-input",{"psw-icon":"PASSWORD"==t.comAttr}]),style:k({width:`${c(Xl)(t)}`,"font-family":t.PASSWORDTYPE?"text-security-disc":"inherit"}),value:t.EQ,"onUpdate:value":e=>t.EQ=e,placeholder:t.placeholder||t.isPreciseSearch||"JSONB"==t.fieldType?"":"区间搜素用~分割",clearable:""},{default:m((()=>["PASSWORD"==t.comAttr?(n(),f(c(re),{key:0,class:"psw-icon",onClick:e=>t.PASSWORDTYPE=!t.PASSWORDTYPE,"icon-class":t.PASSWORDTYPE?"anniuyincang":"chakan",style:{"font-size":"1em"}},null,8,["onClick","icon-class"])):r("v-if",!0)])),_:2},1032,["class","style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),c(Kl)(t)?(n(),o(d,{key:2},[y(" %")],64)):r("v-if",!0),r(" date "),"DATE"==t.con&&t.DATE?(n(),o("div",xe,[h(c(Y),{value:t.DATE.con,"onUpdate:value":e=>t.DATE.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(t.dateTeam,(e=>b((n(),f(c(H),{hideSplitor:t.showDate,onClick:A((l=>Ot(t.DATE,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["hideSplitor","onClick","value","label"])),[[S,!t.showDate]]))),128))])),_:2},1032,["value","onUpdate:value"]),b(s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>ot(t)},"选择时间",10,Ie),[[S,"1"!=t.advanceOptionSetting]]),b(s("div",je,[h(c(P),{type:"datetime",style:{"min-width":"195px",width:"120px"},"value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.start_val,"onUpdate:formatted-value":e=>t.DATE.start_val=e,placeholder:"开始时间","is-date-disabled":e=>Nt(e,t,"start"),clearable:""},null,8,["formatted-value","onUpdate:formatted-value","is-date-disabled"]),y("   "),h(c(P),{type:"datetime",style:{"min-width":"195px",width:"120px"},"value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.end_val,"onUpdate:formatted-value":e=>t.DATE.end_val=e,placeholder:"结束时间","is-date-disabled":e=>Nt(e,t,"end"),clearable:""},null,8,["formatted-value","onUpdate:formatted-value","is-date-disabled"])],512),[[S,t.showDate]])])):r("v-if",!0),r(" BIRTHDAY "),"BIRTHDAY"==t.con&&t.BIRTHDAY?(n(),o("div",{key:4,class:u({"birthday-item":t.showDate})},[t.showDate?(n(),o(d,{key:1},[s("div",null,[h(c(P),{value:t.BIRTHDAY.limit_date,"onUpdate:value":[e=>t.BIRTHDAY.limit_date=e,yt],type:"daterange",disabled:ht,format:"MM-dd"},null,8,["value","onUpdate:value"])]),s("div",Ye,[He,h(c(I),{style:{width:"60px","margin-right":"10px"},value:t.BIRTHDAY.start_val,"onUpdate:value":e=>t.BIRTHDAY.start_val=e,clearable:""},null,8,["value","onUpdate:value"]),h(c(I),{style:{width:"60px","margin-right":"10px"},value:t.BIRTHDAY.end_val,"onUpdate:value":e=>t.BIRTHDAY.end_val=e,clearable:""},null,8,["value","onUpdate:value"]),h(c(q),{value:t.BIRTHDAY.unit,"onUpdate:value":e=>t.BIRTHDAY.unit=e,"default-value":"YEAR",filterable:"",filter:tt,clearable:"",options:t.BIRTHDAY.units,"label-field":"name","value-field":"con"},null,8,["value","onUpdate:value","options"])])],64)):(n(),f(c(Y),{key:0,value:t.BIRTHDAY.con,"onUpdate:value":e=>t.BIRTHDAY.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(c(Il),(e=>(n(),f(c(H),{onClick:A((l=>function(e,l){e&&(jl.value="",Object.assign(e,Ct()),Ot(e,l))}(t.BIRTHDAY,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["onClick","value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])),s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>function(e){e.showDate=!e.showDate}(t)},"切换",10,Pe)],2)):r("v-if",!0),"QUOTE"==t.con||"SelectMui"==t.com?(n(),o(d,{key:5},["treeSelect"===t.comType?(n(),f(pe,{key:0,options:t,handleGetConfigApi:c(pl),filterApiConfig:e.filterApiConfig,style:{margin:"0 8px 8px 0"}},null,8,["options","handleGetConfigApi","filterApiConfig"])):(n(),f(ve,{key:1,item:t,source:"quickSearch",maxTagPlaceholder:rt,outFilterChange:ct,handleWordBookSearch:vt,dropdownVisibleChange:dt,fetchingWordbook:c($l)},null,8,["item","fetchingWordbook"]))],64)):"CONVERT"==t.con?(n(),o(d,{key:6},[r(" 多选选项组 "),"0"!=(null==t?void 0:t.advanceOptionSetting)?(n(),f(c(M),{key:0,class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(Q),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])):(n(),o(d,{key:1},[r(" 单选选项组 "),h(c(Y),{class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(F),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])],2112))],64)):r("v-if",!0)]))],2112))],2)])],2)))),128)),r(" 跨表 "),(n(!0),o(d,null,v(c(wl),((t,a)=>(n(),o(d,null,[t.fieldList&&t.fieldList.length?(n(),o("div",{key:a},[s("p",qe,p(null==t?void 0:t.tableName),1),(n(!0),o(d,null,v(t.fieldList,(t=>(n(),o("div",{class:u(["quick-item",{"quick-block":"DATE"==t.con||"BIRTHDAY"==t.con||"CONVERT"==t.con||t.LABELAttr}]),key:t.sid},[s("div",Me,[r(" title "),s("div",{class:u(["quick-item-title",{"quick-item-title-default":"editTable"!==e.source}])},[s("span",null,p(c(lt)(t,"title"))+"  ",1)],2),s("div",{class:u(["quick-item-col",{"quick-item-col-default":"editTable"!==e.source}])},[t.LABELAttr?(n(),o("div",Qe,[t.labelObj&&Object.keys(t.labelObj||{}).length>0?g(l.$slots,"default",{key:0},(()=>[(n(!0),o(d,null,v(t.labelObj,((e,l)=>(n(),o("div",{key:l,class:"edit-label-content"},[s("div",Fe,p(l)+":",1),s("div",We,[s("div",$e,[(n(!0),o(d,null,v(e.itemList,((e,l)=>(n(),f(c(B),{checked:e.isSelect,checkable:"",key:l,class:u(["label-tag-"+Dt(e)]),"onUpdate:checked":l=>Lt(l,e,t)},{default:m((()=>[h(c(V),{placement:"top-start"},{trigger:m((()=>[s("span",null,p(e.labelName),1)])),default:m((()=>[y(" "+p(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","class","onUpdate:checked"])))),128)),r(" </a-checkable-tag> ")])])])))),128))])):(n(),f(c(I),{key:1,style:{width:"200px"},value:t.inputVal,"onUpdate:value":e=>t.inputVal=e},null,8,["value","onUpdate:value"]))])):t.EVALUATEAttr?(n(),o(d,{key:1},[r(" EVALUATE "),s("div",Ge,[(n(!0),o(d,null,v(c(Ml),(e=>(n(),f(c(B),{key:e.value,class:u({"ant-tag-checkable-checked":t.selecteds.indexOf(e.value)>-1}),checkable:"",checked:t.selecteds.indexOf(e.value)>-1,"onUpdate:checked":l=>Rt(l,e,t)},{default:m((()=>[y(p(e.label),1)])),_:2},1032,["class","checked","onUpdate:checked"])))),128))])],2112)):t.NUMBERFiled?(n(),o(d,{key:2},[r(" EVALUATE "),r(" NUMBERFiled "),s("div",ze,[s("span",{class:u(["ant-calendar-picker-input ant-input num-picker",{"num-picker-unit":t.inputUnit}])},[b(s("input",{"onUpdate:modelValue":e=>t.lessValue=e,onKeyup:E((()=>_t(t)),["enter"]),title:`起始${t.alias||t.title}`,placeholder:`起始${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Je),[[T,t.lessValue]]),Ke,b(s("input",{"onUpdate:modelValue":e=>t.bigValue=e,title:`截止${t.alias||t.title}`,onKeyup:E((()=>_t(t)),["enter"]),placeholder:`截止${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Xe),[[T,t.bigValue]]),t.inputUnit?(n(),o(d,{key:0},[y(" "+p(t.inputUnit),1)],64)):r("v-if",!0),t.lessValue||t.bigValue?(n(),o("span",{key:1,class:"ant-input-suffix clear-number-icon",onClick:e=>wt(t)},el,8,Ze)):r("v-if",!0),ll],2)])],2112)):(n(),o(d,{key:3},[r(" NUMBERFiled "),g(l.$slots,"default",{},(()=>["CL"==t.con?(n(),o(d,{key:0},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"CL-input",style:k(`width: ${c(Xl)(t)}`),value:t.CL,"onUpdate:value":e=>t.CL=e,min:0,max:100,clearable:""},null,8,["style","value","onUpdate:value"])):(n(),f(c(I),{key:1,class:"CL-input",style:k(`width: ${c(Xl)(t)}`),value:t.CL,"onUpdate:value":e=>t.CL=e,clearable:""},null,8,["style","value","onUpdate:value"]))],64)):r("v-if",!0),"EQ"==t.con?(n(),o(d,{key:1},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,min:0,max:100,clearable:""},null,8,["style","value","onUpdate:value"])):(n(),f(c(I),{key:1,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,placeholder:t.placeholder||t.isPreciseSearch||"JSONB"==t.fieldType?"":"区间搜素用~分割",clearable:""},null,8,["style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),c(Kl)(t)?(n(),o(d,{key:2},[y(" %")],64)):r("v-if",!0),r(" date "),"DATE"==t.con?(n(),o("div",tl,[h(c(Y),{modelValue:t.DATE.con,"onUpdate:modelValue":e=>t.DATE.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(c(xl),(e=>b((n(),f(c(H),{onClick:A((l=>Ot(t.DATE,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["onClick","value","label"])),[[S,!t.showDate]]))),128))])),_:2},1032,["modelValue","onUpdate:modelValue"]),s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>ot(t)},"开始时间",10,al),b(s("div",il,[h(c(P),{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.start_val,"onUpdate:formatted-value":e=>t.DATE.start_val=e,placeholder:"起始日期",style:{width:"120px","min-width":"195px"},clearable:""},null,8,["formatted-value","onUpdate:formatted-value"]),y("   "),h(c(P),{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.end_val,"onUpdate:formatted-value":e=>t.DATE.end_val=e,placeholder:"截止日期",style:{width:"120px"},clearable:""},null,8,["formatted-value","onUpdate:formatted-value"])],512),[[S,t.showDate]])])):r("v-if",!0),"QUOTE"==t.con||"SelectMui"==t.com?(n(),o(d,{key:4},["treeSelect"===t.comType?(n(),f(pe,{key:0,options:t,handleGetConfigApi:c(pl),filterApiConfig:e.filterApiConfig,style:{margin:"0 8px 8px 0"}},null,8,["options","handleGetConfigApi","filterApiConfig"])):(n(),f(ve,{key:1,item:t,source:"quickSearch",maxTagPlaceholder:rt,outFilterChange:ct,handleWordBookSearch:vt,dropdownVisibleChange:dt,fetchingWordbook:c($l)},null,8,["item","fetchingWordbook"]))],64)):"CONVERT"==t.con?(n(),o(d,{key:5},[r(" 多选选项组 "),"0"!=(null==t?void 0:t.advanceOptionSetting)?(n(),f(c(M),{key:0,class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(Q),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])):(n(),o(d,{key:1},[r(" 单选选项组 "),h(c(Y),{class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(F),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])],2112))],64)):r("v-if",!0)]))],2112))],2)])],2)))),128))])):r("v-if",!0)],64)))),256))],2),h(c(W),{show:c(Rl),maskClosable:!1,"positive-text":"确认","negative-text":"取消",onPositiveClick:gt,onNegativeClick:Et,class:"quickSearch-saveToClass-modal"},{default:m((()=>[h(c($),{title:"设置筛选分类",style:{width:"520px"},bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":m((()=>[s("div",nl,[h(c(x),{component:c(le),size:"24",onClick:Et},null,8,["component"])])])),footer:m((()=>[h(c(G),{onClick:Et},{default:m((()=>[y("取消")])),_:1}),h(c(G),{type:"info",onClick:gt},{default:m((()=>[y("确认")])),_:1})])),default:m((()=>[h(c(z),{ref_key:"formRef",ref:Ol,"label-placement":"left",rules:rl,model:Dl.value},{default:m((()=>[h(c(J),{label:"筛选集名称",path:"classname"},{default:m((()=>[h(c(I),{value:Dl.value.classname,"onUpdate:value":t[0]||(t[0]=e=>Dl.value.classname=e),placeholder:"请输入分类名称",clearable:""},null,8,["value"])])),_:1})])),_:1},8,["model"]),h(c(K),{cols:24},{default:m((()=>[h(c(X),{span:5,style:{"text-align":"right",color:"rgba(0, 0, 0, 0.85)"}},{default:m((()=>[y("父类名称:")])),_:1}),h(c(X),{span:18},{default:m((()=>[(n(!0),o(d,null,v(c(Ql),((e,l)=>(n(),o("div",{class:u(["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:t=>function(e,l){e.disabled&&(Ql.value.forEach(((e,t)=>{t!==l&&(e.selected=!1)})),e.selected=!e.selected)}(e,l)},[e.disabled?(n(),o("div",sl,[s("span",null,p(e.value),1)])):(n(),f(c(I),{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"])),h(c(x),{component:c(le),class:"anticon-close",size:"20",onClick:t=>At(l,e)},null,8,["component","onClick"])],42,ol)))),128)),c(et)?r("v-if",!0):(n(),o(d,{key:0},[b(h(c(G),{dashed:"",icon:"plus",class:"ant-btn",onClick:bt},{default:m((()=>[h(c(x),{component:c(te),size:"20"},null,8,["component"]),y("添加分类")])),_:1},512),[[S,!c(Fl)]]),b(h(c(I),{style:{width:"100px"},class:"edit-tag",value:c(Wl),"onUpdate:value":t[1]||(t[1]=e=>C(Wl)?Wl.value=e:Wl=e),valueModifiers:{trim:!0},onBlur:kt,maxLength:10},null,8,["value"]),[[S,c(Fl)]])],64))])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])]))}}),[["__file","QuickSearch.vue"]]);export{ul as default};
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};
@@ -366,17 +366,7 @@ export declare type IsettingObjType = {
366
366
  };
367
367
  export declare type IparamsType = Record<'p_name' | 'p_value', string>;
368
368
  export declare type IsettingsType = {
369
- isDownload: string;
370
- asyncCount: number;
371
- hideCondition: number;
372
- hideSearch: number;
373
369
  hideQuickSearch: number;
374
- hideOutSearch: number;
375
- hideBottom: number;
376
- hideExportBtn: number;
377
- hideSettingBtn: number;
378
- buttonAdaption: number;
379
- openOnly: number;
380
370
  };
381
371
  export declare type InjectisShowResetButton = {
382
372
  from: '';
@@ -421,10 +411,10 @@ export declare type IApiServerType = {
421
411
  filterExplicit: boolean;
422
412
  explicitRequired: boolean;
423
413
  width?: number | null;
424
- optionType: string;
414
+ optionType?: string;
425
415
  defaultValue?: {
426
- valueList: any[];
427
- unit: string | null;
416
+ valueList?: any[];
417
+ unit?: string | null;
428
418
  };
429
419
  optionInfo?: {
430
420
  manualMapping?: boolean | null;
@@ -433,7 +423,7 @@ export declare type IApiServerType = {
433
423
  value: any;
434
424
  }[];
435
425
  };
436
- remark: string;
426
+ remark?: string;
437
427
  keyword?: boolean;
438
428
  };
439
429
  export declare type ICategoryItemType = {
@@ -1 +1 @@
1
- .quickSearch-saveToClass-modal.n-card .edit-tag{margin-bottom:10px;margin-right:10px;position:relative;width:100px}.quickSearch-saveToClass-modal.n-card .edit-tag .s-content{background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;opacity:1;padding:4px 11px;width:100px}.quickSearch-saveToClass-modal.n-card .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quickSearch-saveToClass-modal.n-card .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.quickSearch-saveToClass-modal.n-card .edit-tag .ant-btn{margin-bottom:10px}.quickSearch-saveToClass-modal.n-card .edit-tag.edit-tag-select .ant-input-disabled,.quickSearch-saveToClass-modal.n-card .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.quickSearch-saveToClass-modal.n-card .n-card-header__extra{cursor:pointer}.quickSearch-saveToClass-modal.n-card .n-card__footer{border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right}.quickSearch-saveToClass-modal.n-card .n-card__footer .n-button{margin-left:8px}.quickSearch-saveToClass-modal{width:520px}.quickSearch-saveToClass-modal .search-class-name-block .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.quickSearch-saveToClass-modal .search-class-name-block .item-name .label{text-align:right;width:120px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .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}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .ant-input-disabled{background-color:rgba(45,122,255,.1);border-color:#2d7aff;color:#2d7aff;cursor:pointer;opacity:1}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .ant-input-group-addon,.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .ant-input-number:not(:hover),.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .ant-input:not(:hover){border-color:#2d7aff!important}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag.edit-tag-select .ant-input-disabled,.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag.edit-tag-select .anticon-close{color:#fff}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .ant-btn{margin-bottom:10px}.search-professional-container{display:flex}.search-professional-container .left-content{border-right:1px solid #d5d5d5;flex:7;overflow:hidden;overflow-y:auto;padding:10px 0 10px 10px}.search-professional-container .left-content .inner-content .item-list{border-top:none;margin-bottom:0;margin-top:0;padding:0}.search-professional-container .left-content-com{max-height:244px;min-height:98px;overflow:hidden;overflow-y:auto;padding-right:10px}.search-professional-container .left-content-btn{padding-left:30px;padding-top:10px}.search-professional-container .left-content-btn .n-button--primary-type{margin-left:10px}.search-professional-container .left-content-btn .selected-item-del{color:#2474ff;font-size:14px;margin-left:10px}.search-professional-container .left-content-btn .selected-item-del .svg-icon-btn{margin-right:6px}.search-professional-container .right-content{flex:5}.search-professional-container .right-content .list{display:flex;flex-direction:column;height:100%;overflow:hidden}.search-professional-container .right-content .list-title{background:#f2f2f2;border-bottom:1px solid #d5d5d5;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;height:40px;line-height:40px}.search-professional-container .right-content .list-title-btn,.search-professional-container .right-content .list-title-name,.search-professional-container .right-content .list-title-parent{width:25%}.search-professional-container .right-content .list-title>span{display:inline-block;text-align:center}.search-professional-container .right-content .list-title>span .svg-icon-filter{margin-left:6px;vertical-align:middle}.search-professional-container .right-content .list-content{background:#fff;flex:1;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;line-height:30px;overflow:hidden;overflow-y:auto}.search-professional-container .right-content .list-content-btn,.search-professional-container .right-content .list-content-name,.search-professional-container .right-content .list-content-parent{width:25%}.search-professional-container .right-content .list-content>li{border-bottom:1px solid #d5d5d5;height:30px;line-height:30px}.search-professional-container .right-content .list-content>li.checked,.search-professional-container .right-content .list-content>li.checked:hover{background-color:#fdf2e0}.search-professional-container .right-content .list-content>li:hover{background:#fafafa}.search-professional-container .right-content .list-content>li>span{display:inline-block;height:30px;line-height:30px;text-align:center;vertical-align:middle}.search-professional-container .right-content .list .svg-icon-btn{margin-right:8px}.search-professional-container .right-content .list .svg-icon-btn+.svg-icon-btn{margin-left:0}.search-professional-container .ant-btn+.ant-btn{margin-left:10px}.age-com-block{align-items:center;display:flex;width:100%}.age-com-block-suffix{display:inline-block;line-height:32px;padding:0 10px}.age-com-block .n-input-number{font-feature-settings:"tnum";background-color:#fff;background-image:none;box-sizing:border-box;color:rgba(0,0,0,.65);display:inline-block;font-size:14px;font-variant:tabular-nums;height:32px;line-height:1.5;list-style:none;margin:0;padding:0;position:relative;transition:all .3s;width:100%;width:90px}.buttonGroup-com-block{background:#5585f5;border-radius:4px;color:#fff;display:inline-block;height:32px;line-height:32px;margin:0 8px 8px 0}.searchConditionByApi_wrapper .inner-content{color:#000}.searchConditionByApi_wrapper .inner-content>p>span{cursor:pointer}.searchConditionByApi_wrapper .inner-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.searchConditionByApi_wrapper .inner-content .item-name .label{text-align:right;width:120px}.searchConditionByApi_wrapper .inner-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.searchConditionByApi_wrapper .inner-content .parent-names{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.searchConditionByApi_wrapper .inner-content .parent-names .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.searchConditionByApi_wrapper .inner-content .parent-names .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.searchConditionByApi_wrapper .inner-content .parent-names .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}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .ant-input-disabled{background-color:rgba(45,122,255,.1);border-color:#2d7aff;color:#2d7aff;cursor:pointer;opacity:1}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .ant-input-group-addon,.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .ant-input-number:not(:hover),.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .ant-input:not(:hover){border-color:#2d7aff!important}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag.edit-tag-select .ant-input-disabled,.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag.edit-tag-select .anticon-close{color:#fff}.searchConditionByApi_wrapper .inner-content .parent-names .ant-btn{margin-bottom:10px}.searchConditionByApi_wrapper .inner-content .item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.searchConditionByApi_wrapper .inner-content .item-list.list-onlyCondition{border-top:0;padding-top:0}.searchConditionByApi_wrapper .inner-content .item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.searchConditionByApi_wrapper .inner-content .item-list .form-item{margin-right:10px;width:120px}.searchConditionByApi_wrapper .inner-content .item-list .form-item.n-date-picker{width:auto}.searchConditionByApi_wrapper .inner-content .item-list .form-action{cursor:pointer;float:right;font-size:16px;margin-top:6px}.searchConditionByApi_wrapper .inner-content .item-list .date-item{display:inline-block}.searchConditionByApi_wrapper .inner-content .item-list .birthday-item>div{display:inline-block;margin-top:5px}.searchConditionByApi_wrapper .inner-content .item-list .birthday-item>div p{display:inline-block;margin:0 10px 0 15px}.searchConditionByApi_wrapper .inner-content .item-list .birthday-item>div>span{margin-top:5px}.searchConditionByApi_wrapper .inner-content .item-list .birthday-item .age-wrap,.searchConditionByApi_wrapper .inner-content .item-list .relation-item{display:inline-block}.searchConditionByApi_wrapper .inner-content .item-list .relation-item .relation-width{margin-right:10px;width:150px}.searchConditionByApi_wrapper .inner-content .item-list .relation-item .relation-btn{cursor:pointer}.searchConditionByApi_wrapper .inner-content .item-list .range-container{display:inline-block;vertical-align:bottom;width:442px}.searchConditionByApi_wrapper .inner-content .item-list .item-error{color:red;display:inline-block}.searchConditionByApi_wrapper .inner-content .item-list .value-cfg_wrapper{display:flex;flex-wrap:wrap}.searchConditionByApi_wrapper .inner-content .item-list .value-cfg_wrapper .form-item{margin-right:10px}.searchConditionByApi_wrapper .inner-content .index-span{display:inline-block;width:30px}.searchConditionByApi_wrapper .blue{color:#2d7aff;margin-right:8px}.searchConditionByApi_wrapper .red{color:#e02020}.searchConditionByApi_wrapper .in-block{display:inline-block}.outQuickSearch-li-block .ant-calendar-picker{font-feature-settings:"tnum";box-sizing:border-box;color:rgba(0,0,0,.65);cursor:text;display:inline-block;font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;margin:0;outline:none;padding:0;position:relative;transition:opacity .3s}.outQuickSearch-li-block .ant-calendar-picker .num-picker{display:flex;position:relative}.outQuickSearch-li-block .ant-calendar-picker .ant-calendar-picker-input{outline:none}.outQuickSearch-li-block .ant-calendar-picker .ant-input{font-feature-settings:"tnum";background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;color:rgba(0,0,0,.65);display:inline-block;font-size:14px;font-variant:tabular-nums;height:32px;line-height:1.5;list-style:none;margin:0;padding:4px 11px;position:relative;transition:all .3s;width:100%}.outQuickSearch-li-block .ant-calendar-picker .ant-input .ant-calendar-range-picker-input{background-color:transparent;border:0;height:99%;outline:0;text-align:center;width:44%}.outQuickSearch-li-block .ant-calendar-picker .ant-input .ant-calendar-range-picker-input::placeholder{color:#c2c2c2}.outQuickSearch-li-block .ant-calendar-picker .ant-input .ant-calendar-range-picker-separator{color:rgba(0,0,0,.45);display:inline-block;height:100%;min-width:10px;pointer-events:none;text-align:center;vertical-align:top;white-space:nowrap}.outQuickSearch-li-block .ant-calendar-picker .ant-input:hover{border-color:#82acff;border-right-width:1px!important}.range-grid-con-block{display:flex;flex-wrap:wrap;width:100%}.range-grid-con-block .grid-item{width:45%}.range-grid-con-block .middle-tips{height:30px;line-height:30px;text-align:center;width:5%}.SearchCondition-page-block .inner-content{color:#000}.SearchCondition-page-block .inner-content>p>span{cursor:pointer}.SearchCondition-page-block .inner-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.SearchCondition-page-block .inner-content .item-name .label{text-align:right;width:120px}.SearchCondition-page-block .inner-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.SearchCondition-page-block .inner-content .parent-names{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.SearchCondition-page-block .inner-content .parent-names .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.SearchCondition-page-block .inner-content .parent-names .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.SearchCondition-page-block .inner-content .parent-names .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.SearchCondition-page-block .inner-content .parent-names .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.SearchCondition-page-block .inner-content .parent-names .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border-color:#2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.SearchCondition-page-block .inner-content .parent-names .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.SearchCondition-page-block .inner-content .parent-names .edit-tag .n-input--disabled{background-color:rgba(45,122,255,.1)!important;border-color:#2d7aff!important;color:#2d7aff!important;cursor:pointer!important;opacity:1!important}.SearchCondition-page-block .inner-content .parent-names .edit-tag .ant-input-group-addon,.SearchCondition-page-block .inner-content .parent-names .edit-tag .ant-input-number:not(:hover),.SearchCondition-page-block .inner-content .parent-names .edit-tag .ant-input:not(:hover){border-color:#2d7aff!important}.SearchCondition-page-block .inner-content .parent-names .edit-tag.edit-tag-select .ant-input-disabled,.SearchCondition-page-block .inner-content .parent-names .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.SearchCondition-page-block .inner-content .parent-names .edit-tag.edit-tag-select .anticon-close{color:#fff}.SearchCondition-page-block .inner-content .parent-names .ant-btn{margin-bottom:10px}.SearchCondition-page-block .inner-content .item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.SearchCondition-page-block .inner-content .item-list.list-onlyCondition{border-top:0;padding-top:0}.SearchCondition-page-block .inner-content .item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.SearchCondition-page-block .inner-content .item-list .form-item{margin-right:10px;width:120px}.SearchCondition-page-block .inner-content .item-list .operation{display:flex;flex:1;justify-content:flex-end}.SearchCondition-page-block .inner-content .item-list .operation .form-action{cursor:pointer}.SearchCondition-page-block .inner-content .item-list .date-item{display:inline-block}.SearchCondition-page-block .inner-content .item-list .birthday-item>div{display:inline-block;margin-top:5px}.SearchCondition-page-block .inner-content .item-list .birthday-item>div p{display:inline-block;margin:0 10px 0 15px}.SearchCondition-page-block .inner-content .item-list .birthday-item>div>span{margin-top:5px}.SearchCondition-page-block .inner-content .item-list .birthday-item .age-wrap,.SearchCondition-page-block .inner-content .item-list .relation-item{display:inline-block}.SearchCondition-page-block .inner-content .item-list .relation-item .relation-width{margin-right:10px;width:150px}.SearchCondition-page-block .inner-content .item-list .relation-item .relation-btn{cursor:pointer}.SearchCondition-page-block .inner-content .item-list .range-container{display:inline-block;vertical-align:bottom}.SearchCondition-page-block .inner-content .item-list .item-error{color:red;display:inline-block}.SearchCondition-page-block .inner-content .index-span{display:inline-block;width:30px}.SearchCondition-page-block .blue{color:#2d7aff;margin-right:8px}.SearchCondition-page-block .red{color:#e02020}.SearchCondition-page-block .in-block{display:flex}.SearchCondition-page-block._c_com-search-professional .inner-content .item-list>li{position:relative}.SearchCondition-page-block._c_com-search-professional .inner-content .item-list>li .show-small-select .val-small-select-wrap{width:66px!important}.SearchCondition-page-block._c_com-search-professional .inner-content .item-list>li .show-small-select .val-input-wrap{width:34%!important}.SearchCondition-page-block._c_com-search-professional .inner-content .item-error{display:block;padding-left:29px}.SearchCondition-page-block._c_com-search-professional .select-front-item{width:23%!important}.SearchCondition-page-block._c_com-search-professional .val-input-wrap{display:inline-block;width:100%}.SearchCondition-page-block._c_com-search-professional .val-input-wrap .n-input{width:100%!important}.SearchCondition-page-block._c_com-search-professional .val-age-wrap .ant-calendar-picker,.SearchCondition-page-block._c_com-search-professional .val-date-wrap .ant-calendar-picker,.SearchCondition-page-block._c_com-search-professional .val-select-wrap .ant-calendar-picker{width:50%!important}.SearchCondition-page-block._c_com-search-professional .val-range-wrap{width:42%!important}.SearchCondition-page-block._c_com-search-professional .val-range-wrap .ant-input-group .age-com .age-com-suffix{padding:0 1px}.SearchCondition-page-block._c_com-search-professional .val-range-wrap .ant-input-group .age-com .ant-input-number{width:100%}.SearchCondition-page-block._c_com-search-professional .val-range-wrap .ant-input-group .age-com .ant-input-number .ant-input-number-handler-wrap{display:none}.SearchCondition-page-block._c_com-search-professional .val-range-wrap .ant-input-group .age-com .ant-input-number .ant-input-number-input-wrap input{padding:0 2px}.SearchCondition-page-block._c_com-search-professional .teavalue-wrap{width:calc(88% + 20px)}.search-filter-modal-wrap{background:#fff;overflow-y:visible!important;width:860px}.search-filter-modal-wrap .n-card-header .svg-wrap .svg-icon{cursor:pointer;font-size:14px}.search-filter-modal-wrap .n-card-header .svg-wrap .svg-icon+svg{margin-left:16px}.search-filter-modal-wrap .n-card__content{overflow-y:auto}.search-filter-modal-wrap .n-card__footer{align-items:center;display:flex;justify-content:flex-end}.search-filter-modal-wrap .n-card__footer .n-button{margin-left:8px}.classification-set-modal-wrap-block.n-dialog{background:#fff;width:860px}.classification-set-modal-wrap-block .n-card-header .svg-wrap .svg-icon{cursor:pointer;font-size:14px}.classification-set-modal-wrap-block .n-card-header .svg-wrap .svg-icon+svg{margin-left:16px}.classification-set-modal-wrap-block .n-card__content{overflow-y:auto}.classification-set-modal-wrap-block .n-card__content .list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-set-modal-wrap-block .n-card__content .list .list-title .list-title-item{font-weight:700;width:25%}.classification-set-modal-wrap-block .n-card__content .list .list-content{padding:0}.classification-set-modal-wrap-block .n-card__content .list .list-content li{display:flex;height:52px;line-height:52px}.classification-set-modal-wrap-block .n-card__content .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-set-modal-wrap-block .n-card__content .list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-set-modal-wrap-block .n-card__content .list .list-content li.checked,.classification-set-modal-wrap-block .n-card__content .list .list-content li.checked .text{background-color:#f2f2f2}.classification-set-modal-wrap-block .n-card__content .list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-set-modal-wrap-block .n-card__content .list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-set-modal-wrap-block .n-card__content .list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-set-modal-wrap-block .n-card__content .list .list-title-item{margin-left:-1px;padding:0 10px}.classification-set-modal-wrap-block .n-card__content .list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-set-modal-wrap-block .n-card__content .list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-set-modal-wrap-block .n-card__content .list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-set-modal-wrap-block .n-card__content .list .list-content-radio,.classification-set-modal-wrap-block .n-card__content .list .list-content-switch{text-align:center}.classification-set-modal-wrap-block .n-card__content .list .anticon+.anticon{margin-left:8px}.classification-set-modal-wrap-block .n-card__content .btn-reset{float:left}.classification-set-modal-wrap-block .n-card__footer{align-items:center;display:flex;justify-content:flex-end;padding-top:10px}.classification-set-modal-wrap-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 .btn-custom-wrap{align-items:flex-start;display:flex;justify-content:flex-end;width:100%}.base-search-block .base-container ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:8px}.base-search-block .base-container ul li{display:inline-block}.base-search-block .base-container ul li .search-default{border-color:#d5d5d5;color:#212121;height:32px;line-height:32px;margin-bottom:8px;margin-right:8px}.base-search-block .base-container ul li .my-input-search{height:32px;margin-bottom:8px;margin-right:8px;position:relative;top:-1px;vertical-align:middle}.base-search-block .base-container ul li .my-input-search .ant-input{border-right:0!important;margin-top:1px}.base-search-block .base-container ul li .my-input-search .ant-input:hover+.ant-input-suffix .ant-input-search-icon{color:#579aff}.base-search-block .base-container ul li .my-input-search .ant-input-group-addon{border:0!important;padding:0;vertical-align:bottom}.base-search-block .base-container ul li .my-input-search .ant-input-group-addon .ant-btn{border-bottom-left-radius:0;border-top-left-radius:0}.base-search-block .base-container ul li .my-input-search .svg-icon{font-size:16px;margin-right:0}.base-search-block .base-container ul li .mr8{margin-bottom:8px;margin-right:8px}.base-search-block .base-container ul li .mr12{margin-bottom:8px;margin-right:12px}.base-search-block .base-container ul li .ml12{margin-bottom:8px;margin-left:12px}.base-search-block .base-container ul li.related-search-input .my-input-search{width:40px}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper{width:0}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper .ant-input{box-shadow:none;outline:none;width:0}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper .ant-input:focus{outline:none}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper .ant-input:not(:last-child){border:0!important;padding:0}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper .ant-input-suffix i{display:none}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-group-addon .ant-btn{border-bottom-left-radius:4px;border-top-left-radius:4px}.base-search-block .base-container ul li.related-search-input-expand{transition:width .2s}.base-search-block .base-container ul li.related-search-input-expand .my-input-search{width:215px}.base-search-block .base-container ul li.related-search-input-expand .my-input-search .ant-input-affix-wrapper .ant-input-suffix i{display:inline-block}.base-search-block .base-container ul .dropdown-button{border-color:#d5d5d5!important;color:#212121;margin-bottom:8px;margin-left:8px}.base-search-block .base-container ul .dropdown-button .svg-icon{margin-right:4px}.base-search-block .base-container ul .dropdown-button.ant-dropdown-trigger i.anticon.anticon-down{color:#969696;font-size:14px}.base-search-block .base-container ul .baseSearch-input-search .input-search-com input{padding:4px 8px}.base-search-block .base-container ul .baseSearch-input-search .input-search-com .search-placeholder-icon{color:#b4b4b4}.base-search-block .base-container ul .btn-row{display:inline-flex;height:32px;line-height:32px;margin-bottom:8px;padding-right:8px;transform:translateZ(0)}.base-search-block .base-container ul .btn-row .mgl-10{margin-left:10px}.base-search-block .base-container ul .btn-row.min-width{min-width:212px}.base-search-block .base-container ul .btn-row .ant-select-selection__rendered{color:#212121;font-size:14px}.base-search-block .base-container ul .btn-row .ant-select-arrow i{color:#969696;font-size:12px}.base-search-block .base-container ul .btn-row .btn-setting{margin-right:4px}.base-search-block .base-container ul .btn-row .viewList-button{align-items:center;display:flex;justify-content:center;padding:0 12px}.base-search-block .base-tabs{align-items:center;border-bottom:1px solid #d5d5d5;display:flex;margin-bottom:8px}.base-search-block .base-tabs .base-tabs-item{border-bottom:1px solid transparent;color:#212121;cursor:pointer;font-size:14px;font-weight:400;padding:7px 16px}.base-search-block .base-tabs .base-tabs-item-active{border-bottom:1px solid #2d7aff;color:#2d7aff}.base-search-block .baseSearchPlaceholderSpan{position:absolute;visibility:hidden;z-index:-1}.base-search-block .num-picker{display:flex;position:relative}.base-search-block .num-picker.num-picker-unit{padding-right:20px}.base-search-block .num-picker input{text-align:left!important}.base-search-block .num-picker:hover .clear-number-icon{display:block}.base-search-block .num-picker .ant-calendar-range-picker-input{text-align:left}.base-search-block .num-picker .clear-number-icon{cursor:pointer;display:none;position:absolute;right:5px;top:6px;z-index:1000}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px}.quick-search-block .quick-item .quick-row{display:flex}.quick-search-block .quick-item .quick-row>div{box-sizing:border-box;display:inline-block}.quick-search-block .quick-item .quick-row .quick-item-title{color:#000;line-height:32px;min-width:80px;padding-left:12px;text-align:right}.quick-search-block .quick-item .quick-row .quick-item-col{padding:0 12px;vertical-align:middle}.quick-search-block .quick-item .quick-row .quick-item-col .label-content .n-tag--checkable{background:#fafafa;border:1px solid hsla(0,0%,84%,.8);border-radius:4px;box-sizing:border-box;color:rgba(33,33,33,.6);cursor:pointer;font-size:14px;height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;padding:0 7px;position:relative;text-align:center;width:108px}.quick-search-block .quick-item .quick-row .quick-item-col .label-content .n-tag--checkable .n-tag__content{width:100%}.quick-search-block .quick-item .quick-row .quick-item-col .label-content .n-tag--checkable.ant-tag-checkable-checked{background-color:#5585f5;color:#fff}.quick-search-block .quick-item .quick-row .quick-item-col .tag-evaluate .n-tag{margin-right:8px}.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-item .check-box{line-height:32px}.quick-search-block .quick-item .check-date-btn{background-color:#ddd;cursor:pointer;display:inline-block;height:32px;line-height:32px;padding:0 10px}.quick-search-block .quick-item .check-date-btn.ml{margin-left:20px}.quick-search-block .quick-item .check-date-btn.mr{margin-right:20px}.quick-search-block .quick-item .check-date{display:inline-block;line-height:33px}.quick-search-block .quick-item .check-date .n-date-picker{display:inline-block}.quick-search-block .quick-item .birthday-item>div{margin-top:5px}.quick-search-block .quick-item .birthday-item>div p{display:inline-block;margin:0 20px}.quick-search-block .quick-item .birthday-item>div>span{margin-top:5px}.quick-search-block .quick-item .birthday-item .age-wrap{display:inline-block}.quick-search-block .quick-item .ant-input-wrapper .ant-input-group-addon{border:1px solid #d9d9d9!important;border-left:0!important}.quick-search-block .quick-item .num-picker{font-feature-settings:"tnum";background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;color:rgba(0,0,0,.65);display:flex;display:inline-block;font-size:14px;font-variant:tabular-nums;height:32px;line-height:1.5;list-style:none;margin:0;padding:4px 11px;position:relative;transition:all .3s;width:100%}.quick-search-block .quick-item .num-picker.num-picker-unit{padding-right:20px}.quick-search-block .quick-item .num-picker input{text-align:left!important}.quick-search-block .quick-item .num-picker:hover{border-color:#82acff;border-right-width:1px!important}.quick-search-block .quick-item .num-picker:hover .clear-number-icon{display:block}.quick-search-block .quick-item .num-picker .ant-calendar-range-picker-input{background-color:transparent;border:0;height:99%;outline:0;text-align:left;text-align:center;width:44%}.quick-search-block .quick-item .num-picker .clear-number-icon{cursor:pointer;display:none;position:absolute;right:5px;top:6px;z-index:1000}.quick-search-block .n-radio-group{vertical-align:middle}.quick-search-block .n-radio-group .n-radio-button{padding:0 8px}.quick-search-block .n-radio-group .n-radio-button[hidesplitor=true]~.n-radio-group__splitor{display:none}.quick-search-block .label-attr-container .edit-label{color:#000;font-size:14px;line-height:32px;padding-left:0}.quick-search-block .label-attr-container .label-container-height{flex:none;height:74px;overflow:hidden}.quick-search-block .label-attr-container .edit-content{padding:0}.quick-search-block .label-attr-container .label-unfold-btn{color:rgba(0,0,0,.6);cursor:pointer;display:inline-block;margin:8px 0}.quick-search-block .label-attr-container .label-unfold-btn>span{align-items:center;display:flex;line-height:1}.quick-search-block .label-attr-container .label-unfold-btn .anticon{font-size:16px;margin-left:8px}.quick-search-block .label-attr-container .label-unfold-btn:active,.quick-search-block .label-attr-container .label-unfold-btn:hover{color:#2d7aff}.quick-search-block.quick-search-table .module-title{border-left:4px solid #2d7aff;color:#506493;line-height:20px;padding-left:12px}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block}.quick-search-block .psw-icon{color:#969696;cursor:pointer}.quick-search-block .psw-icon:active{color:#5585f5}.classification-block{cursor:pointer}.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 .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 .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;display:flex}.classification-block .tree-type .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer}.classification-block .tree-type .tree-item.tree-header{box-sizing:border-box;padding:0 10px}.classification-block .tree-type .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .tree-type .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .tree-type .tree-item .header-item{border-bottom:1px solid transparent;box-sizing:border-box;color:rgba(0,0,0,.6);line-height:1.4}.classification-block .tree-type .tree-item .header-item.selected,.classification-block .tree-type .tree-item .header-item:hover{color:#2d7aff}.classification-block .tree-type .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree-item .children{align-items:center;display:flex;height:32px;padding-left:23px;padding-right:10px}.classification-block .tree-type .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-item .children .child-item:hover{color:#2d7aff}.classification-block .tree-type .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .tree-type .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tree-type .tree-item .children .child-item .child-item-content{align-items:center;display:flex}.classification-block .tree-type .tree-item .children .child-item .child-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree-item .children .child-item .digital-span{flex:1;margin-left:5px;text-align:left}.classification-block .tree-type .tree-type-footer{background:#fff;bottom:0;padding-left:16px;position:absolute;width:100%}.classification-block .tree-type .tree-type-footer .selected-num{margin-bottom:9px}.classification-block .tree-type .tree-type-footer .selected-item-del{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;color:#000;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{color:#000;display:flex}.classification-block .tile-type .header .right-setting .setting-1{align-items:center;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;padding:9px 0}.classification-block .tile-type .tile-item{cursor:pointer;display:flex;line-height:38px}.classification-block .tile-type .tile-item .parent{box-sizing:border-box;color:#000;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-item .children{flex:1}.classification-block .tile-type .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-item .children .child-item.selected,.classification-block .tile-type .tile-item .children .child-item:hover{background-color:rgba(45,122,255,.1);color:#2d7aff}.classification-block .tile-type .tile-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tile-type .tile-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tile-type .tile-item .child-item.selected{color:#2d7aff}.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;display:flex;font-size:12px;height:100%;justify-content:space-between;padding:0 8px;width:100%}.classification-block .select-type .title>span{color:#212121;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .title i{font-size:12px}.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 .main-wrapper .tree-footer,.classification-block .select-type .main-wrapper .tree-footer span{align-items:center;display:flex}.classification-block .select-type .main-wrapper .tree-footer span .n-icon{margin-right:6px}.classification-block .select-type .main-wrapper .tree-footer span:first-child{margin-right:16px}.classification-block .select-type .tree{margin:0;max-height:300px;overflow:auto;padding:32px 0}.classification-block .select-type .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer;line-height:32px}.classification-block .select-type .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-item .child-header{flex:1}.classification-block .select-type .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .select-type .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .select-type .tree-item .header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree-item .header-item.selected,.classification-block .select-type .tree-item .header-item:hover{color:#2d7aff}.classification-block .select-type .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree-item .children{align-items:center;display:flex;height:32px;line-height:32px;padding-left:23px;padding-right:10px}.classification-block .select-type .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-item .children .child-item.child-header{padding:0 10px}.classification-block .select-type .tree-item .children .child-item.header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree-item .children .child-item.header-item.selected,.classification-block .select-type .tree-item .children .child-item.header-item:hover{color:#2d7aff}.classification-block .select-type .tree-item .children .child-item.header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .select-type .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .select-type .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .select-type .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 .group-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 16px}.classification-block .group-type .header{align-items:center;display:inline-flex;justify-content:space-between;line-height:44px;padding-left:4px;width:100%}.classification-block .group-type .header .all-data{border-bottom:1px solid transparent;color:rgba(0,0,0,.6);margin-right:auto}.classification-block .group-type .header .all-data:hover{border-color:transparent;color:#2d7aff}.classification-block .group-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .group-type .header .selected{color:#2d7aff}.classification-block .group-type .header .right-setting{color:#000;display:flex}.classification-block .group-type .header .right-setting span{align-items:center;display:flex}.classification-block .group-type .header .right-setting span .n-icon{margin-right:6px}.classification-block .group-type .header .right-setting .anticon{color:rgba(0,0,0,.6);margin-right:6px}.classification-block .group-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .group-type .group{border-bottom:1px solid #d5d5d5;display:flex;flex-wrap:wrap;padding:16px 0}.classification-block .group-type .group .child-item{border-bottom:1px solid transparent;color:#7c7c7c;margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .group-type .group .child-item:hover{border-color:transparent;color:#2d7aff}.classification-block .group-type .group .child-item.selected{color:#2d7aff}.classification-block .group-type .group .child-item:active{border-color:transparent;color:#000}.classification-block .group-type .group .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .group-type .group .ant-select,.classification-block .group-type .group .n-select{margin-bottom:8px;margin-right:8px;width:130px}.classification-block .group-type .select-type-footer{align-items:center;background-color:#fff;bottom:0;display:flex;height:32px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .classificationSelect3 .v-vl-items{min-height:auto!important}.classification-block .classificationSelect3 .v-vl-items .v-vl-visible-items .n-base-select-option:first-child{display:none}.classification-block .selected-list{align-items:center;display:flex;padding:11.5px 6px}.classification-block .selected-list .selected-item{align-items:center;background-color:rgba(45,122,255,.1);border-radius:4px;color:#2d7aff;display:flex;margin-left:8px;padding:1px 6.5px 1px 8px}.classification-block .selected-list .selected-item .anticon-close{color:#2474ff;font-size:12px;margin-left:13px}.classification-block .selected-num{color:rgba(0,0,0,.6);font-size:14px;line-height:20px;margin-right:8px}.classification-block .selected-item-del{align-items:center;color:#2474ff;display:flex;font-size:14px;line-height:20px;margin-left:22px}.classification-block .selected-item-del .n-icon{margin-right:6px}.classification-block .selected-item-del:hover{color:rgba(36,116,255,.8)}.classification-block .disabled{pointer-events:none}.classification-block .classify-4-container{overflow:hidden;transition:height .2s ease-in}.classification-block div.classify-4{border:none;border-bottom:1px solid #d5d5d5;margin-bottom:0}.classification-block div.classify-4 .header{border-bottom:none!important}.classification-block.classificationIndex-4{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:10px}.classification-block.classificationIndex-4.upack-up-wrap{border-bottom:none}
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}
package/es/env.d.ts CHANGED
@@ -1,24 +1,24 @@
1
- /// <reference types="vite/client" />
2
-
3
- interface ImportMetaEnv {
4
- readonly VITE_APP_TYPE: string;
5
- // 更多环境变量...
6
- }
7
-
8
- interface ImportMeta {
9
- readonly env: ImportMetaEnv;
10
- }
11
-
12
- declare module '*.vue' {
13
- // @ts-ignore
14
- import type { App, defineComponent } from 'vue';
15
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
- // // const component: DefineComponent<{}, {}, any>
17
- const component: ReturnType<typeof defineComponent> & {
18
- install(app: App): void;
19
- };
20
- // @ts-ignore
21
- export default component;
22
- }
23
-
24
- declare module '*.js';
1
+ /// <reference types="vite/client" />
2
+
3
+ interface ImportMetaEnv {
4
+ readonly VITE_APP_TYPE: string;
5
+ // 更多环境变量...
6
+ }
7
+
8
+ interface ImportMeta {
9
+ readonly env: ImportMetaEnv;
10
+ }
11
+
12
+ declare module '*.vue' {
13
+ // @ts-ignore
14
+ import type { App, defineComponent } from 'vue';
15
+ // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
+ // // const component: DefineComponent<{}, {}, any>
17
+ const component: ReturnType<typeof defineComponent> & {
18
+ install(app: App): void;
19
+ };
20
+ // @ts-ignore
21
+ export default component;
22
+ }
23
+
24
+ declare module '*.js';
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<{
79
79
  required: false;
80
80
  };
81
81
  }>>, {
82
- effect: string;
83
82
  placement: string;
83
+ effect: string;
84
84
  tooltipTitle: string | number;
85
85
  isAlias: boolean;
86
86
  }>;
@@ -0,0 +1,86 @@
1
+ declare const draggableComponent: import('vue').DefineComponent<
2
+ {
3
+ list: {
4
+ type: ArrayConstructor;
5
+ required: boolean;
6
+ default: any;
7
+ };
8
+ modelValue: {
9
+ type: ArrayConstructor;
10
+ required: boolean;
11
+ default: any;
12
+ };
13
+ itemKey: {
14
+ type: (FunctionConstructor | StringConstructor)[];
15
+ required: boolean;
16
+ };
17
+ clone: {
18
+ type: FunctionConstructor;
19
+ default: (original: any) => any;
20
+ };
21
+ tag: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ move: {
26
+ type: FunctionConstructor;
27
+ default: any;
28
+ };
29
+ componentData: {
30
+ type: ObjectConstructor;
31
+ required: boolean;
32
+ default: any;
33
+ };
34
+ },
35
+ unknown,
36
+ {
37
+ error: boolean;
38
+ },
39
+ {
40
+ realList(): any;
41
+ getKey(): any;
42
+ },
43
+ {
44
+ getUnderlyingVm(domElement: any): any;
45
+ getUnderlyingPotencialDraggableComponent(htmElement: any): any;
46
+ emitChanges(evt: any): void;
47
+ alterList(onList: any): void;
48
+ spliceList(): void;
49
+ updatePosition(oldIndex: any, newIndex: any): void;
50
+ getRelatedContextFromMoveEvent({ to, related }: { to: any; related: any }): any;
51
+ getVmIndexFromDomIndex(domIndex: any): any;
52
+ onDragStart(evt: any): void;
53
+ onDragAdd(evt: any): void;
54
+ onDragRemove(evt: any): void;
55
+ onDragUpdate(evt: any): void;
56
+ computeFutureIndex(relatedContext: any, evt: any): any;
57
+ onDragMove(evt: any, originalEvent: any): any;
58
+ onDragEnd(): void;
59
+ },
60
+ import('vue').ComponentOptionsMixin,
61
+ import('vue').ComponentOptionsMixin,
62
+ any[],
63
+ any,
64
+ import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
65
+ Readonly<
66
+ {
67
+ move: Function;
68
+ tag: string;
69
+ clone: Function;
70
+ list: unknown[];
71
+ modelValue: unknown[];
72
+ componentData: Record<string, any>;
73
+ } & {
74
+ itemKey?: string | Function;
75
+ }
76
+ >,
77
+ {
78
+ move: Function;
79
+ tag: string;
80
+ clone: Function;
81
+ list: unknown[];
82
+ modelValue: unknown[];
83
+ componentData: Record<string, any>;
84
+ }
85
+ >;
86
+ export default draggableComponent;
@@ -1,3 +1,4 @@
1
+ import { CSSProperties } from 'vue';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  noDataTip: {
3
4
  type: StringConstructor;
@@ -12,6 +13,10 @@ declare const _default: import("vue").DefineComponent<{
12
13
  default: boolean;
13
14
  };
14
15
  }, {
16
+ wrapperStyle: CSSProperties;
17
+ imgStyle: CSSProperties;
18
+ paragraphStyle: CSSProperties;
19
+ textStyle: CSSProperties;
15
20
  imgStr: import("vue").ComputedRef<null>;
16
21
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
17
22
  noDataTip: {
@@ -1 +1 @@
1
- import{defineComponent as a,computed as t,openBlock as e,createElementBlock as s,unref as o,createCommentVNode as r,createElementVNode as n,toDisplayString as i}from"vue";import p from"../../assets/img/nodata.png.js";import m from"../../assets/img/no-permission.png.js";import l from"../../assets/img/failure.png.js";import u from"../../assets/img/notfound.png.js";import f from"../../../_virtual/plugin-vue_export-helper.js";const g={class:"no-data-tip NoData-page"},c=["src"],d={key:1};var v=f(a({__name:"NoData",props:{noDataTip:{type:String,default:"暂无数据"},noDataImg:{type:String,default:"nodata"},showImg:{type:Boolean,default:!0}},setup(a){const f=a,v=t((()=>{let a=null;switch(f.noDataImg){case"no-permission":a=m;break;case"failure":a=l;break;case"nodata":a=p;break;default:a=u}return a})),D=t((()=>{let a="";switch(f.noDataImg){case"no-permission":a="请联系管理员";break;case"failure":a="请稍后再试"}return a}));return(t,p)=>(e(),s("div",g,[a.showImg?(e(),s("img",{key:0,src:o(v),alt:""},null,8,c)):r("v-if",!0),n("p",null,i(a.noDataTip),1),o(D)?(e(),s("span",d,i(o(D)),1)):r("v-if",!0)]))}}),[["__file","NoData.vue"]]);export{v as default};
1
+ import{defineComponent as t,computed as e,openBlock as o,createElementBlock as a,unref as r,createCommentVNode as i,createElementVNode as s,toDisplayString as n}from"vue";import p from"../../assets/img/nodata.png.js";import m from"../../assets/img/no-permission.png.js";import l from"../../assets/img/failure.png.js";import f from"../../assets/img/notfound.png.js";import g from"../../../_virtual/plugin-vue_export-helper.js";const u=["src"];var c=g(t({__name:"NoData",props:{noDataTip:{type:String,default:"暂无数据"},noDataImg:{type:String,default:"nodata"},showImg:{type:Boolean,default:!0}},setup(t){const g=t,c={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",fontSize:"22px",color:"#333"},d={width:"260px",maxWidth:"70%"},x={marginTop:"12px",marginBottom:"0",fontSize:"16px",color:"rgb(0 0 0 / 80%)"},y={marginTop:"6px",fontSize:"14px",color:"rgb(0 0 0 / 40%)"},h=e((()=>{let t=null;switch(g.noDataImg){case"no-permission":t=m;break;case"failure":t=l;break;case"nodata":t=p;break;default:t=f}return t})),v=e((()=>{let t="";switch(g.noDataImg){case"no-permission":t="请联系管理员";break;case"failure":t="请稍后再试"}return t}));return(e,p)=>(o(),a("div",{style:c},[t.showImg?(o(),a("img",{key:0,style:d,src:r(h),alt:""},null,8,u)):i("v-if",!0),s("p",{style:x},n(t.noDataTip),1),r(v)?(o(),a("span",{key:1,style:y},n(r(v)),1)):i("v-if",!0)]))}}),[["__file","NoData.vue"]]);export{c as default};
@@ -15,3 +15,19 @@ export declare function targetStringIncludes(arr: string[], target: string): boo
15
15
  export declare const jsonParse: import("@vueuse/core").UseMemoizedFn<any, [value: string]>;
16
16
  export declare function shallowOmit<T, K extends Array<keyof T>>(target: T, keys: K): Omit<T, K[number]>;
17
17
  export declare function checkInSetupEnv(message?: string): void;
18
+ export declare enum LOW_CODE_VALUE_RELATION {
19
+ EQ = "EQ",
20
+ NEQ = "NEQ",
21
+ CL = "CL",
22
+ NC = "NC",
23
+ NULL = "NULL",
24
+ NOT_NULL = "NOT_NULL",
25
+ BIG = "BIG",
26
+ BIGEQ = "BIGEQ",
27
+ LESS = "LESS",
28
+ LESSEQ = "LESSEQ"
29
+ }
30
+ export declare function isMatchLowCodeCondition(value: unknown, condition: {
31
+ con: LOW_CODE_VALUE_RELATION & string;
32
+ value: unknown;
33
+ }): boolean;
@@ -1 +1 @@
1
- import{useMemoize as t}from"@vueuse/core";import{isArray as e,isString as r,isNumber as n,isObject as o,isFunction as u}from"lodash-es";import{getCurrentInstance as c}from"vue";function i(t,r,n="children",o){function u(){throw"silence break traverse"}try{a(t).forEach((t=>{r(t,u,o),a(n).forEach((o=>{e(t[o])&&i(t[o],r,n,t)}))}))}catch(t){if("silence break traverse"===t)return;throw t}}function s(t,e,r=e.name,n){if(!r)throw new Error(`[CUI]: invalid component name for ${e}`);const{components:o={}}=t._context;o[r]||(n?n():t.component(r,e))}function f(t){if(!r(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function a(t){return Array.isArray(t)?t:[t]}function x(){if(window.isSecureContext&&window.crypto)return`key${window.crypto.randomUUID()}`;return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}`}const l=t((function(t){return t?[...t].reduce(((t,e)=>/[a-z]/.test(e)?t+8:/[A-Z]/.test(e)?t+12:/\d/.test(e)?t+9:/\./.test(e)?t+4:/[\u4e00-\u9fa5]/.test(e)?t+15:/-/.test(e)?t+4:/[()]/.test(e)?t+14:/[)(]/.test(e)?t+5:/-/.test(e)?t+10:/%/.test(e)?t+14:/‰/.test(e)?t+16:t+6),0):0})),m=Object.seal(Object.create(null));function d(t,r){return function t(r,n){return o(r)?e(r)?r.map((e=>t(e,n))):Object.entries(r).reduce(((e,[r,c])=>(n.includes(r)||(o(c)&&!u(c)?e[r]=t(c,n):e[r]=c),e)),{}):r}(t,r)}function h(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function p(t,e){if(!t)return t;if(e(t))return t;let r=t.parentElement;for(;r&&!e(r);)r=r.parentElement;return r}function w(t,e="px"){if(n(t))return`${t}${e}`;if(r(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}function y(t,e){return t.some((t=>e.includes(t)))}const v=t((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function b(t,e){if(!o(t))return t;const r={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(r,e[t]);return r}function $(t){if(!c())throw new Error(t||"can't use this hook out of setup environment")}export{m as DMZ,a as arrayed,$ as checkInSetupEnv,d as deepOmit,p as findAncestor,f as generateTimeFormat,l as getStringWidth,v as jsonParse,s as safeComponentRegister,h as separateMetaModule,b as shallowOmit,y as targetStringIncludes,i as traverse,x as uuidGenerator,w as widthAppend};
1
+ import{useMemoize as t}from"@vueuse/core";import{isArray as e,isString as n,includes as r,isEmpty as o,negate as u,gt as c,gte as i,lt as s,lte as f,isNumber as a,isObject as x,isFunction as E}from"lodash-es";import{getCurrentInstance as l}from"vue";function m(t,n,r="children",o){function u(){throw"silence break traverse"}try{h(t).forEach((t=>{n(t,u,o),h(r).forEach((o=>{e(t[o])&&m(t[o],n,r,t)}))}))}catch(t){if("silence break traverse"===t)return;throw t}}function L(t,e,n=e.name,r){if(!n)throw new Error(`[CUI]: invalid component name for ${e}`);const{components:o={}}=t._context;o[n]||(r?r():t.component(n,e))}function d(t){if(!n(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function h(t){return Array.isArray(t)?t:[t]}function p(){if(window.isSecureContext&&window.crypto)return`key${window.crypto.randomUUID()}`;return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}`}const N=t((function(t){return t?[...t].reduce(((t,e)=>/[a-z]/.test(e)?t+8:/[A-Z]/.test(e)?t+12:/\d/.test(e)?t+9:/\./.test(e)?t+4:/[\u4e00-\u9fa5]/.test(e)?t+15:/-/.test(e)?t+4:/[()]/.test(e)?t+14:/[)(]/.test(e)?t+5:/-/.test(e)?t+10:/%/.test(e)?t+14:/‰/.test(e)?t+16:t+6),0):0})),w=Object.seal(Object.create(null));function S(t,n){return function t(n,r){return x(n)?e(n)?n.map((e=>t(e,r))):Object.entries(n).reduce(((e,[n,o])=>(r.includes(n)||(x(o)&&!E(o)?e[n]=t(o,r):e[n]=o),e)),{}):n}(t,n)}function v(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function y(t,e){if(!t)return t;if(e(t))return t;let n=t.parentElement;for(;n&&!e(n);)n=n.parentElement;return n}function Q(t,e="px"){if(a(t))return`${t}${e}`;if(n(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}function $(t,e){return t.some((t=>e.includes(t)))}const b=t((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function O(t,e){if(!x(t))return t;const n={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(n,e[t]);return n}function U(t){if(!l())throw new Error(t||"can't use this hook out of setup environment")}var C=(t=>(t.EQ="EQ",t.NEQ="NEQ",t.CL="CL",t.NC="NC",t.NULL="NULL",t.NOT_NULL="NOT_NULL",t.BIG="BIG",t.BIGEQ="BIGEQ",t.LESS="LESS",t.LESSEQ="LESSEQ",t))(C||{});const I={EQ:(t,e)=>`${t}`===e,NEQ:(t,e)=>`${t}`!==e,CL:(t,o)=>!(!e(t)&&!n(t))&&r(t,o),NC:(t,o)=>!e(t)&&!n(t)||!r(t,o),NULL:o,NOT_NULL:u(o),BIG:c,BIGEQ:i,LESS:s,LESSEQ:f};function g(t,e){return(I[e.con]||(()=>!1))(t,`${e.value}`)}export{w as DMZ,C as LOW_CODE_VALUE_RELATION,h as arrayed,U as checkInSetupEnv,S as deepOmit,y as findAncestor,d as generateTimeFormat,N as getStringWidth,g as isMatchLowCodeCondition,b as jsonParse,L as safeComponentRegister,v as separateMetaModule,O as shallowOmit,$ as targetStringIncludes,m as traverse,p as uuidGenerator,Q as widthAppend};