@aplus-frontend/ui 0.4.13 → 0.4.15

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 (97) hide show
  1. package/es/index.mjs +84 -80
  2. package/es/src/ap-descriptions/help-message/index.vue2.mjs +17 -12
  3. package/es/src/ap-field/date/helper.mjs +9 -9
  4. package/es/src/ap-table/ap-table.vue2.mjs +206 -181
  5. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +62 -62
  6. package/es/src/ap-upload/apUpload.vue.d.ts +9 -0
  7. package/es/src/ap-upload/apUpload.vue.mjs +22 -18
  8. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +66 -66
  9. package/es/src/ap-upload/components/Picture.vue2.mjs +82 -82
  10. package/es/src/ap-upload/components/SingleFile.vue2.mjs +114 -114
  11. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +79 -67
  12. package/es/src/config-provider/config-provider.d.ts +3 -0
  13. package/es/src/config-provider/css-var.d.ts +3 -0
  14. package/es/src/config-provider/css-var.mjs +21 -14
  15. package/es/src/config-provider/index.d.ts +15 -0
  16. package/es/src/hooks/index.d.ts +1 -0
  17. package/es/src/hooks/index.mjs +6 -4
  18. package/es/src/hooks/useResize.d.ts +8 -0
  19. package/es/src/hooks/useResize.mjs +23 -0
  20. package/es/src/index.d.ts +1 -0
  21. package/es/src/index.mjs +212 -209
  22. package/es/src/path-map.mjs +2 -1
  23. package/es/src/resize-observer/index.d.ts +3 -0
  24. package/es/src/resize-observer/index.mjs +2 -0
  25. package/es/src/resize-observer/index.vue.d.ts +25 -0
  26. package/es/src/resize-observer/index.vue.mjs +45 -0
  27. package/es/src/resize-observer/index.vue2.mjs +4 -0
  28. package/es/src/resize-observer/interface.d.ts +27 -0
  29. package/es/src/resize-observer/interface.mjs +1 -0
  30. package/es/src/resize-observer/style/css.d.ts +1 -0
  31. package/es/src/resize-observer/style/css.js +1 -0
  32. package/es/src/resize-observer/style/index.d.ts +1 -0
  33. package/es/src/resize-observer/style/index.js +1 -0
  34. package/es/src/scroll-bar/index.vue.d.ts +1 -0
  35. package/es/src/scroll-bar/index.vue.mjs +31 -30
  36. package/es/src/scroll-bar/interface.d.ts +3 -1
  37. package/es/src/theme/antd-global-overwrite/admin/index.css +24 -2
  38. package/es/src/theme/antd-global-overwrite/admin/table.css +24 -2
  39. package/es/src/theme/antd-global-overwrite/aplus/index.css +24 -2
  40. package/es/src/theme/antd-global-overwrite/aplus/table.css +24 -2
  41. package/es/src/utils/index.d.ts +1 -0
  42. package/es/src/utils/index.mjs +40 -30
  43. package/lib/index.js +1 -1
  44. package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
  45. package/lib/src/ap-field/date/helper.js +1 -1
  46. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  47. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  48. package/lib/src/ap-upload/apUpload.vue.d.ts +9 -0
  49. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  50. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  51. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  52. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  53. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  54. package/lib/src/config-provider/config-provider.d.ts +3 -0
  55. package/lib/src/config-provider/css-var.d.ts +3 -0
  56. package/lib/src/config-provider/css-var.js +1 -1
  57. package/lib/src/config-provider/index.d.ts +15 -0
  58. package/lib/src/hooks/index.d.ts +1 -0
  59. package/lib/src/hooks/index.js +1 -1
  60. package/lib/src/hooks/useResize.d.ts +8 -0
  61. package/lib/src/hooks/useResize.js +1 -0
  62. package/lib/src/index.d.ts +1 -0
  63. package/lib/src/index.js +1 -1
  64. package/lib/src/path-map.js +1 -1
  65. package/lib/src/resize-observer/index.d.ts +3 -0
  66. package/lib/src/resize-observer/index.js +1 -0
  67. package/lib/src/resize-observer/index.vue.d.ts +25 -0
  68. package/lib/src/resize-observer/index.vue.js +1 -0
  69. package/lib/src/resize-observer/index.vue2.js +1 -0
  70. package/lib/src/resize-observer/interface.d.ts +27 -0
  71. package/lib/src/resize-observer/interface.js +1 -0
  72. package/lib/src/resize-observer/style/css.cjs +1 -0
  73. package/lib/src/resize-observer/style/css.d.ts +1 -0
  74. package/lib/src/resize-observer/style/index.cjs +1 -0
  75. package/lib/src/resize-observer/style/index.d.ts +1 -0
  76. package/lib/src/scroll-bar/index.vue.d.ts +1 -0
  77. package/lib/src/scroll-bar/index.vue.js +1 -1
  78. package/lib/src/scroll-bar/interface.d.ts +3 -1
  79. package/lib/src/theme/antd-global-overwrite/admin/index.css +24 -2
  80. package/lib/src/theme/antd-global-overwrite/admin/table.css +24 -2
  81. package/lib/src/theme/antd-global-overwrite/aplus/index.css +24 -2
  82. package/lib/src/theme/antd-global-overwrite/aplus/table.css +24 -2
  83. package/lib/src/utils/index.d.ts +1 -0
  84. package/lib/src/utils/index.js +1 -1
  85. package/package.json +3 -3
  86. package/theme/antd-global-overwrite/admin/index.css +24 -2
  87. package/theme/antd-global-overwrite/admin/table.css +24 -2
  88. package/theme/antd-global-overwrite/admin/table.less +8 -2
  89. package/theme/antd-global-overwrite/aplus/index.css +24 -2
  90. package/theme/antd-global-overwrite/aplus/table.css +24 -2
  91. package/theme/antd-global-overwrite/aplus/table.less +7 -2
  92. package/theme/ap-descriptions/ap-descriptions.css +3 -0
  93. package/theme/ap-descriptions/ap-descriptions.less +7 -0
  94. package/theme/ap-table/ap-table.css +8 -1
  95. package/theme/ap-table/ap-table.less +11 -9
  96. package/theme/ap-table-modal/index.css +8 -1
  97. package/theme/index.css +11 -1
@@ -228,6 +228,9 @@ export declare const APConfigProvider: {
228
228
  color: {
229
229
  primary: string;
230
230
  };
231
+ scrollbar: {
232
+ size: string;
233
+ };
231
234
  };
232
235
  'ap-descriptions': {
233
236
  item: {
@@ -374,6 +377,9 @@ export declare const APConfigProvider: {
374
377
  color: {
375
378
  primary: string;
376
379
  };
380
+ scrollbar: {
381
+ size: string;
382
+ };
377
383
  };
378
384
  'ap-descriptions': {
379
385
  item: {
@@ -628,6 +634,9 @@ export declare const APConfigProvider: {
628
634
  color: {
629
635
  primary: string;
630
636
  };
637
+ scrollbar: {
638
+ size: string;
639
+ };
631
640
  };
632
641
  'ap-descriptions': {
633
642
  item: {
@@ -774,6 +783,9 @@ export declare const APConfigProvider: {
774
783
  color: {
775
784
  primary: string;
776
785
  };
786
+ scrollbar: {
787
+ size: string;
788
+ };
777
789
  };
778
790
  'ap-descriptions': {
779
791
  item: {
@@ -1069,6 +1081,9 @@ export declare const APConfigProvider: {
1069
1081
  color: {
1070
1082
  primary: string;
1071
1083
  };
1084
+ scrollbar: {
1085
+ size: string;
1086
+ };
1072
1087
  };
1073
1088
  'ap-descriptions': {
1074
1089
  item: {
@@ -3,3 +3,4 @@ export { useControllableValue } from './useControllableValue';
3
3
  export { useManualRef } from './useManualRef';
4
4
  export { useThrottleRef } from './useThrottleRef';
5
5
  export { useFullScreen } from './useFullScreen';
6
+ export * from './useResize';
@@ -1,12 +1,14 @@
1
1
  import { useMessage as r } from "./useMessage.mjs";
2
2
  import { useControllableValue as t } from "./useControllableValue.mjs";
3
3
  import { useManualRef as f } from "./useManualRef.mjs";
4
- import { useThrottleRef as a } from "./useThrottleRef.mjs";
5
- import { useFullScreen as p } from "./useFullScreen.mjs";
4
+ import { useThrottleRef as m } from "./useThrottleRef.mjs";
5
+ import { useFullScreen as x } from "./useFullScreen.mjs";
6
+ import { useResize as n } from "./useResize.mjs";
6
7
  export {
7
8
  t as useControllableValue,
8
- p as useFullScreen,
9
+ x as useFullScreen,
9
10
  f as useManualRef,
10
11
  r as useMessage,
11
- a as useThrottleRef
12
+ n as useResize,
13
+ m as useThrottleRef
12
14
  };
@@ -0,0 +1,8 @@
1
+ export type ResizeHandlerFn = (entry: ResizeObserverEntry) => void;
2
+ declare function observe(el: Element, handler: ResizeHandlerFn): void;
3
+ declare function unobserve(el: Element): void;
4
+ export declare const useResize: () => {
5
+ observe: typeof observe;
6
+ unobserve: typeof unobserve;
7
+ };
8
+ export {};
@@ -0,0 +1,23 @@
1
+ import { isClient as s } from "@vueuse/core";
2
+ import { isFunction as a } from "lodash-unified";
3
+ const i = /* @__PURE__ */ new WeakMap();
4
+ let n;
5
+ s && (n = new ResizeObserver((e) => {
6
+ e.forEach((t) => {
7
+ const o = i.get(t.target);
8
+ a(o) && o(t);
9
+ });
10
+ }));
11
+ function f(e, t) {
12
+ i.set(e, t), n == null || n.observe(e);
13
+ }
14
+ function r(e) {
15
+ i.has(e) && i.delete(e), n == null || n.unobserve(e);
16
+ }
17
+ const p = () => ({
18
+ observe: f,
19
+ unobserve: r
20
+ });
21
+ export {
22
+ p as useResize
23
+ };
package/es/src/index.d.ts CHANGED
@@ -21,3 +21,4 @@ export * from './scroll-bar';
21
21
  export * from './scroll-view';
22
22
  export * from './portal';
23
23
  export * from './full-screen';
24
+ export * from './resize-observer';
package/es/src/index.mjs CHANGED
@@ -1,18 +1,18 @@
1
- import { APConfigProvider as c } from "./config-provider/index.mjs";
2
- import { ApForm as I } from "./ap-form/index.mjs";
3
- import { ApField as b } from "./ap-field/index.mjs";
4
- import { adminToken as D, aplusToken as C } from "./design-token/index.mjs";
5
- import { ApActionItem as h } from "./ap-action/index.mjs";
1
+ import { APConfigProvider as F } from "./config-provider/index.mjs";
2
+ import { ApForm as b } from "./ap-form/index.mjs";
3
+ import { ApField as S } from "./ap-field/index.mjs";
4
+ import { adminToken as C, aplusToken as g } from "./design-token/index.mjs";
5
+ import { ApActionItem as G } from "./ap-action/index.mjs";
6
6
  import "./work-order-modal/index.mjs";
7
7
  import "./ap-tag/index.mjs";
8
8
  import "./ap-info-layout/index.mjs";
9
9
  import "./ap-upload/index.mjs";
10
10
  import "./ap-download/index.mjs";
11
- import { CheckCard as P } from "./check-card/index.mjs";
12
- import { ApModal as L } from "./ap-modal/index.mjs";
11
+ import { CheckCard as E } from "./check-card/index.mjs";
12
+ import { ApModal as N } from "./ap-modal/index.mjs";
13
13
  import "./ap-list/index.mjs";
14
14
  import "./ap-button/index.mjs";
15
- import { ApDrawer as y } from "./ap-drawer/index.mjs";
15
+ import { ApDrawer as R } from "./ap-drawer/index.mjs";
16
16
  import "./business/index.mjs";
17
17
  import { ApTable as M } from "./ap-table/index.mjs";
18
18
  import "./editable-table/index.mjs";
@@ -21,237 +21,240 @@ import "./scroll-bar/index.mjs";
21
21
  import "./scroll-view/index.mjs";
22
22
  import "./portal/index.mjs";
23
23
  import "./full-screen/index.mjs";
24
+ import "./resize-observer/index.mjs";
24
25
  import { configProviderProps as k } from "./config-provider/config-provider-props.mjs";
25
- import { DEFAULT_NAMESPACE as B, DEFAULT_UIMODE as K, configProviderContextKey as U } from "./config-provider/constants.mjs";
26
+ import { DEFAULT_NAMESPACE as K, DEFAULT_UIMODE as O, configProviderContextKey as U } from "./config-provider/constants.mjs";
26
27
  import { keysOf as V, provideGlobalConfig as W, useGlobalConfig as _ } from "./config-provider/hooks/use-global-config.mjs";
27
- import { buildLocaleContext as H, buildTranslator as j, localeContextKey as q, translate as J, useLocale as Q } from "./config-provider/hooks/use-locale.mjs";
28
- import { defaultNamespace as Y, namespaceContextKey as Z, useGetDerivedNamespace as $, useNamespace as oo } from "./config-provider/hooks/use-namespace.mjs";
29
- import { ConfigProvider as ro, globalConfigCached as to } from "./config-provider/config-provider.mjs";
30
- import { ApFormItemText as ao } from "./ap-form/items/text/index.mjs";
31
- import { default as fo } from "./ap-form/items/text-area/index.vue.mjs";
32
- import { default as xo } from "./ap-form/items/number/index.vue.mjs";
33
- import { default as Ao } from "./ap-form/items/date/index.vue.mjs";
34
- import { default as io } from "./ap-form/items/date-range/index.vue.mjs";
35
- import { default as co } from "./ap-form/items/radio/index.vue.mjs";
36
- import { default as Io } from "./ap-form/items/select/index.vue.mjs";
37
- import { default as bo } from "./ap-form/items/switch/index.vue.mjs";
38
- import { default as Do } from "./ap-form/items/checkbox/index.vue.mjs";
39
- import { default as go } from "./ap-form/items/text/password.vue.mjs";
40
- import { default as Go } from "./ap-form/item/index.vue.mjs";
41
- import { default as Eo } from "./ap-form/item-group/index.vue.mjs";
42
- import { default as No } from "./ap-form/list/index.vue.mjs";
28
+ import { buildLocaleContext as j, buildTranslator as q, localeContextKey as J, translate as Q, useLocale as X } from "./config-provider/hooks/use-locale.mjs";
29
+ import { defaultNamespace as Z, namespaceContextKey as $, useGetDerivedNamespace as oo, useNamespace as eo } from "./config-provider/hooks/use-namespace.mjs";
30
+ import { ConfigProvider as to, globalConfigCached as po } from "./config-provider/config-provider.mjs";
31
+ import { ApFormItemText as mo } from "./ap-form/items/text/index.mjs";
32
+ import { default as lo } from "./ap-form/items/text-area/index.vue.mjs";
33
+ import { default as uo } from "./ap-form/items/number/index.vue.mjs";
34
+ import { default as so } from "./ap-form/items/date/index.vue.mjs";
35
+ import { default as no } from "./ap-form/items/date-range/index.vue.mjs";
36
+ import { default as Fo } from "./ap-form/items/radio/index.vue.mjs";
37
+ import { default as bo } from "./ap-form/items/select/index.vue.mjs";
38
+ import { default as So } from "./ap-form/items/switch/index.vue.mjs";
39
+ import { default as Co } from "./ap-form/items/checkbox/index.vue.mjs";
40
+ import { default as ho } from "./ap-form/items/text/password.vue.mjs";
41
+ import { default as Po } from "./ap-form/item/index.vue.mjs";
42
+ import { default as Lo } from "./ap-form/item-group/index.vue.mjs";
43
+ import { default as yo } from "./ap-form/list/index.vue.mjs";
43
44
  import { default as wo } from "./ap-form/search-form/index.vue.mjs";
44
- import { default as Ro } from "./ap-form/modal-form/index.vue.mjs";
45
- import { default as vo } from "./ap-form/dependency/index.vue.mjs";
46
- import { default as Ko } from "./ap-form/set/index.vue.mjs";
47
- import { default as Oo } from "./ap-form/drawer-form/index.vue.mjs";
45
+ import { default as vo } from "./ap-form/modal-form/index.vue.mjs";
46
+ import { default as Bo } from "./ap-form/dependency/index.vue.mjs";
47
+ import { default as Oo } from "./ap-form/set/index.vue.mjs";
48
+ import { default as zo } from "./ap-form/drawer-form/index.vue.mjs";
48
49
  import { default as Wo } from "./ap-form/render/control.vue.mjs";
49
- import { default as zo } from "./ap-form/render/item.vue.mjs";
50
- import { default as jo } from "./ap-form/provider/index.vue.mjs";
51
- import { ApFieldText as Jo } from "./ap-field/text/index.mjs";
52
- import { default as Xo } from "./ap-field/checkbox/index.vue.mjs";
53
- import { default as Zo } from "./ap-field/date/index.vue.mjs";
54
- import { default as oe } from "./ap-field/number/index.vue.mjs";
55
- import { default as re } from "./ap-field/radio/index.vue.mjs";
56
- import { default as pe } from "./ap-field/switch/index.vue.mjs";
57
- import { default as me } from "./ap-field/text-area/index.vue.mjs";
58
- import { default as le } from "./ap-field/date-range/index.vue.mjs";
59
- import { default as de } from "./ap-field/select/index.vue.mjs";
60
- import { default as Ae } from "./ap-field/text/password.vue.mjs";
61
- import { default as ie } from "./ap-field/slider/index.vue.mjs";
62
- import { default as ce } from "./ap-field/segmented/index.vue.mjs";
63
- import { default as Ie } from "./ap-field/rate/index.vue.mjs";
64
- import { default as be } from "./ap-action/item-modal/index.vue.mjs";
65
- import { default as De } from "./ap-action/item-popconfirm/index.vue.mjs";
66
- import { default as ge } from "./ap-action/item-dropdown/index.vue.mjs";
67
- import { default as Ge } from "./ap-action/group/index.vue.mjs";
68
- import { DictCode as Ee, langMap as Le } from "./work-order-modal/interfaces.mjs";
69
- import { createWorkOrderModal as ye } from "./work-order-modal/createWorkOrder.mjs";
50
+ import { default as Ho } from "./ap-form/render/item.vue.mjs";
51
+ import { default as qo } from "./ap-form/provider/index.vue.mjs";
52
+ import { ApFieldText as Qo } from "./ap-field/text/index.mjs";
53
+ import { default as Yo } from "./ap-field/checkbox/index.vue.mjs";
54
+ import { default as $o } from "./ap-field/date/index.vue.mjs";
55
+ import { default as ee } from "./ap-field/number/index.vue.mjs";
56
+ import { default as te } from "./ap-field/radio/index.vue.mjs";
57
+ import { default as ae } from "./ap-field/switch/index.vue.mjs";
58
+ import { default as fe } from "./ap-field/text-area/index.vue.mjs";
59
+ import { default as xe } from "./ap-field/date-range/index.vue.mjs";
60
+ import { default as ue } from "./ap-field/select/index.vue.mjs";
61
+ import { default as se } from "./ap-field/text/password.vue.mjs";
62
+ import { default as ne } from "./ap-field/slider/index.vue.mjs";
63
+ import { default as Fe } from "./ap-field/segmented/index.vue.mjs";
64
+ import { default as be } from "./ap-field/rate/index.vue.mjs";
65
+ import { default as Se } from "./ap-action/item-modal/index.vue.mjs";
66
+ import { default as Ce } from "./ap-action/item-popconfirm/index.vue.mjs";
67
+ import { default as he } from "./ap-action/item-dropdown/index.vue.mjs";
68
+ import { default as Pe } from "./ap-action/group/index.vue.mjs";
69
+ import { DictCode as Le, langMap as Ne } from "./work-order-modal/interfaces.mjs";
70
+ import { createWorkOrderModal as Re } from "./work-order-modal/createWorkOrder.mjs";
70
71
  import { default as Me } from "./work-order-modal/work-order-modal.vue.mjs";
71
72
  import { default as ke } from "./ap-tag/ap-tag.vue.mjs";
72
- import { default as Be } from "./ap-tag/ap-tag-group.vue.mjs";
73
+ import { default as Ke } from "./ap-tag/ap-tag-group.vue.mjs";
73
74
  import { default as Ue } from "./ap-info-layout/ApInfoLayout.vue.mjs";
74
75
  import { NeedNameKeyDefault as Ve } from "./ap-upload/apUploadTypes.mjs";
75
76
  import { default as _e } from "./ap-upload/apUpload.vue.mjs";
76
- import { ApDownLoadNeedNameKeyDefault as He } from "./ap-download/interface.mjs";
77
- import { default as qe } from "./ap-download/ap-download.vue.mjs";
78
- import { default as Qe } from "./check-card/group.vue.mjs";
79
- import { default as Ye } from "./ap-list/index.vue.mjs";
80
- import { default as $e } from "./ap-button/ap-button.vue.mjs";
81
- import { default as er } from "./ap-button/ap-action-button.vue.mjs";
82
- import { ApTransformDataHelper as tr } from "./utils/ap-trans-data/index.mjs";
83
- import { default as ar } from "./business/ap-table-modal/index.mjs";
84
- import { useTableModal as fr } from "./business/ap-table-modal/hooks/use-table-modal.mjs";
85
- import { useTableSelectModal as xr } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
86
- import { ApAttachment as ur } from "./business/ap-attachment/index.mjs";
87
- import { ApBatchAction as sr } from "./business/ap-batch-action/index.mjs";
88
- import { ApBatchActionGroup as nr } from "./business/ap-batch-action-group/index.mjs";
89
- import { ApButtonGroup as Fr } from "./business/ap-button-group/index.mjs";
77
+ import { ApDownLoadNeedNameKeyDefault as je } from "./ap-download/interface.mjs";
78
+ import { default as Je } from "./ap-download/ap-download.vue.mjs";
79
+ import { default as Xe } from "./check-card/group.vue.mjs";
80
+ import { default as Ze } from "./ap-list/index.vue.mjs";
81
+ import { default as or } from "./ap-button/ap-button.vue.mjs";
82
+ import { default as rr } from "./ap-button/ap-action-button.vue.mjs";
83
+ import { ApTransformDataHelper as pr } from "./utils/ap-trans-data/index.mjs";
84
+ import { default as mr } from "./business/ap-table-modal/index.mjs";
85
+ import { useTableModal as lr } from "./business/ap-table-modal/hooks/use-table-modal.mjs";
86
+ import { useTableSelectModal as dr } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
87
+ import { ApAttachment as Ar } from "./business/ap-attachment/index.mjs";
88
+ import { ApBatchAction as ir } from "./business/ap-batch-action/index.mjs";
89
+ import { ApBatchActionGroup as cr } from "./business/ap-batch-action-group/index.mjs";
90
+ import { ApButtonGroup as Ir } from "./business/ap-button-group/index.mjs";
90
91
  import { ApCard as Tr } from "./business/ap-card/index.mjs";
91
- import { ApExpandAlert as Sr } from "./business/ap-expand-alert/index.mjs";
92
- import { ApExportGroupActionType as Cr } from "./business/ap-export-group/interface.mjs";
93
- import { ApExportGroup as hr } from "./business/ap-export-group/index.mjs";
94
- import { handleExportDownload as Pr } from "./business/ap-export-group/handleExportDownload.mjs";
95
- import { convertExportField as Lr } from "./business/ap-export-group/convertExportField.mjs";
96
- import { ApImage as yr } from "./business/ap-image/index.mjs";
92
+ import { ApExpandAlert as Dr } from "./business/ap-expand-alert/index.mjs";
93
+ import { ApExportGroupActionType as gr } from "./business/ap-export-group/interface.mjs";
94
+ import { ApExportGroup as Gr } from "./business/ap-export-group/index.mjs";
95
+ import { handleExportDownload as Er } from "./business/ap-export-group/handleExportDownload.mjs";
96
+ import { convertExportField as Nr } from "./business/ap-export-group/convertExportField.mjs";
97
+ import { ApImage as Rr } from "./business/ap-image/index.mjs";
97
98
  import { ApInputRadio as Mr } from "./business/ap-input-radio/index.mjs";
98
- import { ApLabel as kr, ApLabelGroup as vr } from "./business/ap-label/index.mjs";
99
- import { locales as Kr } from "./business/ap-ladder/interface.mjs";
100
- import { ApLadder as Or } from "./business/ap-ladder/index.mjs";
99
+ import { ApLabel as kr, ApLabelGroup as Br } from "./business/ap-label/index.mjs";
100
+ import { locales as Or } from "./business/ap-ladder/interface.mjs";
101
+ import { ApLadder as zr } from "./business/ap-ladder/index.mjs";
101
102
  import { ApSelectLayout as Wr } from "./business/ap-select-layout/index.mjs";
102
- import { ApStatus as zr, ApStatusGroup as Hr } from "./business/ap-status/index.mjs";
103
- import { ApTitle as qr } from "./business/ap-title/index.mjs";
104
- import { usePageListApTable as Qr } from "./business/hooks/usePageListApTable.mjs";
105
- import { useTableRefresh as Yr } from "./business/hooks/useTableRefresh.mjs";
106
- import { computedRecords as $r, flattenColumns as ot, formatDataIndex as et, formatNumber as rt } from "./business/ap-summary/utils.mjs";
107
- import { ApSummary as pt } from "./business/ap-summary/index.mjs";
108
- import { ApNeedNameKeyDefault as mt } from "./business/ap-appendix/interface.mjs";
109
- import { ApAppendix as lt } from "./business/ap-appendix/index.mjs";
110
- import { ApExtensionSelect as dt, ApGroupSearch as ut, ApPopoverSelect as At } from "./business/ap-group-search/index.mjs";
111
- import { default as it } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
112
- import { default as ct } from "./business/batch-input-group/index.vue.mjs";
113
- import { default as It } from "./business/batch-input-group/form-item.vue.mjs";
114
- import { ApSizeInput as bt } from "./business/ap-size-input/index.mjs";
115
- import { useTablePaging as Dt } from "./ap-table/hooks/use-table-paging.mjs";
116
- import { default as gt } from "./editable-table/index.vue.mjs";
117
- import { default as Gt } from "./editable-table/form-item.vue.mjs";
118
- import { default as Et } from "./ap-descriptions/ap-descriptions.vue.mjs";
119
- import { ensureRangeValue as Nt } from "./scroll-bar/utils/index.mjs";
103
+ import { ApStatus as Hr, ApStatusGroup as jr } from "./business/ap-status/index.mjs";
104
+ import { ApTitle as Jr } from "./business/ap-title/index.mjs";
105
+ import { usePageListApTable as Xr } from "./business/hooks/usePageListApTable.mjs";
106
+ import { useTableRefresh as Zr } from "./business/hooks/useTableRefresh.mjs";
107
+ import { computedRecords as ot, flattenColumns as et, formatDataIndex as rt, formatNumber as tt } from "./business/ap-summary/utils.mjs";
108
+ import { ApSummary as at } from "./business/ap-summary/index.mjs";
109
+ import { ApNeedNameKeyDefault as ft } from "./business/ap-appendix/interface.mjs";
110
+ import { ApAppendix as xt } from "./business/ap-appendix/index.mjs";
111
+ import { ApExtensionSelect as ut, ApGroupSearch as At, ApPopoverSelect as st } from "./business/ap-group-search/index.mjs";
112
+ import { default as nt } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
113
+ import { default as Ft } from "./business/batch-input-group/index.vue.mjs";
114
+ import { default as bt } from "./business/batch-input-group/form-item.vue.mjs";
115
+ import { ApSizeInput as St } from "./business/ap-size-input/index.mjs";
116
+ import { useTablePaging as Ct } from "./ap-table/hooks/use-table-paging.mjs";
117
+ import { default as ht } from "./editable-table/index.vue.mjs";
118
+ import { default as Pt } from "./editable-table/form-item.vue.mjs";
119
+ import { default as Lt } from "./ap-descriptions/ap-descriptions.vue.mjs";
120
+ import { ensureRangeValue as yt } from "./scroll-bar/utils/index.mjs";
120
121
  import { default as wt } from "./scroll-bar/index.vue.mjs";
121
- import { default as Rt } from "./scroll-bar/internal.vue.mjs";
122
- import { default as vt } from "./scroll-view/index.vue.mjs";
123
- import { default as Kt } from "./portal/index.vue.mjs";
124
- import { default as Ot } from "./full-screen/index.vue.mjs";
122
+ import { default as vt } from "./scroll-bar/internal.vue.mjs";
123
+ import { default as Bt } from "./scroll-view/index.vue.mjs";
124
+ import { default as Ot } from "./portal/index.vue.mjs";
125
+ import { default as zt } from "./full-screen/index.vue.mjs";
126
+ import { default as Wt } from "./resize-observer/index.vue.mjs";
125
127
  export {
126
- c as APConfigProvider,
127
- er as ApActionButton,
128
- Ge as ApActionGroup,
129
- h as ApActionItem,
130
- ge as ApActionItemDropdown,
131
- be as ApActionItemModal,
132
- De as ApActionItemPopconfirm,
133
- lt as ApAppendix,
134
- ur as ApAttachment,
135
- sr as ApBatchAction,
136
- nr as ApBatchActionGroup,
137
- $e as ApButton,
138
- Fr as ApButtonGroup,
128
+ F as APConfigProvider,
129
+ rr as ApActionButton,
130
+ Pe as ApActionGroup,
131
+ G as ApActionItem,
132
+ he as ApActionItemDropdown,
133
+ Se as ApActionItemModal,
134
+ Ce as ApActionItemPopconfirm,
135
+ xt as ApAppendix,
136
+ Ar as ApAttachment,
137
+ ir as ApBatchAction,
138
+ cr as ApBatchActionGroup,
139
+ or as ApButton,
140
+ Ir as ApButtonGroup,
139
141
  Tr as ApCard,
140
- Et as ApDescriptions,
141
- He as ApDownLoadNeedNameKeyDefault,
142
- qe as ApDownload,
143
- y as ApDrawer,
144
- Sr as ApExpandAlert,
145
- hr as ApExportGroup,
146
- Cr as ApExportGroupActionType,
147
- dt as ApExtensionSelect,
148
- b as ApField,
149
- Xo as ApFieldCheckbox,
150
- Zo as ApFieldDate,
151
- le as ApFieldDateRange,
152
- oe as ApFieldNumber,
153
- Ae as ApFieldPassword,
154
- re as ApFieldRadio,
155
- Ie as ApFieldRate,
156
- ce as ApFieldSegmented,
157
- de as ApFieldSelect,
158
- ie as ApFieldSlider,
159
- pe as ApFieldSwitch,
160
- Jo as ApFieldText,
161
- me as ApFieldTextArea,
162
- I as ApForm,
142
+ Lt as ApDescriptions,
143
+ je as ApDownLoadNeedNameKeyDefault,
144
+ Je as ApDownload,
145
+ R as ApDrawer,
146
+ Dr as ApExpandAlert,
147
+ Gr as ApExportGroup,
148
+ gr as ApExportGroupActionType,
149
+ ut as ApExtensionSelect,
150
+ S as ApField,
151
+ Yo as ApFieldCheckbox,
152
+ $o as ApFieldDate,
153
+ xe as ApFieldDateRange,
154
+ ee as ApFieldNumber,
155
+ se as ApFieldPassword,
156
+ te as ApFieldRadio,
157
+ be as ApFieldRate,
158
+ Fe as ApFieldSegmented,
159
+ ue as ApFieldSelect,
160
+ ne as ApFieldSlider,
161
+ ae as ApFieldSwitch,
162
+ Qo as ApFieldText,
163
+ fe as ApFieldTextArea,
164
+ b as ApForm,
163
165
  Wo as ApFormControlRender,
164
- vo as ApFormDependency,
165
- Oo as ApFormDrawerForm,
166
- Go as ApFormItem,
167
- It as ApFormItemBatchInput,
168
- Do as ApFormItemCheckbox,
169
- Ao as ApFormItemDate,
170
- io as ApFormItemDateRange,
171
- Eo as ApFormItemGroup,
172
- xo as ApFormItemNumber,
173
- co as ApFormItemRadio,
174
- zo as ApFormItemRender,
175
- Io as ApFormItemSelect,
176
- bo as ApFormItemSwitch,
177
- ao as ApFormItemText,
178
- fo as ApFormItemTextArea,
179
- go as ApFormItemTextPassword,
180
- No as ApFormList,
181
- Ro as ApFormModalForm,
182
- jo as ApFormProvider,
166
+ Bo as ApFormDependency,
167
+ zo as ApFormDrawerForm,
168
+ Po as ApFormItem,
169
+ bt as ApFormItemBatchInput,
170
+ Co as ApFormItemCheckbox,
171
+ so as ApFormItemDate,
172
+ no as ApFormItemDateRange,
173
+ Lo as ApFormItemGroup,
174
+ uo as ApFormItemNumber,
175
+ Fo as ApFormItemRadio,
176
+ Ho as ApFormItemRender,
177
+ bo as ApFormItemSelect,
178
+ So as ApFormItemSwitch,
179
+ mo as ApFormItemText,
180
+ lo as ApFormItemTextArea,
181
+ ho as ApFormItemTextPassword,
182
+ yo as ApFormList,
183
+ vo as ApFormModalForm,
184
+ qo as ApFormProvider,
183
185
  wo as ApFormSearchForm,
184
- Ko as ApFormSet,
185
- ut as ApGroupSearch,
186
- yr as ApImage,
186
+ Oo as ApFormSet,
187
+ At as ApGroupSearch,
188
+ Rr as ApImage,
187
189
  Ue as ApInfoLayout,
188
190
  Mr as ApInputRadio,
189
191
  kr as ApLabel,
190
- vr as ApLabelGroup,
191
- Or as ApLadder,
192
- Ye as ApList,
193
- L as ApModal,
194
- mt as ApNeedNameKeyDefault,
195
- At as ApPopoverSelect,
192
+ Br as ApLabelGroup,
193
+ zr as ApLadder,
194
+ Ze as ApList,
195
+ N as ApModal,
196
+ ft as ApNeedNameKeyDefault,
197
+ st as ApPopoverSelect,
196
198
  Wr as ApSelectLayout,
197
- bt as ApSizeInput,
198
- zr as ApStatus,
199
- Hr as ApStatusGroup,
200
- pt as ApSummary,
199
+ St as ApSizeInput,
200
+ Hr as ApStatus,
201
+ jr as ApStatusGroup,
202
+ at as ApSummary,
201
203
  M as ApTable,
202
- ar as ApTableModal,
204
+ mr as ApTableModal,
203
205
  ke as ApTag,
204
- Be as ApTagGroup,
205
- qr as ApTitle,
206
- tr as ApTransformDataHelper,
206
+ Ke as ApTagGroup,
207
+ Jr as ApTitle,
208
+ pr as ApTransformDataHelper,
207
209
  _e as ApUpload,
208
- it as ApUploadSingle,
209
- ct as BatchInputGroup,
210
- P as CheckCard,
211
- Qe as CheckCardGroup,
212
- ro as ConfigProvider,
213
- B as DEFAULT_NAMESPACE,
214
- K as DEFAULT_UIMODE,
215
- Ee as DictCode,
216
- gt as EditableTable,
217
- Gt as EditableTableFormItem,
218
- Ot as FullScreen,
219
- Rt as InternalScrollBar,
210
+ nt as ApUploadSingle,
211
+ Ft as BatchInputGroup,
212
+ E as CheckCard,
213
+ Xe as CheckCardGroup,
214
+ to as ConfigProvider,
215
+ K as DEFAULT_NAMESPACE,
216
+ O as DEFAULT_UIMODE,
217
+ Le as DictCode,
218
+ ht as EditableTable,
219
+ Pt as EditableTableFormItem,
220
+ zt as FullScreen,
221
+ vt as InternalScrollBar,
220
222
  Ve as NeedNameKeyDefault,
221
- Kt as Portal,
223
+ Ot as Portal,
224
+ Wt as ResizeObserver,
222
225
  wt as ScrollBar,
223
- vt as ScrollView,
226
+ Bt as ScrollView,
224
227
  Me as WorkOrderModal,
225
- D as adminToken,
226
- C as aplusToken,
227
- H as buildLocaleContext,
228
- j as buildTranslator,
229
- $r as computedRecords,
228
+ C as adminToken,
229
+ g as aplusToken,
230
+ j as buildLocaleContext,
231
+ q as buildTranslator,
232
+ ot as computedRecords,
230
233
  U as configProviderContextKey,
231
234
  k as configProviderProps,
232
- Lr as convertExportField,
233
- ye as createWorkOrderModal,
234
- Y as defaultNamespace,
235
- Nt as ensureRangeValue,
236
- ot as flattenColumns,
237
- et as formatDataIndex,
238
- rt as formatNumber,
239
- to as globalConfigCached,
240
- Pr as handleExportDownload,
235
+ Nr as convertExportField,
236
+ Re as createWorkOrderModal,
237
+ Z as defaultNamespace,
238
+ yt as ensureRangeValue,
239
+ et as flattenColumns,
240
+ rt as formatDataIndex,
241
+ tt as formatNumber,
242
+ po as globalConfigCached,
243
+ Er as handleExportDownload,
241
244
  V as keysOf,
242
- Le as langMap,
243
- q as localeContextKey,
244
- Kr as locales,
245
- Z as namespaceContextKey,
245
+ Ne as langMap,
246
+ J as localeContextKey,
247
+ Or as locales,
248
+ $ as namespaceContextKey,
246
249
  W as provideGlobalConfig,
247
- J as translate,
248
- $ as useGetDerivedNamespace,
250
+ Q as translate,
251
+ oo as useGetDerivedNamespace,
249
252
  _ as useGlobalConfig,
250
- Q as useLocale,
251
- oo as useNamespace,
252
- Qr as usePageListApTable,
253
- fr as useTableModal,
254
- Dt as useTablePaging,
255
- Yr as useTableRefresh,
256
- xr as useTableSelectModal
253
+ X as useLocale,
254
+ eo as useNamespace,
255
+ Xr as usePageListApTable,
256
+ lr as useTableModal,
257
+ Ct as useTablePaging,
258
+ Zr as useTableRefresh,
259
+ dr as useTableSelectModal
257
260
  };
@@ -88,7 +88,8 @@ const e = {
88
88
  ApFormControlRender: ["ap-form", "render"],
89
89
  ApFormItemRender: ["ap-form", "render"],
90
90
  Portal: ["portal"],
91
- FullScreen: ["full-screen"]
91
+ FullScreen: ["full-screen"],
92
+ ResizeObserver: ["resize-observer"]
92
93
  };
93
94
  export {
94
95
  e as default
@@ -0,0 +1,3 @@
1
+ import { default as ResizeObserver } from './index.vue';
2
+ export { ResizeObserver };
3
+ export * from './interface';
@@ -0,0 +1,2 @@
1
+ import "./index.vue2.mjs";
2
+ import "./interface.mjs";
@@ -0,0 +1,25 @@
1
+ import { ResizeObserverProps } from './interface';
2
+ import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function observe(): void;
4
+ declare function unobserve(): void;
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: DefineComponent<ResizeObserverProps, {
15
+ visible: ComputedRef<boolean>;
16
+ cancel: typeof unobserve;
17
+ resume: typeof observe;
18
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ResizeObserverProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };