@aplus-frontend/ui 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.d.ts +1 -1
- package/es/src/ap-download/interface.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form-item.vue.d.ts +1 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +16 -16
- package/es/src/ap-form/items/text/index.vue.d.ts +12 -12
- package/es/src/ap-form/items/text/password.vue.d.ts +12 -12
- package/es/src/ap-form/items/text-area/index.vue.d.ts +12 -12
- package/es/src/ap-table/constants.d.ts +209 -209
- package/es/src/ap-table/utils.d.ts +72 -72
- package/es/src/base-button/index.d.ts +4 -4
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/index.d.ts +11 -11
- package/es/src/check-card/group.vue.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +5 -0
- package/es/src/config-provider/config-provider-props.mjs +4 -0
- package/es/src/config-provider/config-provider.d.ts +90 -3
- package/es/src/config-provider/config-provider.mjs +27 -23
- package/es/src/config-provider/css-var.d.ts +88 -0
- package/es/src/{theme/css-var/index.mjs → config-provider/css-var.mjs} +1 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -0
- package/es/src/config-provider/index.d.ts +486 -9
- package/es/src/theme/antd-global-overwrite/admin/button.css +0 -3
- package/es/src/theme/antd-global-overwrite/admin/index.css +0 -3
- package/es/src/theme/antd-global-overwrite/aplus/button.css +0 -3
- package/es/src/theme/antd-global-overwrite/aplus/index.css +0 -3
- package/es/src/type.d.ts +3 -0
- package/es/src/utils/config-provider-preset.d.ts +3 -3
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-download/interface.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +16 -16
- package/lib/src/ap-form/items/text/index.vue.d.ts +12 -12
- package/lib/src/ap-form/items/text/password.vue.d.ts +12 -12
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +12 -12
- package/lib/src/ap-table/constants.d.ts +209 -209
- package/lib/src/ap-table/utils.d.ts +72 -72
- package/lib/src/base-button/index.d.ts +4 -4
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/index.d.ts +11 -11
- package/lib/src/check-card/group.vue.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +5 -0
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +90 -3
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/css-var.d.ts +88 -0
- package/lib/src/{theme/css-var/index.js → config-provider/css-var.js} +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -0
- package/lib/src/config-provider/index.d.ts +486 -9
- package/lib/src/theme/antd-global-overwrite/admin/button.css +0 -3
- package/lib/src/theme/antd-global-overwrite/admin/index.css +0 -3
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +0 -3
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +0 -3
- package/lib/src/type.d.ts +3 -0
- package/lib/src/utils/config-provider-preset.d.ts +3 -3
- package/package.json +2 -2
- package/es/src/theme/css-var/index.d.ts +0 -7
- package/lib/src/theme/css-var/index.d.ts +0 -7
|
@@ -9,6 +9,8 @@ import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
|
9
9
|
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
10
10
|
import { LocaleType } from '..';
|
|
11
11
|
import { ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
|
|
12
|
+
import { RecursivePartial } from '../type';
|
|
13
|
+
import { CssVarType } from './css-var';
|
|
12
14
|
export * from './config-provider-props';
|
|
13
15
|
export * from './constants';
|
|
14
16
|
export * from './hooks/use-global-config';
|
|
@@ -169,6 +171,86 @@ export declare const APConfigProvider: {
|
|
|
169
171
|
type: PropType<downloadCenterTriggerConfig>;
|
|
170
172
|
default: () => {};
|
|
171
173
|
};
|
|
174
|
+
cssVar: {
|
|
175
|
+
type: PropType<RecursivePartial<{
|
|
176
|
+
'ap-form': {
|
|
177
|
+
bordered: {
|
|
178
|
+
'border-color': {
|
|
179
|
+
base: string;
|
|
180
|
+
hover: string;
|
|
181
|
+
active: string;
|
|
182
|
+
};
|
|
183
|
+
'shadow-color': string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
'ap-action': {
|
|
187
|
+
color: {
|
|
188
|
+
primary: {
|
|
189
|
+
base: string;
|
|
190
|
+
hover: string;
|
|
191
|
+
};
|
|
192
|
+
success: string;
|
|
193
|
+
error: string;
|
|
194
|
+
warn: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
'check-card': {
|
|
198
|
+
outline: {
|
|
199
|
+
color: string;
|
|
200
|
+
};
|
|
201
|
+
hover: {
|
|
202
|
+
outline: {
|
|
203
|
+
color: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
checked: {
|
|
207
|
+
outline: {
|
|
208
|
+
color: string;
|
|
209
|
+
};
|
|
210
|
+
bg: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
'ap-table': {
|
|
214
|
+
header: {
|
|
215
|
+
bg: string;
|
|
216
|
+
};
|
|
217
|
+
pagination: {
|
|
218
|
+
total: {
|
|
219
|
+
color: string;
|
|
220
|
+
count: {
|
|
221
|
+
color: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
setting: {
|
|
226
|
+
button: {
|
|
227
|
+
color: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
'ap-batch-action': {
|
|
232
|
+
color: {
|
|
233
|
+
font: string;
|
|
234
|
+
active: string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
basic: {
|
|
238
|
+
color: {
|
|
239
|
+
primary: string;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
'ap-descriptions': {
|
|
243
|
+
item: {
|
|
244
|
+
'padding-bottom': string;
|
|
245
|
+
'label-width': string;
|
|
246
|
+
};
|
|
247
|
+
'last-row-item': {
|
|
248
|
+
'padding-bottom': string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
}>>;
|
|
252
|
+
default: () => {};
|
|
253
|
+
};
|
|
172
254
|
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
173
255
|
iconPrefixCls: StringConstructor;
|
|
174
256
|
getTargetContainer: {
|
|
@@ -322,6 +404,86 @@ export declare const APConfigProvider: {
|
|
|
322
404
|
type: PropType<downloadCenterTriggerConfig>;
|
|
323
405
|
default: () => {};
|
|
324
406
|
};
|
|
407
|
+
cssVar: {
|
|
408
|
+
type: PropType<RecursivePartial<{
|
|
409
|
+
'ap-form': {
|
|
410
|
+
bordered: {
|
|
411
|
+
'border-color': {
|
|
412
|
+
base: string;
|
|
413
|
+
hover: string;
|
|
414
|
+
active: string;
|
|
415
|
+
};
|
|
416
|
+
'shadow-color': string;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
'ap-action': {
|
|
420
|
+
color: {
|
|
421
|
+
primary: {
|
|
422
|
+
base: string;
|
|
423
|
+
hover: string;
|
|
424
|
+
};
|
|
425
|
+
success: string;
|
|
426
|
+
error: string;
|
|
427
|
+
warn: string;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
'check-card': {
|
|
431
|
+
outline: {
|
|
432
|
+
color: string;
|
|
433
|
+
};
|
|
434
|
+
hover: {
|
|
435
|
+
outline: {
|
|
436
|
+
color: string;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
checked: {
|
|
440
|
+
outline: {
|
|
441
|
+
color: string;
|
|
442
|
+
};
|
|
443
|
+
bg: string;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
'ap-table': {
|
|
447
|
+
header: {
|
|
448
|
+
bg: string;
|
|
449
|
+
};
|
|
450
|
+
pagination: {
|
|
451
|
+
total: {
|
|
452
|
+
color: string;
|
|
453
|
+
count: {
|
|
454
|
+
color: string;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
setting: {
|
|
459
|
+
button: {
|
|
460
|
+
color: string;
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
'ap-batch-action': {
|
|
465
|
+
color: {
|
|
466
|
+
font: string;
|
|
467
|
+
active: string;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
basic: {
|
|
471
|
+
color: {
|
|
472
|
+
primary: string;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
'ap-descriptions': {
|
|
476
|
+
item: {
|
|
477
|
+
'padding-bottom': string;
|
|
478
|
+
'label-width': string;
|
|
479
|
+
};
|
|
480
|
+
'last-row-item': {
|
|
481
|
+
'padding-bottom': string;
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
}>>;
|
|
485
|
+
default: () => {};
|
|
486
|
+
};
|
|
325
487
|
}>>, {
|
|
326
488
|
input: {
|
|
327
489
|
autocomplete?: string;
|
|
@@ -339,6 +501,9 @@ export declare const APConfigProvider: {
|
|
|
339
501
|
};
|
|
340
502
|
scrollbar: ScrollbarGlobalConfig;
|
|
341
503
|
direction: "ltr" | "rtl";
|
|
504
|
+
pagination: {
|
|
505
|
+
showSizeChanger?: boolean;
|
|
506
|
+
};
|
|
342
507
|
csp: CSPConfig;
|
|
343
508
|
autoInsertSpaceInButton: boolean;
|
|
344
509
|
locale: Locale;
|
|
@@ -348,9 +513,6 @@ export declare const APConfigProvider: {
|
|
|
348
513
|
componentDisabled: boolean;
|
|
349
514
|
virtual: boolean;
|
|
350
515
|
dropdownMatchSelectWidth: number | boolean;
|
|
351
|
-
pagination: {
|
|
352
|
-
showSizeChanger?: boolean;
|
|
353
|
-
};
|
|
354
516
|
theme: ThemeConfig;
|
|
355
517
|
wave: {
|
|
356
518
|
disabled?: boolean;
|
|
@@ -362,6 +524,83 @@ export declare const APConfigProvider: {
|
|
|
362
524
|
apDescriptions: ApDescriptionsConfig;
|
|
363
525
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
364
526
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
527
|
+
cssVar: RecursivePartial<{
|
|
528
|
+
'ap-form': {
|
|
529
|
+
bordered: {
|
|
530
|
+
'border-color': {
|
|
531
|
+
base: string;
|
|
532
|
+
hover: string;
|
|
533
|
+
active: string;
|
|
534
|
+
};
|
|
535
|
+
'shadow-color': string;
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
'ap-action': {
|
|
539
|
+
color: {
|
|
540
|
+
primary: {
|
|
541
|
+
base: string;
|
|
542
|
+
hover: string;
|
|
543
|
+
};
|
|
544
|
+
success: string;
|
|
545
|
+
error: string;
|
|
546
|
+
warn: string;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
'check-card': {
|
|
550
|
+
outline: {
|
|
551
|
+
color: string;
|
|
552
|
+
};
|
|
553
|
+
hover: {
|
|
554
|
+
outline: {
|
|
555
|
+
color: string;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
checked: {
|
|
559
|
+
outline: {
|
|
560
|
+
color: string;
|
|
561
|
+
};
|
|
562
|
+
bg: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
'ap-table': {
|
|
566
|
+
header: {
|
|
567
|
+
bg: string;
|
|
568
|
+
};
|
|
569
|
+
pagination: {
|
|
570
|
+
total: {
|
|
571
|
+
color: string;
|
|
572
|
+
count: {
|
|
573
|
+
color: string;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
setting: {
|
|
578
|
+
button: {
|
|
579
|
+
color: string;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
'ap-batch-action': {
|
|
584
|
+
color: {
|
|
585
|
+
font: string;
|
|
586
|
+
active: string;
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
basic: {
|
|
590
|
+
color: {
|
|
591
|
+
primary: string;
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
'ap-descriptions': {
|
|
595
|
+
item: {
|
|
596
|
+
'padding-bottom': string;
|
|
597
|
+
'label-width': string;
|
|
598
|
+
};
|
|
599
|
+
'last-row-item': {
|
|
600
|
+
'padding-bottom': string;
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
}>;
|
|
365
604
|
}, true, {}, {}, {
|
|
366
605
|
P: {};
|
|
367
606
|
B: {};
|
|
@@ -522,6 +761,86 @@ export declare const APConfigProvider: {
|
|
|
522
761
|
type: PropType<downloadCenterTriggerConfig>;
|
|
523
762
|
default: () => {};
|
|
524
763
|
};
|
|
764
|
+
cssVar: {
|
|
765
|
+
type: PropType<RecursivePartial<{
|
|
766
|
+
'ap-form': {
|
|
767
|
+
bordered: {
|
|
768
|
+
'border-color': {
|
|
769
|
+
base: string;
|
|
770
|
+
hover: string;
|
|
771
|
+
active: string;
|
|
772
|
+
};
|
|
773
|
+
'shadow-color': string;
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
'ap-action': {
|
|
777
|
+
color: {
|
|
778
|
+
primary: {
|
|
779
|
+
base: string;
|
|
780
|
+
hover: string;
|
|
781
|
+
};
|
|
782
|
+
success: string;
|
|
783
|
+
error: string;
|
|
784
|
+
warn: string;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
'check-card': {
|
|
788
|
+
outline: {
|
|
789
|
+
color: string;
|
|
790
|
+
};
|
|
791
|
+
hover: {
|
|
792
|
+
outline: {
|
|
793
|
+
color: string;
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
checked: {
|
|
797
|
+
outline: {
|
|
798
|
+
color: string;
|
|
799
|
+
};
|
|
800
|
+
bg: string;
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
'ap-table': {
|
|
804
|
+
header: {
|
|
805
|
+
bg: string;
|
|
806
|
+
};
|
|
807
|
+
pagination: {
|
|
808
|
+
total: {
|
|
809
|
+
color: string;
|
|
810
|
+
count: {
|
|
811
|
+
color: string;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
setting: {
|
|
816
|
+
button: {
|
|
817
|
+
color: string;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
'ap-batch-action': {
|
|
822
|
+
color: {
|
|
823
|
+
font: string;
|
|
824
|
+
active: string;
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
basic: {
|
|
828
|
+
color: {
|
|
829
|
+
primary: string;
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
'ap-descriptions': {
|
|
833
|
+
item: {
|
|
834
|
+
'padding-bottom': string;
|
|
835
|
+
'label-width': string;
|
|
836
|
+
};
|
|
837
|
+
'last-row-item': {
|
|
838
|
+
'padding-bottom': string;
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
}>>;
|
|
842
|
+
default: () => {};
|
|
843
|
+
};
|
|
525
844
|
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
526
845
|
input: {
|
|
527
846
|
autocomplete?: string;
|
|
@@ -539,6 +858,9 @@ export declare const APConfigProvider: {
|
|
|
539
858
|
};
|
|
540
859
|
scrollbar: ScrollbarGlobalConfig;
|
|
541
860
|
direction: "ltr" | "rtl";
|
|
861
|
+
pagination: {
|
|
862
|
+
showSizeChanger?: boolean;
|
|
863
|
+
};
|
|
542
864
|
csp: CSPConfig;
|
|
543
865
|
autoInsertSpaceInButton: boolean;
|
|
544
866
|
locale: Locale;
|
|
@@ -548,9 +870,6 @@ export declare const APConfigProvider: {
|
|
|
548
870
|
componentDisabled: boolean;
|
|
549
871
|
virtual: boolean;
|
|
550
872
|
dropdownMatchSelectWidth: number | boolean;
|
|
551
|
-
pagination: {
|
|
552
|
-
showSizeChanger?: boolean;
|
|
553
|
-
};
|
|
554
873
|
theme: ThemeConfig;
|
|
555
874
|
wave: {
|
|
556
875
|
disabled?: boolean;
|
|
@@ -562,6 +881,83 @@ export declare const APConfigProvider: {
|
|
|
562
881
|
apDescriptions: ApDescriptionsConfig;
|
|
563
882
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
564
883
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
884
|
+
cssVar: RecursivePartial<{
|
|
885
|
+
'ap-form': {
|
|
886
|
+
bordered: {
|
|
887
|
+
'border-color': {
|
|
888
|
+
base: string;
|
|
889
|
+
hover: string;
|
|
890
|
+
active: string;
|
|
891
|
+
};
|
|
892
|
+
'shadow-color': string;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
'ap-action': {
|
|
896
|
+
color: {
|
|
897
|
+
primary: {
|
|
898
|
+
base: string;
|
|
899
|
+
hover: string;
|
|
900
|
+
};
|
|
901
|
+
success: string;
|
|
902
|
+
error: string;
|
|
903
|
+
warn: string;
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
'check-card': {
|
|
907
|
+
outline: {
|
|
908
|
+
color: string;
|
|
909
|
+
};
|
|
910
|
+
hover: {
|
|
911
|
+
outline: {
|
|
912
|
+
color: string;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
checked: {
|
|
916
|
+
outline: {
|
|
917
|
+
color: string;
|
|
918
|
+
};
|
|
919
|
+
bg: string;
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
'ap-table': {
|
|
923
|
+
header: {
|
|
924
|
+
bg: string;
|
|
925
|
+
};
|
|
926
|
+
pagination: {
|
|
927
|
+
total: {
|
|
928
|
+
color: string;
|
|
929
|
+
count: {
|
|
930
|
+
color: string;
|
|
931
|
+
};
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
setting: {
|
|
935
|
+
button: {
|
|
936
|
+
color: string;
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
'ap-batch-action': {
|
|
941
|
+
color: {
|
|
942
|
+
font: string;
|
|
943
|
+
active: string;
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
basic: {
|
|
947
|
+
color: {
|
|
948
|
+
primary: string;
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
'ap-descriptions': {
|
|
952
|
+
item: {
|
|
953
|
+
'padding-bottom': string;
|
|
954
|
+
'label-width': string;
|
|
955
|
+
};
|
|
956
|
+
'last-row-item': {
|
|
957
|
+
'padding-bottom': string;
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
}>;
|
|
565
961
|
}>;
|
|
566
962
|
__isFragment?: never;
|
|
567
963
|
__isTeleport?: never;
|
|
@@ -719,6 +1115,10 @@ export declare const APConfigProvider: {
|
|
|
719
1115
|
type: PropType<downloadCenterTriggerConfig>;
|
|
720
1116
|
default: () => {};
|
|
721
1117
|
};
|
|
1118
|
+
cssVar: {
|
|
1119
|
+
type: PropType<CssVarType>;
|
|
1120
|
+
default: () => {};
|
|
1121
|
+
};
|
|
722
1122
|
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
723
1123
|
input: {
|
|
724
1124
|
autocomplete?: string;
|
|
@@ -736,6 +1136,9 @@ export declare const APConfigProvider: {
|
|
|
736
1136
|
};
|
|
737
1137
|
scrollbar: ScrollbarGlobalConfig;
|
|
738
1138
|
direction: "ltr" | "rtl";
|
|
1139
|
+
pagination: {
|
|
1140
|
+
showSizeChanger?: boolean;
|
|
1141
|
+
};
|
|
739
1142
|
csp: CSPConfig;
|
|
740
1143
|
autoInsertSpaceInButton: boolean;
|
|
741
1144
|
locale: Locale;
|
|
@@ -745,9 +1148,6 @@ export declare const APConfigProvider: {
|
|
|
745
1148
|
componentDisabled: boolean;
|
|
746
1149
|
virtual: boolean;
|
|
747
1150
|
dropdownMatchSelectWidth: number | boolean;
|
|
748
|
-
pagination: {
|
|
749
|
-
showSizeChanger?: boolean;
|
|
750
|
-
};
|
|
751
1151
|
theme: ThemeConfig;
|
|
752
1152
|
wave: {
|
|
753
1153
|
disabled?: boolean;
|
|
@@ -759,6 +1159,83 @@ export declare const APConfigProvider: {
|
|
|
759
1159
|
apDescriptions: ApDescriptionsConfig;
|
|
760
1160
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
761
1161
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
1162
|
+
cssVar: RecursivePartial<{
|
|
1163
|
+
'ap-form': {
|
|
1164
|
+
bordered: {
|
|
1165
|
+
'border-color': {
|
|
1166
|
+
base: string;
|
|
1167
|
+
hover: string;
|
|
1168
|
+
active: string;
|
|
1169
|
+
};
|
|
1170
|
+
'shadow-color': string;
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
'ap-action': {
|
|
1174
|
+
color: {
|
|
1175
|
+
primary: {
|
|
1176
|
+
base: string;
|
|
1177
|
+
hover: string;
|
|
1178
|
+
};
|
|
1179
|
+
success: string;
|
|
1180
|
+
error: string;
|
|
1181
|
+
warn: string;
|
|
1182
|
+
};
|
|
1183
|
+
};
|
|
1184
|
+
'check-card': {
|
|
1185
|
+
outline: {
|
|
1186
|
+
color: string;
|
|
1187
|
+
};
|
|
1188
|
+
hover: {
|
|
1189
|
+
outline: {
|
|
1190
|
+
color: string;
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
checked: {
|
|
1194
|
+
outline: {
|
|
1195
|
+
color: string;
|
|
1196
|
+
};
|
|
1197
|
+
bg: string;
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
'ap-table': {
|
|
1201
|
+
header: {
|
|
1202
|
+
bg: string;
|
|
1203
|
+
};
|
|
1204
|
+
pagination: {
|
|
1205
|
+
total: {
|
|
1206
|
+
color: string;
|
|
1207
|
+
count: {
|
|
1208
|
+
color: string;
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
setting: {
|
|
1213
|
+
button: {
|
|
1214
|
+
color: string;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
'ap-batch-action': {
|
|
1219
|
+
color: {
|
|
1220
|
+
font: string;
|
|
1221
|
+
active: string;
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
basic: {
|
|
1225
|
+
color: {
|
|
1226
|
+
primary: string;
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
'ap-descriptions': {
|
|
1230
|
+
item: {
|
|
1231
|
+
'padding-bottom': string;
|
|
1232
|
+
'label-width': string;
|
|
1233
|
+
};
|
|
1234
|
+
'last-row-item': {
|
|
1235
|
+
'padding-bottom': string;
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
}>;
|
|
762
1239
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
763
1240
|
$props: {
|
|
764
1241
|
onClick?: () => void;
|
package/lib/src/type.d.ts
CHANGED
|
@@ -28,4 +28,7 @@ export type VueNode = VNodeChildAtom | VNodeChildAtom[] | VNode;
|
|
|
28
28
|
export type LiteralUnion<T extends U, U> = T | (U & {
|
|
29
29
|
zz_IGNORE_ME?: never;
|
|
30
30
|
});
|
|
31
|
+
export type RecursivePartial<T> = {
|
|
32
|
+
[P in keyof T]?: T[P] extends object ? RecursivePartial<T[P]> : T[P];
|
|
33
|
+
};
|
|
31
34
|
export {};
|
|
@@ -51,15 +51,15 @@ export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
|
51
51
|
size?: ButtonSize | number;
|
|
52
52
|
} | undefined;
|
|
53
53
|
direction?: "ltr" | "rtl" | undefined;
|
|
54
|
+
pagination?: {
|
|
55
|
+
showSizeChanger?: boolean;
|
|
56
|
+
} | undefined;
|
|
54
57
|
csp?: CSPConfig | undefined;
|
|
55
58
|
locale?: Locale | undefined;
|
|
56
59
|
pageHeader?: {
|
|
57
60
|
ghost?: boolean;
|
|
58
61
|
} | undefined;
|
|
59
62
|
dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
60
|
-
pagination?: {
|
|
61
|
-
showSizeChanger?: boolean;
|
|
62
|
-
} | undefined;
|
|
63
63
|
theme?: ThemeConfig | undefined;
|
|
64
64
|
wave?: {
|
|
65
65
|
disabled?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"sortablejs": "^1.15.2",
|
|
63
63
|
"vuedraggable": "^4.1.0",
|
|
64
64
|
"@aplus-frontend/hooks": "1.0.7",
|
|
65
|
-
"@aplus-frontend/utils": "1.0.
|
|
65
|
+
"@aplus-frontend/utils": "1.0.38"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@aplus-frontend/icon": "^1.0.21",
|