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