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

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.
@@ -1127,6 +1127,12 @@ declare const _default: import("vue").DefineComponent<{
1127
1127
  textColorGhostPressedWarning: string;
1128
1128
  textColorGhostFocusWarning: string;
1129
1129
  textColorGhostDisabledWarning: string;
1130
+ /**
1131
+ * 判断是否渲染EditForm
1132
+ * @param {*} row
1133
+ * @param {*} column
1134
+ * @returns
1135
+ */
1130
1136
  borderWarning: string;
1131
1137
  borderHoverWarning: string;
1132
1138
  borderPressedWarning: string;
@@ -1169,14 +1175,7 @@ declare const _default: import("vue").DefineComponent<{
1169
1175
  paddingRoundTiny: string;
1170
1176
  paddingRoundSmall: string;
1171
1177
  paddingRoundMedium: string;
1172
- paddingRoundLarge: string; /**
1173
- * 初始化props
1174
- * @param {*} unionItem
1175
- * @param {*} row
1176
- * @param {*} column
1177
- * @param {*} $rowIndex
1178
- * @returns
1179
- */
1178
+ paddingRoundLarge: string;
1180
1179
  iconMarginTiny: string;
1181
1180
  iconMarginSmall: string;
1182
1181
  iconMarginMedium: string;
@@ -1239,10 +1238,7 @@ declare const _default: import("vue").DefineComponent<{
1239
1238
  borderPressed: string;
1240
1239
  borderFocus: string;
1241
1240
  borderDisabled: string;
1242
- rippleColor: string; /**
1243
- * 单个form提交失败
1244
- * @param {*} obj
1245
- */
1241
+ rippleColor: string;
1246
1242
  colorPrimary: string;
1247
1243
  colorHoverPrimary: string;
1248
1244
  colorPressedPrimary: string;
@@ -1688,7 +1684,22 @@ declare const _default: import("vue").DefineComponent<{
1688
1684
  onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
1689
1685
  onChange: import("vue").PropType<import("naive-ui/es/input/src/interface").OnUpdateValue>;
1690
1686
  onClear: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
1691
- status: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
1687
+ status: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>; /**
1688
+ * 针对 bigTable 的设置列
1689
+ * type: 列的类型
1690
+ * field: 列字段名(注:属性层级越深,渲染性能将直线下降)
1691
+ * title: 列标题(支持开启国际化)
1692
+ * width: 列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 "%" 或者 "min-width" 布局)
1693
+ * minWidth: 最小列宽度;会自动将剩余空间按比例分配
1694
+ * resizable: 列是否允许拖动列宽调整大小
1695
+ * visible: 列是否显示
1696
+ * fixed: 将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)
1697
+ * align: 列对齐方式
1698
+ * headerAlign: 表头列的对齐方式
1699
+ * footerAlign: 表尾列的对齐方式
1700
+ * formatter: 格式化显示内容 Function({cellValue, row, column})
1701
+ * sortable: 是否允许列排序
1702
+ */
1692
1703
  'onUpdate:value': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/input/src/interface").OnUpdateValue>>;
1693
1704
  onUpdateValue: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/input/src/interface").OnUpdateValue>>;
1694
1705
  textDecoration: import("vue").PropType<string | [string, string]>;
@@ -2952,7 +2963,7 @@ declare const _default: import("vue").DefineComponent<{
2952
2963
  })[];
2953
2964
  formatterEdit: (params: any, col: any) => any;
2954
2965
  getEditBtn: (row: any, col: any, index: any) => any;
2955
- formatter: (params: any, col: any) => any;
2966
+ formatter: (params: any, col: any, _isEdit: any) => any;
2956
2967
  formatterHeader: (item: any) => () => any[];
2957
2968
  handlefilterBoxClickSort: (sort: any, field: any) => void;
2958
2969
  handleFilterSeach: (val: any, field: any) => void;
@@ -3114,434 +3125,6 @@ declare const _default: import("vue").DefineComponent<{
3114
3125
  noDataImg: string;
3115
3126
  showImg: boolean;
3116
3127
  }>;
3117
- NCheckbox: import("vue").DefineComponent<{
3118
- size: import("vue").PropType<"small" | "medium" | "large">;
3119
- checked: {
3120
- type: import("vue").PropType<string | number | boolean | undefined>;
3121
- default: undefined;
3122
- };
3123
- defaultChecked: {
3124
- type: import("vue").PropType<string | number | boolean>;
3125
- default: boolean;
3126
- };
3127
- value: import("vue").PropType<string | number>;
3128
- disabled: {
3129
- type: import("vue").PropType<boolean | undefined>;
3130
- default: undefined;
3131
- };
3132
- indeterminate: BooleanConstructor;
3133
- label: StringConstructor;
3134
- focusable: {
3135
- type: BooleanConstructor;
3136
- default: boolean;
3137
- };
3138
- checkedValue: {
3139
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
3140
- default: boolean;
3141
- };
3142
- uncheckedValue: {
3143
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
3144
- default: boolean;
3145
- };
3146
- 'onUpdate:checked': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
3147
- onUpdateChecked: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
3148
- privateInsideTable: BooleanConstructor;
3149
- onChange: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
3150
- theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Checkbox", {
3151
- labelLineHeight: string;
3152
- fontSizeSmall: string;
3153
- fontSizeMedium: string;
3154
- fontSizeLarge: string;
3155
- borderRadius: string;
3156
- color: string;
3157
- colorChecked: string;
3158
- colorDisabled: string;
3159
- colorDisabledChecked: string;
3160
- colorTableHeader: string;
3161
- colorTableHeaderModal: string;
3162
- colorTableHeaderPopover: string;
3163
- checkMarkColor: string;
3164
- checkMarkColorDisabled: string;
3165
- checkMarkColorDisabledChecked: string;
3166
- border: string;
3167
- borderDisabled: string;
3168
- borderDisabledChecked: string;
3169
- borderChecked: string;
3170
- borderFocus: string;
3171
- boxShadowFocus: string;
3172
- textColor: string;
3173
- textColorDisabled: string;
3174
- sizeSmall: string;
3175
- sizeMedium: string;
3176
- sizeLarge: string;
3177
- labelPadding: string;
3178
- }, any>>;
3179
- themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Checkbox", {
3180
- labelLineHeight: string;
3181
- fontSizeSmall: string;
3182
- fontSizeMedium: string;
3183
- fontSizeLarge: string;
3184
- borderRadius: string;
3185
- color: string;
3186
- colorChecked: string;
3187
- colorDisabled: string;
3188
- colorDisabledChecked: string;
3189
- colorTableHeader: string;
3190
- colorTableHeaderModal: string;
3191
- colorTableHeaderPopover: string;
3192
- checkMarkColor: string;
3193
- checkMarkColorDisabled: string;
3194
- checkMarkColorDisabledChecked: string;
3195
- border: string;
3196
- borderDisabled: string;
3197
- borderDisabledChecked: string;
3198
- borderChecked: string;
3199
- borderFocus: string;
3200
- boxShadowFocus: string;
3201
- textColor: string;
3202
- textColorDisabled: string;
3203
- sizeSmall: string;
3204
- sizeMedium: string;
3205
- sizeLarge: string;
3206
- labelPadding: string;
3207
- }, any>>>;
3208
- builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Checkbox", {
3209
- labelLineHeight: string;
3210
- fontSizeSmall: string;
3211
- fontSizeMedium: string;
3212
- fontSizeLarge: string;
3213
- borderRadius: string;
3214
- color: string;
3215
- colorChecked: string;
3216
- colorDisabled: string;
3217
- colorDisabledChecked: string;
3218
- colorTableHeader: string;
3219
- colorTableHeaderModal: string;
3220
- colorTableHeaderPopover: string;
3221
- checkMarkColor: string;
3222
- checkMarkColorDisabled: string;
3223
- checkMarkColorDisabledChecked: string;
3224
- border: string;
3225
- borderDisabled: string;
3226
- borderDisabledChecked: string;
3227
- borderChecked: string;
3228
- borderFocus: string;
3229
- boxShadowFocus: string;
3230
- textColor: string;
3231
- textColorDisabled: string;
3232
- sizeSmall: string;
3233
- sizeMedium: string;
3234
- sizeLarge: string;
3235
- labelPadding: string;
3236
- }, any>>>;
3237
- }, import("naive-ui/es/_mixins/use-form-item").UseFormItem<"small" | "medium" | "large"> & import("naive-ui").CheckboxInst & {
3238
- rtlEnabled: import("vue").Ref<import("naive-ui/es/config-provider/src/internal-interface").RtlItem | undefined> | undefined;
3239
- selfRef: import("vue").Ref<HTMLDivElement | null>;
3240
- mergedClsPrefix: import("vue").ComputedRef<string>;
3241
- mergedDisabled: import("vue").ComputedRef<boolean>;
3242
- renderedChecked: import("vue").ComputedRef<boolean>;
3243
- mergedTheme: import("vue").ComputedRef<{
3244
- common: {
3245
- baseColor: string;
3246
- primaryColor: string;
3247
- primaryColorHover: string;
3248
- primaryColorPressed: string;
3249
- primaryColorSuppl: string;
3250
- infoColor: string;
3251
- infoColorHover: string;
3252
- infoColorPressed: string;
3253
- infoColorSuppl: string;
3254
- successColor: string;
3255
- successColorHover: string;
3256
- successColorPressed: string;
3257
- successColorSuppl: string;
3258
- warningColor: string;
3259
- warningColorHover: string;
3260
- warningColorPressed: string;
3261
- warningColorSuppl: string;
3262
- errorColor: string;
3263
- errorColorHover: string;
3264
- errorColorPressed: string;
3265
- errorColorSuppl: string;
3266
- textColorBase: string;
3267
- textColor1: string;
3268
- textColor2: string;
3269
- textColor3: string;
3270
- textColorDisabled: string;
3271
- placeholderColor: string;
3272
- placeholderColorDisabled: string;
3273
- iconColor: string;
3274
- iconColorHover: string;
3275
- iconColorPressed: string;
3276
- iconColorDisabled: string;
3277
- opacity1: string;
3278
- opacity2: string;
3279
- opacity3: string;
3280
- opacity4: string;
3281
- opacity5: string;
3282
- dividerColor: string;
3283
- borderColor: string;
3284
- closeIconColor: string;
3285
- closeIconColorHover: string;
3286
- closeIconColorPressed: string;
3287
- closeColorHover: string;
3288
- closeColorPressed: string;
3289
- clearColor: string;
3290
- clearColorHover: string;
3291
- clearColorPressed: string;
3292
- scrollbarColor: string;
3293
- scrollbarColorHover: string;
3294
- scrollbarWidth: string;
3295
- scrollbarHeight: string;
3296
- scrollbarBorderRadius: string;
3297
- progressRailColor: string;
3298
- railColor: string;
3299
- popoverColor: string;
3300
- tableColor: string;
3301
- cardColor: string;
3302
- modalColor: string;
3303
- bodyColor: string;
3304
- tagColor: string;
3305
- avatarColor: string;
3306
- invertedColor: string;
3307
- inputColor: string;
3308
- codeColor: string;
3309
- tabColor: string;
3310
- actionColor: string;
3311
- tableHeaderColor: string;
3312
- hoverColor: string;
3313
- tableColorHover: string;
3314
- tableColorStriped: string;
3315
- pressedColor: string;
3316
- opacityDisabled: string;
3317
- inputColorDisabled: string;
3318
- buttonColor2: string;
3319
- buttonColor2Hover: string;
3320
- buttonColor2Pressed: string;
3321
- boxShadow1: string;
3322
- boxShadow2: string;
3323
- boxShadow3: string;
3324
- fontFamily: string;
3325
- fontFamilyMono: string;
3326
- fontWeight: string;
3327
- fontWeightStrong: string;
3328
- cubicBezierEaseInOut: string;
3329
- cubicBezierEaseOut: string;
3330
- cubicBezierEaseIn: string;
3331
- borderRadius: string;
3332
- borderRadiusSmall: string;
3333
- fontSize: string;
3334
- fontSizeMini: string;
3335
- fontSizeTiny: string;
3336
- fontSizeSmall: string;
3337
- fontSizeMedium: string;
3338
- fontSizeLarge: string;
3339
- fontSizeHuge: string;
3340
- lineHeight: string;
3341
- heightMini: string;
3342
- heightTiny: string;
3343
- heightSmall: string;
3344
- heightMedium: string;
3345
- heightLarge: string;
3346
- heightHuge: string;
3347
- name: "common";
3348
- };
3349
- self: {
3350
- labelLineHeight: string;
3351
- fontSizeSmall: string;
3352
- fontSizeMedium: string;
3353
- fontSizeLarge: string;
3354
- borderRadius: string;
3355
- color: string;
3356
- colorChecked: string;
3357
- colorDisabled: string;
3358
- colorDisabledChecked: string;
3359
- colorTableHeader: string;
3360
- colorTableHeaderModal: string;
3361
- colorTableHeaderPopover: string;
3362
- checkMarkColor: string;
3363
- checkMarkColorDisabled: string;
3364
- checkMarkColorDisabledChecked: string;
3365
- border: string;
3366
- borderDisabled: string;
3367
- borderDisabledChecked: string;
3368
- borderChecked: string;
3369
- borderFocus: string;
3370
- boxShadowFocus: string;
3371
- textColor: string;
3372
- textColorDisabled: string;
3373
- sizeSmall: string;
3374
- sizeMedium: string;
3375
- sizeLarge: string;
3376
- labelPadding: string;
3377
- };
3378
- peers: any;
3379
- peerOverrides: {
3380
- [x: string]: any;
3381
- };
3382
- }>;
3383
- labelId: string;
3384
- handleClick: (e: MouseEvent) => void;
3385
- handleKeyUp: (e: KeyboardEvent) => void;
3386
- handleKeyDown: (e: KeyboardEvent) => void;
3387
- cssVars: import("vue").ComputedRef<{
3388
- '--n-label-line-height': string;
3389
- '--n-size': string;
3390
- '--n-bezier': string;
3391
- '--n-border-radius': string;
3392
- '--n-border': string;
3393
- '--n-border-checked': string;
3394
- '--n-border-focus': string;
3395
- '--n-border-disabled': string;
3396
- '--n-border-disabled-checked': string;
3397
- '--n-box-shadow-focus': string;
3398
- '--n-color': string;
3399
- '--n-color-checked': string;
3400
- '--n-color-table': string;
3401
- '--n-color-table-modal': string;
3402
- '--n-color-table-popover': string;
3403
- '--n-color-disabled': string;
3404
- '--n-color-disabled-checked': string;
3405
- '--n-text-color': string;
3406
- '--n-text-color-disabled': string;
3407
- '--n-check-mark-color': string;
3408
- '--n-check-mark-color-disabled': string;
3409
- '--n-check-mark-color-disabled-checked': string;
3410
- '--n-font-size': string;
3411
- '--n-label-padding': string;
3412
- }> | undefined;
3413
- themeClass: import("vue").Ref<string> | undefined;
3414
- onRender: (() => void) | undefined;
3415
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
3416
- size: import("vue").PropType<"small" | "medium" | "large">;
3417
- checked: {
3418
- type: import("vue").PropType<string | number | boolean | undefined>;
3419
- default: undefined;
3420
- };
3421
- defaultChecked: {
3422
- type: import("vue").PropType<string | number | boolean>;
3423
- default: boolean;
3424
- };
3425
- value: import("vue").PropType<string | number>;
3426
- disabled: {
3427
- type: import("vue").PropType<boolean | undefined>;
3428
- default: undefined;
3429
- };
3430
- indeterminate: BooleanConstructor;
3431
- label: StringConstructor;
3432
- focusable: {
3433
- type: BooleanConstructor;
3434
- default: boolean;
3435
- };
3436
- checkedValue: {
3437
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
3438
- default: boolean;
3439
- };
3440
- uncheckedValue: {
3441
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
3442
- default: boolean;
3443
- };
3444
- 'onUpdate:checked': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
3445
- onUpdateChecked: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
3446
- privateInsideTable: BooleanConstructor;
3447
- onChange: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
3448
- theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Checkbox", {
3449
- labelLineHeight: string;
3450
- fontSizeSmall: string;
3451
- fontSizeMedium: string;
3452
- fontSizeLarge: string;
3453
- borderRadius: string;
3454
- color: string;
3455
- colorChecked: string;
3456
- colorDisabled: string;
3457
- colorDisabledChecked: string;
3458
- colorTableHeader: string;
3459
- colorTableHeaderModal: string;
3460
- colorTableHeaderPopover: string;
3461
- checkMarkColor: string;
3462
- checkMarkColorDisabled: string;
3463
- checkMarkColorDisabledChecked: string;
3464
- border: string;
3465
- borderDisabled: string;
3466
- borderDisabledChecked: string;
3467
- borderChecked: string;
3468
- borderFocus: string;
3469
- boxShadowFocus: string;
3470
- textColor: string;
3471
- textColorDisabled: string;
3472
- sizeSmall: string;
3473
- sizeMedium: string;
3474
- sizeLarge: string;
3475
- labelPadding: string;
3476
- }, any>>;
3477
- themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Checkbox", {
3478
- labelLineHeight: string;
3479
- fontSizeSmall: string;
3480
- fontSizeMedium: string;
3481
- fontSizeLarge: string;
3482
- borderRadius: string;
3483
- color: string;
3484
- colorChecked: string;
3485
- colorDisabled: string;
3486
- colorDisabledChecked: string;
3487
- colorTableHeader: string;
3488
- colorTableHeaderModal: string;
3489
- colorTableHeaderPopover: string;
3490
- checkMarkColor: string;
3491
- checkMarkColorDisabled: string;
3492
- checkMarkColorDisabledChecked: string;
3493
- border: string;
3494
- borderDisabled: string;
3495
- borderDisabledChecked: string;
3496
- borderChecked: string;
3497
- borderFocus: string;
3498
- boxShadowFocus: string;
3499
- textColor: string;
3500
- textColorDisabled: string;
3501
- sizeSmall: string;
3502
- sizeMedium: string;
3503
- sizeLarge: string;
3504
- labelPadding: string;
3505
- }, any>>>;
3506
- builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Checkbox", {
3507
- labelLineHeight: string;
3508
- fontSizeSmall: string;
3509
- fontSizeMedium: string;
3510
- fontSizeLarge: string;
3511
- borderRadius: string;
3512
- color: string;
3513
- colorChecked: string;
3514
- colorDisabled: string;
3515
- colorDisabledChecked: string;
3516
- colorTableHeader: string;
3517
- colorTableHeaderModal: string;
3518
- colorTableHeaderPopover: string;
3519
- checkMarkColor: string;
3520
- checkMarkColorDisabled: string;
3521
- checkMarkColorDisabledChecked: string;
3522
- border: string;
3523
- borderDisabled: string;
3524
- borderDisabledChecked: string;
3525
- borderChecked: string;
3526
- borderFocus: string;
3527
- boxShadowFocus: string;
3528
- textColor: string;
3529
- textColorDisabled: string;
3530
- sizeSmall: string;
3531
- sizeMedium: string;
3532
- sizeLarge: string;
3533
- labelPadding: string;
3534
- }, any>>>;
3535
- }>>, {
3536
- disabled: boolean | undefined;
3537
- checked: string | number | boolean | undefined;
3538
- indeterminate: boolean;
3539
- focusable: boolean;
3540
- defaultChecked: string | number | boolean;
3541
- checkedValue: string | number | boolean;
3542
- uncheckedValue: string | number | boolean;
3543
- privateInsideTable: boolean;
3544
- }>;
3545
3128
  NTooltip: import("vue").DefineComponent<{
3546
3129
  theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Tooltip", {
3547
3130
  borderRadius: string;
@@ -4076,22 +3659,7 @@ declare const _default: import("vue").DefineComponent<{
4076
3659
  tabTextColorActiveCard: string;
4077
3660
  tabTextColorDisabledCard: string;
4078
3661
  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
- */
3662
+ closeIconColor: string;
4095
3663
  closeIconColorHover: string;
4096
3664
  closeIconColorPressed: string;
4097
3665
  closeColorHover: string;