@aplus-frontend/ui 0.4.7 → 0.4.8

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 (34) hide show
  1. package/es/src/ap-field/number/index.vue.d.ts +1 -1
  2. package/es/src/ap-field/slider/index.vue.d.ts +1 -1
  3. package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
  4. package/es/src/ap-table/constants.d.ts +7 -7
  5. package/es/src/ap-table/utils.d.ts +4 -4
  6. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
  7. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +220 -108
  8. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
  9. package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +4 -0
  10. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +35 -0
  11. package/es/src/business/ap-ladder/index.d.ts +31 -4
  12. package/es/src/business/ap-ladder/interface.d.ts +124 -4
  13. package/es/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  14. package/es/src/business/ap-size-input/index.d.ts +3 -3
  15. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +33 -25
  16. package/lib/src/ap-field/number/index.vue.d.ts +1 -1
  17. package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
  18. package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
  19. package/lib/src/ap-table/constants.d.ts +7 -7
  20. package/lib/src/ap-table/utils.d.ts +4 -4
  21. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
  22. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  23. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
  24. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +1 -0
  25. package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +1 -0
  26. package/lib/src/business/ap-ladder/index.d.ts +31 -4
  27. package/lib/src/business/ap-ladder/interface.d.ts +124 -4
  28. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  29. package/lib/src/business/ap-size-input/index.d.ts +3 -3
  30. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  31. package/package.json +3 -3
  32. package/theme/ap-ladder/ap-ladder.css +10 -1
  33. package/theme/ap-ladder/ap-ladder.less +10 -1
  34. package/theme/index.css +10 -1
@@ -351,12 +351,12 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
351
351
  }, string, PublicProps, Readonly<ApFieldNumberProps> & Readonly<{
352
352
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
353
353
  }>, {
354
+ step: ValueType;
354
355
  disabled: boolean;
355
356
  bordered: boolean;
356
357
  keyboard: boolean;
357
358
  max: ValueType;
358
359
  min: ValueType;
359
- step: ValueType;
360
360
  controls: boolean;
361
361
  emptyText: string;
362
362
  thousands: boolean;
@@ -284,10 +284,10 @@ declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
284
284
  }, string, PublicProps, Readonly<ApFieldSliderProps> & Readonly<{
285
285
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
286
286
  }>, {
287
+ step: number;
287
288
  disabled: boolean;
288
289
  max: number;
289
290
  min: number;
290
- step: number;
291
291
  included: boolean;
292
292
  tooltipOpen: boolean;
293
293
  tooltipVisible: boolean;
@@ -34,6 +34,7 @@ declare function __VLS_template(): {
34
34
  readonly class?: unknown;
35
35
  readonly style?: unknown;
36
36
  readonly size?: ButtonSize;
37
+ readonly step?: ValueType | undefined;
37
38
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
38
39
  readonly onChange?: ((value: ValueType) => void) | undefined;
39
40
  readonly onFocus?: ((e: FocusEvent) => void) | undefined;
@@ -52,7 +53,6 @@ declare function __VLS_template(): {
52
53
  readonly onPressEnter?: KeyboardEventHandler | undefined;
53
54
  readonly readonly?: boolean | undefined;
54
55
  readonly stringMode?: boolean | undefined;
55
- readonly step?: ValueType | undefined;
56
56
  readonly controls?: boolean | undefined;
57
57
  readonly parser?: ((displayValue: string) => ValueType) | undefined;
58
58
  readonly formatter?: ((value: ValueType, info: {
@@ -422,12 +422,12 @@ declare function __VLS_template(): {
422
422
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
423
423
  "update:value": (...args: any[]) => void;
424
424
  }, string, {
425
+ step: ValueType;
425
426
  disabled: boolean;
426
427
  bordered: boolean;
427
428
  keyboard: boolean;
428
429
  max: ValueType;
429
430
  min: ValueType;
430
- step: ValueType;
431
431
  controls: boolean;
432
432
  emptyText: string;
433
433
  thousands: boolean;
@@ -452,18 +452,18 @@ declare function __VLS_template(): {
452
452
  $nextTick: nextTick;
453
453
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
454
454
  } & Readonly<{
455
+ step: ValueType;
455
456
  disabled: boolean;
456
457
  bordered: boolean;
457
458
  keyboard: boolean;
458
459
  max: ValueType;
459
460
  min: ValueType;
460
- step: ValueType;
461
461
  controls: boolean;
462
462
  emptyText: string;
463
463
  thousands: boolean;
464
464
  }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
465
465
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
466
- }>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "step" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
466
+ }>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
467
467
  focus: () => void;
468
468
  blur: () => void;
469
469
  }> & {} & ComponentCustomProperties & {} & {
@@ -507,6 +507,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
507
507
  readonly class?: unknown;
508
508
  readonly style?: unknown;
509
509
  readonly size?: ButtonSize;
510
+ readonly step?: ValueType | undefined;
510
511
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
511
512
  readonly onChange?: ((value: ValueType) => void) | undefined;
512
513
  readonly onFocus?: ((e: FocusEvent) => void) | undefined;
@@ -525,7 +526,6 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
525
526
  readonly onPressEnter?: KeyboardEventHandler | undefined;
526
527
  readonly readonly?: boolean | undefined;
527
528
  readonly stringMode?: boolean | undefined;
528
- readonly step?: ValueType | undefined;
529
529
  readonly controls?: boolean | undefined;
530
530
  readonly parser?: ((displayValue: string) => ValueType) | undefined;
531
531
  readonly formatter?: ((value: ValueType, info: {
@@ -895,12 +895,12 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
895
895
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
896
896
  "update:value": (...args: any[]) => void;
897
897
  }, string, {
898
+ step: ValueType;
898
899
  disabled: boolean;
899
900
  bordered: boolean;
900
901
  keyboard: boolean;
901
902
  max: ValueType;
902
903
  min: ValueType;
903
- step: ValueType;
904
904
  controls: boolean;
905
905
  emptyText: string;
906
906
  thousands: boolean;
@@ -925,18 +925,18 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
925
925
  $nextTick: nextTick;
926
926
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
927
927
  } & Readonly<{
928
+ step: ValueType;
928
929
  disabled: boolean;
929
930
  bordered: boolean;
930
931
  keyboard: boolean;
931
932
  max: ValueType;
932
933
  min: ValueType;
933
- step: ValueType;
934
934
  controls: boolean;
935
935
  emptyText: string;
936
936
  thousands: boolean;
937
937
  }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
938
938
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
939
- }>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "step" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
939
+ }>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
940
940
  focus: () => void;
941
941
  blur: () => void;
942
942
  }> & {} & ComponentCustomProperties & {} & {
@@ -175,6 +175,7 @@ export declare const apTableFormItemMap: {
175
175
  readonly class?: unknown;
176
176
  readonly style?: unknown;
177
177
  readonly size?: ButtonSize;
178
+ readonly step?: ValueType | undefined;
178
179
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
179
180
  readonly onChange?: ((value: ValueType) => void) | undefined;
180
181
  readonly onFocus?: ((e: FocusEvent) => void) | undefined;
@@ -193,7 +194,6 @@ export declare const apTableFormItemMap: {
193
194
  readonly onPressEnter?: KeyboardEventHandler | undefined;
194
195
  readonly readonly?: boolean | undefined;
195
196
  readonly stringMode?: boolean | undefined;
196
- readonly step?: ValueType | undefined;
197
197
  readonly controls?: boolean | undefined;
198
198
  readonly parser?: ((displayValue: string) => ValueType) | undefined;
199
199
  readonly formatter?: ((value: ValueType, info: {
@@ -563,12 +563,12 @@ export declare const apTableFormItemMap: {
563
563
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
564
564
  "update:value": (...args: any[]) => void;
565
565
  }, string, {
566
+ step: ValueType;
566
567
  disabled: boolean;
567
568
  bordered: boolean;
568
569
  keyboard: boolean;
569
570
  max: ValueType;
570
571
  min: ValueType;
571
- step: ValueType;
572
572
  controls: boolean;
573
573
  emptyText: string;
574
574
  thousands: boolean;
@@ -593,18 +593,18 @@ export declare const apTableFormItemMap: {
593
593
  $nextTick: nextTick;
594
594
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
595
595
  } & Readonly<{
596
+ step: ValueType;
596
597
  disabled: boolean;
597
598
  bordered: boolean;
598
599
  keyboard: boolean;
599
600
  max: ValueType;
600
601
  min: ValueType;
601
- step: ValueType;
602
602
  controls: boolean;
603
603
  emptyText: string;
604
604
  thousands: boolean;
605
605
  }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
606
606
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
607
- }>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "step" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
607
+ }>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
608
608
  focus: () => void;
609
609
  blur: () => void;
610
610
  }> & {} & ComponentCustomProperties & {} & {
@@ -2093,12 +2093,12 @@ export declare const apTableRenderItemMap: {
2093
2093
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2094
2094
  "update:value": (...args: any[]) => void;
2095
2095
  }, PublicProps, {
2096
+ step: ValueType;
2096
2097
  disabled: boolean;
2097
2098
  bordered: boolean;
2098
2099
  keyboard: boolean;
2099
2100
  max: ValueType;
2100
2101
  min: ValueType;
2101
- step: ValueType;
2102
2102
  controls: boolean;
2103
2103
  emptyText: string;
2104
2104
  thousands: boolean;
@@ -2436,12 +2436,12 @@ export declare const apTableRenderItemMap: {
2436
2436
  focus: () => void;
2437
2437
  blur: () => void;
2438
2438
  }, {}, {}, {}, {
2439
+ step: ValueType;
2439
2440
  disabled: boolean;
2440
2441
  bordered: boolean;
2441
2442
  keyboard: boolean;
2442
2443
  max: ValueType;
2443
2444
  min: ValueType;
2444
- step: ValueType;
2445
2445
  controls: boolean;
2446
2446
  emptyText: string;
2447
2447
  thousands: boolean;
@@ -2457,12 +2457,12 @@ export declare const apTableRenderItemMap: {
2457
2457
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2458
2458
  "update:value": (...args: any[]) => void;
2459
2459
  }, string, {
2460
+ step: ValueType;
2460
2461
  disabled: boolean;
2461
2462
  bordered: boolean;
2462
2463
  keyboard: boolean;
2463
2464
  max: ValueType;
2464
2465
  min: ValueType;
2465
- step: ValueType;
2466
2466
  controls: boolean;
2467
2467
  emptyText: string;
2468
2468
  thousands: boolean;
@@ -882,6 +882,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
882
882
  readonly class?: unknown;
883
883
  readonly style?: unknown;
884
884
  readonly size?: ButtonSize;
885
+ readonly step?: ValueType | undefined;
885
886
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
886
887
  readonly onChange?: ((value: ValueType) => void) | undefined;
887
888
  readonly onFocus?: ((e: FocusEvent) => void) | undefined;
@@ -900,7 +901,6 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
900
901
  readonly onPressEnter?: KeyboardEventHandler | undefined;
901
902
  readonly readonly?: boolean | undefined;
902
903
  readonly stringMode?: boolean | undefined;
903
- readonly step?: ValueType | undefined;
904
904
  readonly controls?: boolean | undefined;
905
905
  readonly parser?: ((displayValue: string) => ValueType) | undefined;
906
906
  readonly formatter?: ((value: ValueType, info: {
@@ -1270,12 +1270,12 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
1270
1270
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1271
1271
  "update:value": (...args: any[]) => void;
1272
1272
  }, string, {
1273
+ step: ValueType;
1273
1274
  disabled: boolean;
1274
1275
  bordered: boolean;
1275
1276
  keyboard: boolean;
1276
1277
  max: ValueType;
1277
1278
  min: ValueType;
1278
- step: ValueType;
1279
1279
  controls: boolean;
1280
1280
  emptyText: string;
1281
1281
  thousands: boolean;
@@ -1300,18 +1300,18 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
1300
1300
  $nextTick: nextTick;
1301
1301
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1302
1302
  } & Readonly<{
1303
+ step: ValueType;
1303
1304
  disabled: boolean;
1304
1305
  bordered: boolean;
1305
1306
  keyboard: boolean;
1306
1307
  max: ValueType;
1307
1308
  min: ValueType;
1308
- step: ValueType;
1309
1309
  controls: boolean;
1310
1310
  emptyText: string;
1311
1311
  thousands: boolean;
1312
1312
  }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
1313
1313
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
1314
- }>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "step" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
1314
+ }>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
1315
1315
  focus: () => void;
1316
1316
  blur: () => void;
1317
1317
  }> & {} & ComponentCustomProperties & {} & {
@@ -1,5 +1,5 @@
1
- import { ApLadderProps, ApLadderSlots, ApLadderLabelValue } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, ComponentProvideOptions } from 'vue';
1
+ import { ApLadderLabelValue, ApLadderProps, ApLadderSlots } from './interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, StyleValue, ComponentProvideOptions } from 'vue';
3
3
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
4
4
  import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
5
5
  import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
@@ -16,7 +16,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
16
  declare const __VLS_component: DefineComponent<ApLadderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApLadderProps> & Readonly<{}>, {
17
17
  layout: "vertical" | "horizontal";
18
18
  tooltip: boolean;
19
- tooltipProps: Required<Pick<Partial< ExtractPropTypes<{
19
+ labelAlign: "left" | "right";
20
+ tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
20
21
  title: VueTypeValidableDef<any>;
21
22
  trigger: PropType< TriggerType | TriggerType[]>;
22
23
  open: {
@@ -81,8 +82,16 @@ declare const __VLS_component: DefineComponent<ApLadderProps, {}, {}, {}, {}, Co
81
82
  major: string;
82
83
  minor: string;
83
84
  majorColor: string;
85
+ majorStyles: string | false | CSSProperties | StyleValue[] | null;
84
86
  minorColor: string;
85
- labelValues: Array< ApLadderLabelValue>;
87
+ minorStyles: string | false | CSSProperties | StyleValue[] | null;
88
+ labelValues: Array<ApLadderLabelValue>;
89
+ labelStyles: string | false | CSSProperties | StyleValue[] | null;
90
+ valueStyles: string | false | CSSProperties | StyleValue[] | null;
91
+ linkStyles: string | false | CSSProperties | StyleValue[] | null;
92
+ unitStyles: string | false | CSSProperties | StyleValue[] | null;
93
+ tooltipLabelStyles: string | false | CSSProperties | StyleValue[] | null;
94
+ tooltipValueStyles: string | false | CSSProperties | StyleValue[] | null;
86
95
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
87
96
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
88
97
  export default _default;