@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.
- package/es/index.mjs +21 -19
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +4 -3
- package/es/src/ap-table/constants.d.ts +7 -7
- package/es/src/ap-table/utils.d.ts +4 -4
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +220 -108
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +4 -0
- package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +35 -0
- package/es/src/business/ap-ladder/index.d.ts +31 -4
- package/es/src/business/ap-ladder/interface.d.ts +124 -4
- package/es/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
- package/es/src/business/ap-size-input/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +33 -25
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +209 -206
- package/es/src/path-map.mjs +1 -0
- package/es/src/scroll-bar/interface.d.ts +1 -1
- package/es/src/scroll-view/hooks/use-scroll-wrapper.d.ts +19 -0
- package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +54 -0
- package/es/src/scroll-view/index.d.ts +3 -0
- package/es/src/scroll-view/index.mjs +2 -0
- package/es/src/scroll-view/index.vue.d.ts +205 -0
- package/es/src/scroll-view/index.vue.mjs +201 -0
- package/es/src/scroll-view/index.vue2.mjs +4 -0
- package/es/src/scroll-view/interface.d.ts +52 -0
- package/es/src/scroll-view/interface.mjs +1 -0
- package/es/src/scroll-view/style/css.d.ts +0 -0
- package/es/src/scroll-view/style/css.js +2 -0
- package/es/src/scroll-view/style/index.d.ts +0 -0
- package/es/src/scroll-view/style/index.js +2 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-table/components/dynamic-component/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +7 -7
- package/lib/src/ap-table/utils.d.ts +4 -4
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +1 -0
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +1 -0
- package/lib/src/business/ap-ladder/index.d.ts +31 -4
- package/lib/src/business/ap-ladder/interface.d.ts +124 -4
- package/lib/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
- package/lib/src/business/ap-size-input/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/scroll-bar/interface.d.ts +1 -1
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.d.ts +19 -0
- package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -0
- package/lib/src/scroll-view/index.d.ts +3 -0
- package/lib/src/scroll-view/index.js +1 -0
- package/lib/src/scroll-view/index.vue.d.ts +205 -0
- package/lib/src/scroll-view/index.vue.js +1 -0
- package/lib/src/scroll-view/index.vue2.js +1 -0
- package/lib/src/scroll-view/interface.d.ts +52 -0
- package/lib/src/scroll-view/interface.js +1 -0
- package/lib/src/scroll-view/style/css.cjs +2 -0
- package/lib/src/scroll-view/style/css.d.ts +0 -0
- package/lib/src/scroll-view/style/index.cjs +2 -0
- package/lib/src/scroll-view/style/index.d.ts +0 -0
- package/package.json +5 -4
- package/theme/ap-ladder/ap-ladder.css +10 -1
- package/theme/ap-ladder/ap-ladder.less +10 -1
- package/theme/index.css +31 -2
- package/theme/index.less +1 -0
- package/theme/scroll-bar/index.css +1 -1
- package/theme/scroll-bar/index.less +1 -1
- package/theme/scroll-view/index.css +20 -0
- package/theme/scroll-view/index.less +23 -0
package/es/src/index.mjs
CHANGED
|
@@ -1,248 +1,251 @@
|
|
|
1
|
-
import { APConfigProvider as
|
|
2
|
-
import { ApForm as
|
|
3
|
-
import { ApField as
|
|
4
|
-
import { adminToken as
|
|
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
|
|
12
|
-
import { ApModal as
|
|
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
|
|
15
|
+
import { ApDrawer as L } from "./ap-drawer/index.mjs";
|
|
16
16
|
import "./business/index.mjs";
|
|
17
|
-
import { ApTable as
|
|
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
|
|
23
|
-
import { keysOf as
|
|
24
|
-
import { buildLocaleContext as _, buildTranslator as z, localeContextKey as H, translate as
|
|
25
|
-
import { defaultNamespace as
|
|
26
|
-
import { ConfigProvider as
|
|
27
|
-
import { ApFormItemText as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
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
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
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
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { DictCode as
|
|
66
|
-
import { createWorkOrderModal as
|
|
67
|
-
import { default as
|
|
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
|
|
70
|
-
import { default as
|
|
71
|
-
import { NeedNameKeyDefault as
|
|
72
|
-
import { default as
|
|
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
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { ApTransformDataHelper as
|
|
80
|
-
import { default as
|
|
81
|
-
import { useTableModal as
|
|
82
|
-
import { useTableSelectModal as
|
|
83
|
-
import { ApAttachment as
|
|
84
|
-
import { ApBatchAction as
|
|
85
|
-
import { ApBatchActionGroup as
|
|
86
|
-
import { ApButtonGroup as
|
|
87
|
-
import { ApCard as
|
|
88
|
-
import { ApExpandAlert as
|
|
89
|
-
import { ApExportGroupActionType as
|
|
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
|
|
92
|
-
import { convertExportField as
|
|
93
|
-
import { ApImage as
|
|
94
|
-
import { ApInputRadio as
|
|
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
|
|
97
|
-
import { ApLadder as
|
|
98
|
-
import { ApSelectLayout as
|
|
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
|
|
102
|
-
import { useTableRefresh as
|
|
103
|
-
import { computedRecords as
|
|
104
|
-
import { ApSummary as
|
|
105
|
-
import { ApNeedNameKeyDefault as
|
|
106
|
-
import { ApAppendix as
|
|
107
|
-
import { ApExtensionSelect as
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as
|
|
111
|
-
import { ApSizeInput as
|
|
112
|
-
import { useTablePaging as
|
|
113
|
-
import { default as
|
|
114
|
-
import { default as
|
|
115
|
-
import { default as
|
|
116
|
-
import { ensureRangeValue as
|
|
117
|
-
import { default as
|
|
118
|
-
import { default as
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
i as APConfigProvider,
|
|
123
|
+
$e as ApActionButton,
|
|
124
|
+
ge as ApActionGroup,
|
|
123
125
|
C as ApActionItem,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
|
|
138
|
-
|
|
139
|
+
L as ApDrawer,
|
|
140
|
+
Tr as ApExpandAlert,
|
|
139
141
|
Cr as ApExportGroup,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
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
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
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
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
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
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
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
|
-
|
|
195
|
-
|
|
196
|
-
|
|
196
|
+
rt as ApSummary,
|
|
197
|
+
y as ApTable,
|
|
198
|
+
tr as ApTableModal,
|
|
197
199
|
Me as ApTag,
|
|
198
|
-
|
|
200
|
+
ke as ApTagGroup,
|
|
199
201
|
Hr as ApTitle,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
b as
|
|
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
|
-
|
|
221
|
-
|
|
223
|
+
Yr as computedRecords,
|
|
224
|
+
B as configProviderContextKey,
|
|
222
225
|
M as configProviderProps,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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
|
};
|
package/es/src/path-map.mjs
CHANGED
|
@@ -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"],
|
|
@@ -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
|
+
};
|