cnhis-design-vue 3.1.57-beta.5 → 3.1.57-beta.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/README.md +87 -87
- package/es/components/button-print/index.d.ts +8 -8
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +8 -8
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +3 -3
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +7 -7
- package/es/components/callback/src/components/render/popupMaps.d.ts +3 -3
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/classification/src/index.vue.d.ts +3 -3
- package/es/components/expand-field/index.d.ts +3 -3
- package/es/components/expand-field/src/components/form.vue.d.ts +3 -3
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +3 -3
- package/es/components/fabric-chart/index.d.ts +2 -2
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
- package/es/components/fabric-chart/src/interface.d.ts +1 -3
- package/es/components/field-set/index.d.ts +107 -616
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1680 -0
- package/es/components/field-set/src/FieldColor.vue.js +1 -0
- package/es/components/field-set/src/FieldColor.vue2.js +1 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +58 -16
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue.d.ts +141 -0
- package/es/components/field-set/src/Index.vue.js +1 -0
- package/es/components/field-set/src/Index.vue2.js +1 -0
- package/es/components/field-set/src/components/Row.vue.d.ts +50 -9
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +172 -0
- package/es/components/field-set/src/components/condition.vue.js +1 -0
- package/es/components/field-set/src/components/condition.vue2.js +1 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1194 -0
- package/es/components/field-set/src/components/edit-dialog.vue.js +1 -0
- package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +286 -0
- package/es/components/field-set/src/components/edit-filter.vue.js +1 -0
- package/es/components/field-set/src/components/edit-filter.vue2.js +1 -0
- package/es/components/field-set/src/constants/index.d.ts +55 -0
- package/es/components/field-set/src/constants/index.js +1 -0
- package/es/components/field-set/src/types/index.d.ts +31 -1
- package/es/components/field-set/src/utils/index.d.ts +2 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +6 -6
- package/es/components/form-config/src/FormConfig.vue.d.ts +6 -6
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +3 -3
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -3
- package/es/components/form-render/index.d.ts +3 -3
- package/es/components/form-render/src/FormRender.vue.d.ts +3 -3
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +3 -3
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +8 -8
- package/es/components/info-header/src/InfoHeader.vue.d.ts +8 -8
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +3 -3
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +3 -3
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +3 -3
- package/es/components/quick-search/src/index.vue.d.ts +3 -3
- package/es/components/recommend-search/index.d.ts +6 -6
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +6 -6
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/index.d.ts +3 -3
- package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -3
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
- package/es/components/select-label/index.d.ts +2 -2
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
- package/es/components/select-label/src/index.vue.d.ts +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/shortcut-setter/index.d.ts +3 -3
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +3 -3
- package/es/components/table-export-field/index.d.ts +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -3
- package/es/components/table-export-field/src/index.vue.d.ts +3 -3
- package/es/components/time-line/index.d.ts +7 -7
- package/es/components/time-line/src/TimeLine.vue.d.ts +3 -3
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./edit-dialog.vue2.js";import i from"../../../../_virtual/_plugin-vue_export-helper.js";var r=i(e,[["__file","edit-dialog.vue"]]);export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,inject as l,ref as o,computed as a,reactive as t,openBlock as i,createBlock as r,unref as s,withCtx as n,createVNode as u,normalizeStyle as c,createElementVNode as d,createCommentVNode as m}from"vue";import{useMessage as p,NModal as f,NForm as v,NFormItem as b,NInput as h,NColorPicker as g,NSelect as k,NCheckbox as _,NRadioGroup as w,NSpace as y,NRadio as C}from"naive-ui";import{useTheme as j}from"../../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import x from"./condition.vue.js";import F from"./edit-filter.vue.js";import{COLOR_MAP as N,InjectionFieldList as U}from"../constants/index.js";var O=e({__name:"edit-dialog",props:{visible:{type:Boolean,default:!1},isFieldColor:{type:Boolean,default:!0},row:{type:Object,default:null}},emits:["update:visible","confirm"],setup(e,{emit:O}){const q=e,S=j(),B=p(),E=Object.entries(N).map((([e,l])=>({label:l,value:e}))),R=Object.entries(N).map((([e])=>e)),D=l(U),H=o(),P=o(),T=o(!1),W=a((()=>q.row?q.isFieldColor?"修改":"过滤条件":"新增")),z=t({name:"",color:"",status:!0,columnName:"",colorScope:q.isFieldColor?"font":"background",condition:[],sqlExpression:""}),A=t({name:[{required:!0,message:"请输入名称",trigger:["blur"]}],color:[{required:!0,message:"请选择颜色",trigger:["blur"]}],columnName:[{required:!0,validator:(e,l)=>!(!l&&q.isFieldColor)||new Error("请选择字段"),trigger:["blur"]}]});function G(e){return u("span",{style:{"--color":e.value},class:"c-field-set__color-block"},[e.label])}function I(){var e;console.log(z),null==(e=H.value)||e.validate((async e=>{var l,o;if(e){const l=await e;B.warning(l[0][0].message)}else{if(q.isFieldColor||Object.assign(z,P.value.getData()),!(null==(l=z.condition)?void 0:l.length))return void B.warning("请配置过滤条件");const e=q.isFieldColor?{title:null==(o=D.find((e=>e.columnName===z.columnName)))?void 0:o.title}:{};O("confirm",{...z,...e}),J()}}))}function J(){O("update:visible",!1)}function K(e){Object.assign(z,e)}return function(){if(!q.row)return;Object.assign(z,q.row)}(),(l,o)=>(i(),r(s(f),{preset:"dialog",style:{width:"860px"},title:s(W),"close-on-esc":!1,"show-icon":!1,"mask-closable":!1,"positive-text":"确定","negative-text":"取消","trap-focus":!1,show:e.visible,onPositiveClick:I,onNegativeClick:J,onClose:J},{default:n((()=>[u(s(v),{ref_key:"formRef",ref:H,model:z,rules:A,"label-placement":"left","label-width":"auto","show-feedback":!1,"show-require-mark":!1,style:c({maxWidth:"500px",...s(S)})},{default:n((()=>[u(s(b),{label:"名称:",path:"name",style:{"margin-bottom":"10px"}},{default:n((()=>[u(s(h),{value:z.name,"onUpdate:value":o[0]||(o[0]=e=>z.name=e),placeholder:"请填写名称",clearable:""},null,8,["value"])])),_:1}),e.isFieldColor?(i(),r(s(b),{key:0,label:"颜色:",path:"color"},{default:n((()=>[u(s(g),{clearable:"",placeholder:"请选择颜色",value:z.color,"onUpdate:value":o[1]||(o[1]=e=>z.color=e),swatches:s(R),modes:["hex"],class:"c-field-set__color-picker"},null,8,["value","swatches"])])),_:1})):(i(),r(s(b),{key:1,label:"颜色:",path:"color"},{default:n((()=>[u(s(k),{value:z.color,"onUpdate:value":o[2]||(o[2]=e=>z.color=e),placeholder:"请选择颜色","render-label":G,options:s(E)},null,8,["value","options"])])),_:1})),u(s(b),{label:"显示:",path:"status"},{default:n((()=>[u(s(_),{checked:z.status,"onUpdate:checked":o[3]||(o[3]=e=>z.status=e)},null,8,["checked"])])),_:1}),u(s(b),{label:"颜色应用于:",path:"colorScope"},{default:n((()=>[u(s(w),{value:z.colorScope,"onUpdate:value":o[4]||(o[4]=e=>z.colorScope=e)},{default:n((()=>[u(s(y),null,{default:n((()=>[u(s(C),{label:"字体",value:"font"}),u(s(C),{label:"背景",value:"background"})])),_:1})])),_:1},8,["value"])])),_:1}),e.isFieldColor?(i(),r(s(b),{key:2,label:"字段:",path:"columnName",style:{"margin-bottom":"10px"}},{default:n((()=>[u(s(y),{class:"c-field-set__space",align:"center"},{default:n((()=>[u(s(k),{value:z.columnName,"onUpdate:value":o[5]||(o[5]=e=>z.columnName=e),placeholder:"请选择字段名","label-field":"title","value-field":"columnName",options:s(D)},null,8,["value","options"]),d("span",{class:"filter-btn",onClick:o[6]||(o[6]=()=>T.value=!0)},"筛选")])),_:1})])),_:1})):m("v-if",!0)])),_:1},8,["model","rules","style"]),e.isFieldColor?(i(),r(F,{key:1,visible:T.value,"onUpdate:visible":o[7]||(o[7]=e=>T.value=e),model:z,onConfirm:K},null,8,["visible","model"])):(i(),r(x,{key:0,ref_key:"conditionRef",ref:P,data:z},null,8,["data"]))])),_:1},8,["title","show"]))}});export{O as default};
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import { AnyObject } from '../../../../shared/types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
visible: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
model: {
|
|
9
|
+
type: PropType<AnyObject>;
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
visible: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
model: {
|
|
19
|
+
type: PropType<AnyObject>;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
23
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>>;
|
|
26
|
+
emit: (event: "update:visible" | "confirm", ...args: any[]) => void;
|
|
27
|
+
conditionRef: import("vue").Ref<any>;
|
|
28
|
+
onConfirm: () => void;
|
|
29
|
+
onClose: () => void;
|
|
30
|
+
NModal: any;
|
|
31
|
+
Condition: import("vue").DefineComponent<{
|
|
32
|
+
data: {
|
|
33
|
+
type: PropType<AnyObject>;
|
|
34
|
+
default: null;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
customValue: string;
|
|
38
|
+
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
39
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
data: {
|
|
41
|
+
type: PropType<AnyObject>;
|
|
42
|
+
default: null;
|
|
43
|
+
};
|
|
44
|
+
}>> & {}>>;
|
|
45
|
+
fieldList: AnyObject[];
|
|
46
|
+
queryWordbookData: ((params: import("../types").ColorSetWordbook) => Promise<{
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}[]>) | undefined;
|
|
51
|
+
condition: import("vue").Ref<{
|
|
52
|
+
field_key: string;
|
|
53
|
+
con: string;
|
|
54
|
+
value?: any;
|
|
55
|
+
start_val?: string | undefined;
|
|
56
|
+
end_val?: string | undefined;
|
|
57
|
+
is_compare_field?: boolean | undefined;
|
|
58
|
+
compare_field: any;
|
|
59
|
+
numberValue: number | null;
|
|
60
|
+
dateValue: string | [string, string] | null;
|
|
61
|
+
fieldType: string;
|
|
62
|
+
conOptions: AnyObject[];
|
|
63
|
+
compareFieldOptions: AnyObject[];
|
|
64
|
+
unit: string | null;
|
|
65
|
+
multiple: boolean;
|
|
66
|
+
}[]>;
|
|
67
|
+
sqlExpression: import("vue").Ref<string>;
|
|
68
|
+
setConOptions: (item: import("../types").ColorSetConditionItem & {
|
|
69
|
+
numberValue: number | null;
|
|
70
|
+
dateValue: string | [string, string] | null;
|
|
71
|
+
fieldType: string;
|
|
72
|
+
conOptions: AnyObject[];
|
|
73
|
+
compare_field: any;
|
|
74
|
+
compareFieldOptions: AnyObject[];
|
|
75
|
+
unit: string | null;
|
|
76
|
+
multiple: boolean;
|
|
77
|
+
}, isInit?: boolean) => void;
|
|
78
|
+
setCompareFieldOptions: (item: import("../types").ColorSetConditionItem & {
|
|
79
|
+
numberValue: number | null;
|
|
80
|
+
dateValue: string | [string, string] | null;
|
|
81
|
+
fieldType: string;
|
|
82
|
+
conOptions: AnyObject[];
|
|
83
|
+
compare_field: any;
|
|
84
|
+
compareFieldOptions: AnyObject[];
|
|
85
|
+
unit: string | null;
|
|
86
|
+
multiple: boolean;
|
|
87
|
+
}, isInit?: boolean) => Promise<void>;
|
|
88
|
+
resetItem: (item: import("../types").ColorSetConditionItem & {
|
|
89
|
+
numberValue: number | null;
|
|
90
|
+
dateValue: string | [string, string] | null;
|
|
91
|
+
fieldType: string;
|
|
92
|
+
conOptions: AnyObject[];
|
|
93
|
+
compare_field: any;
|
|
94
|
+
compareFieldOptions: AnyObject[];
|
|
95
|
+
unit: string | null;
|
|
96
|
+
multiple: boolean;
|
|
97
|
+
}) => void;
|
|
98
|
+
showBooleanValue: (item: import("../types").ColorSetConditionItem & {
|
|
99
|
+
numberValue: number | null;
|
|
100
|
+
dateValue: string | [string, string] | null;
|
|
101
|
+
fieldType: string;
|
|
102
|
+
conOptions: AnyObject[];
|
|
103
|
+
compare_field: any;
|
|
104
|
+
compareFieldOptions: AnyObject[];
|
|
105
|
+
unit: string | null;
|
|
106
|
+
multiple: boolean;
|
|
107
|
+
}) => boolean | "";
|
|
108
|
+
showInput: (item: import("../types").ColorSetConditionItem & {
|
|
109
|
+
numberValue: number | null;
|
|
110
|
+
dateValue: string | [string, string] | null;
|
|
111
|
+
fieldType: string;
|
|
112
|
+
conOptions: AnyObject[];
|
|
113
|
+
compare_field: any;
|
|
114
|
+
compareFieldOptions: AnyObject[];
|
|
115
|
+
unit: string | null;
|
|
116
|
+
multiple: boolean;
|
|
117
|
+
}) => boolean;
|
|
118
|
+
showInputNumber: (item: import("../types").ColorSetConditionItem & {
|
|
119
|
+
numberValue: number | null;
|
|
120
|
+
dateValue: string | [string, string] | null;
|
|
121
|
+
fieldType: string;
|
|
122
|
+
conOptions: AnyObject[];
|
|
123
|
+
compare_field: any;
|
|
124
|
+
compareFieldOptions: AnyObject[];
|
|
125
|
+
unit: string | null;
|
|
126
|
+
multiple: boolean;
|
|
127
|
+
}) => boolean;
|
|
128
|
+
showUnit: (item: import("../types").ColorSetConditionItem & {
|
|
129
|
+
numberValue: number | null;
|
|
130
|
+
dateValue: string | [string, string] | null;
|
|
131
|
+
fieldType: string;
|
|
132
|
+
conOptions: AnyObject[];
|
|
133
|
+
compare_field: any;
|
|
134
|
+
compareFieldOptions: AnyObject[];
|
|
135
|
+
unit: string | null;
|
|
136
|
+
multiple: boolean;
|
|
137
|
+
}) => boolean;
|
|
138
|
+
showDatePicker: (item: import("../types").ColorSetConditionItem & {
|
|
139
|
+
numberValue: number | null;
|
|
140
|
+
dateValue: string | [string, string] | null;
|
|
141
|
+
fieldType: string;
|
|
142
|
+
conOptions: AnyObject[];
|
|
143
|
+
compare_field: any;
|
|
144
|
+
compareFieldOptions: AnyObject[];
|
|
145
|
+
unit: string | null;
|
|
146
|
+
multiple: boolean;
|
|
147
|
+
}) => boolean;
|
|
148
|
+
getDateType: (item: import("../types").ColorSetConditionItem & {
|
|
149
|
+
numberValue: number | null;
|
|
150
|
+
dateValue: string | [string, string] | null;
|
|
151
|
+
fieldType: string;
|
|
152
|
+
conOptions: AnyObject[];
|
|
153
|
+
compare_field: any;
|
|
154
|
+
compareFieldOptions: AnyObject[];
|
|
155
|
+
unit: string | null;
|
|
156
|
+
multiple: boolean;
|
|
157
|
+
}) => "datetime" | "datetimerange";
|
|
158
|
+
onAdd: () => void;
|
|
159
|
+
onRemove: (index: number) => void;
|
|
160
|
+
init: () => void;
|
|
161
|
+
formatCondition: () => {
|
|
162
|
+
field_key: string;
|
|
163
|
+
fieldType: string;
|
|
164
|
+
con: string;
|
|
165
|
+
value: any;
|
|
166
|
+
compare_field: any;
|
|
167
|
+
is_compare_field: boolean;
|
|
168
|
+
start_val: any;
|
|
169
|
+
end_val: any;
|
|
170
|
+
wordbookValueList: any;
|
|
171
|
+
unit: any;
|
|
172
|
+
}[];
|
|
173
|
+
NInput: any;
|
|
174
|
+
NInputNumber: any;
|
|
175
|
+
NSelect: any;
|
|
176
|
+
NIcon: any;
|
|
177
|
+
AddCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
178
|
+
RemoveCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
179
|
+
UNIT_OPTIONS: {
|
|
180
|
+
label: string;
|
|
181
|
+
value: string;
|
|
182
|
+
}[];
|
|
183
|
+
BOOLEAN_OPTIONS: {
|
|
184
|
+
label: string;
|
|
185
|
+
value: string;
|
|
186
|
+
}[];
|
|
187
|
+
CDatePicker: import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
188
|
+
updateUnchangedValue: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
};
|
|
191
|
+
onConfirm: {
|
|
192
|
+
type: FunctionConstructor;
|
|
193
|
+
};
|
|
194
|
+
formattedValue: {
|
|
195
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
|
196
|
+
};
|
|
197
|
+
placeholder: {
|
|
198
|
+
type: StringConstructor;
|
|
199
|
+
};
|
|
200
|
+
allowedInvalidValue: {
|
|
201
|
+
type: StringConstructor;
|
|
202
|
+
};
|
|
203
|
+
}, {
|
|
204
|
+
attrs: {
|
|
205
|
+
[x: string]: unknown;
|
|
206
|
+
};
|
|
207
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
208
|
+
updateUnchangedValue: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
};
|
|
211
|
+
onConfirm: {
|
|
212
|
+
type: FunctionConstructor;
|
|
213
|
+
};
|
|
214
|
+
formattedValue: {
|
|
215
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
|
216
|
+
};
|
|
217
|
+
placeholder: {
|
|
218
|
+
type: StringConstructor;
|
|
219
|
+
};
|
|
220
|
+
allowedInvalidValue: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
};
|
|
223
|
+
}>> & {
|
|
224
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
225
|
+
}>>;
|
|
226
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
227
|
+
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
228
|
+
panelInstRef: import("vue").Ref<null>;
|
|
229
|
+
placeholderRef: import("vue").Ref<any>;
|
|
230
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
231
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
|
232
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
233
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
234
|
+
focus: () => any;
|
|
235
|
+
blur: () => any;
|
|
236
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
237
|
+
onUpdateShow: (show: boolean) => void;
|
|
238
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
239
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
240
|
+
NDatePicker: any;
|
|
241
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
242
|
+
updateUnchangedValue: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
};
|
|
245
|
+
onConfirm: {
|
|
246
|
+
type: FunctionConstructor;
|
|
247
|
+
};
|
|
248
|
+
formattedValue: {
|
|
249
|
+
type: PropType<(string | [string, string]) | null | undefined>;
|
|
250
|
+
};
|
|
251
|
+
placeholder: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
};
|
|
254
|
+
allowedInvalidValue: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
};
|
|
257
|
+
}>> & {
|
|
258
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
259
|
+
}, {
|
|
260
|
+
updateUnchangedValue: boolean;
|
|
261
|
+
}>>;
|
|
262
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
263
|
+
data: {
|
|
264
|
+
type: PropType<AnyObject>;
|
|
265
|
+
default: null;
|
|
266
|
+
};
|
|
267
|
+
}>>, {
|
|
268
|
+
data: AnyObject;
|
|
269
|
+
}>;
|
|
270
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "confirm")[], "confirm" | "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
271
|
+
visible: {
|
|
272
|
+
type: BooleanConstructor;
|
|
273
|
+
default: boolean;
|
|
274
|
+
};
|
|
275
|
+
model: {
|
|
276
|
+
type: PropType<AnyObject>;
|
|
277
|
+
default: null;
|
|
278
|
+
};
|
|
279
|
+
}>> & {
|
|
280
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
281
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
282
|
+
}, {
|
|
283
|
+
visible: boolean;
|
|
284
|
+
model: AnyObject;
|
|
285
|
+
}>;
|
|
286
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./edit-filter.vue2.js";import r from"../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","edit-filter.vue"]]);export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,openBlock as i,createBlock as o,unref as l,withCtx as a,createVNode as n}from"vue";import{NModal as s}from"naive-ui";import r from"./condition.vue.js";var u=e({__name:"edit-filter",props:{visible:{type:Boolean,default:!1},model:{type:Object,default:null}},emits:["update:visible","confirm"],setup(e,{emit:u}){const d=t();function f(){var e;u("confirm",null==(e=d.value)?void 0:e.getData()),c()}function c(){u("update:visible",!1)}return(t,u)=>(i(),o(l(s),{preset:"dialog",style:{width:"860px"},title:"设置分类","close-on-esc":!1,"show-icon":!1,"mask-closable":!1,"positive-text":"确定","negative-text":"取消","trap-focus":!1,show:e.visible,onPositiveClick:f,onNegativeClick:c,onClose:c},{default:a((()=>[n(r,{ref_key:"conditionRef",ref:d,data:e.model},null,8,["data"])])),_:1},8,["show"]))}});export{u as default};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AnyObject } from '../../../../shared/types';
|
|
2
|
+
import { InjectionKey } from 'vue';
|
|
3
|
+
import { ColorSetWordbook } from '../types';
|
|
4
|
+
export declare const FIELD_TYPE_LIST: ({
|
|
5
|
+
conList: {
|
|
6
|
+
name: string;
|
|
7
|
+
text: string;
|
|
8
|
+
}[];
|
|
9
|
+
name: string;
|
|
10
|
+
format: string;
|
|
11
|
+
type: string;
|
|
12
|
+
} | {
|
|
13
|
+
conList: {
|
|
14
|
+
name: string;
|
|
15
|
+
text: string;
|
|
16
|
+
}[];
|
|
17
|
+
name: string;
|
|
18
|
+
type: string;
|
|
19
|
+
format?: undefined;
|
|
20
|
+
})[];
|
|
21
|
+
export declare const SHOWSETTING_OPTIONS: {
|
|
22
|
+
text: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}[];
|
|
25
|
+
export declare const WORDBOOK_OPTIONS: {
|
|
26
|
+
text: string;
|
|
27
|
+
name: string;
|
|
28
|
+
}[];
|
|
29
|
+
export declare const CUSTOM_INPUT_OPTIONS: {
|
|
30
|
+
title: string;
|
|
31
|
+
columnName: string;
|
|
32
|
+
}[];
|
|
33
|
+
export declare const UNIT_OPTIONS: {
|
|
34
|
+
label: string;
|
|
35
|
+
value: string;
|
|
36
|
+
}[];
|
|
37
|
+
export declare const BOOLEAN_OPTIONS: {
|
|
38
|
+
label: string;
|
|
39
|
+
value: string;
|
|
40
|
+
}[];
|
|
41
|
+
export declare const COLOR_MAP: Readonly<{
|
|
42
|
+
'#FFC400': "黄色";
|
|
43
|
+
'#00B145': "绿色";
|
|
44
|
+
'#427BFF': "蓝色";
|
|
45
|
+
'#C163FF': "紫色";
|
|
46
|
+
'#DB0000': "红色";
|
|
47
|
+
}>;
|
|
48
|
+
export declare const InjectionFieldList: InjectionKey<AnyObject[]>;
|
|
49
|
+
declare type WordbookOption = {
|
|
50
|
+
label: string;
|
|
51
|
+
value: string;
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
};
|
|
54
|
+
export declare const InjectionQueryWordbookData: InjectionKey<(params: ColorSetWordbook) => Promise<WordbookOption[]>>;
|
|
55
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[{name:"NULL",text:"为空"},{name:"NOT_NULL",text:"不为空"},{name:"IN",text:"等于"},{name:"NEQ",text:"不等于"},{name:"BIG",text:"大于"},{name:"LESS",text:"小于"},{name:"BIGEQ",text:"大于等于"},{name:"LESSEQ",text:"小于等于"},{name:"TODAY",text:"今天"},{name:"TOMORROW",text:"明天"},{name:"YESTERDAY",text:"昨天"},{name:"THIS_WEEK",text:"本周"},{name:"NEXT_WEEK",text:"下周"},{name:"UP_WEEK",text:"上周"},{name:"THIS_MONTH",text:"本月"},{name:"NEXT_MONTH",text:"下月"},{name:"UP_MONTH",text:"上月"},{name:"THIS_SEASON",text:"本季度"},{name:"NEXT_SEASON",text:"下季度"},{name:"UP_SEASON",text:"上季度"},{name:"THIS_YEAR",text:"本年"},{name:"NEXT_YEAR",text:"下年"},{name:"UP_YEAR",text:"上年"},{name:"L_",text:"以前"},{name:"N_",text:"以后"},{name:"IN_THE_PAST",text:"过去内"},{name:"IN_THE_FUTURE",text:"未来内"},{name:"IN_THE_PAST_DI",text:"过去第"},{name:"IN_THE_FUTURE_DI",text:"未来第"}],t=[{name:"NULL",text:"为空"},{name:"NOT_NULL",text:"不为空"},{name:"CL",text:"包含"},{name:"NC",text:"不包含"},{name:"IN_ARR",text:"被包含"},{name:"EQ",text:"等于"},{name:"NEQ",text:"不等于"}],a=[{conList:e,name:"DATE",format:"yyyy-MM-dd",type:"DATE"},{conList:e,name:"DATETIME",format:"yyyy-MM-dd HH:mm:ss",type:"DATE"},{conList:[{name:"EQ",text:"等于"},{name:"NEQ",text:"不等于"}],name:"BOOLEAN",type:"BOOLEAN"},{conList:e,name:"TIME",format:"HH:mm:ss",type:"DATE"},{conList:t,name:"TEXT",type:"text"},{conList:[{name:"NULL",text:"为空"},{name:"NOT_NULL",text:"不为空"},{name:"EQ",text:"等于"},{name:"NEQ",text:"不等于"},{name:"BIG",text:"大于"},{name:"LESS",text:"小于"},{name:"BIGEQ",text:"大于等于"},{name:"LESSEQ",text:"小于等于"}],name:"NUMBER",type:"number"},{conList:t,name:"JSONB",type:"jsonb"}],n=[{text:"引用选项",name:"CONVERT"}],m=[{text:"引用选项",name:"QUOTE"},{text:"不引用选项",name:"QUOTE_NOT"}],E=[{title:"自定义输入",columnName:"custom"}],x=[{label:"天",value:"DAY"},{label:"周",value:"WEEK"},{label:"月",value:"MONTH"},{label:"季度",value:"QUARTER"},{label:"年",value:"YEAR"},{label:"小时",value:"HOUR"}],T=[{label:"是",value:"true"},{label:"否",value:"false"}],N=Object.freeze({"#FFC400":"黄色","#00B145":"绿色","#427BFF":"蓝色","#C163FF":"紫色","#DB0000":"红色"}),l=Symbol("InjectionFieldList"),_=Symbol("InjectionQueryWordbookData");export{T as BOOLEAN_OPTIONS,N as COLOR_MAP,E as CUSTOM_INPUT_OPTIONS,a as FIELD_TYPE_LIST,l as InjectionFieldList,_ as InjectionQueryWordbookData,n as SHOWSETTING_OPTIONS,x as UNIT_OPTIONS,m as WORDBOOK_OPTIONS};
|
|
@@ -21,7 +21,7 @@ export declare type FieldSetItem = Partial<{
|
|
|
21
21
|
export declare type FieldSetColumnName = 'show' | 'editable' | 'required' | 'sort' | 'bold' | 'sortDirection' | 'sortPriority' | 'fixedWay' | 'alias' | 'columnWidth';
|
|
22
22
|
export declare type FieldSetColumnItem = {
|
|
23
23
|
title: string;
|
|
24
|
-
type: 'text' | 'checkbox' | 'select' | 'input' | 'inputNumber' | 'custom';
|
|
24
|
+
type: 'text' | 'checkbox' | 'select' | 'input' | 'inputNumber' | 'color' | 'custom';
|
|
25
25
|
field: string;
|
|
26
26
|
checkedAll?: boolean;
|
|
27
27
|
disabledAll?: boolean;
|
|
@@ -30,3 +30,33 @@ export declare type FieldSetColumnItem = {
|
|
|
30
30
|
contentRender?: (column: AnyObject, row: AnyObject) => VNode | String;
|
|
31
31
|
[key: string]: any;
|
|
32
32
|
};
|
|
33
|
+
export declare type FieldSetTab = 'field' | 'fieldColor' | 'highlightRow';
|
|
34
|
+
export declare type ColorSetItem = {
|
|
35
|
+
name: string;
|
|
36
|
+
columnName?: string;
|
|
37
|
+
title?: string;
|
|
38
|
+
createDate: string;
|
|
39
|
+
color: string;
|
|
40
|
+
colorScope: 'font' | 'background';
|
|
41
|
+
status: 'Y' | 'N';
|
|
42
|
+
id?: string;
|
|
43
|
+
condition: AnyObject[];
|
|
44
|
+
sqlExpression?: string;
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
};
|
|
47
|
+
export declare type ColorSetConditionItem = {
|
|
48
|
+
field_key: string;
|
|
49
|
+
con: string;
|
|
50
|
+
value?: any;
|
|
51
|
+
start_val?: string;
|
|
52
|
+
end_val?: string;
|
|
53
|
+
is_compare_field?: boolean;
|
|
54
|
+
compare_field?: string;
|
|
55
|
+
};
|
|
56
|
+
export declare type ColorSetWordbook = {
|
|
57
|
+
autograph: string;
|
|
58
|
+
wordbookType: string;
|
|
59
|
+
id: string;
|
|
60
|
+
filterKeys: string[];
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
@@ -2,8 +2,9 @@ import { CSSProperties } from 'vue';
|
|
|
2
2
|
import { AnyObject } from '../../../../shared/types';
|
|
3
3
|
import { FieldSetItem } from '../../../../components/field-set';
|
|
4
4
|
import { IhoTableConfig } from '../../../../components/iho-table';
|
|
5
|
-
export declare function setStyle(column: AnyObject): CSSProperties;
|
|
5
|
+
export declare function setStyle(column: AnyObject, index: number): CSSProperties;
|
|
6
6
|
export declare function isDisable(item: FieldSetItem, key: string): any;
|
|
7
7
|
export declare function getGroupTree(rowGroupSetting: NonNullable<IhoTableConfig['rowGroupSetting']>, fieldList: FieldSetItem[], getKey?: (field: FieldSetItem) => string): Array<AnyObject | string>;
|
|
8
8
|
export declare function isDraggable(fieldItem: AnyObject): any;
|
|
9
9
|
export declare function isDraggableItem(item: AnyObject | AnyObject[]): any;
|
|
10
|
+
export declare function setColorInfo(item: AnyObject): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isArray as e,isObject as t}from"lodash-es";import{IhoTableRowGroupSequence as
|
|
1
|
+
import{isArray as e,isObject as t}from"lodash-es";import{IhoTableRowGroupSequence as o}from"../../../iho-table/src/constants/index.js";import{COLOR_MAP as n}from"../constants/index.js";function r(e,t){const o={flex:"1 1 90px"};switch(e.type){case"text":0===t&&["title","name"].includes(e.field)&&Object.assign(o,{flex:"0 0 120px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}),"seq"===e.field&&(o.flex="1 1 40px");break;case"checkbox":o.flex="1 1 60px";break;case"select":o.flex="1 1 80px";break;case"input":o.flex="1 1 100px"}return o}function l(e,t){return["editable","required"].includes(t)&&e[`${t}Disable`]||["sort"].includes(t)&&(1==e.notParticipatingSort||e.sortDisabled)}function i(n,r,l=(e=>e.name)){const i=r.map((e=>l(e)));return o.some((o=>{const r=n[o];if(!e(r))return!0;r.forEach((o=>{if(!e(o.list)||!o.list.length)return;const n=[];let r=null;o.list.forEach(((e,l)=>{const s=function(e,o,n){return o.findIndex((o=>o!==n&&(t(o)?o.fieldName:o)===e))}(e,i,r);~s&&(n.push(i[s]),0===l?i.splice(s,1,r={fieldName:o.title,children:n}):i.splice(s,1))}))}))})),i}function s(e){return void 0===e.draggable||e.draggable}function c(t){return e(t)?!t.some((e=>!e.draggable)):t.draggable}function a(e){e.style="font"===e.colorScope?{color:e.color}:{background:e.color,color:"#fff"},e.result=n[e.color]}export{i as getGroupTree,l as isDisable,s as isDraggable,c as isDraggableItem,a as setColorInfo,r as setStyle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.c-field-set{display:flex;flex-flow:column nowrap;height:100%;width:100%}.c-field-
|
|
1
|
+
.c-field-set{height:100%;width:100%}.c-field-set__color-picker .n-color-picker-trigger__value{display:none}.c-field-set .main-wrapper{display:flex;flex-flow:column nowrap;height:100%;width:100%}.c-field-set .main-wrapper__search-wrapper.n-input{margin-bottom:12px;width:50%}.c-field-set .main-wrapper .item{background:#fff}.c-field-set .main-wrapper .item:active{background:#f2f2f2;box-shadow:0 0 10px 0 #d5d5d5}.c-field-set .main-wrapper .item:focus{background-color:#f2f2f2}.c-field-set .main-wrapper .item.disabled{cursor:not-allowed}.c-field-set .main-wrapper .item .row{align-items:center;border-bottom:1px solid #e8e8e8;display:flex;height:var(--row-height);padding:5px 0}.c-field-set .main-wrapper .table-cell{box-sizing:border-box;color:inherit;display:inline-block;padding:0 5px}.c-field-set .main-wrapper .table-cell .highlight{background-color:var(--primary-color);color:#fff}.c-field-set .main-wrapper .table-cell .c-field-set__color-picker{display:block}.c-field-set .main-wrapper__table-header{align-items:center;background:#f2f2f4;border:1px solid #f2f2f2;display:flex;height:52px}.c-field-set .main-wrapper__table-header .n-checkbox.n-checkbox--disabled .n-checkbox__label{color:var(--n-text-color)}.c-field-set .main-wrapper__table-body{flex:1;overflow-y:auto}.c-field-set .main-wrapper__table-footer{border-top:1px solid #d5d5d5;padding:12px 0}.c-field-set__color-block{display:inline-block;margin-left:20px;position:relative}.c-field-set__color-block:before{background-color:var(--color);border-radius:2px;content:"";height:14px;left:-20px;position:absolute;top:3px;width:14px}.c-field-set__space{width:100%}.c-field-set__space>div:first-child{width:80%}.c-field-set__space .filter-btn{color:var(--c-primary-color);cursor:pointer}.c-field-set__condition .opt-btn{cursor:pointer;display:inline-flex}.c-field-set__condition .condition-wrapper__item{align-items:center;display:flex;margin-top:10px}.c-field-set__condition .condition-wrapper__item .item-index{margin-right:10px}.c-field-set__condition .condition-wrapper__item>.n-date-picker,.c-field-set__condition .condition-wrapper__item>.n-input,.c-field-set__condition .condition-wrapper__item>.n-input-number,.c-field-set__condition .condition-wrapper__item>.n-select{margin-right:10px;width:20%}.c-field-set__condition .sql-expression-wrapper{margin-top:10px}
|
|
@@ -7715,7 +7715,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7715
7715
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
7716
7716
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
7717
7717
|
}>>;
|
|
7718
|
-
emit: (event: "
|
|
7718
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
7719
7719
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
7720
7720
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
7721
7721
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -8051,7 +8051,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8051
8051
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
8052
8052
|
}>;
|
|
8053
8053
|
NTabs: any;
|
|
8054
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
8054
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8055
8055
|
fieldList: {
|
|
8056
8056
|
type: import("vue").PropType<import("..").FieldItem[]>;
|
|
8057
8057
|
};
|
|
@@ -8220,7 +8220,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8220
8220
|
anchor: boolean;
|
|
8221
8221
|
maxHeight: string | number;
|
|
8222
8222
|
column: number;
|
|
8223
|
-
forceClearable: boolean;
|
|
8224
8223
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
8225
8224
|
initialData: import("../../shared/types").AnyObject;
|
|
8226
8225
|
parallelism: number;
|
|
@@ -8231,6 +8230,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8231
8230
|
bordered: string | boolean;
|
|
8232
8231
|
uniqueCacheData: boolean;
|
|
8233
8232
|
outBordered: boolean;
|
|
8233
|
+
forceClearable: boolean;
|
|
8234
8234
|
operationalFormInit: boolean;
|
|
8235
8235
|
}>;
|
|
8236
8236
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
@@ -14131,7 +14131,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14131
14131
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
14132
14132
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
14133
14133
|
}>>;
|
|
14134
|
-
emit: (event: "
|
|
14134
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
14135
14135
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
14136
14136
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
14137
14137
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -14467,7 +14467,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14467
14467
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
14468
14468
|
}>;
|
|
14469
14469
|
NTabs: any;
|
|
14470
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
14470
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14471
14471
|
fieldList: {
|
|
14472
14472
|
type: import("vue").PropType<import("..").FieldItem[]>;
|
|
14473
14473
|
};
|
|
@@ -14636,7 +14636,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14636
14636
|
anchor: boolean;
|
|
14637
14637
|
maxHeight: string | number;
|
|
14638
14638
|
column: number;
|
|
14639
|
-
forceClearable: boolean;
|
|
14640
14639
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
14641
14640
|
initialData: import("../../shared/types").AnyObject;
|
|
14642
14641
|
parallelism: number;
|
|
@@ -14647,6 +14646,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14647
14646
|
bordered: string | boolean;
|
|
14648
14647
|
uniqueCacheData: boolean;
|
|
14649
14648
|
outBordered: boolean;
|
|
14649
|
+
forceClearable: boolean;
|
|
14650
14650
|
operationalFormInit: boolean;
|
|
14651
14651
|
}>;
|
|
14652
14652
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
@@ -7718,7 +7718,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7718
7718
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
7719
7719
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
7720
7720
|
}>>;
|
|
7721
|
-
emit: (event: "
|
|
7721
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
7722
7722
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
7723
7723
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
7724
7724
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -8054,7 +8054,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8054
8054
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
8055
8055
|
}>;
|
|
8056
8056
|
NTabs: any;
|
|
8057
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
8057
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8058
8058
|
fieldList: {
|
|
8059
8059
|
type: PropType<import("../../../components/form-render").FieldItem[]>;
|
|
8060
8060
|
};
|
|
@@ -8223,7 +8223,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8223
8223
|
anchor: boolean;
|
|
8224
8224
|
maxHeight: string | number;
|
|
8225
8225
|
column: number;
|
|
8226
|
-
forceClearable: boolean;
|
|
8227
8226
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
8228
8227
|
initialData: import("../../../shared/types").AnyObject;
|
|
8229
8228
|
parallelism: number;
|
|
@@ -8234,6 +8233,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8234
8233
|
bordered: string | boolean;
|
|
8235
8234
|
uniqueCacheData: boolean;
|
|
8236
8235
|
outBordered: boolean;
|
|
8236
|
+
forceClearable: boolean;
|
|
8237
8237
|
operationalFormInit: boolean;
|
|
8238
8238
|
}>;
|
|
8239
8239
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
@@ -14134,7 +14134,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14134
14134
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
14135
14135
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
14136
14136
|
}>>;
|
|
14137
|
-
emit: (event: "
|
|
14137
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
14138
14138
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
14139
14139
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
14140
14140
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -14470,7 +14470,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14470
14470
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
14471
14471
|
}>;
|
|
14472
14472
|
NTabs: any;
|
|
14473
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
14473
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14474
14474
|
fieldList: {
|
|
14475
14475
|
type: PropType<import("../../../components/form-render").FieldItem[]>;
|
|
14476
14476
|
};
|
|
@@ -14639,7 +14639,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14639
14639
|
anchor: boolean;
|
|
14640
14640
|
maxHeight: string | number;
|
|
14641
14641
|
column: number;
|
|
14642
|
-
forceClearable: boolean;
|
|
14643
14642
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
14644
14643
|
initialData: import("../../../shared/types").AnyObject;
|
|
14645
14644
|
parallelism: number;
|
|
@@ -14650,6 +14649,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14650
14649
|
bordered: string | boolean;
|
|
14651
14650
|
uniqueCacheData: boolean;
|
|
14652
14651
|
outBordered: boolean;
|
|
14652
|
+
forceClearable: boolean;
|
|
14653
14653
|
operationalFormInit: boolean;
|
|
14654
14654
|
}>;
|
|
14655
14655
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
@@ -349,7 +349,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
349
349
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
350
350
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
351
351
|
}>>;
|
|
352
|
-
emit: (event: "
|
|
352
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
353
353
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
354
354
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
355
355
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -685,7 +685,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
685
685
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
686
686
|
}>;
|
|
687
687
|
NTabs: any;
|
|
688
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
688
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
689
689
|
fieldList: {
|
|
690
690
|
type: import("vue").PropType<FieldItem[]>;
|
|
691
691
|
};
|
|
@@ -854,7 +854,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
854
854
|
anchor: boolean;
|
|
855
855
|
maxHeight: string | number;
|
|
856
856
|
column: number;
|
|
857
|
-
forceClearable: boolean;
|
|
858
857
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
859
858
|
initialData: AnyObject;
|
|
860
859
|
parallelism: number;
|
|
@@ -865,6 +864,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
865
864
|
bordered: string | boolean;
|
|
866
865
|
uniqueCacheData: boolean;
|
|
867
866
|
outBordered: boolean;
|
|
867
|
+
forceClearable: boolean;
|
|
868
868
|
operationalFormInit: boolean;
|
|
869
869
|
}>;
|
|
870
870
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|