@aplus-frontend/ui 0.4.7 → 0.4.9

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 (77) hide show
  1. package/es/index.mjs +21 -19
  2. package/es/src/ap-field/number/index.vue.d.ts +1 -1
  3. package/es/src/ap-field/slider/index.vue.d.ts +1 -1
  4. package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
  5. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +4 -3
  6. package/es/src/ap-table/constants.d.ts +7 -7
  7. package/es/src/ap-table/utils.d.ts +4 -4
  8. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
  9. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +220 -108
  10. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
  11. package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +4 -0
  12. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +35 -0
  13. package/es/src/business/ap-ladder/index.d.ts +31 -4
  14. package/es/src/business/ap-ladder/interface.d.ts +124 -4
  15. package/es/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  16. package/es/src/business/ap-size-input/index.d.ts +3 -3
  17. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +33 -25
  18. package/es/src/index.d.ts +1 -0
  19. package/es/src/index.mjs +209 -206
  20. package/es/src/path-map.mjs +1 -0
  21. package/es/src/scroll-bar/interface.d.ts +1 -1
  22. package/es/src/scroll-view/hooks/use-scroll-wrapper.d.ts +19 -0
  23. package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +54 -0
  24. package/es/src/scroll-view/index.d.ts +3 -0
  25. package/es/src/scroll-view/index.mjs +2 -0
  26. package/es/src/scroll-view/index.vue.d.ts +205 -0
  27. package/es/src/scroll-view/index.vue.mjs +201 -0
  28. package/es/src/scroll-view/index.vue2.mjs +4 -0
  29. package/es/src/scroll-view/interface.d.ts +52 -0
  30. package/es/src/scroll-view/interface.mjs +1 -0
  31. package/es/src/scroll-view/style/css.d.ts +0 -0
  32. package/es/src/scroll-view/style/css.js +2 -0
  33. package/es/src/scroll-view/style/index.d.ts +0 -0
  34. package/es/src/scroll-view/style/index.js +2 -0
  35. package/lib/index.js +1 -1
  36. package/lib/src/ap-field/number/index.vue.d.ts +1 -1
  37. package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
  38. package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
  39. package/lib/src/ap-table/components/dynamic-component/index.vue2.js +1 -1
  40. package/lib/src/ap-table/constants.d.ts +7 -7
  41. package/lib/src/ap-table/utils.d.ts +4 -4
  42. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
  43. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  44. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
  45. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +1 -0
  46. package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +1 -0
  47. package/lib/src/business/ap-ladder/index.d.ts +31 -4
  48. package/lib/src/business/ap-ladder/interface.d.ts +124 -4
  49. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  50. package/lib/src/business/ap-size-input/index.d.ts +3 -3
  51. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  52. package/lib/src/index.d.ts +1 -0
  53. package/lib/src/index.js +1 -1
  54. package/lib/src/path-map.js +1 -1
  55. package/lib/src/scroll-bar/interface.d.ts +1 -1
  56. package/lib/src/scroll-view/hooks/use-scroll-wrapper.d.ts +19 -0
  57. package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -0
  58. package/lib/src/scroll-view/index.d.ts +3 -0
  59. package/lib/src/scroll-view/index.js +1 -0
  60. package/lib/src/scroll-view/index.vue.d.ts +205 -0
  61. package/lib/src/scroll-view/index.vue.js +1 -0
  62. package/lib/src/scroll-view/index.vue2.js +1 -0
  63. package/lib/src/scroll-view/interface.d.ts +52 -0
  64. package/lib/src/scroll-view/interface.js +1 -0
  65. package/lib/src/scroll-view/style/css.cjs +2 -0
  66. package/lib/src/scroll-view/style/css.d.ts +0 -0
  67. package/lib/src/scroll-view/style/index.cjs +2 -0
  68. package/lib/src/scroll-view/style/index.d.ts +0 -0
  69. package/package.json +5 -4
  70. package/theme/ap-ladder/ap-ladder.css +10 -1
  71. package/theme/ap-ladder/ap-ladder.less +10 -1
  72. package/theme/index.css +31 -2
  73. package/theme/index.less +1 -0
  74. package/theme/scroll-bar/index.css +1 -1
  75. package/theme/scroll-bar/index.less +1 -1
  76. package/theme/scroll-view/index.css +20 -0
  77. package/theme/scroll-view/index.less +23 -0
package/es/src/index.mjs CHANGED
@@ -1,248 +1,251 @@
1
- import { APConfigProvider as s } from "./config-provider/index.mjs";
2
- import { ApForm as n } from "./ap-form/index.mjs";
3
- import { ApField as F } from "./ap-field/index.mjs";
4
- import { adminToken as T, aplusToken as b } from "./design-token/index.mjs";
1
+ import { APConfigProvider as i } from "./config-provider/index.mjs";
2
+ import { ApForm as c } from "./ap-form/index.mjs";
3
+ import { ApField as I } from "./ap-field/index.mjs";
4
+ import { adminToken as b, aplusToken as D } from "./design-token/index.mjs";
5
5
  import { ApActionItem as C } 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 g } from "./check-card/index.mjs";
12
- import { ApModal as G } from "./ap-modal/index.mjs";
11
+ import { CheckCard as h } from "./check-card/index.mjs";
12
+ import { ApModal as P } from "./ap-modal/index.mjs";
13
13
  import "./ap-list/index.mjs";
14
14
  import "./ap-button/index.mjs";
15
- import { ApDrawer as E } from "./ap-drawer/index.mjs";
15
+ import { ApDrawer as L } from "./ap-drawer/index.mjs";
16
16
  import "./business/index.mjs";
17
- import { ApTable as N } from "./ap-table/index.mjs";
17
+ import { ApTable as y } from "./ap-table/index.mjs";
18
18
  import "./editable-table/index.mjs";
19
19
  import "./ap-descriptions/index.mjs";
20
20
  import "./scroll-bar/index.mjs";
21
+ import "./scroll-view/index.mjs";
21
22
  import { configProviderProps as M } from "./config-provider/config-provider-props.mjs";
22
- import { DEFAULT_NAMESPACE as w, DEFAULT_UIMODE as k, configProviderContextKey as v } from "./config-provider/constants.mjs";
23
- import { keysOf as K, provideGlobalConfig as U, useGlobalConfig as O } from "./config-provider/hooks/use-global-config.mjs";
24
- import { buildLocaleContext as _, buildTranslator as z, localeContextKey as H, translate as V, useLocale as j } from "./config-provider/hooks/use-locale.mjs";
25
- import { defaultNamespace as J, namespaceContextKey as Q, useGetDerivedNamespace as X, useNamespace as Y } from "./config-provider/hooks/use-namespace.mjs";
26
- import { ConfigProvider as $, globalConfigCached as oo } from "./config-provider/config-provider.mjs";
27
- import { ApFormItemText as ro } from "./ap-form/items/text/index.mjs";
28
- import { default as po } from "./ap-form/items/text-area/index.vue.mjs";
29
- import { default as mo } from "./ap-form/items/number/index.vue.mjs";
30
- import { default as lo } from "./ap-form/items/date/index.vue.mjs";
31
- import { default as uo } from "./ap-form/items/date-range/index.vue.mjs";
32
- import { default as so } from "./ap-form/items/radio/index.vue.mjs";
33
- import { default as no } from "./ap-form/items/select/index.vue.mjs";
34
- import { default as Fo } from "./ap-form/items/switch/index.vue.mjs";
35
- import { default as To } from "./ap-form/items/checkbox/index.vue.mjs";
36
- import { default as Do } from "./ap-form/items/text/password.vue.mjs";
37
- import { default as So } from "./ap-form/item/index.vue.mjs";
38
- import { default as ho } from "./ap-form/item-group/index.vue.mjs";
39
- import { default as Po } from "./ap-form/list/index.vue.mjs";
40
- import { default as Lo } from "./ap-form/search-form/index.vue.mjs";
41
- import { default as yo } from "./ap-form/modal-form/index.vue.mjs";
23
+ import { DEFAULT_NAMESPACE as k, DEFAULT_UIMODE as v, configProviderContextKey as B } from "./config-provider/constants.mjs";
24
+ import { keysOf as U, provideGlobalConfig as O, useGlobalConfig as V } from "./config-provider/hooks/use-global-config.mjs";
25
+ import { buildLocaleContext as _, buildTranslator as z, localeContextKey as H, translate as j, useLocale as q } from "./config-provider/hooks/use-locale.mjs";
26
+ import { defaultNamespace as Q, namespaceContextKey as X, useGetDerivedNamespace as Y, useNamespace as Z } from "./config-provider/hooks/use-namespace.mjs";
27
+ import { ConfigProvider as oo, globalConfigCached as eo } from "./config-provider/config-provider.mjs";
28
+ import { ApFormItemText as to } from "./ap-form/items/text/index.mjs";
29
+ import { default as ao } from "./ap-form/items/text-area/index.vue.mjs";
30
+ import { default as fo } from "./ap-form/items/number/index.vue.mjs";
31
+ import { default as xo } from "./ap-form/items/date/index.vue.mjs";
32
+ import { default as Ao } from "./ap-form/items/date-range/index.vue.mjs";
33
+ import { default as io } from "./ap-form/items/radio/index.vue.mjs";
34
+ import { default as co } from "./ap-form/items/select/index.vue.mjs";
35
+ import { default as Io } from "./ap-form/items/switch/index.vue.mjs";
36
+ import { default as bo } from "./ap-form/items/checkbox/index.vue.mjs";
37
+ import { default as So } from "./ap-form/items/text/password.vue.mjs";
38
+ import { default as go } from "./ap-form/item/index.vue.mjs";
39
+ import { default as Go } from "./ap-form/item-group/index.vue.mjs";
40
+ import { default as Eo } from "./ap-form/list/index.vue.mjs";
41
+ import { default as No } from "./ap-form/search-form/index.vue.mjs";
42
+ import { default as wo } from "./ap-form/modal-form/index.vue.mjs";
42
43
  import { default as Ro } from "./ap-form/dependency/index.vue.mjs";
43
- import { default as ko } from "./ap-form/set/index.vue.mjs";
44
- import { default as Bo } from "./ap-form/drawer-form/index.vue.mjs";
45
- import { default as Uo } from "./ap-form/render/control.vue.mjs";
44
+ import { default as vo } from "./ap-form/set/index.vue.mjs";
45
+ import { default as Ko } from "./ap-form/drawer-form/index.vue.mjs";
46
+ import { default as Oo } from "./ap-form/render/control.vue.mjs";
46
47
  import { default as Wo } from "./ap-form/render/item.vue.mjs";
47
48
  import { default as zo } from "./ap-form/provider/index.vue.mjs";
48
- import { ApFieldText as Vo } from "./ap-field/text/index.mjs";
49
- import { default as qo } from "./ap-field/checkbox/index.vue.mjs";
50
- import { default as Qo } from "./ap-field/date/index.vue.mjs";
51
- import { default as Yo } from "./ap-field/number/index.vue.mjs";
52
- import { default as $o } from "./ap-field/radio/index.vue.mjs";
53
- import { default as ee } from "./ap-field/switch/index.vue.mjs";
54
- import { default as te } from "./ap-field/text-area/index.vue.mjs";
55
- import { default as ae } from "./ap-field/date-range/index.vue.mjs";
56
- import { default as fe } from "./ap-field/select/index.vue.mjs";
57
- import { default as xe } from "./ap-field/text/password.vue.mjs";
58
- import { default as ue } from "./ap-field/slider/index.vue.mjs";
59
- import { default as se } from "./ap-field/segmented/index.vue.mjs";
60
- import { default as ne } from "./ap-field/rate/index.vue.mjs";
61
- import { default as Fe } from "./ap-action/item-modal/index.vue.mjs";
62
- import { default as Te } from "./ap-action/item-popconfirm/index.vue.mjs";
63
- import { default as De } from "./ap-action/item-dropdown/index.vue.mjs";
64
- import { default as Se } from "./ap-action/group/index.vue.mjs";
65
- import { DictCode as he, langMap as Ge } from "./work-order-modal/interfaces.mjs";
66
- import { createWorkOrderModal as Ee } from "./work-order-modal/createWorkOrder.mjs";
67
- import { default as Ne } from "./work-order-modal/work-order-modal.vue.mjs";
49
+ import { ApFieldText as jo } from "./ap-field/text/index.mjs";
50
+ import { default as Jo } from "./ap-field/checkbox/index.vue.mjs";
51
+ import { default as Xo } from "./ap-field/date/index.vue.mjs";
52
+ import { default as Zo } from "./ap-field/number/index.vue.mjs";
53
+ import { default as oe } from "./ap-field/radio/index.vue.mjs";
54
+ import { default as re } from "./ap-field/switch/index.vue.mjs";
55
+ import { default as pe } from "./ap-field/text-area/index.vue.mjs";
56
+ import { default as me } from "./ap-field/date-range/index.vue.mjs";
57
+ import { default as le } from "./ap-field/select/index.vue.mjs";
58
+ import { default as de } from "./ap-field/text/password.vue.mjs";
59
+ import { default as Ae } from "./ap-field/slider/index.vue.mjs";
60
+ import { default as ie } from "./ap-field/segmented/index.vue.mjs";
61
+ import { default as ce } from "./ap-field/rate/index.vue.mjs";
62
+ import { default as Ie } from "./ap-action/item-modal/index.vue.mjs";
63
+ import { default as be } from "./ap-action/item-popconfirm/index.vue.mjs";
64
+ import { default as Se } from "./ap-action/item-dropdown/index.vue.mjs";
65
+ import { default as ge } from "./ap-action/group/index.vue.mjs";
66
+ import { DictCode as Ge, langMap as Pe } from "./work-order-modal/interfaces.mjs";
67
+ import { createWorkOrderModal as Le } from "./work-order-modal/createWorkOrder.mjs";
68
+ import { default as ye } from "./work-order-modal/work-order-modal.vue.mjs";
68
69
  import { default as Me } from "./ap-tag/ap-tag.vue.mjs";
69
- import { default as we } from "./ap-tag/ap-tag-group.vue.mjs";
70
- import { default as ve } from "./ap-info-layout/ApInfoLayout.vue.mjs";
71
- import { NeedNameKeyDefault as Ke } from "./ap-upload/apUploadTypes.mjs";
72
- import { default as Oe } from "./ap-upload/apUpload.vue.mjs";
70
+ import { default as ke } from "./ap-tag/ap-tag-group.vue.mjs";
71
+ import { default as Be } from "./ap-info-layout/ApInfoLayout.vue.mjs";
72
+ import { NeedNameKeyDefault as Ue } from "./ap-upload/apUploadTypes.mjs";
73
+ import { default as Ve } from "./ap-upload/apUpload.vue.mjs";
73
74
  import { ApDownLoadNeedNameKeyDefault as _e } from "./ap-download/interface.mjs";
74
75
  import { default as He } from "./ap-download/ap-download.vue.mjs";
75
- import { default as je } from "./check-card/group.vue.mjs";
76
- import { default as Je } from "./ap-list/index.vue.mjs";
77
- import { default as Xe } from "./ap-button/ap-button.vue.mjs";
78
- import { default as Ze } from "./ap-button/ap-action-button.vue.mjs";
79
- import { ApTransformDataHelper as or } from "./utils/ap-trans-data/index.mjs";
80
- import { default as rr } from "./business/ap-table-modal/index.mjs";
81
- import { useTableModal as pr } from "./business/ap-table-modal/hooks/use-table-modal.mjs";
82
- import { useTableSelectModal as mr } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
83
- import { ApAttachment as lr } from "./business/ap-attachment/index.mjs";
84
- import { ApBatchAction as dr } from "./business/ap-batch-action/index.mjs";
85
- import { ApBatchActionGroup as Ar } from "./business/ap-batch-action-group/index.mjs";
86
- import { ApButtonGroup as ir } from "./business/ap-button-group/index.mjs";
87
- import { ApCard as cr } from "./business/ap-card/index.mjs";
88
- import { ApExpandAlert as Ir } from "./business/ap-expand-alert/index.mjs";
89
- import { ApExportGroupActionType as br } from "./business/ap-export-group/interface.mjs";
76
+ import { default as qe } from "./check-card/group.vue.mjs";
77
+ import { default as Qe } from "./ap-list/index.vue.mjs";
78
+ import { default as Ye } from "./ap-button/ap-button.vue.mjs";
79
+ import { default as $e } from "./ap-button/ap-action-button.vue.mjs";
80
+ import { ApTransformDataHelper as er } from "./utils/ap-trans-data/index.mjs";
81
+ import { default as tr } from "./business/ap-table-modal/index.mjs";
82
+ import { useTableModal as ar } from "./business/ap-table-modal/hooks/use-table-modal.mjs";
83
+ import { useTableSelectModal as fr } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
84
+ import { ApAttachment as xr } from "./business/ap-attachment/index.mjs";
85
+ import { ApBatchAction as ur } from "./business/ap-batch-action/index.mjs";
86
+ import { ApBatchActionGroup as sr } from "./business/ap-batch-action-group/index.mjs";
87
+ import { ApButtonGroup as nr } from "./business/ap-button-group/index.mjs";
88
+ import { ApCard as Fr } from "./business/ap-card/index.mjs";
89
+ import { ApExpandAlert as Tr } from "./business/ap-expand-alert/index.mjs";
90
+ import { ApExportGroupActionType as Dr } from "./business/ap-export-group/interface.mjs";
90
91
  import { ApExportGroup as Cr } from "./business/ap-export-group/index.mjs";
91
- import { handleExportDownload as gr } from "./business/ap-export-group/handleExportDownload.mjs";
92
- import { convertExportField as Gr } from "./business/ap-export-group/convertExportField.mjs";
93
- import { ApImage as Er } from "./business/ap-image/index.mjs";
94
- import { ApInputRadio as Nr } from "./business/ap-input-radio/index.mjs";
92
+ import { handleExportDownload as hr } from "./business/ap-export-group/handleExportDownload.mjs";
93
+ import { convertExportField as Pr } from "./business/ap-export-group/convertExportField.mjs";
94
+ import { ApImage as Lr } from "./business/ap-image/index.mjs";
95
+ import { ApInputRadio as yr } from "./business/ap-input-radio/index.mjs";
95
96
  import { ApLabel as Mr, ApLabelGroup as Rr } from "./business/ap-label/index.mjs";
96
- import { locales as kr } from "./business/ap-ladder/interface.mjs";
97
- import { ApLadder as Br } from "./business/ap-ladder/index.mjs";
98
- import { ApSelectLayout as Ur } from "./business/ap-select-layout/index.mjs";
97
+ import { locales as vr } from "./business/ap-ladder/interface.mjs";
98
+ import { ApLadder as Kr } from "./business/ap-ladder/index.mjs";
99
+ import { ApSelectLayout as Or } from "./business/ap-select-layout/index.mjs";
99
100
  import { ApStatus as Wr, ApStatusGroup as _r } from "./business/ap-status/index.mjs";
100
101
  import { ApTitle as Hr } from "./business/ap-title/index.mjs";
101
- import { usePageListApTable as jr } from "./business/hooks/usePageListApTable.mjs";
102
- import { useTableRefresh as Jr } from "./business/hooks/useTableRefresh.mjs";
103
- import { computedRecords as Xr, flattenColumns as Yr, formatDataIndex as Zr, formatNumber as $r } from "./business/ap-summary/utils.mjs";
104
- import { ApSummary as et } from "./business/ap-summary/index.mjs";
105
- import { ApNeedNameKeyDefault as tt } from "./business/ap-appendix/interface.mjs";
106
- import { ApAppendix as at } from "./business/ap-appendix/index.mjs";
107
- import { ApExtensionSelect as ft, ApGroupSearch as lt, ApPopoverSelect as xt } from "./business/ap-group-search/index.mjs";
108
- import { default as ut } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
109
- import { default as st } from "./business/batch-input-group/index.vue.mjs";
110
- import { default as nt } from "./business/batch-input-group/form-item.vue.mjs";
111
- import { ApSizeInput as Ft } from "./business/ap-size-input/index.mjs";
112
- import { useTablePaging as Tt } from "./ap-table/hooks/use-table-paging.mjs";
113
- import { default as Dt } from "./editable-table/index.vue.mjs";
114
- import { default as St } from "./editable-table/form-item.vue.mjs";
115
- import { default as ht } from "./ap-descriptions/ap-descriptions.vue.mjs";
116
- import { ensureRangeValue as Pt } from "./scroll-bar/utils/index.mjs";
117
- import { default as Lt } from "./scroll-bar/index.vue.mjs";
118
- import { default as yt } from "./scroll-bar/internal.vue.mjs";
102
+ import { usePageListApTable as qr } from "./business/hooks/usePageListApTable.mjs";
103
+ import { useTableRefresh as Qr } from "./business/hooks/useTableRefresh.mjs";
104
+ import { computedRecords as Yr, flattenColumns as Zr, formatDataIndex as $r, formatNumber as ot } from "./business/ap-summary/utils.mjs";
105
+ import { ApSummary as rt } from "./business/ap-summary/index.mjs";
106
+ import { ApNeedNameKeyDefault as pt } from "./business/ap-appendix/interface.mjs";
107
+ import { ApAppendix as mt } from "./business/ap-appendix/index.mjs";
108
+ import { ApExtensionSelect as lt, ApGroupSearch as xt, ApPopoverSelect as dt } from "./business/ap-group-search/index.mjs";
109
+ import { default as At } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
110
+ import { default as it } from "./business/batch-input-group/index.vue.mjs";
111
+ import { default as ct } from "./business/batch-input-group/form-item.vue.mjs";
112
+ import { ApSizeInput as It } from "./business/ap-size-input/index.mjs";
113
+ import { useTablePaging as bt } from "./ap-table/hooks/use-table-paging.mjs";
114
+ import { default as St } from "./editable-table/index.vue.mjs";
115
+ import { default as gt } from "./editable-table/form-item.vue.mjs";
116
+ import { default as Gt } from "./ap-descriptions/ap-descriptions.vue.mjs";
117
+ import { ensureRangeValue as Et } from "./scroll-bar/utils/index.mjs";
118
+ import { default as Nt } from "./scroll-bar/index.vue.mjs";
119
+ import { default as wt } from "./scroll-bar/internal.vue.mjs";
120
+ import { default as Rt } from "./scroll-view/index.vue.mjs";
119
121
  export {
120
- s as APConfigProvider,
121
- Ze as ApActionButton,
122
- Se as ApActionGroup,
122
+ i as APConfigProvider,
123
+ $e as ApActionButton,
124
+ ge as ApActionGroup,
123
125
  C as ApActionItem,
124
- De as ApActionItemDropdown,
125
- Fe as ApActionItemModal,
126
- Te as ApActionItemPopconfirm,
127
- at as ApAppendix,
128
- lr as ApAttachment,
129
- dr as ApBatchAction,
130
- Ar as ApBatchActionGroup,
131
- Xe as ApButton,
132
- ir as ApButtonGroup,
133
- cr as ApCard,
134
- ht as ApDescriptions,
126
+ Se as ApActionItemDropdown,
127
+ Ie as ApActionItemModal,
128
+ be as ApActionItemPopconfirm,
129
+ mt as ApAppendix,
130
+ xr as ApAttachment,
131
+ ur as ApBatchAction,
132
+ sr as ApBatchActionGroup,
133
+ Ye as ApButton,
134
+ nr as ApButtonGroup,
135
+ Fr as ApCard,
136
+ Gt as ApDescriptions,
135
137
  _e as ApDownLoadNeedNameKeyDefault,
136
138
  He as ApDownload,
137
- E as ApDrawer,
138
- Ir as ApExpandAlert,
139
+ L as ApDrawer,
140
+ Tr as ApExpandAlert,
139
141
  Cr as ApExportGroup,
140
- br as ApExportGroupActionType,
141
- ft as ApExtensionSelect,
142
- F as ApField,
143
- qo as ApFieldCheckbox,
144
- Qo as ApFieldDate,
145
- ae as ApFieldDateRange,
146
- Yo as ApFieldNumber,
147
- xe as ApFieldPassword,
148
- $o as ApFieldRadio,
149
- ne as ApFieldRate,
150
- se as ApFieldSegmented,
151
- fe as ApFieldSelect,
152
- ue as ApFieldSlider,
153
- ee as ApFieldSwitch,
154
- Vo as ApFieldText,
155
- te as ApFieldTextArea,
156
- n as ApForm,
157
- Uo as ApFormControlRender,
142
+ Dr as ApExportGroupActionType,
143
+ lt as ApExtensionSelect,
144
+ I as ApField,
145
+ Jo as ApFieldCheckbox,
146
+ Xo as ApFieldDate,
147
+ me as ApFieldDateRange,
148
+ Zo as ApFieldNumber,
149
+ de as ApFieldPassword,
150
+ oe as ApFieldRadio,
151
+ ce as ApFieldRate,
152
+ ie as ApFieldSegmented,
153
+ le as ApFieldSelect,
154
+ Ae as ApFieldSlider,
155
+ re as ApFieldSwitch,
156
+ jo as ApFieldText,
157
+ pe as ApFieldTextArea,
158
+ c as ApForm,
159
+ Oo as ApFormControlRender,
158
160
  Ro as ApFormDependency,
159
- Bo as ApFormDrawerForm,
160
- So as ApFormItem,
161
- nt as ApFormItemBatchInput,
162
- To as ApFormItemCheckbox,
163
- lo as ApFormItemDate,
164
- uo as ApFormItemDateRange,
165
- ho as ApFormItemGroup,
166
- mo as ApFormItemNumber,
167
- so as ApFormItemRadio,
161
+ Ko as ApFormDrawerForm,
162
+ go as ApFormItem,
163
+ ct as ApFormItemBatchInput,
164
+ bo as ApFormItemCheckbox,
165
+ xo as ApFormItemDate,
166
+ Ao as ApFormItemDateRange,
167
+ Go as ApFormItemGroup,
168
+ fo as ApFormItemNumber,
169
+ io as ApFormItemRadio,
168
170
  Wo as ApFormItemRender,
169
- no as ApFormItemSelect,
170
- Fo as ApFormItemSwitch,
171
- ro as ApFormItemText,
172
- po as ApFormItemTextArea,
173
- Do as ApFormItemTextPassword,
174
- Po as ApFormList,
175
- yo as ApFormModalForm,
171
+ co as ApFormItemSelect,
172
+ Io as ApFormItemSwitch,
173
+ to as ApFormItemText,
174
+ ao as ApFormItemTextArea,
175
+ So as ApFormItemTextPassword,
176
+ Eo as ApFormList,
177
+ wo as ApFormModalForm,
176
178
  zo as ApFormProvider,
177
- Lo as ApFormSearchForm,
178
- ko as ApFormSet,
179
- lt as ApGroupSearch,
180
- Er as ApImage,
181
- ve as ApInfoLayout,
182
- Nr as ApInputRadio,
179
+ No as ApFormSearchForm,
180
+ vo as ApFormSet,
181
+ xt as ApGroupSearch,
182
+ Lr as ApImage,
183
+ Be as ApInfoLayout,
184
+ yr as ApInputRadio,
183
185
  Mr as ApLabel,
184
186
  Rr as ApLabelGroup,
185
- Br as ApLadder,
186
- Je as ApList,
187
- G as ApModal,
188
- tt as ApNeedNameKeyDefault,
189
- xt as ApPopoverSelect,
190
- Ur as ApSelectLayout,
191
- Ft as ApSizeInput,
187
+ Kr as ApLadder,
188
+ Qe as ApList,
189
+ P as ApModal,
190
+ pt as ApNeedNameKeyDefault,
191
+ dt as ApPopoverSelect,
192
+ Or as ApSelectLayout,
193
+ It as ApSizeInput,
192
194
  Wr as ApStatus,
193
195
  _r as ApStatusGroup,
194
- et as ApSummary,
195
- N as ApTable,
196
- rr as ApTableModal,
196
+ rt as ApSummary,
197
+ y as ApTable,
198
+ tr as ApTableModal,
197
199
  Me as ApTag,
198
- we as ApTagGroup,
200
+ ke as ApTagGroup,
199
201
  Hr as ApTitle,
200
- or as ApTransformDataHelper,
201
- Oe as ApUpload,
202
- ut as ApUploadSingle,
203
- st as BatchInputGroup,
204
- g as CheckCard,
205
- je as CheckCardGroup,
206
- $ as ConfigProvider,
207
- w as DEFAULT_NAMESPACE,
208
- k as DEFAULT_UIMODE,
209
- he as DictCode,
210
- Dt as EditableTable,
211
- St as EditableTableFormItem,
212
- yt as InternalScrollBar,
213
- Ke as NeedNameKeyDefault,
214
- Lt as ScrollBar,
215
- Ne as WorkOrderModal,
216
- T as adminToken,
217
- b as aplusToken,
202
+ er as ApTransformDataHelper,
203
+ Ve as ApUpload,
204
+ At as ApUploadSingle,
205
+ it as BatchInputGroup,
206
+ h as CheckCard,
207
+ qe as CheckCardGroup,
208
+ oo as ConfigProvider,
209
+ k as DEFAULT_NAMESPACE,
210
+ v as DEFAULT_UIMODE,
211
+ Ge as DictCode,
212
+ St as EditableTable,
213
+ gt as EditableTableFormItem,
214
+ wt as InternalScrollBar,
215
+ Ue as NeedNameKeyDefault,
216
+ Nt as ScrollBar,
217
+ Rt as ScrollView,
218
+ ye as WorkOrderModal,
219
+ b as adminToken,
220
+ D as aplusToken,
218
221
  _ as buildLocaleContext,
219
222
  z as buildTranslator,
220
- Xr as computedRecords,
221
- v as configProviderContextKey,
223
+ Yr as computedRecords,
224
+ B as configProviderContextKey,
222
225
  M as configProviderProps,
223
- Gr as convertExportField,
224
- Ee as createWorkOrderModal,
225
- J as defaultNamespace,
226
- Pt as ensureRangeValue,
227
- Yr as flattenColumns,
228
- Zr as formatDataIndex,
229
- $r as formatNumber,
230
- oo as globalConfigCached,
231
- gr as handleExportDownload,
232
- K as keysOf,
233
- Ge as langMap,
226
+ Pr as convertExportField,
227
+ Le as createWorkOrderModal,
228
+ Q as defaultNamespace,
229
+ Et as ensureRangeValue,
230
+ Zr as flattenColumns,
231
+ $r as formatDataIndex,
232
+ ot as formatNumber,
233
+ eo as globalConfigCached,
234
+ hr as handleExportDownload,
235
+ U as keysOf,
236
+ Pe as langMap,
234
237
  H as localeContextKey,
235
- kr as locales,
236
- Q as namespaceContextKey,
237
- U as provideGlobalConfig,
238
- V as translate,
239
- X as useGetDerivedNamespace,
240
- O as useGlobalConfig,
241
- j as useLocale,
242
- Y as useNamespace,
243
- jr as usePageListApTable,
244
- pr as useTableModal,
245
- Tt as useTablePaging,
246
- Jr as useTableRefresh,
247
- mr as useTableSelectModal
238
+ vr as locales,
239
+ X as namespaceContextKey,
240
+ O as provideGlobalConfig,
241
+ j as translate,
242
+ Y as useGetDerivedNamespace,
243
+ V as useGlobalConfig,
244
+ q as useLocale,
245
+ Z as useNamespace,
246
+ qr as usePageListApTable,
247
+ ar as useTableModal,
248
+ bt as useTablePaging,
249
+ Qr as useTableRefresh,
250
+ fr as useTableSelectModal
248
251
  };
@@ -78,6 +78,7 @@ const e = {
78
78
  ApTitle: ["business", "ap-title"],
79
79
  ApSummary: ["business", "ap-summary"],
80
80
  ScrollBar: ["scroll-bar"],
81
+ ScrollView: ["scroll-view"],
81
82
  ApAppendix: ["business", "ap-appendix"],
82
83
  ApGroupSearch: ["business", "ap-group-search"],
83
84
  ApPopoverSelect: ["business", "ap-group-search", "popover-select"],
@@ -27,7 +27,7 @@ export interface InternalScrollBarProps {
27
27
  */
28
28
  trackColor?: ColorType;
29
29
  /**
30
- * 滑动滚到的长度
30
+ * 滑动滚条的长度
31
31
  */
32
32
  trackWidth?: number;
33
33
  /**
@@ -0,0 +1,19 @@
1
+ import { InternalScrollBarExpose } from '../../scroll-bar';
2
+ import { Ref } from 'vue';
3
+ declare const useScrollWrapper: () => {
4
+ maxScrollDistance: {
5
+ x: number;
6
+ y: number;
7
+ };
8
+ scrollOffset: {
9
+ x: number;
10
+ y: number;
11
+ };
12
+ xBarRef: Ref<InternalScrollBarExpose | undefined, InternalScrollBarExpose | undefined>;
13
+ yBarRef: Ref<InternalScrollBarExpose | undefined, InternalScrollBarExpose | undefined>;
14
+ scrollYBar: () => void;
15
+ scrollXBar: () => void;
16
+ containerRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
17
+ updateMaxScrollDistance: () => void;
18
+ };
19
+ export default useScrollWrapper;
@@ -0,0 +1,54 @@
1
+ import { getScrollable as c } from "../../scroll-bar/utils/index.mjs";
2
+ import { ref as i, reactive as v, watch as p, unref as b } from "vue";
3
+ const B = () => {
4
+ const t = i(), n = v({ x: 0, y: 0 }), a = v({ x: 0, y: 0 }), s = i(), u = i();
5
+ p(
6
+ () => t.value,
7
+ () => {
8
+ f();
9
+ }
10
+ );
11
+ function f() {
12
+ const e = b(t);
13
+ if (!e)
14
+ return;
15
+ const { visibleSize: l, totalSize: r } = c(
16
+ e,
17
+ "horizontal"
18
+ ), { visibleSize: o, totalSize: x } = c(e, "vertical");
19
+ n.x = r - l, n.y = x - o;
20
+ }
21
+ function S() {
22
+ var o;
23
+ if (!t.value)
24
+ return;
25
+ const { totalSize: e, visibleSize: l } = c(
26
+ t.value,
27
+ "vertical"
28
+ ), r = a.y / (e - l || 1) * 100;
29
+ (o = u.value) == null || o.scroll(r);
30
+ }
31
+ function z() {
32
+ var o;
33
+ if (!t.value)
34
+ return;
35
+ const { totalSize: e, visibleSize: l } = c(
36
+ t.value,
37
+ "horizontal"
38
+ ), r = a.x / (e - l || 1) * 100;
39
+ (o = s.value) == null || o.scroll(r);
40
+ }
41
+ return {
42
+ maxScrollDistance: n,
43
+ scrollOffset: a,
44
+ xBarRef: s,
45
+ yBarRef: u,
46
+ scrollYBar: S,
47
+ scrollXBar: z,
48
+ containerRef: t,
49
+ updateMaxScrollDistance: f
50
+ };
51
+ };
52
+ export {
53
+ B as default
54
+ };
@@ -0,0 +1,3 @@
1
+ import { default as ScrollView } from './index.vue';
2
+ export { ScrollView };
3
+ export * from './interface';
@@ -0,0 +1,2 @@
1
+ import "./index.vue2.mjs";
2
+ import "./interface.mjs";