cnhis-design-vue 3.2.9-beta.8 → 3.2.9-release.3
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/ai-chat/src/components/ChatMain.js +1 -1
- package/es/components/base-search/index.d.ts +2 -0
- package/es/components/base-search/src/index.vue.d.ts +2 -0
- package/es/components/button-print/index.d.ts +30 -13
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +30 -13
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +9 -4
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +9 -4
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +8 -6
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +87 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +87 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +87 -0
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/classification/src/index.vue.d.ts +87 -0
- package/es/components/date-picker/index.d.ts +29 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +30 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/field-set/index.d.ts +8 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +89 -6
- package/es/components/field-set/src/FieldColor.vue2.js +1 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +31 -6
- package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +73 -30
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue.d.ts +8 -1
- package/es/components/field-set/src/Index.vue2.js +1 -1
- package/es/components/field-set/src/TableStyle.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +29 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +58 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +29 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +28 -1
- package/es/components/field-set/src/components/table-row.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +4 -3
- 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-render/src/components/renderer/select.d.ts +2 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/iho-chat/index.d.ts +316 -6
- package/es/components/iho-chat/src/Index.vue.d.ts +316 -6
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/api/index.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +121 -1
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +6 -0
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +160 -2
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +122 -0
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +29 -0
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +6 -1
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +1 -3
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -1
- package/es/components/iho-chat/src/hooks/useSession.js +1 -1
- package/es/components/iho-chat/src/hooks/useState.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useState.js +1 -1
- package/es/components/iho-chat/src/types/index.d.ts +3 -1
- package/es/components/iho-chat/src/types/index.js +1 -1
- package/es/components/iho-chat/src/utils/chatSock.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +29 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +29 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useRowHeight.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useRowHeight.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +3 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/quick-search/index.d.ts +3 -0
- package/es/components/quick-search/src/index.vue.d.ts +3 -0
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +58 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +58 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +58 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +116 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +116 -0
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +2 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/index.d.ts +1 -0
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
@@ -46,9 +46,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
46
|
disabledAll?: boolean | undefined;
|
47
47
|
isHeadCheckHide?: boolean | undefined;
|
48
48
|
isShow?: boolean | undefined;
|
49
|
-
contentRender?: ((column: AnyObject, row: AnyObject) =>
|
50
|
-
|
51
|
-
}>) | undefined;
|
49
|
+
contentRender?: ((column: AnyObject, row: AnyObject) => import("vue").VNodeChild) | undefined;
|
50
|
+
hide?: boolean | undefined;
|
52
51
|
}[]>;
|
53
52
|
rowProps: {
|
54
53
|
columns: {
|
@@ -60,9 +59,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
60
59
|
disabledAll?: boolean | undefined;
|
61
60
|
isHeadCheckHide?: boolean | undefined;
|
62
61
|
isShow?: boolean | undefined;
|
63
|
-
contentRender?: ((column: AnyObject, row: AnyObject) =>
|
64
|
-
|
65
|
-
}>) | undefined;
|
62
|
+
contentRender?: ((column: AnyObject, row: AnyObject) => import("vue").VNodeChild) | undefined;
|
63
|
+
hide?: boolean | undefined;
|
66
64
|
}[];
|
67
65
|
data: AnyObject[];
|
68
66
|
onEdit: (row: AnyObject) => void;
|
@@ -235,6 +233,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
235
233
|
type: PropType<AnyObject[]>;
|
236
234
|
default: () => never[];
|
237
235
|
};
|
236
|
+
primaryKey: {
|
237
|
+
type: StringConstructor;
|
238
|
+
default: string;
|
239
|
+
};
|
240
|
+
titleRender: {
|
241
|
+
type: PropType<(row: AnyObject) => import("vue").VNodeChild>;
|
242
|
+
};
|
238
243
|
}, {
|
239
244
|
fixedWayOptions: {
|
240
245
|
label: string;
|
@@ -333,6 +338,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
333
338
|
type: PropType<AnyObject[]>;
|
334
339
|
default: () => never[];
|
335
340
|
};
|
341
|
+
primaryKey: {
|
342
|
+
type: StringConstructor;
|
343
|
+
default: string;
|
344
|
+
};
|
345
|
+
titleRender: {
|
346
|
+
type: PropType<(row: AnyObject) => import("vue").VNodeChild>;
|
347
|
+
};
|
336
348
|
}>> & {
|
337
349
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
338
350
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -346,10 +358,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
346
358
|
isMultiple: (field: string) => boolean;
|
347
359
|
isRender: (field: string) => boolean;
|
348
360
|
isShow: (field: string) => any;
|
361
|
+
showRelation: (field: string) => boolean;
|
349
362
|
getSortPriorityOptions: () => {
|
350
363
|
label: string;
|
351
364
|
value: number;
|
352
365
|
}[];
|
366
|
+
getSelectText: (field: string) => "密码无需设置" | "主键不可设置" | "不支持脱敏设置" | undefined;
|
353
367
|
selectProps: (field: string) => {
|
354
368
|
valueField: string;
|
355
369
|
labelField: string;
|
@@ -367,12 +381,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
367
381
|
NIcon: any;
|
368
382
|
NColorPicker: any;
|
369
383
|
NPopconfirm: any;
|
384
|
+
NPopover: any;
|
385
|
+
NSpace: any;
|
370
386
|
setStyle: typeof setStyle;
|
371
387
|
setColorInfo: typeof setColorInfo;
|
372
388
|
ReorderTwoOutline: 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<{}>>, {}>;
|
373
389
|
TrashOutline: 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<{}>>, {}>;
|
374
390
|
CreateOutline: 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<{}>>, {}>;
|
375
391
|
HelpCircleOutline: 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<{}>>, {}>;
|
392
|
+
CaretDownOutline: 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<{}>>, {}>;
|
376
393
|
isFunction: (value: any) => value is (...args: any[]) => any;
|
377
394
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("edit" | "updateChecked")[], "edit" | "updateChecked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
378
395
|
element: {
|
@@ -458,6 +475,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
458
475
|
type: PropType<AnyObject[]>;
|
459
476
|
default: () => never[];
|
460
477
|
};
|
478
|
+
primaryKey: {
|
479
|
+
type: StringConstructor;
|
480
|
+
default: string;
|
481
|
+
};
|
482
|
+
titleRender: {
|
483
|
+
type: PropType<(row: AnyObject) => import("vue").VNodeChild>;
|
484
|
+
};
|
461
485
|
}>> & {
|
462
486
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
463
487
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -480,6 +504,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
480
504
|
requiredDisable: boolean;
|
481
505
|
hide: boolean;
|
482
506
|
}>[];
|
507
|
+
primaryKey: string;
|
483
508
|
index: number;
|
484
509
|
columns: FieldSetColumnItem[];
|
485
510
|
element: Partial<{
|
@@ -754,6 +779,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
754
779
|
type: PropType<string | false | HTMLElement>;
|
755
780
|
default: string;
|
756
781
|
};
|
782
|
+
holidays: {
|
783
|
+
type: PropType<Date[]>;
|
784
|
+
default: () => never[];
|
785
|
+
};
|
786
|
+
type: {
|
787
|
+
type: StringConstructor;
|
788
|
+
default: string;
|
789
|
+
};
|
757
790
|
}, {
|
758
791
|
attrs: {
|
759
792
|
[x: string]: unknown;
|
@@ -778,6 +811,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
778
811
|
type: PropType<string | false | HTMLElement>;
|
779
812
|
default: string;
|
780
813
|
};
|
814
|
+
holidays: {
|
815
|
+
type: PropType<Date[]>;
|
816
|
+
default: () => never[];
|
817
|
+
};
|
818
|
+
type: {
|
819
|
+
type: StringConstructor;
|
820
|
+
default: string;
|
821
|
+
};
|
781
822
|
}>> & {
|
782
823
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
783
824
|
}>>;
|
@@ -794,6 +835,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
794
835
|
blur: () => any;
|
795
836
|
handleConfirm: (target: HTMLInputElement) => void;
|
796
837
|
onUpdateShow: (show: boolean) => Promise<void>;
|
838
|
+
watchers: import("../../../shared/types").AnyFn[];
|
839
|
+
stopWatcher: () => void;
|
840
|
+
setHoliday: (show: boolean) => Promise<void>;
|
797
841
|
onConfirm: (...args: any[]) => Promise<void>;
|
798
842
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
799
843
|
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
@@ -818,11 +862,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
818
862
|
type: PropType<string | false | HTMLElement>;
|
819
863
|
default: string;
|
820
864
|
};
|
865
|
+
holidays: {
|
866
|
+
type: PropType<Date[]>;
|
867
|
+
default: () => never[];
|
868
|
+
};
|
869
|
+
type: {
|
870
|
+
type: StringConstructor;
|
871
|
+
default: string;
|
872
|
+
};
|
821
873
|
}>> & {
|
822
874
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
823
875
|
}, {
|
876
|
+
type: string;
|
824
877
|
updateUnchangedValue: boolean;
|
825
878
|
to: string | false | HTMLElement;
|
879
|
+
holidays: Date[];
|
826
880
|
}>>;
|
827
881
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
828
882
|
data: {
|
@@ -1036,6 +1090,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
1036
1090
|
type: PropType<string | false | HTMLElement>;
|
1037
1091
|
default: string;
|
1038
1092
|
};
|
1093
|
+
holidays: {
|
1094
|
+
type: PropType<Date[]>;
|
1095
|
+
default: () => never[];
|
1096
|
+
};
|
1097
|
+
type: {
|
1098
|
+
type: StringConstructor;
|
1099
|
+
default: string;
|
1100
|
+
};
|
1039
1101
|
}, {
|
1040
1102
|
attrs: {
|
1041
1103
|
[x: string]: unknown;
|
@@ -1060,6 +1122,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
1060
1122
|
type: PropType<string | false | HTMLElement>;
|
1061
1123
|
default: string;
|
1062
1124
|
};
|
1125
|
+
holidays: {
|
1126
|
+
type: PropType<Date[]>;
|
1127
|
+
default: () => never[];
|
1128
|
+
};
|
1129
|
+
type: {
|
1130
|
+
type: StringConstructor;
|
1131
|
+
default: string;
|
1132
|
+
};
|
1063
1133
|
}>> & {
|
1064
1134
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1065
1135
|
}>>;
|
@@ -1076,6 +1146,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1076
1146
|
blur: () => any;
|
1077
1147
|
handleConfirm: (target: HTMLInputElement) => void;
|
1078
1148
|
onUpdateShow: (show: boolean) => Promise<void>;
|
1149
|
+
watchers: import("../../../shared/types").AnyFn[];
|
1150
|
+
stopWatcher: () => void;
|
1151
|
+
setHoliday: (show: boolean) => Promise<void>;
|
1079
1152
|
onConfirm: (...args: any[]) => Promise<void>;
|
1080
1153
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
1081
1154
|
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
@@ -1100,11 +1173,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
1100
1173
|
type: PropType<string | false | HTMLElement>;
|
1101
1174
|
default: string;
|
1102
1175
|
};
|
1176
|
+
holidays: {
|
1177
|
+
type: PropType<Date[]>;
|
1178
|
+
default: () => never[];
|
1179
|
+
};
|
1180
|
+
type: {
|
1181
|
+
type: StringConstructor;
|
1182
|
+
default: string;
|
1183
|
+
};
|
1103
1184
|
}>> & {
|
1104
1185
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1105
1186
|
}, {
|
1187
|
+
type: string;
|
1106
1188
|
updateUnchangedValue: boolean;
|
1107
1189
|
to: string | false | HTMLElement;
|
1190
|
+
holidays: Date[];
|
1108
1191
|
}>>;
|
1109
1192
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1110
1193
|
data: {
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,ref as l,reactive as t,openBlock as i,createElementBlock as
|
1
|
+
import{defineComponent as e,ref as l,reactive as t,openBlock as i,createElementBlock as a,createElementVNode as o,Fragment as s,renderList as r,normalizeStyle as u,unref as d,toDisplayString as n,createCommentVNode as c,createVNode as f,withCtx as p,mergeProps as m,renderSlot as v,createTextVNode as y,createBlock as b}from"vue";import{NButton as h}from"naive-ui";import x from"../../../shared/components/VueDraggable/src/vuedraggable.js";import g from"./components/table-row.vue.js";import _ from"./components/edit-dialog.vue.js";import{cloneDeep as k,omit as w}from"lodash-es";import{setColorInfo as C,setStyle as F}from"./utils/index.js";import{uuidGenerator as j}from"../../../shared/utils/index.js";import{format as A}from"date-fns";const D={class:"main-wrapper"},S={class:"main-wrapper__table"},V={class:"main-wrapper__table-header"},B={class:"main-wrapper__table-body",ref:"tableBodyRef"},E=["tabindex"],L={key:0,class:"main-wrapper__table-footer"};var M=e({__name:"FieldColor",props:{footerFlag:{type:Boolean,default:!0},isFieldColor:{type:Boolean,default:!0},defaultList:{type:Array,default:()=>[]}},emits:["save","close"],setup(e,{expose:M,emit:R}){const U=e,Y=l(!1),H=l(null),I=l([]),N=l([{title:"名称",type:"text",field:"name"},{title:"字段",type:"text",field:"title"},{title:"创建时间",type:"text",field:"createDate"},{title:"效果",type:"text",field:"result"},{title:"颜色",type:"color",field:"color"},{title:"颜色应用于",type:"select",checkedAll:!1,disabledAll:!1,field:"colorScope"},{title:"显示",type:"checkbox",checkedAll:!1,disabledAll:!1,field:"status"},{title:"操作",type:"custom",field:"opt"}]),T=t({columns:N,data:I,onEdit:function(e){H.value=k(e),Y.value=!0},isHighlightRow:!U.isFieldColor});function $(){R("save")}function q(){R("close")}function z(){H.value=null,Y.value=!0}function G(e){if(C(e),H.value){const l=I.value.findIndex((l=>l.uuid===e.uuid));I.value.splice(l,1,e)}else{const l=A(new Date,"yyyy-MM-dd");I.value.push({...e,createDate:l,uuid:j()})}}return N.value.forEach((e=>{e.isShow=function(e){return!("result"===e.field&&U.isFieldColor||"title"===e.field&&!U.isFieldColor)}(e)})),I.value=U.defaultList.concat(I.value),I.value.forEach((e=>{e.uuid=j(),e.status="Y"===e.status,C(e)})),M({getTableFields:function(){return I.value.map((e=>{const l=k(e);return l.status=l.status?"Y":"N",w(l,["uuid","style","result"])}))}}),(l,t)=>(i(),a("div",D,[o("div",S,[o("div",V,[(i(!0),a(s,null,r(N.value,((e,l)=>(i(),a(s,{key:l},[e.isShow?(i(),a("span",{key:0,class:"table-cell",style:u(d(F)(e,l))},[o("span",null,n(e.title),1)],4)):c("v-if",!0)],64)))),128))]),o("div",B,[f(d(x),{modelValue:I.value,"onUpdate:modelValue":t[0]||(t[0]=e=>I.value=e),animation:"150","item-key":"id",draggable:".item"},{item:p((({element:e,index:l})=>[e.hide?c("v-if",!0):(i(),a("div",{key:0,class:"item",tabindex:l},[f(g,m(T,{element:e,index:l}),null,16,["element","index"])],8,E))])),_:1},8,["modelValue"])],512)]),e.footerFlag?(i(),a("div",L,[c(" 底部按钮插槽 "),v(l.$slots,"colorSetFooter",{},(()=>[f(d(h),{style:{"margin-right":"8px"},onClick:q},{default:p((()=>[y("取消")])),_:1}),f(d(h),{style:{"margin-right":"8px"},onClick:z},{default:p((()=>[y("新增")])),_:1}),f(d(h),{type:"primary",onClick:$},{default:p((()=>[y("保存")])),_:1})]))])):c("v-if",!0),Y.value?(i(),b(_,{key:1,visible:Y.value,"onUpdate:visible":t[1]||(t[1]=e=>Y.value=e),"is-field-color":e.isFieldColor,row:H.value,onConfirm:G},null,8,["visible","is-field-color","row"])):c("v-if",!0)]))}});export{M as default};
|
@@ -37,9 +37,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
37
37
|
disabledAll?: boolean | undefined;
|
38
38
|
isHeadCheckHide?: boolean | undefined;
|
39
39
|
isShow?: boolean | undefined;
|
40
|
-
contentRender?: ((column: AnyObject, row: AnyObject) =>
|
41
|
-
|
42
|
-
}>) | undefined;
|
40
|
+
contentRender?: ((column: AnyObject, row: AnyObject) => import("vue").VNodeChild) | undefined;
|
41
|
+
hide?: boolean | undefined;
|
43
42
|
}[]>;
|
44
43
|
data: import("vue").Ref<{
|
45
44
|
[x: string]: any;
|
@@ -64,9 +63,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
64
63
|
disabledAll?: boolean | undefined;
|
65
64
|
isHeadCheckHide?: boolean | undefined;
|
66
65
|
isShow?: boolean | undefined;
|
67
|
-
contentRender?: ((column: AnyObject, row: AnyObject) =>
|
68
|
-
|
69
|
-
}>) | undefined;
|
66
|
+
contentRender?: ((column: AnyObject, row: AnyObject) => import("vue").VNodeChild) | undefined;
|
67
|
+
hide?: boolean | undefined;
|
70
68
|
}[];
|
71
69
|
data: {
|
72
70
|
[x: string]: any;
|
@@ -257,6 +255,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
257
255
|
type: PropType<AnyObject[]>;
|
258
256
|
default: () => never[];
|
259
257
|
};
|
258
|
+
primaryKey: {
|
259
|
+
type: StringConstructor;
|
260
|
+
default: string;
|
261
|
+
};
|
262
|
+
titleRender: {
|
263
|
+
type: PropType<(row: AnyObject) => import("vue").VNodeChild>;
|
264
|
+
};
|
260
265
|
}, {
|
261
266
|
fixedWayOptions: {
|
262
267
|
label: string;
|
@@ -355,6 +360,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
355
360
|
type: PropType<AnyObject[]>;
|
356
361
|
default: () => never[];
|
357
362
|
};
|
363
|
+
primaryKey: {
|
364
|
+
type: StringConstructor;
|
365
|
+
default: string;
|
366
|
+
};
|
367
|
+
titleRender: {
|
368
|
+
type: PropType<(row: AnyObject) => import("vue").VNodeChild>;
|
369
|
+
};
|
358
370
|
}>> & {
|
359
371
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
360
372
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -368,10 +380,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
368
380
|
isMultiple: (field: string) => boolean;
|
369
381
|
isRender: (field: string) => boolean;
|
370
382
|
isShow: (field: string) => any;
|
383
|
+
showRelation: (field: string) => boolean;
|
371
384
|
getSortPriorityOptions: () => {
|
372
385
|
label: string;
|
373
386
|
value: number;
|
374
387
|
}[];
|
388
|
+
getSelectText: (field: string) => "密码无需设置" | "主键不可设置" | "不支持脱敏设置" | undefined;
|
375
389
|
selectProps: (field: string) => {
|
376
390
|
valueField: string;
|
377
391
|
labelField: string;
|
@@ -389,12 +403,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
389
403
|
NIcon: any;
|
390
404
|
NColorPicker: any;
|
391
405
|
NPopconfirm: any;
|
406
|
+
NPopover: any;
|
407
|
+
NSpace: any;
|
392
408
|
setStyle: typeof setStyle;
|
393
409
|
setColorInfo: typeof import("./utils").setColorInfo;
|
394
410
|
ReorderTwoOutline: 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<{}>>, {}>;
|
395
411
|
TrashOutline: 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<{}>>, {}>;
|
396
412
|
CreateOutline: 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<{}>>, {}>;
|
397
413
|
HelpCircleOutline: 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<{}>>, {}>;
|
414
|
+
CaretDownOutline: 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<{}>>, {}>;
|
398
415
|
isFunction: (value: any) => value is (...args: any[]) => any;
|
399
416
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("edit" | "updateChecked")[], "edit" | "updateChecked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
400
417
|
element: {
|
@@ -480,6 +497,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
480
497
|
type: PropType<AnyObject[]>;
|
481
498
|
default: () => never[];
|
482
499
|
};
|
500
|
+
primaryKey: {
|
501
|
+
type: StringConstructor;
|
502
|
+
default: string;
|
503
|
+
};
|
504
|
+
titleRender: {
|
505
|
+
type: PropType<(row: AnyObject) => import("vue").VNodeChild>;
|
506
|
+
};
|
483
507
|
}>> & {
|
484
508
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
485
509
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -502,6 +526,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
502
526
|
requiredDisable: boolean;
|
503
527
|
hide: boolean;
|
504
528
|
}>[];
|
529
|
+
primaryKey: string;
|
505
530
|
index: number;
|
506
531
|
columns: FieldSetColumnItem[];
|
507
532
|
element: Partial<{
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,ref as t,reactive as
|
1
|
+
import{defineComponent as e,ref as t,reactive as l,watch as i,openBlock as a,createElementBlock as d,createElementVNode as r,Fragment as s,renderList as c,normalizeStyle as o,unref as n,createBlock as u,withCtx as p,createTextVNode as m,toDisplayString as f,createCommentVNode as h,createVNode as v,mergeProps as k,renderSlot as b}from"vue";import{NCheckbox as x,NPopconfirm as y,NButton as g}from"naive-ui";import _ from"../../../shared/components/VueDraggable/src/vuedraggable.js";import w from"./components/table-row.vue.js";import{cloneDeep as A}from"lodash-es";import{isShowExplicitRequired as F,setStyle as j}from"./utils/index.js";import{COLUMNLIST_MAP as C}from"./constants/filter.js";const R={class:"main-wrapper"},q={class:"main-wrapper__table"},V={class:"main-wrapper__table-header"},H={class:"main-wrapper__table-body",ref:"tableBodyRef"},S=["tabindex"],U={key:0,class:"main-wrapper__table-footer"};var E=e({__name:"FieldFilter",props:{footerFlag:{type:Boolean,default:!0},defaultList:{type:Array,default:()=>[]}},emits:["save","close","reset"],setup(e,{expose:E,emit:L}){const B=e,O=t([]),T=t([]),D=l({columns:O,data:T,onUpdateChecked:function({checked:e,column:t}){const l=!e||G(t.field);t.checkedAll=!l}}),N=()=>{L("save")},P=()=>{L("close")};function $(){T.value=A(B.defaultList),z(),L("reset")}function z(){O.value=Object.entries(C).map((([e,t])=>{const l=function(e){return e?["isShowSearch","filterExplicit","explicitRequired"].includes(e)?"checkbox":["defaultValue"].includes(e)?"select":["customTitle"].includes(e)?"input":["width"].includes(e)?"inputNumber":"text":"text"}(e),i={isShow:!0,title:t,type:l,field:e};return"checkbox"===l&&Object.assign(i,{checkedAll:!G(e),disabledAll:!1,isHeadCheckHide:["filterExplicit","explicitRequired"].includes(e)}),i}))}function G(e){return T.value.some((t=>("explicitRequired"!==e||F(t))&&!t[e]))}return i((()=>B.defaultList),(e=>{e.length>0&&(T.value=A(e),z())}),{immediate:!0,deep:!0}),E({getTableFields:()=>T.value}),(t,l)=>(a(),d("div",R,[r("div",q,[r("div",V,[(a(!0),d(s,null,c(O.value,((e,t)=>(a(),d(s,{key:t},[e.isShow?(a(),d("span",{key:0,class:"table-cell",style:o(n(j)(e,t))},[r("span",null,["checkbox"!==e.type||e.isHeadCheckHide?(a(),d(s,{key:1},[m(f(e.title),1)],64)):(a(),u(n(x),{key:0,checked:e.checkedAll,"onUpdate:checked":[t=>e.checkedAll=t,t=>{return l=t,i=e.field,void T.value.forEach((e=>{("explicitRequired"!==i||"explicitRequired"===i&&F(e))&&(e[i]=l)}));var l,i}],disabled:e.disabledAll},{default:p((()=>[m(f(e.title),1)])),_:2},1032,["checked","onUpdate:checked","disabled"]))])],4)):h("v-if",!0)],64)))),128))]),r("div",H,[v(n(_),{modelValue:T.value,"onUpdate:modelValue":l[0]||(l[0]=e=>T.value=e),animation:"150","item-key":"id",draggable:".item"},{item:p((({element:e,index:t})=>[e.hide?h("v-if",!0):(a(),d("div",{key:0,class:"item",tabindex:t},[v(w,k(D,{element:e,idx:t+1}),null,16,["element","idx"])],8,S))])),_:1},8,["modelValue"])],512)]),e.footerFlag?(a(),d("div",U,[h(" 底部按钮插槽 "),b(t.$slots,"fieldFilterFooter",{},(()=>[v(n(y),{onPositiveClick:$},{trigger:p((()=>[v(n(g),{style:{"margin-right":"8px"}},{default:p((()=>[m("恢复默认设置")])),_:1})])),default:p((()=>[m(" 确认要恢复系统默认设置吗? ")])),_:1}),v(n(g),{style:{"margin-right":"8px"},onClick:P},{default:p((()=>[m("取消")])),_:1}),v(n(g),{type:"primary",onClick:N},{default:p((()=>[m("保存")])),_:1})]))])):h("v-if",!0)]))}});export{E as default};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PropType } from 'vue';
|
1
|
+
import { PropType, VNodeChild } from 'vue';
|
2
2
|
import { setStyle, isDraggableItem } from './utils';
|
3
3
|
import { FieldSetItem, FieldSetColumnName, FieldSetColumnItem } from '../../../components/field-set/src/types';
|
4
4
|
import { AnyObject } from '../../../shared/types';
|
@@ -79,18 +79,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
79
79
|
columnWidthProps: {
|
80
80
|
type: ObjectConstructor;
|
81
81
|
};
|
82
|
-
|
83
|
-
type:
|
82
|
+
hideExpressionConfig: {
|
83
|
+
type: PropType<{
|
84
|
+
show: boolean;
|
85
|
+
option: AnyObject[];
|
86
|
+
}>;
|
84
87
|
};
|
85
|
-
|
86
|
-
type:
|
87
|
-
default:
|
88
|
+
primaryKey: {
|
89
|
+
type: StringConstructor;
|
90
|
+
default: string;
|
91
|
+
};
|
92
|
+
titleRender: {
|
93
|
+
type: PropType<(row: FieldSetItem) => VNodeChild>;
|
88
94
|
};
|
89
95
|
}, {
|
90
96
|
fieldsMapping: Record<string, string>;
|
91
|
-
attrs: {
|
92
|
-
[x: string]: unknown;
|
93
|
-
};
|
94
97
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
95
98
|
fields: {
|
96
99
|
type: PropType<Partial<{
|
@@ -168,12 +171,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
168
171
|
columnWidthProps: {
|
169
172
|
type: ObjectConstructor;
|
170
173
|
};
|
171
|
-
|
172
|
-
type:
|
174
|
+
hideExpressionConfig: {
|
175
|
+
type: PropType<{
|
176
|
+
show: boolean;
|
177
|
+
option: AnyObject[];
|
178
|
+
}>;
|
173
179
|
};
|
174
|
-
|
175
|
-
type:
|
176
|
-
default:
|
180
|
+
primaryKey: {
|
181
|
+
type: StringConstructor;
|
182
|
+
default: string;
|
183
|
+
};
|
184
|
+
titleRender: {
|
185
|
+
type: PropType<(row: FieldSetItem) => VNodeChild>;
|
177
186
|
};
|
178
187
|
}>> & {
|
179
188
|
onSave?: ((...args: any[]) => any) | undefined;
|
@@ -184,6 +193,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
184
193
|
resetKey: import("vue").Ref<number>;
|
185
194
|
keyword: import("vue").Ref<string>;
|
186
195
|
tableBodyRef: import("vue").Ref<HTMLDivElement | undefined>;
|
196
|
+
tableRef: import("vue").Ref<any>;
|
187
197
|
newFields: import("vue").Ref<AnyObject[]>;
|
188
198
|
defaultColumns: FieldSetColumnItem[];
|
189
199
|
columns: import("vue").Ref<{
|
@@ -195,10 +205,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
195
205
|
disabledAll?: boolean | undefined;
|
196
206
|
isHeadCheckHide?: boolean | undefined;
|
197
207
|
isShow?: boolean | undefined;
|
198
|
-
contentRender?: ((column: AnyObject, row: AnyObject) =>
|
199
|
-
|
200
|
-
}>) | undefined;
|
208
|
+
contentRender?: ((column: AnyObject, row: AnyObject) => VNodeChild) | undefined;
|
209
|
+
hide?: boolean | undefined;
|
201
210
|
}[]>;
|
211
|
+
itemWidth: import("vue").ComputedRef<string>;
|
202
212
|
fieldList: import("vue").ComputedRef<AnyObject[]>;
|
203
213
|
hasFieldDescribe: import("vue").ComputedRef<boolean>;
|
204
214
|
rowProps: {
|
@@ -211,9 +221,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
211
221
|
disabledAll?: boolean | undefined;
|
212
222
|
isHeadCheckHide?: boolean | undefined;
|
213
223
|
isShow?: boolean | undefined;
|
214
|
-
contentRender?: ((column: AnyObject, row: AnyObject) =>
|
215
|
-
|
216
|
-
}>) | undefined;
|
224
|
+
contentRender?: ((column: AnyObject, row: AnyObject) => VNodeChild) | undefined;
|
225
|
+
hide?: boolean | undefined;
|
217
226
|
}[];
|
218
227
|
data: AnyObject[];
|
219
228
|
onUpdateChecked: ({ checked, column }: {
|
@@ -225,7 +234,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
225
234
|
fieldDescribeMode: "column" | "tooltip";
|
226
235
|
developMode: boolean;
|
227
236
|
columnWidthProps: Record<string, any> | undefined;
|
228
|
-
hideExpressionOption: AnyObject[];
|
237
|
+
hideExpressionOption: AnyObject[] | never[];
|
238
|
+
primaryKey: string;
|
239
|
+
titleRender: ((row: FieldSetItem) => VNodeChild) | undefined;
|
229
240
|
};
|
230
241
|
searchData: {
|
231
242
|
keyword: string;
|
@@ -412,6 +423,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
412
423
|
type: PropType<AnyObject[]>;
|
413
424
|
default: () => never[];
|
414
425
|
};
|
426
|
+
primaryKey: {
|
427
|
+
type: StringConstructor;
|
428
|
+
default: string;
|
429
|
+
};
|
430
|
+
titleRender: {
|
431
|
+
type: PropType<(row: AnyObject) => VNodeChild>;
|
432
|
+
};
|
415
433
|
}, {
|
416
434
|
fixedWayOptions: {
|
417
435
|
label: string;
|
@@ -510,6 +528,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
510
528
|
type: PropType<AnyObject[]>;
|
511
529
|
default: () => never[];
|
512
530
|
};
|
531
|
+
primaryKey: {
|
532
|
+
type: StringConstructor;
|
533
|
+
default: string;
|
534
|
+
};
|
535
|
+
titleRender: {
|
536
|
+
type: PropType<(row: AnyObject) => VNodeChild>;
|
537
|
+
};
|
513
538
|
}>> & {
|
514
539
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
515
540
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -523,10 +548,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
523
548
|
isMultiple: (field: string) => boolean;
|
524
549
|
isRender: (field: string) => boolean;
|
525
550
|
isShow: (field: string) => any;
|
551
|
+
showRelation: (field: string) => boolean;
|
526
552
|
getSortPriorityOptions: () => {
|
527
553
|
label: string;
|
528
554
|
value: number;
|
529
555
|
}[];
|
556
|
+
getSelectText: (field: string) => "密码无需设置" | "主键不可设置" | "不支持脱敏设置" | undefined;
|
530
557
|
selectProps: (field: string) => {
|
531
558
|
valueField: string;
|
532
559
|
labelField: string;
|
@@ -544,12 +571,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
544
571
|
NIcon: any;
|
545
572
|
NColorPicker: any;
|
546
573
|
NPopconfirm: any;
|
574
|
+
NPopover: any;
|
575
|
+
NSpace: any;
|
547
576
|
setStyle: typeof setStyle;
|
548
577
|
setColorInfo: typeof import("./utils").setColorInfo;
|
549
578
|
ReorderTwoOutline: 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<{}>>, {}>;
|
550
579
|
TrashOutline: 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<{}>>, {}>;
|
551
580
|
CreateOutline: 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<{}>>, {}>;
|
552
581
|
HelpCircleOutline: 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<{}>>, {}>;
|
582
|
+
CaretDownOutline: 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<{}>>, {}>;
|
553
583
|
isFunction: (value: any) => value is (...args: any[]) => any;
|
554
584
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("edit" | "updateChecked")[], "edit" | "updateChecked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
555
585
|
element: {
|
@@ -635,6 +665,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
635
665
|
type: PropType<AnyObject[]>;
|
636
666
|
default: () => never[];
|
637
667
|
};
|
668
|
+
primaryKey: {
|
669
|
+
type: StringConstructor;
|
670
|
+
default: string;
|
671
|
+
};
|
672
|
+
titleRender: {
|
673
|
+
type: PropType<(row: AnyObject) => VNodeChild>;
|
674
|
+
};
|
638
675
|
}>> & {
|
639
676
|
onUpdateChecked?: ((...args: any[]) => any) | undefined;
|
640
677
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -657,6 +694,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
657
694
|
requiredDisable: boolean;
|
658
695
|
hide: boolean;
|
659
696
|
}>[];
|
697
|
+
primaryKey: string;
|
660
698
|
index: number;
|
661
699
|
columns: FieldSetColumnItem[];
|
662
700
|
element: Partial<{
|
@@ -770,20 +808,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
770
808
|
columnWidthProps: {
|
771
809
|
type: ObjectConstructor;
|
772
810
|
};
|
773
|
-
|
774
|
-
type:
|
811
|
+
hideExpressionConfig: {
|
812
|
+
type: PropType<{
|
813
|
+
show: boolean;
|
814
|
+
option: AnyObject[];
|
815
|
+
}>;
|
775
816
|
};
|
776
|
-
|
777
|
-
type:
|
778
|
-
default:
|
817
|
+
primaryKey: {
|
818
|
+
type: StringConstructor;
|
819
|
+
default: string;
|
820
|
+
};
|
821
|
+
titleRender: {
|
822
|
+
type: PropType<(row: FieldSetItem) => VNodeChild>;
|
779
823
|
};
|
780
824
|
}>> & {
|
781
825
|
onSave?: ((...args: any[]) => any) | undefined;
|
782
826
|
onClose?: ((...args: any[]) => any) | undefined;
|
783
827
|
onReset?: ((...args: any[]) => any) | undefined;
|
784
828
|
}, {
|
829
|
+
primaryKey: string;
|
785
830
|
type: string;
|
786
|
-
isEdit: boolean;
|
787
831
|
fields: Partial<{
|
788
832
|
[key: string]: any;
|
789
833
|
id: string;
|
@@ -802,16 +846,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
802
846
|
requiredDisable: boolean;
|
803
847
|
hide: boolean;
|
804
848
|
}>[];
|
849
|
+
showSearch: boolean;
|
850
|
+
isEdit: boolean;
|
805
851
|
rowDraggable: boolean;
|
806
852
|
showSeq: boolean;
|
807
853
|
developMode: boolean;
|
808
854
|
footerFlag: boolean;
|
809
855
|
fieldDescribeMode: "column" | "tooltip";
|
810
|
-
hideExpressionOption: AnyObject[];
|
811
|
-
showSearch: boolean;
|
812
856
|
customColumns: FieldSetColumnItem[];
|
813
857
|
showSortPriority: boolean;
|
814
858
|
showHeadFilter: boolean;
|
815
|
-
showHideExpression: boolean;
|
816
859
|
}>;
|
817
860
|
export default _default;
|