cnhis-design-vue 3.1.41-release.5 → 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.
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
- package/es/components/field-set/index.d.ts +8 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
- package/es/components/field-set/src/FieldSet.vue.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +6755 -44
- package/es/components/form-config/src/FormConfig.vue.d.ts +6897 -185
- package/es/components/form-config/src/FormConfig.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3410 -58
- package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +3 -3
- package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +10 -10
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -6
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -3
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +4 -2
- package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +8 -2
- package/es/components/form-config/src/utils/index.d.ts +4 -1
- package/es/components/form-config/src/utils/index.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +21 -20
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -12
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +4 -2
- package/es/components/iho-table/index.d.ts +2 -2
- package/es/components/iho-table/src/IhoTable.vue.d.ts +2 -2
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +85 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{timeRendererPlugin.d.ts → timeRendererPlugin/index.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +20 -11
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +289 -155
- package/es/components/info-header/src/InfoHeader.vue.d.ts +293 -160
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/index.d.ts +3 -0
- package/es/components/info-header/src/components/index.js +1 -0
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +266 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +38 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -0
- package/es/components/info-header/src/types/index.d.ts +29 -0
- package/es/components/scale-view/index.d.ts +1 -2
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -5
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
- package/es/components/scale-view/src/utils/judge-types.js +1 -1
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/table-filter/index.d.ts +12 -77
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +4 -2
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +4 -22
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +4 -20
- package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -1
- package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +4 -53
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
- package/es/components/table-filter/style/index.css +1 -1
- package/es/shared/components/no-data/NoData.vue.d.ts +5 -0
- package/es/shared/components/no-data/NoData.vue.js +1 -1
- package/es/shared/utils/index.d.ts +16 -0
- package/es/shared/utils/index.js +1 -1
- package/package.json +1 -1
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -1
- package/es/components/info-header/src/HiddenContent.vue.js +0 -1
- package/es/components/info-header/src/InfoEllipsis.vue.js +0 -1
- package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
- package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
- package/es/components/table-filter/src/const/dataOptions.d.ts +0 -12
- package/es/components/table-filter/src/const/dataOptions.js +0 -1
- package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
- package/es/components/table-filter/src/directive/preventReClick.js +0 -1
- package/es/components/info-header/src/{HiddenContent.vue.d.ts → components/infoDescription/HiddenContent.vue.d.ts} +2 -2
- package/es/components/info-header/src/{InfoEllipsis.vue.d.ts → components/infoDescription/InfoEllipsis.vue.d.ts} +1 -1
- /package/es/components/{iho-table/src/plugins/filterPlugin/types.js → info-header/src/types/index.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{computed as e,createVNode as t,onBeforeUnmount as l,reactive as o}from"vue";import{jsonParse as s}from"../../../../../shared/utils/index.js";import{isObject as i,isFunction as r,isArray as a}from"lodash-es";import"../../../index.js";import{IHO_TABLE_NUMBER_STATUS as n}from"../../constants/index.js";import{useUUIDMap as u,IhoTableRenderHelper as d,IhoTableUtils as c}from"../../utils/index.js";import f from"./filter.vue.js";import{defineTablePlugin as p}from"../../hooks/useTablePlugin.js";function m(){const m="filterPlugin",{getItemFromUUID:v,removeItemFromUUID:h}=u((()=>{const e=o(new Map),t=o(new Set);return{stateMap:e,filterSet:t,setChecked:function({value:l,field:o,$table:s,emits:i}){const r=e.get(o);if(!r)return;const a=s.getColumnByField(o);function n(e,t){var l,o;const i=s.getColumnByField(e);return{column:i,field:i.field,datas:[],property:i.field,values:[...null!=(o=null==(l=t.get(e))?void 0:l.checked)?o:[]]}}a&&(l.length?t.add(a.field):t.delete(a.field),r.checked=l,i("filterChange",{$event:new PointerEvent("click"),$table:s,...n(a.field,e),filterList:[...t.values()].map((t=>n(t,e)))}))},setSort:function({value:t,field:l,$table:o,emits:s}){const i=e.get(l);if(!i)return;const r=o.getColumnByField(l);if(!r)return;if(!i.sortStatus&&!t)return;i.sortStatus=t===i.sortStatus?null:t,e.forEach(((e,t)=>{t!==r.field&&(e.sortStatus=null)}));const a={column:r,field:r.field,order:t,property:r.field,sortTime:Date.now()};s("sortChange",{$table:o,$event:new PointerEvent("click"),...a,sortList:[a]})}}}));return p({name:m,apply(o){o.fieldHooks.fieldList.tap(m,((l,{uuid:o},{$table:u,emits:p})=>(l.forEach((l=>{var m,h,S,g,k,b,C;const $=null==(m=l.editRender)?void 0:m.props;if(!i($))return;const y=s($.fieldSetting||"");if(!d.hasFilter(y))return;const E=l.sortable;l.sortable=!1;let F=null!=(g=null==(S=null==(h=y.mapping)?void 0:h.mappingFiled)?void 0:S.map((e=>e.value[0])))?g:[];(function(e){const t=["SEARCH","SELECT","RADIO","CHECKBOX"];return(e.notParticipatingSearch||"")!==n.POSITIVE&&t.includes(c.getCellType(e))&&a(e.options)&&e.options.length})($)&&(F=null!=(b=null==(k=$.options)?void 0:k.map((e=>({...e,key:e.label}))))?b:[]);const{filterState:x,setChecked:I,setSort:j}=function(e,t,l={}){const{stateMap:o,setChecked:s,setSort:i}=v(e);return{filterState:o.set(t,o.get(t)||{options:[],checked:l.checked||[],sortStatus:l.sortStatus||null}).get(t),setChecked:s,setSort:i}}(o,l.field,$.filterDefaultValue);x.options=F;const P=null==(C=l.slots)?void 0:C.header,U=e({get:()=>x.sortStatus,set:e=>j({field:l.field,value:e,$table:u.value,emits:p})}),w=e({get:()=>x.checked,set:e=>I({field:l.field,value:e,$table:u.value,emits:p})}),D=e((()=>x.options));l.slots={...l.slots,header:e=>t(f,{payload:e,options:D.value,sortable:E,checked:w.value,"onUpdate:checked":e=>w.value=e,sortStatus:U.value,"onUpdate:sortStatus":e=>U.value=e},{header:()=>r(P)?P(e):P})}})),l))),o.setupHooks.setup.tap(m,(e=>{l((()=>e.value.uuid&&h(e.value.uuid)))})),o.exposeHooks.expose.tap(m,((e,t,{$table:l,emits:o})=>({...e,getFilterState(e){if(!t.value.uuid)return;const{stateMap:l}=v(t.value.uuid),o=l.get(e);return o&&{checked:[...o.checked],sortStatus:o.sortStatus}},setFilterState(e,s){if(!t.value.uuid)return;const{setChecked:i,setSort:r}=v(t.value.uuid);Reflect.has(s,"sortStatus")&&r({field:e,value:s.sortStatus,$table:l.value,emits:o}),a(s.checked)&&i({field:e,value:s.checked,$table:l.value,emits:o})}})))}})}export{m as filterPlugin};
|
package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createVNode as e,mergeProps as r}from"vue";import"../../../../index.js";import{EDITABLE_WIDGET_TYPE as t}from"../../../constants/index.js";import{NTimePicker as o}from"naive-ui";import{createIhoTableClearActivedInterceptor as n,IhoTableRenderHelper as i}from"../../../utils/index.js";import{defineTablePlugin as l}from"../../../hooks/useTablePlugin.js";function m(){return l({name:"timeRendererPlugin",vxe(l){l.interceptor.add("event.clearActived",n(t.TIME,(e=>e.classList.contains("n-time-picker-panel")))),l.renderer.add(t.TIME,{renderCell:i.createDefaultRenderCell(),renderEdit:i.createRenderEdit((({fieldItem:t,row:n,column:i,emitFormChangeWithParams:l,emitFormClick:m})=>{const{placeholder:a="请选择",valueFormat:d="HH:mm"}=t.componentProps||{},s={placeholder:a,valueFormat:d,format:d||"yyyy-MM-dd HH:mm:ss",onUpdateFormattedValue:e=>{const r=n[i.field];n[i.field]=e,l({oldValue:r})},onClick:m};return[e(o,r({formattedValue:n[i.field],"onUpdate:formattedValue":e=>n[i.field]=e},s,t.componentProps),null)]}))})}})}export{m as timeRendererPlugin};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as t,ref as n,computed as e,openBlock as i,createElementBlock as o,normalizeStyle as r,unref as l,createElementVNode as u,createVNode as a,normalizeClass as c}from"vue";import s from"./InfoEllipsis.vue.js";import d from"../../../_virtual/plugin-vue_export-helper.js";const f={class:"c-info-header__hidden--content"};var p=d(t({__name:"HiddenContent",props:{content:{type:String,default:""},tip:String,width:{type:Number},contentStyle:{type:Object,default:()=>({})}},setup(t){const d=t,p=n(!0);function h(){p.value=!p.value}const v=e((()=>{const t=d.width+"px";return{maxWidth:t,width:t}})),_=e((()=>{if(!d.width)return{};const t=d.width-40+"px";return Object.assign({},d.contentStyle,{maxWidth:t})})),g=e((()=>{let{content:t}=d;if(t+="",!p.value)return t;if(!t)return"-";const n=t.length;if(!n||1===n)return t;const e=Math.floor(n/2),i=Math.floor((n-e)/2);return`${t.substring(0,i)}${"*".repeat(e)}${null==t?void 0:t.substring(i+e)}`}));return(n,e)=>(i(),o("div",{class:"c-info-header__hidden",style:r(l(v))},[u("div",f,[a(s,{"content-style":l(_),content:l(g),tip:t.tip},null,8,["content-style","content","tip"])]),u("i",{onClick:h,class:c(["c-info-header__hidden--icon","iconfont","info-header--icon-"+(p.value?"guanbi-yanjing":"faxian-yanjing")])},null,2)],4))}}),[["__file","HiddenContent.vue"]]);export{p as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as t,openBlock as e,createBlock as l,unref as i,withCtx as o,createElementVNode as p,createVNode as n,normalizeStyle as r,createTextVNode as u,toDisplayString as a}from"vue";import{NTooltip as s,NEllipsis as f}from"naive-ui";import d from"../../../_virtual/plugin-vue_export-helper.js";var m=d(t({__name:"InfoEllipsis",props:{content:{type:String,default:""},tip:{type:String},contentStyle:{type:Object,default:()=>({})}},setup:t=>(d,m)=>(e(),l(i(s),{disabled:!t.tip},{trigger:o((()=>[p("section",null,[n(i(f),{style:r(t.contentStyle),tooltip:{placement:t.tip?"bottom":"top"}},{default:o((()=>{var e;return[u(a(null!=(e=t.content)?e:"-"),1)]})),_:1},8,["style","tooltip"])])])),default:o((()=>[u(" "+a(t.tip),1)])),_:1},8,["disabled"]))}),[["__file","InfoEllipsis.vue"]]);export{m as default};
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
value: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: () => void;
|
|
5
|
-
};
|
|
6
|
-
format: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
disabled: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
isDetail: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
defaultValue: {
|
|
19
|
-
type: ObjectConstructor;
|
|
20
|
-
default: () => {};
|
|
21
|
-
};
|
|
22
|
-
itemData: {
|
|
23
|
-
type: ObjectConstructor;
|
|
24
|
-
default: () => {};
|
|
25
|
-
};
|
|
26
|
-
shortcutFieldsList: {
|
|
27
|
-
type: ArrayConstructor;
|
|
28
|
-
default: () => never[];
|
|
29
|
-
};
|
|
30
|
-
}, {
|
|
31
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
value: {
|
|
33
|
-
type: ObjectConstructor;
|
|
34
|
-
default: () => void;
|
|
35
|
-
};
|
|
36
|
-
format: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
disabled: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
isDetail: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
defaultValue: {
|
|
49
|
-
type: ObjectConstructor;
|
|
50
|
-
default: () => {};
|
|
51
|
-
};
|
|
52
|
-
itemData: {
|
|
53
|
-
type: ObjectConstructor;
|
|
54
|
-
default: () => {};
|
|
55
|
-
};
|
|
56
|
-
shortcutFieldsList: {
|
|
57
|
-
type: ArrayConstructor;
|
|
58
|
-
default: () => never[];
|
|
59
|
-
};
|
|
60
|
-
}>> & {
|
|
61
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
}>>;
|
|
63
|
-
emits: (event: "change", ...args: any[]) => void;
|
|
64
|
-
ageValue: any;
|
|
65
|
-
showType: import("vue").ComputedRef<string>;
|
|
66
|
-
isDisabled: import("vue").ComputedRef<boolean>;
|
|
67
|
-
handleInitDefaultValue: () => void;
|
|
68
|
-
checkType: (val: any) => string;
|
|
69
|
-
handlefillVal: (val?: any) => void;
|
|
70
|
-
handleYearChange: (e: any) => void;
|
|
71
|
-
handleMonthChange: (e: any) => void;
|
|
72
|
-
handleDayChange: (e: any) => void;
|
|
73
|
-
getvalue: (e: any) => any;
|
|
74
|
-
valueChange: (val: string, key: string) => void;
|
|
75
|
-
checkVal: (val: string, key: string) => boolean;
|
|
76
|
-
handleProrate: () => void;
|
|
77
|
-
triggerChange: (changedValue: any) => void;
|
|
78
|
-
NInputNumber: any;
|
|
79
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
-
value: {
|
|
81
|
-
type: ObjectConstructor;
|
|
82
|
-
default: () => void;
|
|
83
|
-
};
|
|
84
|
-
format: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
disabled: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
isDetail: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
defaultValue: {
|
|
97
|
-
type: ObjectConstructor;
|
|
98
|
-
default: () => {};
|
|
99
|
-
};
|
|
100
|
-
itemData: {
|
|
101
|
-
type: ObjectConstructor;
|
|
102
|
-
default: () => {};
|
|
103
|
-
};
|
|
104
|
-
shortcutFieldsList: {
|
|
105
|
-
type: ArrayConstructor;
|
|
106
|
-
default: () => never[];
|
|
107
|
-
};
|
|
108
|
-
}>> & {
|
|
109
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
110
|
-
}, {
|
|
111
|
-
value: Record<string, any>;
|
|
112
|
-
disabled: boolean;
|
|
113
|
-
isDetail: boolean;
|
|
114
|
-
defaultValue: Record<string, any>;
|
|
115
|
-
format: string;
|
|
116
|
-
itemData: Record<string, any>;
|
|
117
|
-
shortcutFieldsList: unknown[];
|
|
118
|
-
}>;
|
|
119
|
-
export default _default;
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
title: {
|
|
3
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
4
|
-
};
|
|
5
|
-
list: {
|
|
6
|
-
type: ArrayConstructor;
|
|
7
|
-
default: never[];
|
|
8
|
-
};
|
|
9
|
-
currentTempId: {
|
|
10
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
11
|
-
};
|
|
12
|
-
}, {
|
|
13
|
-
BTNOBJ: {
|
|
14
|
-
copy: string;
|
|
15
|
-
pencil: string;
|
|
16
|
-
delete: string;
|
|
17
|
-
add: string;
|
|
18
|
-
download: string;
|
|
19
|
-
label: string;
|
|
20
|
-
queding: string;
|
|
21
|
-
del: string;
|
|
22
|
-
};
|
|
23
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
title: {
|
|
25
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
26
|
-
};
|
|
27
|
-
list: {
|
|
28
|
-
type: ArrayConstructor;
|
|
29
|
-
default: never[];
|
|
30
|
-
};
|
|
31
|
-
currentTempId: {
|
|
32
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
33
|
-
};
|
|
34
|
-
}>> & {
|
|
35
|
-
onShowDrawer?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
onClickGroupBtn?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}>>;
|
|
38
|
-
emit: (event: "showDrawer" | "clickGroupBtn", ...args: any[]) => void;
|
|
39
|
-
btnObj: import("vue").Ref<{
|
|
40
|
-
copy: string;
|
|
41
|
-
pencil: string;
|
|
42
|
-
delete: string;
|
|
43
|
-
add: string;
|
|
44
|
-
download: string;
|
|
45
|
-
label: string;
|
|
46
|
-
queding: string;
|
|
47
|
-
del: string;
|
|
48
|
-
}>;
|
|
49
|
-
handleSelect: (key: string, option: any) => void;
|
|
50
|
-
showDrawer: (btn: any, j: number) => void;
|
|
51
|
-
clickBtn: (btn: any, j: number) => void;
|
|
52
|
-
NButton: any;
|
|
53
|
-
NDropdown: any;
|
|
54
|
-
TextOverTooltip: import("vue").DefineComponent<{
|
|
55
|
-
content: {
|
|
56
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
57
|
-
required: false;
|
|
58
|
-
};
|
|
59
|
-
className: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
required: false;
|
|
62
|
-
};
|
|
63
|
-
refName: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
required: false;
|
|
66
|
-
};
|
|
67
|
-
effect: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
required: false;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
placement: {
|
|
73
|
-
type: StringConstructor;
|
|
74
|
-
required: false;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
tooltipTitle: {
|
|
78
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
79
|
-
required: false;
|
|
80
|
-
default: string;
|
|
81
|
-
};
|
|
82
|
-
isAlias: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
required: false;
|
|
85
|
-
};
|
|
86
|
-
}, {
|
|
87
|
-
props: {
|
|
88
|
-
content?: string | number | undefined;
|
|
89
|
-
className?: string | undefined;
|
|
90
|
-
refName?: string | undefined;
|
|
91
|
-
effect: string;
|
|
92
|
-
placement: "left" | "right" | "top" | "bottom" | "bottom-start" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-end" | "left-start" | "left-end";
|
|
93
|
-
tooltipTitle: string | number;
|
|
94
|
-
isAlias?: boolean | undefined;
|
|
95
|
-
};
|
|
96
|
-
isDisabledTooltip: import("vue").Ref<boolean>;
|
|
97
|
-
curContent: import("vue").ComputedRef<string>;
|
|
98
|
-
$refName: any;
|
|
99
|
-
onMouseOver: (str: any) => void;
|
|
100
|
-
onMouseOut: () => void;
|
|
101
|
-
NTooltip: any;
|
|
102
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
103
|
-
content: {
|
|
104
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
105
|
-
required: false;
|
|
106
|
-
};
|
|
107
|
-
className: {
|
|
108
|
-
type: StringConstructor;
|
|
109
|
-
required: false;
|
|
110
|
-
};
|
|
111
|
-
refName: {
|
|
112
|
-
type: StringConstructor;
|
|
113
|
-
required: false;
|
|
114
|
-
};
|
|
115
|
-
effect: {
|
|
116
|
-
type: StringConstructor;
|
|
117
|
-
required: false;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
placement: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
required: false;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
tooltipTitle: {
|
|
126
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
127
|
-
required: false;
|
|
128
|
-
default: string;
|
|
129
|
-
};
|
|
130
|
-
isAlias: {
|
|
131
|
-
type: BooleanConstructor;
|
|
132
|
-
required: false;
|
|
133
|
-
};
|
|
134
|
-
}>>, {
|
|
135
|
-
placement: string;
|
|
136
|
-
effect: string;
|
|
137
|
-
tooltipTitle: string | number;
|
|
138
|
-
isAlias: boolean;
|
|
139
|
-
}>;
|
|
140
|
-
SvgIcon: import("vue").DefineComponent<{
|
|
141
|
-
iconClass: {
|
|
142
|
-
type: StringConstructor;
|
|
143
|
-
required: true;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
146
|
-
title: {
|
|
147
|
-
type: StringConstructor;
|
|
148
|
-
required: false;
|
|
149
|
-
default: string;
|
|
150
|
-
};
|
|
151
|
-
className: {
|
|
152
|
-
type: StringConstructor;
|
|
153
|
-
required: false;
|
|
154
|
-
};
|
|
155
|
-
}, {
|
|
156
|
-
props: {
|
|
157
|
-
iconClass: string;
|
|
158
|
-
title: string;
|
|
159
|
-
className?: string | undefined;
|
|
160
|
-
};
|
|
161
|
-
iconName: import("vue").ComputedRef<string>;
|
|
162
|
-
svgClass: import("vue").ComputedRef<string>;
|
|
163
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
-
iconClass: {
|
|
165
|
-
type: StringConstructor;
|
|
166
|
-
required: true;
|
|
167
|
-
default: string;
|
|
168
|
-
};
|
|
169
|
-
title: {
|
|
170
|
-
type: StringConstructor;
|
|
171
|
-
required: false;
|
|
172
|
-
default: string;
|
|
173
|
-
};
|
|
174
|
-
className: {
|
|
175
|
-
type: StringConstructor;
|
|
176
|
-
required: false;
|
|
177
|
-
};
|
|
178
|
-
}>>, {
|
|
179
|
-
title: string;
|
|
180
|
-
iconClass: string;
|
|
181
|
-
}>;
|
|
182
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("showDrawer" | "clickGroupBtn")[], "showDrawer" | "clickGroupBtn", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
183
|
-
title: {
|
|
184
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
185
|
-
};
|
|
186
|
-
list: {
|
|
187
|
-
type: ArrayConstructor;
|
|
188
|
-
default: never[];
|
|
189
|
-
};
|
|
190
|
-
currentTempId: {
|
|
191
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
192
|
-
};
|
|
193
|
-
}>> & {
|
|
194
|
-
onShowDrawer?: ((...args: any[]) => any) | undefined;
|
|
195
|
-
onClickGroupBtn?: ((...args: any[]) => any) | undefined;
|
|
196
|
-
}, {
|
|
197
|
-
list: unknown[];
|
|
198
|
-
}>;
|
|
199
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as n}from"vue";const o={props:["data","btnObj"],functional:!0,render:function(o){const i=o.data||{},t=o.data||{};return i.icon?"only_icon"!==i.showStyle&&t[i.icon]?n("n-icon",{class:"custom-icon",type:t[i.icon]}):n("svg-icon",{iconClass:i.icon,style:{marginRight:"8px"}}):i.iconSetting?n("svg-icon",{iconClass:JSON.parse(i.iconSetting).icon,style:{marginRight:"8px"}}):void 0}};export{o as default};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { ISearchType } from '../../../../../../es/components/table-filter/src/types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
item: {
|
|
5
|
-
type: PropType<ISearchType>;
|
|
6
|
-
default: () => {
|
|
7
|
-
value: never[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
handleGetConfigApi: {
|
|
11
|
-
type: FunctionConstructor;
|
|
12
|
-
default: () => void;
|
|
13
|
-
};
|
|
14
|
-
filterApiConfig: {
|
|
15
|
-
type: ObjectConstructor;
|
|
16
|
-
};
|
|
17
|
-
outFilterChange: {
|
|
18
|
-
type: FunctionConstructor;
|
|
19
|
-
default: () => void;
|
|
20
|
-
};
|
|
21
|
-
}, {
|
|
22
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
-
item: {
|
|
24
|
-
type: PropType<ISearchType>;
|
|
25
|
-
default: () => {
|
|
26
|
-
value: never[];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
handleGetConfigApi: {
|
|
30
|
-
type: FunctionConstructor;
|
|
31
|
-
default: () => void;
|
|
32
|
-
};
|
|
33
|
-
filterApiConfig: {
|
|
34
|
-
type: ObjectConstructor;
|
|
35
|
-
};
|
|
36
|
-
outFilterChange: {
|
|
37
|
-
type: FunctionConstructor;
|
|
38
|
-
default: () => void;
|
|
39
|
-
};
|
|
40
|
-
}>> & {}>>;
|
|
41
|
-
quickInputSelect: any;
|
|
42
|
-
treeData: import("vue").Ref<{
|
|
43
|
-
label: string;
|
|
44
|
-
key: string;
|
|
45
|
-
selectable: boolean;
|
|
46
|
-
scopedSlots: {
|
|
47
|
-
title: string;
|
|
48
|
-
};
|
|
49
|
-
}[]>;
|
|
50
|
-
handleMaxTagCount: import("vue").ComputedRef<(item: ISearchType) => 0 | 1>;
|
|
51
|
-
showRemoveIcon: import("vue").ComputedRef<boolean>;
|
|
52
|
-
init: () => Promise<void>;
|
|
53
|
-
handleMaxTag: () => string;
|
|
54
|
-
handleRequestedOptions: (item: ISearchType) => Promise<any>;
|
|
55
|
-
getSearchDefParams: (item: ISearchType) => any;
|
|
56
|
-
formatField: (value: any) => any;
|
|
57
|
-
hanldeGetCascadelabel: (v?: never[], k?: {}) => any;
|
|
58
|
-
handleInitTreeData: (list: any, config: ISearchType) => void;
|
|
59
|
-
hanldeSetTreeDef: () => void;
|
|
60
|
-
maxTagPlaceholder: (item: ISearchType) => number;
|
|
61
|
-
treeSelect: (key: string, vnode: any) => void;
|
|
62
|
-
change: () => void;
|
|
63
|
-
handleDisabledTreeData: (list?: any, config?: any) => void;
|
|
64
|
-
createSuffixIcon: () => void;
|
|
65
|
-
NTreeSelect: any;
|
|
66
|
-
NSpin: any;
|
|
67
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
-
item: {
|
|
69
|
-
type: PropType<ISearchType>;
|
|
70
|
-
default: () => {
|
|
71
|
-
value: never[];
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
handleGetConfigApi: {
|
|
75
|
-
type: FunctionConstructor;
|
|
76
|
-
default: () => void;
|
|
77
|
-
};
|
|
78
|
-
filterApiConfig: {
|
|
79
|
-
type: ObjectConstructor;
|
|
80
|
-
};
|
|
81
|
-
outFilterChange: {
|
|
82
|
-
type: FunctionConstructor;
|
|
83
|
-
default: () => void;
|
|
84
|
-
};
|
|
85
|
-
}>>, {
|
|
86
|
-
item: ISearchType;
|
|
87
|
-
handleGetConfigApi: Function;
|
|
88
|
-
outFilterChange: Function;
|
|
89
|
-
}>;
|
|
90
|
-
export default _default;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { ISearchType } from '../../../../../../es/components/table-filter/src/types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
item: {
|
|
5
|
-
type: PropType<ISearchType>;
|
|
6
|
-
default: () => void;
|
|
7
|
-
};
|
|
8
|
-
maxTagPlaceholder: {
|
|
9
|
-
type: FunctionConstructor;
|
|
10
|
-
default: () => {};
|
|
11
|
-
};
|
|
12
|
-
outFilterChange: {
|
|
13
|
-
type: FunctionConstructor;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
|
-
handleWordBookSearch: {
|
|
17
|
-
type: FunctionConstructor;
|
|
18
|
-
default: () => {};
|
|
19
|
-
};
|
|
20
|
-
dropdownVisibleChange: {
|
|
21
|
-
type: FunctionConstructor;
|
|
22
|
-
default: () => {};
|
|
23
|
-
};
|
|
24
|
-
source: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
fetchingWordbook: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
}, {
|
|
33
|
-
quickInputSelect: any;
|
|
34
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
item: {
|
|
36
|
-
type: PropType<ISearchType>;
|
|
37
|
-
default: () => void;
|
|
38
|
-
};
|
|
39
|
-
maxTagPlaceholder: {
|
|
40
|
-
type: FunctionConstructor;
|
|
41
|
-
default: () => {};
|
|
42
|
-
};
|
|
43
|
-
outFilterChange: {
|
|
44
|
-
type: FunctionConstructor;
|
|
45
|
-
default: () => {};
|
|
46
|
-
};
|
|
47
|
-
handleWordBookSearch: {
|
|
48
|
-
type: FunctionConstructor;
|
|
49
|
-
default: () => {};
|
|
50
|
-
};
|
|
51
|
-
dropdownVisibleChange: {
|
|
52
|
-
type: FunctionConstructor;
|
|
53
|
-
default: () => {};
|
|
54
|
-
};
|
|
55
|
-
source: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
fetchingWordbook: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
}>> & {}>>;
|
|
64
|
-
handleMaxTagCount: import("vue").ComputedRef<(item: ISearchType) => 0 | 1>;
|
|
65
|
-
isnoPages: import("vue").ComputedRef<boolean>;
|
|
66
|
-
hasShowKeys: import("vue").ComputedRef<boolean>;
|
|
67
|
-
showRemoveIcon: import("vue").ComputedRef<boolean>;
|
|
68
|
-
mode: import("vue").ComputedRef<boolean>;
|
|
69
|
-
renderList: import("vue").ComputedRef<any>;
|
|
70
|
-
createSuffixIcon: () => void;
|
|
71
|
-
filterOption: (...arg: any) => any;
|
|
72
|
-
handleSearchChangePage: (type: string) => void;
|
|
73
|
-
handleChange: () => void;
|
|
74
|
-
NSelect: any;
|
|
75
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
-
item: {
|
|
77
|
-
type: PropType<ISearchType>;
|
|
78
|
-
default: () => void;
|
|
79
|
-
};
|
|
80
|
-
maxTagPlaceholder: {
|
|
81
|
-
type: FunctionConstructor;
|
|
82
|
-
default: () => {};
|
|
83
|
-
};
|
|
84
|
-
outFilterChange: {
|
|
85
|
-
type: FunctionConstructor;
|
|
86
|
-
default: () => {};
|
|
87
|
-
};
|
|
88
|
-
handleWordBookSearch: {
|
|
89
|
-
type: FunctionConstructor;
|
|
90
|
-
default: () => {};
|
|
91
|
-
};
|
|
92
|
-
dropdownVisibleChange: {
|
|
93
|
-
type: FunctionConstructor;
|
|
94
|
-
default: () => {};
|
|
95
|
-
};
|
|
96
|
-
source: {
|
|
97
|
-
type: StringConstructor;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
fetchingWordbook: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: boolean;
|
|
103
|
-
};
|
|
104
|
-
}>>, {
|
|
105
|
-
item: ISearchType;
|
|
106
|
-
source: string;
|
|
107
|
-
outFilterChange: Function;
|
|
108
|
-
maxTagPlaceholder: Function;
|
|
109
|
-
handleWordBookSearch: Function;
|
|
110
|
-
dropdownVisibleChange: Function;
|
|
111
|
-
fetchingWordbook: boolean;
|
|
112
|
-
}>;
|
|
113
|
-
export default _default;
|