@aplus-frontend/ui 7.14.3 → 7.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/es/src/ap-field/checkbox/index.vue.d.ts +3 -1
  2. package/es/src/ap-field/checkbox/index.vue.mjs +37 -31
  3. package/es/src/ap-field/interface.d.ts +4 -2
  4. package/es/src/ap-field/radio/index.vue.d.ts +1 -2
  5. package/es/src/ap-field/radio/index.vue.mjs +36 -41
  6. package/es/src/ap-field/select/index.vue.d.ts +2 -2
  7. package/es/src/ap-field/select/index.vue.mjs +41 -39
  8. package/es/src/ap-field/style/select.mjs +1 -1
  9. package/es/src/ap-form/items/radio/index.vue.d.ts +5 -10
  10. package/es/src/ap-form/items/radio/index.vue.mjs +15 -20
  11. package/es/src/ap-table/constants.d.ts +5 -10
  12. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +36 -36
  13. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +28 -27
  14. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +78 -81
  15. package/es/src/config-provider/config-provider-props.d.ts +3 -1
  16. package/es/src/config-provider/config-provider.d.ts +7 -28
  17. package/es/src/config-provider/hooks/use-global-config.d.ts +3 -10
  18. package/es/src/config-provider/index.d.ts +13 -55
  19. package/es/src/version.d.ts +1 -1
  20. package/es/src/version.mjs +1 -1
  21. package/lib/src/ap-field/checkbox/index.vue.d.ts +3 -1
  22. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  23. package/lib/src/ap-field/interface.d.ts +4 -2
  24. package/lib/src/ap-field/radio/index.vue.d.ts +1 -2
  25. package/lib/src/ap-field/radio/index.vue.js +1 -1
  26. package/lib/src/ap-field/select/index.vue.d.ts +2 -2
  27. package/lib/src/ap-field/select/index.vue.js +1 -1
  28. package/lib/src/ap-field/style/select.js +1 -1
  29. package/lib/src/ap-form/items/radio/index.vue.d.ts +5 -10
  30. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  31. package/lib/src/ap-table/constants.d.ts +5 -10
  32. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  33. package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
  34. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  35. package/lib/src/config-provider/config-provider-props.d.ts +3 -1
  36. package/lib/src/config-provider/config-provider.d.ts +7 -28
  37. package/lib/src/config-provider/hooks/use-global-config.d.ts +3 -10
  38. package/lib/src/config-provider/index.d.ts +13 -55
  39. package/lib/src/version.d.ts +1 -1
  40. package/lib/src/version.js +1 -1
  41. package/package.json +3 -3
@@ -6,7 +6,7 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
6
6
  import { Locale } from '@aplus-frontend/antdv/es/locale';
7
7
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
8
8
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig, ModalConfig, DrawerConfig, ImageConfig } from '@aplus-frontend/antdv/es/config-provider/context';
9
- import { ApGridRowSelection, AgGridRowSelection, ApExportGroupDateValidate, FullToken, ViewCacheOption } from '..';
9
+ import { ApGridRowSelection, AgGridRowSelection, ApExportGroupListItem, FullToken, ViewCacheOption } from '..';
10
10
  import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
11
11
  import { ApFilePreviewParser } from '../business/ap-file-preview/interface';
12
12
  import { LocaleType } from '../locale';
@@ -216,15 +216,8 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
216
216
  default: () => {};
217
217
  };
218
218
  apExportGroup: {
219
- type: PropType<{
220
- dateValidate?: ApExportGroupDateValidate | undefined;
221
- exportField?: boolean | {
222
- key?: string;
223
- convertField?: {
224
- [key: string]: string[];
225
- };
226
- } | undefined;
227
- handleExported?: ((res: any, params: any) => void) | undefined;
219
+ type: PropType<Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
220
+ hasPermission?: any;
228
221
  }>;
229
222
  default: () => {};
230
223
  };
@@ -463,15 +456,8 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
463
456
  default: () => {};
464
457
  };
465
458
  apExportGroup: {
466
- type: PropType<{
467
- dateValidate?: ApExportGroupDateValidate | undefined;
468
- exportField?: boolean | {
469
- key?: string;
470
- convertField?: {
471
- [key: string]: string[];
472
- };
473
- } | undefined;
474
- handleExported?: ((res: any, params: any) => void) | undefined;
459
+ type: PropType<Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
460
+ hasPermission?: any;
475
461
  }>;
476
462
  default: () => {};
477
463
  };
@@ -550,15 +536,8 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
550
536
  apFilePreview: {
551
537
  parserPlugin?: ApFilePreviewParser[] | undefined;
552
538
  };
553
- apExportGroup: {
554
- dateValidate?: ApExportGroupDateValidate | undefined;
555
- exportField?: boolean | {
556
- key?: string;
557
- convertField?: {
558
- [key: string]: string[];
559
- };
560
- } | undefined;
561
- handleExported?: ((res: any, params: any) => void) | undefined;
539
+ apExportGroup: Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
540
+ hasPermission?: any;
562
541
  };
563
542
  api: ApiType;
564
543
  valueTypeMap: Record<string, ValueTypeRenderConfig>;
@@ -7,7 +7,7 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
7
7
  import { Locale } from '@aplus-frontend/antdv/es/locale';
8
8
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
9
9
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig, ModalConfig, DrawerConfig, ImageConfig } from '@aplus-frontend/antdv/es/config-provider/context';
10
- import { ApGridRowSelection, AgGridRowSelection, ApExportGroupDateValidate, FullToken, ViewCacheOption } from '../..';
10
+ import { ApGridRowSelection, AgGridRowSelection, ApExportGroupListItem, FullToken, ViewCacheOption } from '../..';
11
11
  import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig } from '..';
12
12
  import { ApFilePreviewParser } from '../../business/ap-file-preview/interface';
13
13
  import { LocaleType } from '../../locale';
@@ -219,15 +219,8 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
219
219
  default: () => {};
220
220
  };
221
221
  apExportGroup: {
222
- type: PropType<{
223
- dateValidate?: ApExportGroupDateValidate | undefined;
224
- exportField?: boolean | {
225
- key?: string;
226
- convertField?: {
227
- [key: string]: string[];
228
- };
229
- } | undefined;
230
- handleExported?: ((res: any, params: any) => void) | undefined;
222
+ type: PropType<Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
223
+ hasPermission?: any;
231
224
  }>;
232
225
  default: () => {};
233
226
  };
@@ -5,7 +5,7 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
5
5
  import { Locale } from '@aplus-frontend/antdv/es/locale';
6
6
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
7
7
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig, ModalConfig, DrawerConfig, ImageConfig } from '@aplus-frontend/antdv/es/config-provider/context';
8
- import { ApGridRowSelection, AgGridRowSelection, ApExportGroupDateValidate, FullToken, ViewCacheOption } from '..';
8
+ import { ApGridRowSelection, AgGridRowSelection, ApExportGroupListItem, FullToken, ViewCacheOption } from '..';
9
9
  import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
10
10
  import { ApFilePreviewParser } from '../business/ap-file-preview/interface';
11
11
  import { LocaleType } from '../locale';
@@ -221,15 +221,8 @@ export declare const APConfigProvider: {
221
221
  default: () => {};
222
222
  };
223
223
  apExportGroup: {
224
- type: PropType<{
225
- dateValidate?: ApExportGroupDateValidate | undefined;
226
- exportField?: boolean | {
227
- key?: string;
228
- convertField?: {
229
- [key: string]: string[];
230
- };
231
- } | undefined;
232
- handleExported?: ((res: any, params: any) => void) | undefined;
224
+ type: PropType<Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
225
+ hasPermission?: any;
233
226
  }>;
234
227
  default: () => {};
235
228
  };
@@ -308,15 +301,8 @@ export declare const APConfigProvider: {
308
301
  apFilePreview: {
309
302
  parserPlugin?: ApFilePreviewParser[] | undefined;
310
303
  };
311
- apExportGroup: {
312
- dateValidate?: ApExportGroupDateValidate | undefined;
313
- exportField?: boolean | {
314
- key?: string;
315
- convertField?: {
316
- [key: string]: string[];
317
- };
318
- } | undefined;
319
- handleExported?: ((res: any, params: any) => void) | undefined;
304
+ apExportGroup: Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
305
+ hasPermission?: any;
320
306
  };
321
307
  api: ApiType;
322
308
  valueTypeMap: Record<string, ValueTypeRenderConfig>;
@@ -533,15 +519,8 @@ export declare const APConfigProvider: {
533
519
  default: () => {};
534
520
  };
535
521
  apExportGroup: {
536
- type: PropType<{
537
- dateValidate?: ApExportGroupDateValidate | undefined;
538
- exportField?: boolean | {
539
- key?: string;
540
- convertField?: {
541
- [key: string]: string[];
542
- };
543
- } | undefined;
544
- handleExported?: ((res: any, params: any) => void) | undefined;
522
+ type: PropType<Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
523
+ hasPermission?: any;
545
524
  }>;
546
525
  default: () => {};
547
526
  };
@@ -620,15 +599,8 @@ export declare const APConfigProvider: {
620
599
  apFilePreview: {
621
600
  parserPlugin?: ApFilePreviewParser[] | undefined;
622
601
  };
623
- apExportGroup: {
624
- dateValidate?: ApExportGroupDateValidate | undefined;
625
- exportField?: boolean | {
626
- key?: string;
627
- convertField?: {
628
- [key: string]: string[];
629
- };
630
- } | undefined;
631
- handleExported?: ((res: any, params: any) => void) | undefined;
602
+ apExportGroup: Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
603
+ hasPermission?: any;
632
604
  };
633
605
  api: ApiType;
634
606
  valueTypeMap: Record<string, ValueTypeRenderConfig>;
@@ -842,15 +814,8 @@ export declare const APConfigProvider: {
842
814
  default: () => {};
843
815
  };
844
816
  apExportGroup: {
845
- type: PropType<{
846
- dateValidate?: ApExportGroupDateValidate | undefined;
847
- exportField?: boolean | {
848
- key?: string;
849
- convertField?: {
850
- [key: string]: string[];
851
- };
852
- } | undefined;
853
- handleExported?: ((res: any, params: any) => void) | undefined;
817
+ type: PropType<Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
818
+ hasPermission?: any;
854
819
  }>;
855
820
  default: () => {};
856
821
  };
@@ -929,15 +894,8 @@ export declare const APConfigProvider: {
929
894
  apFilePreview: {
930
895
  parserPlugin?: ApFilePreviewParser[] | undefined;
931
896
  };
932
- apExportGroup: {
933
- dateValidate?: ApExportGroupDateValidate | undefined;
934
- exportField?: boolean | {
935
- key?: string;
936
- convertField?: {
937
- [key: string]: string[];
938
- };
939
- } | undefined;
940
- handleExported?: ((res: any, params: any) => void) | undefined;
897
+ apExportGroup: Pick< ApExportGroupListItem, "dateValidate" | "exportField" | "handleExported"> & {
898
+ hasPermission?: any;
941
899
  };
942
900
  api: ApiType;
943
901
  valueTypeMap: Record<string, ValueTypeRenderConfig>;
@@ -1,2 +1,2 @@
1
- declare const _default: "7.14.3";
1
+ declare const _default: "7.14.5";
2
2
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.14.3";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.14.5";exports.default=e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aplus-frontend/ui",
3
- "version": "7.14.3",
3
+ "version": "7.14.5",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -40,8 +40,8 @@
40
40
  "scroll-into-view-if-needed": "^3.1.0",
41
41
  "vue-virtual-scroller": "2.0.0-beta.8",
42
42
  "vuedraggable": "^4.1.0",
43
- "@aplus-frontend/utils": "1.0.65",
44
- "@aplus-frontend/hooks": "1.0.7"
43
+ "@aplus-frontend/hooks": "1.0.7",
44
+ "@aplus-frontend/utils": "1.0.65"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@aplus-frontend/antdv": "^2.1.2",