cnhis-design-vue 3.1.16-beta.1 → 3.1.16-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/es/packages/big-table/index.d.ts +651 -1
  2. package/es/packages/big-table/src/BigTable.vue.d.ts +674 -23
  3. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +46 -18
  4. package/es/packages/big-table/src/bigTableProps.d.ts +4 -0
  5. package/es/packages/big-table/src/bigTableProps.js +2 -1
  6. package/es/packages/big-table/src/bigTableState.d.ts +2 -0
  7. package/es/packages/big-table/src/bigTableState.js +3 -1
  8. package/es/packages/big-table/src/components/edit-form/edit-time.js +1 -1
  9. package/es/packages/big-table/src/hooks/index.d.ts +9 -0
  10. package/es/packages/big-table/src/hooks/index.js +9 -0
  11. package/es/packages/big-table/src/hooks/useAnchor.d.ts +7 -0
  12. package/es/packages/big-table/src/hooks/useAnchor.js +41 -0
  13. package/es/packages/big-table/src/hooks/useColumnConfigAdaptor.js +24 -8
  14. package/es/packages/big-table/src/hooks/useEdit.js +1 -1
  15. package/es/packages/big-table/src/hooks/useEvent.d.ts +1 -1
  16. package/es/packages/big-table/src/hooks/useEvent.js +3 -2
  17. package/es/packages/button-print/index.d.ts +2 -2
  18. package/es/packages/button-print/src/ButtonPrint.vue.d.ts +2 -2
  19. package/es/packages/button-print/src/components/IdentityVerification.vue.d.ts +2 -2
  20. package/es/packages/drag-layout/index.d.ts +2 -2
  21. package/es/packages/drag-layout/src/DragLayout.vue.d.ts +2 -2
  22. package/es/packages/fabric-chart/src/FabricChart.js +2 -1
  23. package/es/packages/field-set/index.d.ts +1 -1
  24. package/es/packages/field-set/src/FieldSet.vue.d.ts +1 -1
  25. package/es/packages/form-config/index.d.ts +17 -35
  26. package/es/packages/form-config/src/FormConfig.vue.d.ts +17 -35
  27. package/es/packages/form-config/src/components/FormConfigCreator.vue.d.ts +6 -15
  28. package/es/packages/form-config/src/components/FormConfigEdit.js +1 -1
  29. package/es/packages/form-config/src/components/FormConfigEdit.vue.d.ts +8 -17
  30. package/es/packages/form-config/src/constants/index.d.ts +47 -13
  31. package/es/packages/form-config/src/constants/index.js +52 -14
  32. package/es/packages/form-config/src/hooks/index.d.ts +1 -0
  33. package/es/packages/form-config/src/hooks/index.js +1 -0
  34. package/es/packages/form-config/src/hooks/useConfigurationField.js +6 -43
  35. package/es/packages/form-config/src/hooks/usePresetRenderer.js +1 -1
  36. package/es/packages/form-config/src/hooks/useSortable.d.ts +0 -1
  37. package/es/packages/form-render/index.d.ts +6 -15
  38. package/es/packages/form-render/src/FormRender.js +3 -4
  39. package/es/packages/form-render/src/FormRender.vue.d.ts +7 -16
  40. package/es/packages/form-render/src/components/renderer/cascader.js +1 -1
  41. package/es/packages/form-render/src/components/renderer/checkbox.js +1 -1
  42. package/es/packages/form-render/src/components/renderer/combination/index.js +2 -1
  43. package/es/packages/form-render/src/components/renderer/complex.js +1 -1
  44. package/es/packages/form-render/src/components/renderer/input.js +2 -1
  45. package/es/packages/form-render/src/components/renderer/inputNumber.js +2 -1
  46. package/es/packages/form-render/src/components/renderer/radio.js +1 -1
  47. package/es/packages/form-render/src/components/renderer/select.js +1 -1
  48. package/es/packages/form-render/src/components/renderer/slider.js +1 -1
  49. package/es/packages/form-render/src/components/renderer/switch.js +1 -1
  50. package/es/packages/form-render/src/components/renderer/textarea.js +1 -1
  51. package/es/packages/form-render/src/hooks/useBusinessBinding.d.ts +12 -9
  52. package/es/packages/form-render/src/hooks/useBusinessBinding.js +58 -58
  53. package/es/packages/form-render/src/hooks/useFieldListAdaptor.js +9 -2
  54. package/es/packages/form-render/src/hooks/useFormContext.d.ts +2 -1
  55. package/es/packages/form-render/src/hooks/useFormContext.js +2 -2
  56. package/es/packages/form-render/src/hooks/useTypeNormalize.js +1 -1
  57. package/es/packages/form-render/src/types/index.d.ts +0 -8
  58. package/es/packages/form-render/src/utils/business.d.ts +12 -0
  59. package/es/packages/form-render/src/utils/business.js +65 -0
  60. package/es/packages/form-render/src/utils/dom.d.ts +6 -0
  61. package/es/packages/form-render/src/utils/dom.js +14 -0
  62. package/es/packages/form-render/src/utils/index.d.ts +5 -25
  63. package/es/packages/form-render/src/utils/index.js +5 -137
  64. package/es/packages/form-render/src/utils/schema.d.ts +15 -0
  65. package/es/packages/form-render/src/utils/schema.js +83 -0
  66. package/es/packages/scale-view/src/hooks/use-component.d.ts +7 -7
  67. package/es/packages/select-label/index.d.ts +10 -10
  68. package/es/packages/select-label/src/LabelFormContent.vue.d.ts +3 -3
  69. package/es/packages/select-label/src/SelectLabel.vue.d.ts +7 -7
  70. package/es/packages/shortcut-setter/index.d.ts +6 -15
  71. package/es/packages/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -15
  72. package/es/packages/time-line/index.d.ts +2 -2
  73. package/es/packages/time-line/src/TimeLine.vue.d.ts +2 -2
  74. package/global.d.ts +8 -8
  75. package/package.json +1 -1
@@ -1,3 +1,5 @@
1
+ /// <reference types="lodash" />
2
+ import { nextTick } from 'vue';
1
3
  declare const _default: import("vue").DefineComponent<{
2
4
  data: {
3
5
  type: ArrayConstructor;
@@ -197,6 +199,10 @@ declare const _default: import("vue").DefineComponent<{
197
199
  };
198
200
  resetInlineBatchEdit: FunctionConstructor;
199
201
  resetBatchEditRowStatus: FunctionConstructor;
202
+ anchor: {
203
+ type: ArrayConstructor;
204
+ default: () => never[];
205
+ };
200
206
  }, {
201
207
  _hideAllWrap: null;
202
208
  _beforeSearchConvert: never[];
@@ -1162,7 +1168,8 @@ declare const _default: import("vue").DefineComponent<{
1162
1168
  paddingLarge: string;
1163
1169
  paddingRoundTiny: string;
1164
1170
  paddingRoundSmall: string;
1165
- paddingRoundMedium: string; /**
1171
+ paddingRoundMedium: string;
1172
+ paddingRoundLarge: string; /**
1166
1173
  * 初始化props
1167
1174
  * @param {*} unionItem
1168
1175
  * @param {*} row
@@ -1170,7 +1177,6 @@ declare const _default: import("vue").DefineComponent<{
1170
1177
  * @param {*} $rowIndex
1171
1178
  * @returns
1172
1179
  */
1173
- paddingRoundLarge: string;
1174
1180
  iconMarginTiny: string;
1175
1181
  iconMarginSmall: string;
1176
1182
  iconMarginMedium: string;
@@ -1233,7 +1239,10 @@ declare const _default: import("vue").DefineComponent<{
1233
1239
  borderPressed: string;
1234
1240
  borderFocus: string;
1235
1241
  borderDisabled: string;
1236
- rippleColor: string;
1242
+ rippleColor: string; /**
1243
+ * 单个form提交失败
1244
+ * @param {*} obj
1245
+ */
1237
1246
  colorPrimary: string;
1238
1247
  colorHoverPrimary: string;
1239
1248
  colorPressedPrimary: string;
@@ -2515,6 +2524,8 @@ declare const _default: import("vue").DefineComponent<{
2515
2524
  isHover: boolean;
2516
2525
  isCurrent: boolean;
2517
2526
  };
2527
+ anchorValue: string;
2528
+ anchorList: never[];
2518
2529
  };
2519
2530
  state: {
2520
2531
  curAbleCheckedLen: number;
@@ -2588,6 +2599,8 @@ declare const _default: import("vue").DefineComponent<{
2588
2599
  isHover: boolean;
2589
2600
  isCurrent: boolean;
2590
2601
  };
2602
+ anchorValue: string;
2603
+ anchorList: never[];
2591
2604
  };
2592
2605
  emit: (event: string, ...args: any[]) => void;
2593
2606
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -2789,6 +2802,10 @@ declare const _default: import("vue").DefineComponent<{
2789
2802
  };
2790
2803
  resetInlineBatchEdit: FunctionConstructor;
2791
2804
  resetBatchEditRowStatus: FunctionConstructor;
2805
+ anchor: {
2806
+ type: ArrayConstructor;
2807
+ default: () => never[];
2808
+ };
2792
2809
  }>> & {
2793
2810
  [x: `on${string}`]: ((...args: any[]) => any) | undefined;
2794
2811
  }>>;
@@ -2859,6 +2876,11 @@ declare const _default: import("vue").DefineComponent<{
2859
2876
  toggleExpandMethod: ({ expanded, row }: any) => boolean;
2860
2877
  loadExpandMethod: ({ row, rowIndex }: any) => Promise<void>;
2861
2878
  nestHandleClickRow: (table: any, data: any) => void;
2879
+ initAnchor: () => void;
2880
+ updateAnchor: (field: string) => void;
2881
+ anchorEvent: ({ scrollLeft }: {
2882
+ scrollLeft: number;
2883
+ }) => void;
2862
2884
  keyDown: ({ $event }: {
2863
2885
  $event: KeyboardEvent;
2864
2886
  }) => void;
@@ -2886,7 +2908,7 @@ declare const _default: import("vue").DefineComponent<{
2886
2908
  loadColumn: (config: any) => void;
2887
2909
  separate: (data: import("../../../src/types").AnyObject[], rawData: import("../../../src/types").AnyObject[]) => Promise<import("../../../src/types").AnyObject[]>;
2888
2910
  onColumnResize: import("vxe-table").VxeTableEvents.ResizableChange;
2889
- separateHandle: import("../../../../es/packages/big-table/src/hooks/useSeparateRow").SeparateHandle;
2911
+ separateHandle: import("./hooks").SeparateHandle;
2890
2912
  onResizableChange: (payload: any) => void;
2891
2913
  loadData: (data: any) => Promise<void>;
2892
2914
  setGroupTitleToFristColumnFieldData: (formatList: any) => void;
@@ -3299,22 +3321,6 @@ declare const _default: import("vue").DefineComponent<{
3299
3321
  boxShadow1: string;
3300
3322
  boxShadow2: string;
3301
3323
  boxShadow3: string;
3302
- /**
3303
- * 针对 bigTable 的设置列
3304
- * type: 列的类型
3305
- * field: 列字段名(注:属性层级越深,渲染性能将直线下降)
3306
- * title: 列标题(支持开启国际化)
3307
- * width: 列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 "%" 或者 "min-width" 布局)
3308
- * minWidth: 最小列宽度;会自动将剩余空间按比例分配
3309
- * resizable: 列是否允许拖动列宽调整大小
3310
- * visible: 列是否显示
3311
- * fixed: 将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)
3312
- * align: 列对齐方式
3313
- * headerAlign: 表头列的对齐方式
3314
- * footerAlign: 表尾列的对齐方式
3315
- * formatter: 格式化显示内容 Function({cellValue, row, column})
3316
- * sortable: 是否允许列排序
3317
- */
3318
3324
  fontFamily: string;
3319
3325
  fontFamilyMono: string;
3320
3326
  fontWeight: string;
@@ -4015,6 +4021,648 @@ declare const _default: import("vue").DefineComponent<{
4015
4021
  internalExtraClass: string[];
4016
4022
  arrow: boolean | undefined;
4017
4023
  }>;
4024
+ NTabs: import("vue").DefineComponent<{
4025
+ readonly value: import("vue").PropType<string | number>;
4026
+ readonly defaultValue: import("vue").PropType<string | number>;
4027
+ readonly trigger: {
4028
+ readonly type: import("vue").PropType<"click" | "hover">;
4029
+ readonly default: "click";
4030
+ };
4031
+ readonly type: {
4032
+ readonly type: import("vue").PropType<import("naive-ui/es/tabs/src/interface").TabsType>;
4033
+ readonly default: "bar";
4034
+ };
4035
+ readonly closable: BooleanConstructor;
4036
+ readonly justifyContent: import("vue").PropType<"start" | "end" | "space-around" | "space-between" | "space-evenly" | "center">;
4037
+ readonly size: {
4038
+ readonly type: import("vue").PropType<"small" | "medium" | "large">;
4039
+ readonly default: "medium";
4040
+ };
4041
+ readonly tabStyle: import("vue").PropType<string | import("vue").CSSProperties>;
4042
+ readonly barWidth: NumberConstructor;
4043
+ readonly paneClass: StringConstructor;
4044
+ readonly paneStyle: import("vue").PropType<string | import("vue").CSSProperties>;
4045
+ readonly addable: import("vue").PropType<import("naive-ui/es/tabs/src/interface").Addable>;
4046
+ readonly tabsPadding: {
4047
+ readonly type: NumberConstructor;
4048
+ readonly default: 0;
4049
+ };
4050
+ readonly animated: BooleanConstructor;
4051
+ readonly onBeforeLeave: import("vue").PropType<import("naive-ui/es/tabs/src/interface").OnBeforeLeave>;
4052
+ readonly onAdd: import("vue").PropType<() => void>;
4053
+ readonly 'onUpdate:value': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/tabs/src/interface").OnUpdateValue>>;
4054
+ readonly onUpdateValue: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/tabs/src/interface").OnUpdateValue>>;
4055
+ readonly onClose: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/tabs/src/interface").OnClose>>;
4056
+ readonly labelSize: import("vue").PropType<"small" | "medium" | "large">;
4057
+ readonly activeName: import("vue").PropType<string | number>;
4058
+ readonly onActiveNameChange: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: never) => void>>;
4059
+ readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Tabs", {
4060
+ colorSegment: string;
4061
+ tabFontSizeCard: string;
4062
+ tabTextColorLine: string;
4063
+ tabTextColorActiveLine: string;
4064
+ tabTextColorHoverLine: string;
4065
+ tabTextColorDisabledLine: string;
4066
+ tabTextColorSegment: string;
4067
+ tabTextColorActiveSegment: string;
4068
+ tabTextColorHoverSegment: string;
4069
+ tabTextColorDisabledSegment: string;
4070
+ tabTextColorBar: string;
4071
+ tabTextColorActiveBar: string;
4072
+ tabTextColorHoverBar: string;
4073
+ tabTextColorDisabledBar: string;
4074
+ tabTextColorCard: string;
4075
+ tabTextColorHoverCard: string;
4076
+ tabTextColorActiveCard: string;
4077
+ tabTextColorDisabledCard: string;
4078
+ barColor: string;
4079
+ closeIconColor: string; /**
4080
+ * 针对 bigTable 的设置列
4081
+ * type: 列的类型
4082
+ * field: 列字段名(注:属性层级越深,渲染性能将直线下降)
4083
+ * title: 列标题(支持开启国际化)
4084
+ * width: 列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 "%" 或者 "min-width" 布局)
4085
+ * minWidth: 最小列宽度;会自动将剩余空间按比例分配
4086
+ * resizable: 列是否允许拖动列宽调整大小
4087
+ * visible: 列是否显示
4088
+ * fixed: 将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)
4089
+ * align: 列对齐方式
4090
+ * headerAlign: 表头列的对齐方式
4091
+ * footerAlign: 表尾列的对齐方式
4092
+ * formatter: 格式化显示内容 Function({cellValue, row, column})
4093
+ * sortable: 是否允许列排序
4094
+ */
4095
+ closeIconColorHover: string;
4096
+ closeIconColorPressed: string;
4097
+ closeColorHover: string;
4098
+ closeColorPressed: string;
4099
+ closeBorderRadius: string;
4100
+ tabColor: string;
4101
+ tabColorSegment: string;
4102
+ tabBorderColor: string;
4103
+ tabFontWeightActive: string;
4104
+ tabFontWeight: string;
4105
+ tabBorderRadius: string;
4106
+ paneTextColor: string;
4107
+ fontWeightStrong: string;
4108
+ tabFontSizeSmall: string;
4109
+ tabFontSizeMedium: string;
4110
+ tabFontSizeLarge: string;
4111
+ tabGapSmallLine: string;
4112
+ tabGapMediumLine: string;
4113
+ tabGapLargeLine: string;
4114
+ tabPaddingSmallLine: string;
4115
+ tabPaddingMediumLine: string;
4116
+ tabPaddingLargeLine: string;
4117
+ tabGapSmallBar: string;
4118
+ tabGapMediumBar: string;
4119
+ tabGapLargeBar: string;
4120
+ tabPaddingSmallBar: string;
4121
+ tabPaddingMediumBar: string;
4122
+ tabPaddingLargeBar: string;
4123
+ tabGapSmallCard: string;
4124
+ tabGapMediumCard: string;
4125
+ tabGapLargeCard: string;
4126
+ tabPaddingSmallCard: string;
4127
+ tabPaddingMediumCard: string;
4128
+ tabPaddingLargeCard: string;
4129
+ tabPaddingSmallSegment: string;
4130
+ tabPaddingMediumSegment: string;
4131
+ tabPaddingLargeSegment: string;
4132
+ tabGapSmallSegment: string;
4133
+ tabGapMediumSegment: string;
4134
+ tabGapLargeSegment: string;
4135
+ panePaddingSmall: string;
4136
+ panePaddingMedium: string;
4137
+ panePaddingLarge: string;
4138
+ closeSize: string;
4139
+ closeIconSize: string;
4140
+ }, any>>;
4141
+ readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tabs", {
4142
+ colorSegment: string;
4143
+ tabFontSizeCard: string;
4144
+ tabTextColorLine: string;
4145
+ tabTextColorActiveLine: string;
4146
+ tabTextColorHoverLine: string;
4147
+ tabTextColorDisabledLine: string;
4148
+ tabTextColorSegment: string;
4149
+ tabTextColorActiveSegment: string;
4150
+ tabTextColorHoverSegment: string;
4151
+ tabTextColorDisabledSegment: string;
4152
+ tabTextColorBar: string;
4153
+ tabTextColorActiveBar: string;
4154
+ tabTextColorHoverBar: string;
4155
+ tabTextColorDisabledBar: string;
4156
+ tabTextColorCard: string;
4157
+ tabTextColorHoverCard: string;
4158
+ tabTextColorActiveCard: string;
4159
+ tabTextColorDisabledCard: string;
4160
+ barColor: string;
4161
+ closeIconColor: string;
4162
+ closeIconColorHover: string;
4163
+ closeIconColorPressed: string;
4164
+ closeColorHover: string;
4165
+ closeColorPressed: string;
4166
+ closeBorderRadius: string;
4167
+ tabColor: string;
4168
+ tabColorSegment: string;
4169
+ tabBorderColor: string;
4170
+ tabFontWeightActive: string;
4171
+ tabFontWeight: string;
4172
+ tabBorderRadius: string;
4173
+ paneTextColor: string;
4174
+ fontWeightStrong: string;
4175
+ tabFontSizeSmall: string;
4176
+ tabFontSizeMedium: string;
4177
+ tabFontSizeLarge: string;
4178
+ tabGapSmallLine: string;
4179
+ tabGapMediumLine: string;
4180
+ tabGapLargeLine: string;
4181
+ tabPaddingSmallLine: string;
4182
+ tabPaddingMediumLine: string;
4183
+ tabPaddingLargeLine: string;
4184
+ tabGapSmallBar: string;
4185
+ tabGapMediumBar: string;
4186
+ tabGapLargeBar: string;
4187
+ tabPaddingSmallBar: string;
4188
+ tabPaddingMediumBar: string;
4189
+ tabPaddingLargeBar: string;
4190
+ tabGapSmallCard: string;
4191
+ tabGapMediumCard: string;
4192
+ tabGapLargeCard: string;
4193
+ tabPaddingSmallCard: string;
4194
+ tabPaddingMediumCard: string;
4195
+ tabPaddingLargeCard: string;
4196
+ tabPaddingSmallSegment: string;
4197
+ tabPaddingMediumSegment: string;
4198
+ tabPaddingLargeSegment: string;
4199
+ tabGapSmallSegment: string;
4200
+ tabGapMediumSegment: string;
4201
+ tabGapLargeSegment: string;
4202
+ panePaddingSmall: string;
4203
+ panePaddingMedium: string;
4204
+ panePaddingLarge: string;
4205
+ closeSize: string;
4206
+ closeIconSize: string;
4207
+ }, any>>>;
4208
+ readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tabs", {
4209
+ colorSegment: string;
4210
+ tabFontSizeCard: string;
4211
+ tabTextColorLine: string;
4212
+ tabTextColorActiveLine: string;
4213
+ tabTextColorHoverLine: string;
4214
+ tabTextColorDisabledLine: string;
4215
+ tabTextColorSegment: string;
4216
+ tabTextColorActiveSegment: string;
4217
+ tabTextColorHoverSegment: string;
4218
+ tabTextColorDisabledSegment: string;
4219
+ tabTextColorBar: string;
4220
+ tabTextColorActiveBar: string;
4221
+ tabTextColorHoverBar: string;
4222
+ tabTextColorDisabledBar: string;
4223
+ tabTextColorCard: string;
4224
+ tabTextColorHoverCard: string;
4225
+ tabTextColorActiveCard: string;
4226
+ tabTextColorDisabledCard: string;
4227
+ barColor: string;
4228
+ closeIconColor: string;
4229
+ closeIconColorHover: string;
4230
+ closeIconColorPressed: string;
4231
+ closeColorHover: string;
4232
+ closeColorPressed: string;
4233
+ closeBorderRadius: string;
4234
+ tabColor: string;
4235
+ tabColorSegment: string;
4236
+ tabBorderColor: string;
4237
+ tabFontWeightActive: string;
4238
+ tabFontWeight: string;
4239
+ tabBorderRadius: string;
4240
+ paneTextColor: string;
4241
+ fontWeightStrong: string;
4242
+ tabFontSizeSmall: string;
4243
+ tabFontSizeMedium: string;
4244
+ tabFontSizeLarge: string;
4245
+ tabGapSmallLine: string;
4246
+ tabGapMediumLine: string;
4247
+ tabGapLargeLine: string;
4248
+ tabPaddingSmallLine: string;
4249
+ tabPaddingMediumLine: string;
4250
+ tabPaddingLargeLine: string;
4251
+ tabGapSmallBar: string;
4252
+ tabGapMediumBar: string;
4253
+ tabGapLargeBar: string;
4254
+ tabPaddingSmallBar: string;
4255
+ tabPaddingMediumBar: string;
4256
+ tabPaddingLargeBar: string;
4257
+ tabGapSmallCard: string;
4258
+ tabGapMediumCard: string;
4259
+ tabGapLargeCard: string;
4260
+ tabPaddingSmallCard: string;
4261
+ tabPaddingMediumCard: string;
4262
+ tabPaddingLargeCard: string;
4263
+ tabPaddingSmallSegment: string;
4264
+ tabPaddingMediumSegment: string;
4265
+ tabPaddingLargeSegment: string;
4266
+ tabGapSmallSegment: string;
4267
+ tabGapMediumSegment: string;
4268
+ tabGapLargeSegment: string;
4269
+ panePaddingSmall: string;
4270
+ panePaddingMedium: string;
4271
+ panePaddingLarge: string;
4272
+ closeSize: string;
4273
+ closeIconSize: string;
4274
+ }, any>>>;
4275
+ }, {
4276
+ syncBarPosition: () => void;
4277
+ mergedClsPrefix: import("vue").ComputedRef<string>;
4278
+ mergedValue: import("vue").ComputedRef<string | number | null>;
4279
+ renderedNames: Set<string | number>;
4280
+ tabsRailElRef: import("vue").Ref<HTMLElement | null>;
4281
+ tabsPaneWrapperRef: import("vue").Ref<HTMLElement | null>;
4282
+ tabsElRef: import("vue").Ref<HTMLElement | null>;
4283
+ barElRef: import("vue").Ref<HTMLElement | null>;
4284
+ addTabInstRef: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null>;
4285
+ xScrollInstRef: import("vue").Ref<(import("vueuc").VXScrollInst & {
4286
+ $: import("vue").ComponentInternalInstance;
4287
+ $data: {};
4288
+ $props: {};
4289
+ $attrs: {
4290
+ [x: string]: unknown;
4291
+ };
4292
+ $refs: {
4293
+ [x: string]: unknown;
4294
+ };
4295
+ $slots: Readonly<{
4296
+ [name: string]: import("vue").Slot | undefined;
4297
+ }>;
4298
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
4299
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
4300
+ $emit: (event: string, ...args: any[]) => void;
4301
+ $el: any;
4302
+ $options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}> & {
4303
+ beforeCreate?: (() => void) | (() => void)[] | undefined;
4304
+ created?: (() => void) | (() => void)[] | undefined;
4305
+ beforeMount?: (() => void) | (() => void)[] | undefined;
4306
+ mounted?: (() => void) | (() => void)[] | undefined;
4307
+ beforeUpdate?: (() => void) | (() => void)[] | undefined;
4308
+ updated?: (() => void) | (() => void)[] | undefined;
4309
+ activated?: (() => void) | (() => void)[] | undefined;
4310
+ deactivated?: (() => void) | (() => void)[] | undefined;
4311
+ beforeDestroy?: (() => void) | (() => void)[] | undefined;
4312
+ beforeUnmount?: (() => void) | (() => void)[] | undefined;
4313
+ destroyed?: (() => void) | (() => void)[] | undefined;
4314
+ unmounted?: (() => void) | (() => void)[] | undefined;
4315
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
4316
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
4317
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[] | undefined;
4318
+ };
4319
+ $forceUpdate: () => void;
4320
+ $nextTick: typeof nextTick;
4321
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
4322
+ } & import("vue").ShallowUnwrapRef<{}> & import("vue").ComponentCustomProperties) | null>;
4323
+ scrollWrapperElRef: import("vue").Ref<HTMLElement | null>;
4324
+ addTabFixed: import("vue").Ref<boolean>;
4325
+ tabWrapperStyle: import("vue").ComputedRef<{
4326
+ display: string;
4327
+ justifyContent: "start" | "end" | "space-around" | "space-between" | "space-evenly" | "center";
4328
+ } | undefined>;
4329
+ handleNavResize: import("lodash").DebouncedFunc<(entry: ResizeObserverEntry) => void>;
4330
+ mergedSize: import("vue").ComputedRef<"small" | "medium" | "large">;
4331
+ handleScroll: import("lodash").DebouncedFunc<(e: Event) => void>;
4332
+ handleTabsResize: import("lodash").DebouncedFunc<(entry: ResizeObserverEntry) => void>;
4333
+ cssVars: import("vue").ComputedRef<{
4334
+ '--n-bezier': string;
4335
+ '--n-color-segment': string;
4336
+ '--n-bar-color': string;
4337
+ '--n-tab-font-size': string;
4338
+ '--n-tab-text-color': string;
4339
+ '--n-tab-text-color-active': string;
4340
+ '--n-tab-text-color-disabled': string;
4341
+ '--n-tab-text-color-hover': string;
4342
+ '--n-pane-text-color': string;
4343
+ '--n-tab-border-color': string;
4344
+ '--n-tab-border-radius': string;
4345
+ '--n-close-size': string;
4346
+ '--n-close-icon-size': string;
4347
+ '--n-close-color-hover': string;
4348
+ '--n-close-color-pressed': string;
4349
+ '--n-close-border-radius': string;
4350
+ '--n-close-icon-color': string;
4351
+ '--n-close-icon-color-hover': string;
4352
+ '--n-close-icon-color-pressed': string;
4353
+ '--n-tab-color': string;
4354
+ '--n-tab-font-weight': string;
4355
+ '--n-tab-font-weight-active': string;
4356
+ '--n-tab-padding': string;
4357
+ '--n-tab-gap': string;
4358
+ '--n-pane-padding': string;
4359
+ '--n-font-weight-strong': string;
4360
+ '--n-tab-color-segment': string;
4361
+ }> | undefined;
4362
+ themeClass: import("vue").Ref<string> | undefined;
4363
+ animationDirection: import("vue").Ref<"prev" | "next">;
4364
+ renderNameListRef: {
4365
+ value: (string | number)[];
4366
+ };
4367
+ onAnimationBeforeLeave: (el: HTMLElement) => void;
4368
+ onAnimationEnter: (el: HTMLElement) => void;
4369
+ onAnimationAfterEnter: () => void;
4370
+ onRender: (() => void) | undefined;
4371
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
4372
+ readonly value: import("vue").PropType<string | number>;
4373
+ readonly defaultValue: import("vue").PropType<string | number>;
4374
+ readonly trigger: {
4375
+ readonly type: import("vue").PropType<"click" | "hover">;
4376
+ readonly default: "click";
4377
+ };
4378
+ readonly type: {
4379
+ readonly type: import("vue").PropType<import("naive-ui/es/tabs/src/interface").TabsType>;
4380
+ readonly default: "bar";
4381
+ };
4382
+ readonly closable: BooleanConstructor;
4383
+ readonly justifyContent: import("vue").PropType<"start" | "end" | "space-around" | "space-between" | "space-evenly" | "center">;
4384
+ readonly size: {
4385
+ readonly type: import("vue").PropType<"small" | "medium" | "large">;
4386
+ readonly default: "medium";
4387
+ };
4388
+ readonly tabStyle: import("vue").PropType<string | import("vue").CSSProperties>;
4389
+ readonly barWidth: NumberConstructor;
4390
+ readonly paneClass: StringConstructor;
4391
+ readonly paneStyle: import("vue").PropType<string | import("vue").CSSProperties>;
4392
+ readonly addable: import("vue").PropType<import("naive-ui/es/tabs/src/interface").Addable>;
4393
+ readonly tabsPadding: {
4394
+ readonly type: NumberConstructor;
4395
+ readonly default: 0;
4396
+ };
4397
+ readonly animated: BooleanConstructor;
4398
+ readonly onBeforeLeave: import("vue").PropType<import("naive-ui/es/tabs/src/interface").OnBeforeLeave>;
4399
+ readonly onAdd: import("vue").PropType<() => void>;
4400
+ readonly 'onUpdate:value': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/tabs/src/interface").OnUpdateValue>>;
4401
+ readonly onUpdateValue: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/tabs/src/interface").OnUpdateValue>>;
4402
+ readonly onClose: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/tabs/src/interface").OnClose>>;
4403
+ readonly labelSize: import("vue").PropType<"small" | "medium" | "large">;
4404
+ readonly activeName: import("vue").PropType<string | number>;
4405
+ readonly onActiveNameChange: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: never) => void>>;
4406
+ readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Tabs", {
4407
+ colorSegment: string;
4408
+ tabFontSizeCard: string;
4409
+ tabTextColorLine: string;
4410
+ tabTextColorActiveLine: string;
4411
+ tabTextColorHoverLine: string;
4412
+ tabTextColorDisabledLine: string;
4413
+ tabTextColorSegment: string;
4414
+ tabTextColorActiveSegment: string;
4415
+ tabTextColorHoverSegment: string;
4416
+ tabTextColorDisabledSegment: string;
4417
+ tabTextColorBar: string;
4418
+ tabTextColorActiveBar: string;
4419
+ tabTextColorHoverBar: string;
4420
+ tabTextColorDisabledBar: string;
4421
+ tabTextColorCard: string;
4422
+ tabTextColorHoverCard: string;
4423
+ tabTextColorActiveCard: string;
4424
+ tabTextColorDisabledCard: string;
4425
+ barColor: string;
4426
+ closeIconColor: string;
4427
+ closeIconColorHover: string;
4428
+ closeIconColorPressed: string;
4429
+ closeColorHover: string;
4430
+ closeColorPressed: string;
4431
+ closeBorderRadius: string;
4432
+ tabColor: string;
4433
+ tabColorSegment: string;
4434
+ tabBorderColor: string;
4435
+ tabFontWeightActive: string;
4436
+ tabFontWeight: string;
4437
+ tabBorderRadius: string;
4438
+ paneTextColor: string;
4439
+ fontWeightStrong: string;
4440
+ tabFontSizeSmall: string;
4441
+ tabFontSizeMedium: string;
4442
+ tabFontSizeLarge: string;
4443
+ tabGapSmallLine: string;
4444
+ tabGapMediumLine: string;
4445
+ tabGapLargeLine: string;
4446
+ tabPaddingSmallLine: string;
4447
+ tabPaddingMediumLine: string;
4448
+ tabPaddingLargeLine: string;
4449
+ tabGapSmallBar: string;
4450
+ tabGapMediumBar: string;
4451
+ tabGapLargeBar: string;
4452
+ tabPaddingSmallBar: string;
4453
+ tabPaddingMediumBar: string;
4454
+ tabPaddingLargeBar: string;
4455
+ tabGapSmallCard: string;
4456
+ tabGapMediumCard: string;
4457
+ tabGapLargeCard: string;
4458
+ tabPaddingSmallCard: string;
4459
+ tabPaddingMediumCard: string;
4460
+ tabPaddingLargeCard: string;
4461
+ tabPaddingSmallSegment: string;
4462
+ tabPaddingMediumSegment: string;
4463
+ tabPaddingLargeSegment: string;
4464
+ tabGapSmallSegment: string;
4465
+ tabGapMediumSegment: string;
4466
+ tabGapLargeSegment: string;
4467
+ panePaddingSmall: string;
4468
+ panePaddingMedium: string;
4469
+ panePaddingLarge: string;
4470
+ closeSize: string;
4471
+ closeIconSize: string;
4472
+ }, any>>;
4473
+ readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tabs", {
4474
+ colorSegment: string;
4475
+ tabFontSizeCard: string;
4476
+ tabTextColorLine: string;
4477
+ tabTextColorActiveLine: string;
4478
+ tabTextColorHoverLine: string;
4479
+ tabTextColorDisabledLine: string;
4480
+ tabTextColorSegment: string;
4481
+ tabTextColorActiveSegment: string;
4482
+ tabTextColorHoverSegment: string;
4483
+ tabTextColorDisabledSegment: string;
4484
+ tabTextColorBar: string;
4485
+ tabTextColorActiveBar: string;
4486
+ tabTextColorHoverBar: string;
4487
+ tabTextColorDisabledBar: string;
4488
+ tabTextColorCard: string;
4489
+ tabTextColorHoverCard: string;
4490
+ tabTextColorActiveCard: string;
4491
+ tabTextColorDisabledCard: string;
4492
+ barColor: string;
4493
+ closeIconColor: string;
4494
+ closeIconColorHover: string;
4495
+ closeIconColorPressed: string;
4496
+ closeColorHover: string;
4497
+ closeColorPressed: string;
4498
+ closeBorderRadius: string;
4499
+ tabColor: string;
4500
+ tabColorSegment: string;
4501
+ tabBorderColor: string;
4502
+ tabFontWeightActive: string;
4503
+ tabFontWeight: string;
4504
+ tabBorderRadius: string;
4505
+ paneTextColor: string;
4506
+ fontWeightStrong: string;
4507
+ tabFontSizeSmall: string;
4508
+ tabFontSizeMedium: string;
4509
+ tabFontSizeLarge: string;
4510
+ tabGapSmallLine: string;
4511
+ tabGapMediumLine: string;
4512
+ tabGapLargeLine: string;
4513
+ tabPaddingSmallLine: string;
4514
+ tabPaddingMediumLine: string;
4515
+ tabPaddingLargeLine: string;
4516
+ tabGapSmallBar: string;
4517
+ tabGapMediumBar: string;
4518
+ tabGapLargeBar: string;
4519
+ tabPaddingSmallBar: string;
4520
+ tabPaddingMediumBar: string;
4521
+ tabPaddingLargeBar: string;
4522
+ tabGapSmallCard: string;
4523
+ tabGapMediumCard: string;
4524
+ tabGapLargeCard: string;
4525
+ tabPaddingSmallCard: string;
4526
+ tabPaddingMediumCard: string;
4527
+ tabPaddingLargeCard: string;
4528
+ tabPaddingSmallSegment: string;
4529
+ tabPaddingMediumSegment: string;
4530
+ tabPaddingLargeSegment: string;
4531
+ tabGapSmallSegment: string;
4532
+ tabGapMediumSegment: string;
4533
+ tabGapLargeSegment: string;
4534
+ panePaddingSmall: string;
4535
+ panePaddingMedium: string;
4536
+ panePaddingLarge: string;
4537
+ closeSize: string;
4538
+ closeIconSize: string;
4539
+ }, any>>>;
4540
+ readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tabs", {
4541
+ colorSegment: string;
4542
+ tabFontSizeCard: string;
4543
+ tabTextColorLine: string;
4544
+ tabTextColorActiveLine: string;
4545
+ tabTextColorHoverLine: string;
4546
+ tabTextColorDisabledLine: string;
4547
+ tabTextColorSegment: string;
4548
+ tabTextColorActiveSegment: string;
4549
+ tabTextColorHoverSegment: string;
4550
+ tabTextColorDisabledSegment: string;
4551
+ tabTextColorBar: string;
4552
+ tabTextColorActiveBar: string;
4553
+ tabTextColorHoverBar: string;
4554
+ tabTextColorDisabledBar: string;
4555
+ tabTextColorCard: string;
4556
+ tabTextColorHoverCard: string;
4557
+ tabTextColorActiveCard: string;
4558
+ tabTextColorDisabledCard: string;
4559
+ barColor: string;
4560
+ closeIconColor: string;
4561
+ closeIconColorHover: string;
4562
+ closeIconColorPressed: string;
4563
+ closeColorHover: string;
4564
+ closeColorPressed: string;
4565
+ closeBorderRadius: string;
4566
+ tabColor: string;
4567
+ tabColorSegment: string;
4568
+ tabBorderColor: string;
4569
+ tabFontWeightActive: string;
4570
+ tabFontWeight: string;
4571
+ tabBorderRadius: string;
4572
+ paneTextColor: string;
4573
+ fontWeightStrong: string;
4574
+ tabFontSizeSmall: string;
4575
+ tabFontSizeMedium: string;
4576
+ tabFontSizeLarge: string;
4577
+ tabGapSmallLine: string;
4578
+ tabGapMediumLine: string;
4579
+ tabGapLargeLine: string;
4580
+ tabPaddingSmallLine: string;
4581
+ tabPaddingMediumLine: string;
4582
+ tabPaddingLargeLine: string;
4583
+ tabGapSmallBar: string;
4584
+ tabGapMediumBar: string;
4585
+ tabGapLargeBar: string;
4586
+ tabPaddingSmallBar: string;
4587
+ tabPaddingMediumBar: string;
4588
+ tabPaddingLargeBar: string;
4589
+ tabGapSmallCard: string;
4590
+ tabGapMediumCard: string;
4591
+ tabGapLargeCard: string;
4592
+ tabPaddingSmallCard: string;
4593
+ tabPaddingMediumCard: string;
4594
+ tabPaddingLargeCard: string;
4595
+ tabPaddingSmallSegment: string;
4596
+ tabPaddingMediumSegment: string;
4597
+ tabPaddingLargeSegment: string;
4598
+ tabGapSmallSegment: string;
4599
+ tabGapMediumSegment: string;
4600
+ tabGapLargeSegment: string;
4601
+ panePaddingSmall: string;
4602
+ panePaddingMedium: string;
4603
+ panePaddingLarge: string;
4604
+ closeSize: string;
4605
+ closeIconSize: string;
4606
+ }, any>>>;
4607
+ }>>, {
4608
+ readonly type: import("naive-ui/es/tabs/src/interface").TabsType;
4609
+ readonly size: "small" | "medium" | "large";
4610
+ readonly closable: boolean;
4611
+ readonly trigger: "click" | "hover";
4612
+ readonly animated: boolean;
4613
+ readonly tabsPadding: number;
4614
+ }>;
4615
+ NTabPane: import("vue").DefineComponent<{
4616
+ readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4617
+ [key: string]: any;
4618
+ }> | (() => import("vue").VNodeChild)>;
4619
+ readonly name: {
4620
+ readonly type: import("vue").PropType<string | number>;
4621
+ readonly required: true;
4622
+ };
4623
+ readonly disabled: BooleanConstructor;
4624
+ readonly displayDirective: {
4625
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
4626
+ readonly default: "if";
4627
+ };
4628
+ readonly closable: {
4629
+ readonly type: import("vue").PropType<boolean | undefined>;
4630
+ readonly default: undefined;
4631
+ };
4632
+ readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
4633
+ readonly label: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4634
+ [key: string]: any;
4635
+ }> | (() => import("vue").VNodeChild)>;
4636
+ }, {
4637
+ style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
4638
+ class: import("vue").Ref<string | undefined>;
4639
+ mergedClsPrefix: import("vue").Ref<string>;
4640
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
4641
+ readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4642
+ [key: string]: any;
4643
+ }> | (() => import("vue").VNodeChild)>;
4644
+ readonly name: {
4645
+ readonly type: import("vue").PropType<string | number>;
4646
+ readonly required: true;
4647
+ };
4648
+ readonly disabled: BooleanConstructor;
4649
+ readonly displayDirective: {
4650
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
4651
+ readonly default: "if";
4652
+ };
4653
+ readonly closable: {
4654
+ readonly type: import("vue").PropType<boolean | undefined>;
4655
+ readonly default: undefined;
4656
+ };
4657
+ readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
4658
+ readonly label: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4659
+ [key: string]: any;
4660
+ }> | (() => import("vue").VNodeChild)>;
4661
+ }>>, {
4662
+ readonly disabled: boolean;
4663
+ readonly closable: boolean | undefined;
4664
+ readonly displayDirective: "show" | "if" | "show:lazy";
4665
+ }>;
4018
4666
  NIcon: import("vue").DefineComponent<{
4019
4667
  readonly depth: import("vue").PropType<import("naive-ui/es/icon/src/Icon").Depth>;
4020
4668
  readonly size: import("vue").PropType<string | number>;
@@ -4066,9 +4714,7 @@ declare const _default: import("vue").DefineComponent<{
4066
4714
  color: string;
4067
4715
  opacity1Depth: string;
4068
4716
  opacity2Depth: string;
4069
- opacity3Depth: string; /**
4070
- * computed
4071
- */
4717
+ opacity3Depth: string;
4072
4718
  opacity4Depth: string;
4073
4719
  opacity5Depth: string;
4074
4720
  }, any>>;
@@ -4294,9 +4940,14 @@ declare const _default: import("vue").DefineComponent<{
4294
4940
  };
4295
4941
  resetInlineBatchEdit: FunctionConstructor;
4296
4942
  resetBatchEditRowStatus: FunctionConstructor;
4943
+ anchor: {
4944
+ type: ArrayConstructor;
4945
+ default: () => never[];
4946
+ };
4297
4947
  }>> & {
4298
4948
  [x: `on${string}`]: ((...args: any[]) => any) | undefined;
4299
4949
  }, {
4950
+ anchor: unknown[];
4300
4951
  data: unknown[];
4301
4952
  showFooter: boolean;
4302
4953
  columnConfig: Record<string, any>;