@aplus-frontend/ui 0.0.29 → 0.0.31
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-field/date-range/index.vue.mjs +15 -15
- package/es/src/ap-form/ap-form-item.vue.mjs +11 -10
- package/es/src/ap-form/interface.d.ts +4 -0
- package/es/src/ap-form/items/checkbox/index.vue.mjs +11 -10
- package/es/src/ap-form/items/date/index.vue.mjs +6 -5
- package/es/src/ap-form/items/date-range/index.vue.mjs +7 -6
- package/es/src/ap-form/items/number/index.vue.mjs +7 -6
- package/es/src/ap-form/items/radio/index.vue.mjs +4 -3
- package/es/src/ap-form/items/select/index.vue.mjs +8 -7
- package/es/src/ap-form/items/switch/index.vue.mjs +7 -6
- package/es/src/ap-form/items/text/index.vue2.mjs +6 -5
- package/es/src/ap-form/items/text/password.vue.mjs +4 -3
- package/es/src/ap-form/items/text-area/index.vue.mjs +7 -6
- package/es/src/ap-form/search-form/index.vue.mjs +82 -79
- package/es/src/ap-form/search-form/utils.d.ts +5 -0
- package/es/src/ap-form/search-form/utils.mjs +35 -0
- package/es/src/ap-form/style/search-form.css +6 -0
- package/es/src/ap-table/ap-table.vue.mjs +84 -81
- package/es/src/ap-table/constants.d.ts +132 -0
- package/es/src/ap-upload/styles/multiple-file.css +1 -1
- package/es/src/editable-table/hooks/use-get-columns.mjs +26 -25
- package/es/src/editable-table/style/index.css +10 -1
- package/es/src/editable-table/utils.d.ts +1 -0
- package/es/src/editable-table/utils.mjs +31 -22
- package/es/src/theme/ap-form/search-form.css +6 -0
- package/es/src/theme/ap-upload/multiple-file.css +1 -1
- package/es/src/theme/editable-table/index.css +10 -1
- package/es/src/transition/create-transition.mjs +34 -34
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/interface.d.ts +4 -0
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.d.ts +5 -0
- package/lib/src/ap-form/search-form/utils.js +1 -0
- package/lib/src/ap-form/style/search-form.css +6 -0
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/constants.d.ts +132 -0
- package/lib/src/ap-upload/styles/multiple-file.css +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/style/index.css +10 -1
- package/lib/src/editable-table/utils.d.ts +1 -0
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/theme/ap-form/search-form.css +6 -0
- package/lib/src/theme/ap-upload/multiple-file.css +1 -1
- package/lib/src/theme/editable-table/index.css +10 -1
- package/lib/src/transition/create-transition.js +1 -1
- package/package.json +1 -1
|
@@ -235,6 +235,9 @@ export declare const apTableFormItemMap: {
|
|
|
235
235
|
initialValue: {
|
|
236
236
|
type: PropType<any>;
|
|
237
237
|
};
|
|
238
|
+
_signal: {
|
|
239
|
+
type: PropType<number>;
|
|
240
|
+
};
|
|
238
241
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
239
242
|
disabled: {
|
|
240
243
|
type: PropType<boolean>;
|
|
@@ -427,6 +430,9 @@ export declare const apTableFormItemMap: {
|
|
|
427
430
|
initialValue: {
|
|
428
431
|
type: PropType<any>;
|
|
429
432
|
};
|
|
433
|
+
_signal: {
|
|
434
|
+
type: PropType<number>;
|
|
435
|
+
};
|
|
430
436
|
}>>, {
|
|
431
437
|
disabled: boolean;
|
|
432
438
|
required: boolean;
|
|
@@ -634,6 +640,9 @@ export declare const apTableFormItemMap: {
|
|
|
634
640
|
initialValue: {
|
|
635
641
|
type: PropType<any>;
|
|
636
642
|
};
|
|
643
|
+
_signal: {
|
|
644
|
+
type: PropType<number>;
|
|
645
|
+
};
|
|
637
646
|
}>>, {}, {}, {}, {}, {
|
|
638
647
|
disabled: boolean;
|
|
639
648
|
required: boolean;
|
|
@@ -838,6 +847,9 @@ export declare const apTableFormItemMap: {
|
|
|
838
847
|
initialValue: {
|
|
839
848
|
type: PropType<any>;
|
|
840
849
|
};
|
|
850
|
+
_signal: {
|
|
851
|
+
type: PropType<number>;
|
|
852
|
+
};
|
|
841
853
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
842
854
|
disabled: boolean;
|
|
843
855
|
required: boolean;
|
|
@@ -1066,6 +1078,9 @@ export declare const apTableFormItemMap: {
|
|
|
1066
1078
|
initialValue: {
|
|
1067
1079
|
type: PropType<any>;
|
|
1068
1080
|
};
|
|
1081
|
+
_signal: {
|
|
1082
|
+
type: PropType<number>;
|
|
1083
|
+
};
|
|
1069
1084
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1070
1085
|
disabled: {
|
|
1071
1086
|
type: PropType<boolean>;
|
|
@@ -1258,6 +1273,9 @@ export declare const apTableFormItemMap: {
|
|
|
1258
1273
|
initialValue: {
|
|
1259
1274
|
type: PropType<any>;
|
|
1260
1275
|
};
|
|
1276
|
+
_signal: {
|
|
1277
|
+
type: PropType<number>;
|
|
1278
|
+
};
|
|
1261
1279
|
}>>, {
|
|
1262
1280
|
disabled: boolean;
|
|
1263
1281
|
required: boolean;
|
|
@@ -1465,6 +1483,9 @@ export declare const apTableFormItemMap: {
|
|
|
1465
1483
|
initialValue: {
|
|
1466
1484
|
type: PropType<any>;
|
|
1467
1485
|
};
|
|
1486
|
+
_signal: {
|
|
1487
|
+
type: PropType<number>;
|
|
1488
|
+
};
|
|
1468
1489
|
}>>, {}, {}, {}, {}, {
|
|
1469
1490
|
disabled: boolean;
|
|
1470
1491
|
required: boolean;
|
|
@@ -1669,6 +1690,9 @@ export declare const apTableFormItemMap: {
|
|
|
1669
1690
|
initialValue: {
|
|
1670
1691
|
type: PropType<any>;
|
|
1671
1692
|
};
|
|
1693
|
+
_signal: {
|
|
1694
|
+
type: PropType<number>;
|
|
1695
|
+
};
|
|
1672
1696
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1673
1697
|
disabled: boolean;
|
|
1674
1698
|
required: boolean;
|
|
@@ -1895,6 +1919,9 @@ export declare const apTableFormItemMap: {
|
|
|
1895
1919
|
initialValue: {
|
|
1896
1920
|
type: PropType<any>;
|
|
1897
1921
|
};
|
|
1922
|
+
_signal: {
|
|
1923
|
+
type: PropType<number>;
|
|
1924
|
+
};
|
|
1898
1925
|
}>>, {
|
|
1899
1926
|
focus: () => void;
|
|
1900
1927
|
blur: () => void;
|
|
@@ -2090,6 +2117,9 @@ export declare const apTableFormItemMap: {
|
|
|
2090
2117
|
initialValue: {
|
|
2091
2118
|
type: PropType<any>;
|
|
2092
2119
|
};
|
|
2120
|
+
_signal: {
|
|
2121
|
+
type: PropType<number>;
|
|
2122
|
+
};
|
|
2093
2123
|
}>>, {
|
|
2094
2124
|
disabled: boolean;
|
|
2095
2125
|
required: boolean;
|
|
@@ -2297,6 +2327,9 @@ export declare const apTableFormItemMap: {
|
|
|
2297
2327
|
initialValue: {
|
|
2298
2328
|
type: PropType<any>;
|
|
2299
2329
|
};
|
|
2330
|
+
_signal: {
|
|
2331
|
+
type: PropType<number>;
|
|
2332
|
+
};
|
|
2300
2333
|
}>>, {
|
|
2301
2334
|
focus: () => void;
|
|
2302
2335
|
blur: () => void;
|
|
@@ -2504,6 +2537,9 @@ export declare const apTableFormItemMap: {
|
|
|
2504
2537
|
initialValue: {
|
|
2505
2538
|
type: PropType<any>;
|
|
2506
2539
|
};
|
|
2540
|
+
_signal: {
|
|
2541
|
+
type: PropType<number>;
|
|
2542
|
+
};
|
|
2507
2543
|
}>>, {
|
|
2508
2544
|
focus: () => void;
|
|
2509
2545
|
blur: () => void;
|
|
@@ -2725,6 +2761,9 @@ export declare const apTableFormItemMap: {
|
|
|
2725
2761
|
initialValue: {
|
|
2726
2762
|
type: PropType<any>;
|
|
2727
2763
|
};
|
|
2764
|
+
_signal: {
|
|
2765
|
+
type: PropType<number>;
|
|
2766
|
+
};
|
|
2728
2767
|
}>>, {
|
|
2729
2768
|
focus: () => void;
|
|
2730
2769
|
blur: () => void;
|
|
@@ -2914,6 +2953,9 @@ export declare const apTableFormItemMap: {
|
|
|
2914
2953
|
initialValue: {
|
|
2915
2954
|
type: PropType<any>;
|
|
2916
2955
|
};
|
|
2956
|
+
_signal: {
|
|
2957
|
+
type: PropType<number>;
|
|
2958
|
+
};
|
|
2917
2959
|
}>>, {
|
|
2918
2960
|
disabled: boolean;
|
|
2919
2961
|
required: boolean;
|
|
@@ -3115,6 +3157,9 @@ export declare const apTableFormItemMap: {
|
|
|
3115
3157
|
initialValue: {
|
|
3116
3158
|
type: PropType<any>;
|
|
3117
3159
|
};
|
|
3160
|
+
_signal: {
|
|
3161
|
+
type: PropType<number>;
|
|
3162
|
+
};
|
|
3118
3163
|
}>>, {
|
|
3119
3164
|
focus: () => void;
|
|
3120
3165
|
blur: () => void;
|
|
@@ -3316,6 +3361,9 @@ export declare const apTableFormItemMap: {
|
|
|
3316
3361
|
initialValue: {
|
|
3317
3362
|
type: PropType<any>;
|
|
3318
3363
|
};
|
|
3364
|
+
_signal: {
|
|
3365
|
+
type: PropType<number>;
|
|
3366
|
+
};
|
|
3319
3367
|
}>>, {
|
|
3320
3368
|
focus: () => void;
|
|
3321
3369
|
blur: () => void;
|
|
@@ -3531,6 +3579,9 @@ export declare const apTableFormItemMap: {
|
|
|
3531
3579
|
initialValue: {
|
|
3532
3580
|
type: PropType<any>;
|
|
3533
3581
|
};
|
|
3582
|
+
_signal: {
|
|
3583
|
+
type: PropType<number>;
|
|
3584
|
+
};
|
|
3534
3585
|
}>>, {
|
|
3535
3586
|
focus: () => void;
|
|
3536
3587
|
blur: () => void;
|
|
@@ -3726,6 +3777,9 @@ export declare const apTableFormItemMap: {
|
|
|
3726
3777
|
initialValue: {
|
|
3727
3778
|
type: PropType<any>;
|
|
3728
3779
|
};
|
|
3780
|
+
_signal: {
|
|
3781
|
+
type: PropType<number>;
|
|
3782
|
+
};
|
|
3729
3783
|
}>>, {
|
|
3730
3784
|
disabled: boolean;
|
|
3731
3785
|
required: boolean;
|
|
@@ -3933,6 +3987,9 @@ export declare const apTableFormItemMap: {
|
|
|
3933
3987
|
initialValue: {
|
|
3934
3988
|
type: PropType<any>;
|
|
3935
3989
|
};
|
|
3990
|
+
_signal: {
|
|
3991
|
+
type: PropType<number>;
|
|
3992
|
+
};
|
|
3936
3993
|
}>>, {
|
|
3937
3994
|
focus: () => void;
|
|
3938
3995
|
blur: () => void;
|
|
@@ -4140,6 +4197,9 @@ export declare const apTableFormItemMap: {
|
|
|
4140
4197
|
initialValue: {
|
|
4141
4198
|
type: PropType<any>;
|
|
4142
4199
|
};
|
|
4200
|
+
_signal: {
|
|
4201
|
+
type: PropType<number>;
|
|
4202
|
+
};
|
|
4143
4203
|
}>>, {
|
|
4144
4204
|
focus: () => void;
|
|
4145
4205
|
blur: () => void;
|
|
@@ -4368,6 +4428,9 @@ export declare const apTableFormItemMap: {
|
|
|
4368
4428
|
initialValue: {
|
|
4369
4429
|
type: PropType<any>;
|
|
4370
4430
|
};
|
|
4431
|
+
_signal: {
|
|
4432
|
+
type: PropType<number>;
|
|
4433
|
+
};
|
|
4371
4434
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
4372
4435
|
disabled: {
|
|
4373
4436
|
type: PropType<boolean>;
|
|
@@ -4555,6 +4618,9 @@ export declare const apTableFormItemMap: {
|
|
|
4555
4618
|
initialValue: {
|
|
4556
4619
|
type: PropType<any>;
|
|
4557
4620
|
};
|
|
4621
|
+
_signal: {
|
|
4622
|
+
type: PropType<number>;
|
|
4623
|
+
};
|
|
4558
4624
|
}>>, {
|
|
4559
4625
|
disabled: boolean;
|
|
4560
4626
|
required: boolean;
|
|
@@ -4758,6 +4824,9 @@ export declare const apTableFormItemMap: {
|
|
|
4758
4824
|
initialValue: {
|
|
4759
4825
|
type: PropType<any>;
|
|
4760
4826
|
};
|
|
4827
|
+
_signal: {
|
|
4828
|
+
type: PropType<number>;
|
|
4829
|
+
};
|
|
4761
4830
|
}>>, {}, {}, {}, {}, {
|
|
4762
4831
|
disabled: boolean;
|
|
4763
4832
|
required: boolean;
|
|
@@ -4958,6 +5027,9 @@ export declare const apTableFormItemMap: {
|
|
|
4958
5027
|
initialValue: {
|
|
4959
5028
|
type: PropType<any>;
|
|
4960
5029
|
};
|
|
5030
|
+
_signal: {
|
|
5031
|
+
type: PropType<number>;
|
|
5032
|
+
};
|
|
4961
5033
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
4962
5034
|
disabled: boolean;
|
|
4963
5035
|
required: boolean;
|
|
@@ -5171,6 +5243,9 @@ export declare const apTableFormItemMap: {
|
|
|
5171
5243
|
initialValue: {
|
|
5172
5244
|
type: PropType<any>;
|
|
5173
5245
|
};
|
|
5246
|
+
_signal: {
|
|
5247
|
+
type: PropType<number>;
|
|
5248
|
+
};
|
|
5174
5249
|
}>>, {
|
|
5175
5250
|
focus: (options?: InputFocusOptions | undefined) => void;
|
|
5176
5251
|
blur: () => void;
|
|
@@ -5369,6 +5444,9 @@ export declare const apTableFormItemMap: {
|
|
|
5369
5444
|
initialValue: {
|
|
5370
5445
|
type: PropType<any>;
|
|
5371
5446
|
};
|
|
5447
|
+
_signal: {
|
|
5448
|
+
type: PropType<number>;
|
|
5449
|
+
};
|
|
5372
5450
|
}>>, {
|
|
5373
5451
|
disabled: boolean;
|
|
5374
5452
|
required: boolean;
|
|
@@ -5576,6 +5654,9 @@ export declare const apTableFormItemMap: {
|
|
|
5576
5654
|
initialValue: {
|
|
5577
5655
|
type: PropType<any>;
|
|
5578
5656
|
};
|
|
5657
|
+
_signal: {
|
|
5658
|
+
type: PropType<number>;
|
|
5659
|
+
};
|
|
5579
5660
|
}>>, {
|
|
5580
5661
|
focus: (options?: InputFocusOptions | undefined) => void;
|
|
5581
5662
|
blur: () => void;
|
|
@@ -5786,6 +5867,9 @@ export declare const apTableFormItemMap: {
|
|
|
5786
5867
|
initialValue: {
|
|
5787
5868
|
type: PropType<any>;
|
|
5788
5869
|
};
|
|
5870
|
+
_signal: {
|
|
5871
|
+
type: PropType<number>;
|
|
5872
|
+
};
|
|
5789
5873
|
}>>, {
|
|
5790
5874
|
focus: (options?: InputFocusOptions | undefined) => void;
|
|
5791
5875
|
blur: () => void;
|
|
@@ -6008,6 +6092,9 @@ export declare const apTableFormItemMap: {
|
|
|
6008
6092
|
initialValue: {
|
|
6009
6093
|
type: PropType<any>;
|
|
6010
6094
|
};
|
|
6095
|
+
_signal: {
|
|
6096
|
+
type: PropType<number>;
|
|
6097
|
+
};
|
|
6011
6098
|
}>>, {
|
|
6012
6099
|
focus: () => void;
|
|
6013
6100
|
blur: () => void;
|
|
@@ -6203,6 +6290,9 @@ export declare const apTableFormItemMap: {
|
|
|
6203
6290
|
initialValue: {
|
|
6204
6291
|
type: PropType<any>;
|
|
6205
6292
|
};
|
|
6293
|
+
_signal: {
|
|
6294
|
+
type: PropType<number>;
|
|
6295
|
+
};
|
|
6206
6296
|
}>>, {
|
|
6207
6297
|
disabled: boolean;
|
|
6208
6298
|
required: boolean;
|
|
@@ -6410,6 +6500,9 @@ export declare const apTableFormItemMap: {
|
|
|
6410
6500
|
initialValue: {
|
|
6411
6501
|
type: PropType<any>;
|
|
6412
6502
|
};
|
|
6503
|
+
_signal: {
|
|
6504
|
+
type: PropType<number>;
|
|
6505
|
+
};
|
|
6413
6506
|
}>>, {
|
|
6414
6507
|
focus: () => void;
|
|
6415
6508
|
blur: () => void;
|
|
@@ -6617,6 +6710,9 @@ export declare const apTableFormItemMap: {
|
|
|
6617
6710
|
initialValue: {
|
|
6618
6711
|
type: PropType<any>;
|
|
6619
6712
|
};
|
|
6713
|
+
_signal: {
|
|
6714
|
+
type: PropType<number>;
|
|
6715
|
+
};
|
|
6620
6716
|
}>>, {
|
|
6621
6717
|
focus: () => void;
|
|
6622
6718
|
blur: () => void;
|
|
@@ -6836,6 +6932,9 @@ export declare const apTableFormItemMap: {
|
|
|
6836
6932
|
initialValue: {
|
|
6837
6933
|
type: PropType<any>;
|
|
6838
6934
|
};
|
|
6935
|
+
_signal: {
|
|
6936
|
+
type: PropType<number>;
|
|
6937
|
+
};
|
|
6839
6938
|
}>>, {
|
|
6840
6939
|
focus: (options?: InputFocusOptions | undefined) => void;
|
|
6841
6940
|
blur: () => void;
|
|
@@ -7029,6 +7128,9 @@ export declare const apTableFormItemMap: {
|
|
|
7029
7128
|
initialValue: {
|
|
7030
7129
|
type: PropType<any>;
|
|
7031
7130
|
};
|
|
7131
|
+
_signal: {
|
|
7132
|
+
type: PropType<number>;
|
|
7133
|
+
};
|
|
7032
7134
|
}>>, {
|
|
7033
7135
|
disabled: boolean;
|
|
7034
7136
|
required: boolean;
|
|
@@ -7233,6 +7335,9 @@ export declare const apTableFormItemMap: {
|
|
|
7233
7335
|
initialValue: {
|
|
7234
7336
|
type: PropType<any>;
|
|
7235
7337
|
};
|
|
7338
|
+
_signal: {
|
|
7339
|
+
type: PropType<number>;
|
|
7340
|
+
};
|
|
7236
7341
|
}>>, {
|
|
7237
7342
|
focus: (options?: InputFocusOptions | undefined) => void;
|
|
7238
7343
|
blur: () => void;
|
|
@@ -7438,6 +7543,9 @@ export declare const apTableFormItemMap: {
|
|
|
7438
7543
|
initialValue: {
|
|
7439
7544
|
type: PropType<any>;
|
|
7440
7545
|
};
|
|
7546
|
+
_signal: {
|
|
7547
|
+
type: PropType<number>;
|
|
7548
|
+
};
|
|
7441
7549
|
}>>, {
|
|
7442
7550
|
focus: (options?: InputFocusOptions | undefined) => void;
|
|
7443
7551
|
blur: () => void;
|
|
@@ -7648,6 +7756,9 @@ export declare const apTableFormItemMap: {
|
|
|
7648
7756
|
initialValue: {
|
|
7649
7757
|
type: PropType<any>;
|
|
7650
7758
|
};
|
|
7759
|
+
_signal: {
|
|
7760
|
+
type: PropType<number>;
|
|
7761
|
+
};
|
|
7651
7762
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
7652
7763
|
disabled: {
|
|
7653
7764
|
type: PropType<boolean>;
|
|
@@ -7834,6 +7945,9 @@ export declare const apTableFormItemMap: {
|
|
|
7834
7945
|
initialValue: {
|
|
7835
7946
|
type: PropType<any>;
|
|
7836
7947
|
};
|
|
7948
|
+
_signal: {
|
|
7949
|
+
type: PropType<number>;
|
|
7950
|
+
};
|
|
7837
7951
|
}>>, {
|
|
7838
7952
|
disabled: boolean;
|
|
7839
7953
|
required: boolean;
|
|
@@ -8035,6 +8149,9 @@ export declare const apTableFormItemMap: {
|
|
|
8035
8149
|
initialValue: {
|
|
8036
8150
|
type: PropType<any>;
|
|
8037
8151
|
};
|
|
8152
|
+
_signal: {
|
|
8153
|
+
type: PropType<number>;
|
|
8154
|
+
};
|
|
8038
8155
|
}>>, {}, {}, {}, {}, {
|
|
8039
8156
|
disabled: boolean;
|
|
8040
8157
|
required: boolean;
|
|
@@ -8233,6 +8350,9 @@ export declare const apTableFormItemMap: {
|
|
|
8233
8350
|
initialValue: {
|
|
8234
8351
|
type: PropType<any>;
|
|
8235
8352
|
};
|
|
8353
|
+
_signal: {
|
|
8354
|
+
type: PropType<number>;
|
|
8355
|
+
};
|
|
8236
8356
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
8237
8357
|
disabled: boolean;
|
|
8238
8358
|
required: boolean;
|
|
@@ -8445,6 +8565,9 @@ export declare const apTableFormItemMap: {
|
|
|
8445
8565
|
initialValue: {
|
|
8446
8566
|
type: PropType<any>;
|
|
8447
8567
|
};
|
|
8568
|
+
_signal: {
|
|
8569
|
+
type: PropType<number>;
|
|
8570
|
+
};
|
|
8448
8571
|
}>>, {
|
|
8449
8572
|
focus: () => void;
|
|
8450
8573
|
blur: () => void;
|
|
@@ -8640,6 +8763,9 @@ export declare const apTableFormItemMap: {
|
|
|
8640
8763
|
initialValue: {
|
|
8641
8764
|
type: PropType<any>;
|
|
8642
8765
|
};
|
|
8766
|
+
_signal: {
|
|
8767
|
+
type: PropType<number>;
|
|
8768
|
+
};
|
|
8643
8769
|
}>>, {
|
|
8644
8770
|
disabled: boolean;
|
|
8645
8771
|
required: boolean;
|
|
@@ -8847,6 +8973,9 @@ export declare const apTableFormItemMap: {
|
|
|
8847
8973
|
initialValue: {
|
|
8848
8974
|
type: PropType<any>;
|
|
8849
8975
|
};
|
|
8976
|
+
_signal: {
|
|
8977
|
+
type: PropType<number>;
|
|
8978
|
+
};
|
|
8850
8979
|
}>>, {
|
|
8851
8980
|
focus: () => void;
|
|
8852
8981
|
blur: () => void;
|
|
@@ -9054,6 +9183,9 @@ export declare const apTableFormItemMap: {
|
|
|
9054
9183
|
initialValue: {
|
|
9055
9184
|
type: PropType<any>;
|
|
9056
9185
|
};
|
|
9186
|
+
_signal: {
|
|
9187
|
+
type: PropType<number>;
|
|
9188
|
+
};
|
|
9057
9189
|
}>>, {
|
|
9058
9190
|
focus: () => void;
|
|
9059
9191
|
blur: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),c=require("lodash-unified"),i=require("../utils.js"),d=require("../../ap-table/utils.js");require("../../config-provider/index.js");const f=require("../../ap-table/constants.js"),R=require("ant-design-vue"),T=require("../../config-provider/hooks/use-locale.js"),F=t=>{const{t:y}=T.useLocale(),h=s.computed(()=>{let l=t.columns;return l?(l=l.map(e=>({...c.omit(e,["ellipsis"]),customRender({value:o,...a}){const p=c.isFunction(e.editable)?e.editable(a.text,a.record,a.index):!!e.editable;let r;if(p){const u=i.getEditableComponent(e.valueType),n=d.updateFormProps(e,d.getFieldProps(e.fieldProps,{value:o,...a})),g={};t.onFieldChange&&(g[`onUpdate:${n.valuePropName||"value"}`]=x=>{var b;return(b=t.onFieldChange)==null?void 0:b.call(t,a.index,e.dataIndex,x)});const q={name:[t.name,a.index,e.dataIndex],...n||{},placeholder:d.getPlaceholder(y,e.valueType,n==null?void 0:n.placeholder),field:{style:"width: 100%",...(n==null?void 0:n.field)||{},...g,class:i.mergeClass("is-editable",n.class)}};r=s.createVNode(u,q,null)}else{const u=f.apTableRenderItemMap[e.valueType],n=d.getTableRenderProps(e,{value:o,...a});r=C(e,o,s.createVNode(u,s.mergeProps(n,{mode:"read"}),null))}return e.customRender?e.customRender({value:o,...a,editable:p,originalNode:r}):r}})),l):[]});function C(l,e,o){return f.noRenderAsFormItemValueList.includes(l.valueType)?o:l.copyable||l.ellipsis?s.createVNode(R.Typography.Paragraph,{copyable:l.copyable?{text:e,tooltip:!1}:!1,ellipsis:l.ellipsis?c.isBoolean(l.ellipsis)?{tooltip:e}:{...l.ellipsis,tooltip:e}:!1,content:l.ellipsis?i.getRawDisplayValue(l,e):o},null):o}return h};exports.default=F;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.aplus-editable-table .ant-form-item {
|
|
2
|
-
margin-bottom:
|
|
2
|
+
margin-bottom: 20px;
|
|
3
3
|
}
|
|
4
4
|
.aplus-editable-table__header-cell--required {
|
|
5
5
|
color: #FF4D4F;
|
|
@@ -37,12 +37,18 @@
|
|
|
37
37
|
.aplus-editable-table-admin tr > td.ant-table-cell {
|
|
38
38
|
border-top-color: #E9E9E9;
|
|
39
39
|
}
|
|
40
|
+
.aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable) {
|
|
41
|
+
padding: 20px 16px 0px;
|
|
42
|
+
}
|
|
40
43
|
.aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
41
44
|
padding: 12px 16px;
|
|
42
45
|
}
|
|
43
46
|
.aplus-editable-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell {
|
|
44
47
|
padding: 12px 16px;
|
|
45
48
|
}
|
|
49
|
+
.aplus-editable-table .ant-table.ant-table-small .ant-table-row .ant-table-cell:has(.is-editable) {
|
|
50
|
+
padding: 20px 16px 0px;
|
|
51
|
+
}
|
|
46
52
|
.aplus-editable-table .ant-table.ant-table-small .ant-table-row .ant-table-cell {
|
|
47
53
|
padding: 9px 16px;
|
|
48
54
|
}
|
|
@@ -55,3 +61,6 @@
|
|
|
55
61
|
.aplus-editable-table .ant-table-cell .ant-typography {
|
|
56
62
|
margin-bottom: 0;
|
|
57
63
|
}
|
|
64
|
+
.aplus-editable-table .ant-form-item-explain-error {
|
|
65
|
+
text-align: left;
|
|
66
|
+
}
|
|
@@ -19,3 +19,4 @@ export declare function getColumnIsRequired(column: EditableColumnType<any, 'tex
|
|
|
19
19
|
* @returns
|
|
20
20
|
*/
|
|
21
21
|
export declare function getRawDisplayValue(column: EditableColumnType, value: any): any;
|
|
22
|
+
export declare function mergeClass(current: string, classNames?: string | string[]): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("lodash-unified"),s=require("../ap-table/constants.js"),o=require("../utils/index.js"),u=require("../ap-field/number/helper.js");function d(r){const e=s.apTableFormItemMap[r];return e||console.warn(`${r} can not render because of no default renderer, use customRender instead.`),e}function f(r){if(!r.fieldProps)return!1;const e=i.isFunction(r.fieldProps)?r.fieldProps({}):r.fieldProps;return o.isDef(e.required)?e.required:(i.isArray(e.rules)?e.rules:e.rules?[e.rules]:[]).some(n=>n.required)}function l(r,e){if(r.valueType==="text"||r.valueType==="textArea")return e||"--";if(r.valueType==="number"){const t=r.fieldProps?i.isFunction(r.fieldProps)?r.fieldProps({}):r.fieldProps:{};return u.getValueStr(e,t)||"--"}return e}function a(r,e){const t=[r];if(e){const n=i.isArray(e)?e:[e];t.unshift(...n)}return t.join(" ")}exports.getColumnIsRequired=f;exports.getEditableComponent=d;exports.getRawDisplayValue=l;exports.mergeClass=a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.aplus-editable-table .ant-form-item {
|
|
2
|
-
margin-bottom:
|
|
2
|
+
margin-bottom: 20px;
|
|
3
3
|
}
|
|
4
4
|
.aplus-editable-table__header-cell--required {
|
|
5
5
|
color: #FF4D4F;
|
|
@@ -37,12 +37,18 @@
|
|
|
37
37
|
.aplus-editable-table-admin tr > td.ant-table-cell {
|
|
38
38
|
border-top-color: #E9E9E9;
|
|
39
39
|
}
|
|
40
|
+
.aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable) {
|
|
41
|
+
padding: 20px 16px 0px;
|
|
42
|
+
}
|
|
40
43
|
.aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
41
44
|
padding: 12px 16px;
|
|
42
45
|
}
|
|
43
46
|
.aplus-editable-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell {
|
|
44
47
|
padding: 12px 16px;
|
|
45
48
|
}
|
|
49
|
+
.aplus-editable-table .ant-table.ant-table-small .ant-table-row .ant-table-cell:has(.is-editable) {
|
|
50
|
+
padding: 20px 16px 0px;
|
|
51
|
+
}
|
|
46
52
|
.aplus-editable-table .ant-table.ant-table-small .ant-table-row .ant-table-cell {
|
|
47
53
|
padding: 9px 16px;
|
|
48
54
|
}
|
|
@@ -55,3 +61,6 @@
|
|
|
55
61
|
.aplus-editable-table .ant-table-cell .ant-typography {
|
|
56
62
|
margin-bottom: 0;
|
|
57
63
|
}
|
|
64
|
+
.aplus-editable-table .ant-form-item-explain-error {
|
|
65
|
+
text-align: left;
|
|
66
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("../utils/slot.js");require("../config-provider/index.js");require("./style/index.css");const d=require("@aplus-frontend/utils"),c=require("../config-provider/hooks/use-namespace.js");function l(r){return"Ap"+r.split("-").map(n=>d.upperFirst(n)).join("")}function f(r,t="top center 0",n){return e.defineComponent({name:l(r),props:{group:{type:Boolean,default:!1},mode:{type:String,default:n},origin:{type:String,default:t}},setup(o,{slots:a,attrs:i}){const{b:s}=c.useNamespace(r),m=u=>{u.style.transformOrigin=o.origin};return()=>{const u=o.group?e.TransitionGroup:e.Transition;return e.createVNode(u,e.mergeProps({name:s(),mode:o.mode},i,{onBeforeEnter:m}),{default:()=>p.getSlot(a)})}}})}function g(r,t,n="in-out"){return e.defineComponent({name:l(r),props:{mode:{type:String,default:n}},setup(o,{attrs:a,slots:i}){const{b:s}=c.useNamespace(r);return()=>e.createVNode(e.Transition,e.mergeProps({name:s(),mode:o.mode},a,{onBeforeEnter:t.beforeEnter,onEnter:t.enter,onLeave:t.leave,onAfterLeave:t.afterLeave,onLeaveCancelled:t.afterLeave}),{default:()=>p.getSlot(i)})}})}exports.createJavascriptTransition=g;exports.createSimpleTransition=f;
|