@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.
Files changed (57) hide show
  1. package/es/src/ap-field/date-range/index.vue.mjs +15 -15
  2. package/es/src/ap-form/ap-form-item.vue.mjs +11 -10
  3. package/es/src/ap-form/interface.d.ts +4 -0
  4. package/es/src/ap-form/items/checkbox/index.vue.mjs +11 -10
  5. package/es/src/ap-form/items/date/index.vue.mjs +6 -5
  6. package/es/src/ap-form/items/date-range/index.vue.mjs +7 -6
  7. package/es/src/ap-form/items/number/index.vue.mjs +7 -6
  8. package/es/src/ap-form/items/radio/index.vue.mjs +4 -3
  9. package/es/src/ap-form/items/select/index.vue.mjs +8 -7
  10. package/es/src/ap-form/items/switch/index.vue.mjs +7 -6
  11. package/es/src/ap-form/items/text/index.vue2.mjs +6 -5
  12. package/es/src/ap-form/items/text/password.vue.mjs +4 -3
  13. package/es/src/ap-form/items/text-area/index.vue.mjs +7 -6
  14. package/es/src/ap-form/search-form/index.vue.mjs +82 -79
  15. package/es/src/ap-form/search-form/utils.d.ts +5 -0
  16. package/es/src/ap-form/search-form/utils.mjs +35 -0
  17. package/es/src/ap-form/style/search-form.css +6 -0
  18. package/es/src/ap-table/ap-table.vue.mjs +84 -81
  19. package/es/src/ap-table/constants.d.ts +132 -0
  20. package/es/src/ap-upload/styles/multiple-file.css +1 -1
  21. package/es/src/editable-table/hooks/use-get-columns.mjs +26 -25
  22. package/es/src/editable-table/style/index.css +10 -1
  23. package/es/src/editable-table/utils.d.ts +1 -0
  24. package/es/src/editable-table/utils.mjs +31 -22
  25. package/es/src/theme/ap-form/search-form.css +6 -0
  26. package/es/src/theme/ap-upload/multiple-file.css +1 -1
  27. package/es/src/theme/editable-table/index.css +10 -1
  28. package/es/src/transition/create-transition.mjs +34 -34
  29. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  30. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  31. package/lib/src/ap-form/interface.d.ts +4 -0
  32. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  33. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  34. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  35. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  36. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  37. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  38. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  39. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  40. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  41. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  42. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  43. package/lib/src/ap-form/search-form/utils.d.ts +5 -0
  44. package/lib/src/ap-form/search-form/utils.js +1 -0
  45. package/lib/src/ap-form/style/search-form.css +6 -0
  46. package/lib/src/ap-table/ap-table.vue.js +1 -1
  47. package/lib/src/ap-table/constants.d.ts +132 -0
  48. package/lib/src/ap-upload/styles/multiple-file.css +1 -1
  49. package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
  50. package/lib/src/editable-table/style/index.css +10 -1
  51. package/lib/src/editable-table/utils.d.ts +1 -0
  52. package/lib/src/editable-table/utils.js +1 -1
  53. package/lib/src/theme/ap-form/search-form.css +6 -0
  54. package/lib/src/theme/ap-upload/multiple-file.css +1 -1
  55. package/lib/src/theme/editable-table/index.css +10 -1
  56. package/lib/src/transition/create-transition.js +1 -1
  57. 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;
@@ -16,7 +16,7 @@
16
16
  color: #0070ff;
17
17
  }
18
18
  .aplus-ap-upload-multiple-file .multiple-file-context .sub-title {
19
- margin-left: 16px;
19
+ padding-left: 16px;
20
20
  color: #8896b0;
21
21
  font-size: 14px;
22
22
  }
@@ -1,65 +1,66 @@
1
- import { computed as b, createVNode as i, mergeProps as x } from "vue";
2
- import { omit as h, isFunction as C, isBoolean as R } from "lodash-unified";
3
- import { getEditableComponent as F, getRawDisplayValue as T } from "../utils.mjs";
4
- import { updateFormProps as I, getFieldProps as N, getPlaceholder as V, getTableRenderProps as w } from "../../ap-table/utils.mjs";
1
+ import { computed as y, createVNode as s, mergeProps as x } from "vue";
2
+ import { omit as C, isFunction as h, isBoolean as R } from "lodash-unified";
3
+ import { getEditableComponent as F, mergeClass as T, getRawDisplayValue as I } from "../utils.mjs";
4
+ import { updateFormProps as N, getFieldProps as V, getPlaceholder as w, getTableRenderProps as L } from "../../ap-table/utils.mjs";
5
5
  import "../../config-provider/index.mjs";
6
- import { apTableRenderItemMap as L, noRenderAsFormItemValueList as M } from "../../ap-table/constants.mjs";
7
- import { Typography as A } from "ant-design-vue";
8
- import { useLocale as B } from "../../config-provider/hooks/use-locale.mjs";
9
- const q = (t) => {
6
+ import { apTableRenderItemMap as M, noRenderAsFormItemValueList as A } from "../../ap-table/constants.mjs";
7
+ import { Typography as B } from "ant-design-vue";
8
+ import { useLocale as D } from "../../config-provider/hooks/use-locale.mjs";
9
+ const v = (t) => {
10
10
  const {
11
11
  t: u
12
- } = B(), f = b(() => {
12
+ } = D(), f = y(() => {
13
13
  let l = t.columns;
14
14
  return l ? (l = l.map((e) => ({
15
- ...h(e, ["ellipsis"]),
15
+ ...C(e, ["ellipsis"]),
16
16
  customRender({
17
17
  value: n,
18
18
  ...a
19
19
  }) {
20
- const c = C(e.editable) ? e.editable(a.text, a.record, a.index) : !!e.editable;
20
+ const i = h(e.editable) ? e.editable(a.text, a.record, a.index) : !!e.editable;
21
21
  let r;
22
- if (c) {
23
- const d = F(e.valueType), o = I(e, N(e.fieldProps, {
22
+ if (i) {
23
+ const d = F(e.valueType), o = N(e, V(e.fieldProps, {
24
24
  value: n,
25
25
  ...a
26
- })), s = {};
27
- t.onFieldChange && (s[`onUpdate:${o.valuePropName || "value"}`] = (y) => {
26
+ })), c = {};
27
+ t.onFieldChange && (c[`onUpdate:${o.valuePropName || "value"}`] = (b) => {
28
28
  var p;
29
- return (p = t.onFieldChange) == null ? void 0 : p.call(t, a.index, e.dataIndex, y);
29
+ return (p = t.onFieldChange) == null ? void 0 : p.call(t, a.index, e.dataIndex, b);
30
30
  });
31
31
  const g = {
32
32
  name: [t.name, a.index, e.dataIndex],
33
33
  ...o || {},
34
34
  // 格式化placeholder
35
- placeholder: V(u, e.valueType, o == null ? void 0 : o.placeholder),
35
+ placeholder: w(u, e.valueType, o == null ? void 0 : o.placeholder),
36
36
  field: {
37
37
  style: "width: 100%",
38
38
  ...(o == null ? void 0 : o.field) || {},
39
- ...s
39
+ ...c,
40
+ class: T("is-editable", o.class)
40
41
  }
41
42
  };
42
- r = i(d, g, null);
43
+ r = s(d, g, null);
43
44
  } else {
44
- const d = L[e.valueType], o = w(e, {
45
+ const d = M[e.valueType], o = L(e, {
45
46
  value: n,
46
47
  ...a
47
48
  });
48
- r = m(e, n, i(d, x(o, {
49
+ r = m(e, n, s(d, x(o, {
49
50
  mode: "read"
50
51
  }), null));
51
52
  }
52
53
  return e.customRender ? e.customRender({
53
54
  value: n,
54
55
  ...a,
55
- editable: c,
56
+ editable: i,
56
57
  originalNode: r
57
58
  }) : r;
58
59
  }
59
60
  })), l) : [];
60
61
  });
61
62
  function m(l, e, n) {
62
- return M.includes(l.valueType) ? n : l.copyable || l.ellipsis ? i(A.Paragraph, {
63
+ return A.includes(l.valueType) ? n : l.copyable || l.ellipsis ? s(B.Paragraph, {
63
64
  copyable: l.copyable ? {
64
65
  text: e,
65
66
  tooltip: !1
@@ -70,11 +71,11 @@ const q = (t) => {
70
71
  ...l.ellipsis,
71
72
  tooltip: e
72
73
  } : !1,
73
- content: l.ellipsis ? T(l, e) : n
74
+ content: l.ellipsis ? I(l, e) : n
74
75
  }, null) : n;
75
76
  }
76
77
  return f;
77
78
  };
78
79
  export {
79
- q as default
80
+ v as default
80
81
  };
@@ -1,5 +1,5 @@
1
1
  .aplus-editable-table .ant-form-item {
2
- margin-bottom: 0px;
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,30 +1,39 @@
1
- import { isFunction as i, isArray as o } from "lodash-unified";
2
- import { apTableFormItemMap as f } from "../ap-table/constants.mjs";
3
- import { isDef as n } from "../utils/index.mjs";
4
- import { getValueStr as p } from "../ap-field/number/helper.mjs";
5
- function P(e) {
6
- const r = f[e];
7
- return r || console.warn(
8
- `${e} can not render because of no default renderer, use customRender instead.`
9
- ), r;
1
+ import { isFunction as o, isArray as n } from "lodash-unified";
2
+ import { apTableFormItemMap as s } from "../ap-table/constants.mjs";
3
+ import { isDef as f } from "../utils/index.mjs";
4
+ import { getValueStr as u } from "../ap-field/number/helper.mjs";
5
+ function P(r) {
6
+ const e = s[r];
7
+ return e || console.warn(
8
+ `${r} can not render because of no default renderer, use customRender instead.`
9
+ ), e;
10
10
  }
11
- function m(e) {
12
- if (!e.fieldProps)
11
+ function g(r) {
12
+ if (!r.fieldProps)
13
13
  return !1;
14
- const r = i(e.fieldProps) ? e.fieldProps({}) : e.fieldProps;
15
- return n(r.required) ? r.required : (o(r.rules) ? r.rules : r.rules ? [r.rules] : []).some((s) => s.required);
14
+ const e = o(r.fieldProps) ? r.fieldProps({}) : r.fieldProps;
15
+ return f(e.required) ? e.required : (n(e.rules) ? e.rules : e.rules ? [e.rules] : []).some((i) => i.required);
16
16
  }
17
- function b(e, r) {
18
- if (e.valueType === "text" || e.valueType === "textArea")
19
- return r || "--";
20
- if (e.valueType === "number") {
21
- const t = e.fieldProps ? i(e.fieldProps) ? e.fieldProps({}) : e.fieldProps : {};
22
- return p(r, t) || "--";
17
+ function m(r, e) {
18
+ if (r.valueType === "text" || r.valueType === "textArea")
19
+ return e || "--";
20
+ if (r.valueType === "number") {
21
+ const t = r.fieldProps ? o(r.fieldProps) ? r.fieldProps({}) : r.fieldProps : {};
22
+ return u(e, t) || "--";
23
23
  }
24
- return r;
24
+ return e;
25
+ }
26
+ function C(r, e) {
27
+ const t = [r];
28
+ if (e) {
29
+ const i = n(e) ? e : [e];
30
+ t.unshift(...i);
31
+ }
32
+ return t.join(" ");
25
33
  }
26
34
  export {
27
- m as getColumnIsRequired,
35
+ g as getColumnIsRequired,
28
36
  P as getEditableComponent,
29
- b as getRawDisplayValue
37
+ m as getRawDisplayValue,
38
+ C as mergeClass
30
39
  };
@@ -1,3 +1,9 @@
1
1
  .aplus-ap-form-search-form .ant-form-item {
2
2
  margin-bottom: 16px;
3
3
  }
4
+ .aplus-ap-form-search-form .ant-form-item-control .ant-picker {
5
+ display: flex;
6
+ }
7
+ .aplus-ap-form-search-form .ant-form-item-control .ant-input-number {
8
+ width: 100%;
9
+ }
@@ -16,7 +16,7 @@
16
16
  color: #0070ff;
17
17
  }
18
18
  .aplus-ap-upload-multiple-file .multiple-file-context .sub-title {
19
- margin-left: 16px;
19
+ padding-left: 16px;
20
20
  color: #8896b0;
21
21
  font-size: 14px;
22
22
  }
@@ -1,5 +1,5 @@
1
1
  .aplus-editable-table .ant-form-item {
2
- margin-bottom: 0px;
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
+ }