@aplus-frontend/ui 0.4.13 → 0.4.14
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 +84 -80
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +17 -12
- package/es/src/ap-field/date/helper.mjs +9 -9
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +62 -62
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +79 -67
- package/es/src/hooks/index.d.ts +1 -0
- package/es/src/hooks/index.mjs +6 -4
- package/es/src/hooks/useResize.d.ts +8 -0
- package/es/src/hooks/useResize.mjs +23 -0
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +212 -209
- package/es/src/path-map.mjs +2 -1
- package/es/src/resize-observer/index.d.ts +3 -0
- package/es/src/resize-observer/index.mjs +2 -0
- package/es/src/resize-observer/index.vue.d.ts +25 -0
- package/es/src/resize-observer/index.vue.mjs +45 -0
- package/es/src/resize-observer/index.vue2.mjs +4 -0
- package/es/src/resize-observer/interface.d.ts +27 -0
- package/es/src/resize-observer/interface.mjs +1 -0
- package/es/src/resize-observer/style/css.d.ts +1 -0
- package/es/src/resize-observer/style/css.js +1 -0
- package/es/src/resize-observer/style/index.d.ts +1 -0
- package/es/src/resize-observer/style/index.js +1 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-field/date/helper.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/hooks/index.d.ts +1 -0
- package/lib/src/hooks/index.js +1 -1
- package/lib/src/hooks/useResize.d.ts +8 -0
- package/lib/src/hooks/useResize.js +1 -0
- 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/resize-observer/index.d.ts +3 -0
- package/lib/src/resize-observer/index.js +1 -0
- package/lib/src/resize-observer/index.vue.d.ts +25 -0
- package/lib/src/resize-observer/index.vue.js +1 -0
- package/lib/src/resize-observer/index.vue2.js +1 -0
- package/lib/src/resize-observer/interface.d.ts +27 -0
- package/lib/src/resize-observer/interface.js +1 -0
- package/lib/src/resize-observer/style/css.cjs +1 -0
- package/lib/src/resize-observer/style/css.d.ts +1 -0
- package/lib/src/resize-observer/style/index.cjs +1 -0
- package/lib/src/resize-observer/style/index.d.ts +1 -0
- package/package.json +3 -3
- package/theme/ap-descriptions/ap-descriptions.css +3 -0
- package/theme/ap-descriptions/ap-descriptions.less +7 -0
- package/theme/ap-table/ap-table.css +1 -1
- package/theme/ap-table/ap-table.less +1 -1
- package/theme/ap-table-modal/index.css +1 -1
- package/theme/index.css +4 -1
package/es/src/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { APConfigProvider as
|
|
2
|
-
import { ApForm as
|
|
3
|
-
import { ApField as
|
|
4
|
-
import { adminToken as
|
|
5
|
-
import { ApActionItem as
|
|
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
|
|
12
|
-
import { ApModal as
|
|
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
|
|
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
|
|
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
|
|
28
|
-
import { defaultNamespace as
|
|
29
|
-
import { ConfigProvider as
|
|
30
|
-
import { ApFormItemText 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
|
|
42
|
-
import { default as
|
|
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
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
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
|
|
50
|
-
import { default as
|
|
51
|
-
import { ApFieldText 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 { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { DictCode as
|
|
69
|
-
import { createWorkOrderModal as
|
|
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
|
|
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
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { ApTransformDataHelper as
|
|
83
|
-
import { default as
|
|
84
|
-
import { useTableModal as
|
|
85
|
-
import { useTableSelectModal as
|
|
86
|
-
import { ApAttachment as
|
|
87
|
-
import { ApBatchAction as
|
|
88
|
-
import { ApBatchActionGroup as
|
|
89
|
-
import { ApButtonGroup as
|
|
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
|
|
92
|
-
import { ApExportGroupActionType as
|
|
93
|
-
import { ApExportGroup as
|
|
94
|
-
import { handleExportDownload as
|
|
95
|
-
import { convertExportField as
|
|
96
|
-
import { ApImage as
|
|
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
|
|
99
|
-
import { locales as
|
|
100
|
-
import { ApLadder as
|
|
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
|
|
103
|
-
import { ApTitle as
|
|
104
|
-
import { usePageListApTable as
|
|
105
|
-
import { useTableRefresh as
|
|
106
|
-
import { computedRecords as
|
|
107
|
-
import { ApSummary as
|
|
108
|
-
import { ApNeedNameKeyDefault as
|
|
109
|
-
import { ApAppendix as
|
|
110
|
-
import { ApExtensionSelect as
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as
|
|
113
|
-
import { default as
|
|
114
|
-
import { ApSizeInput as
|
|
115
|
-
import { useTablePaging as
|
|
116
|
-
import { default as
|
|
117
|
-
import { default as
|
|
118
|
-
import { default as
|
|
119
|
-
import { ensureRangeValue as
|
|
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
|
|
122
|
-
import { default as
|
|
123
|
-
import { default as
|
|
124
|
-
import { default as
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
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
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
St as ApSizeInput,
|
|
200
|
+
Hr as ApStatus,
|
|
201
|
+
jr as ApStatusGroup,
|
|
202
|
+
at as ApSummary,
|
|
201
203
|
M as ApTable,
|
|
202
|
-
|
|
204
|
+
mr as ApTableModal,
|
|
203
205
|
ke as ApTag,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
206
|
+
Ke as ApTagGroup,
|
|
207
|
+
Jr as ApTitle,
|
|
208
|
+
pr as ApTransformDataHelper,
|
|
207
209
|
_e as ApUpload,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
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
|
-
|
|
223
|
+
Ot as Portal,
|
|
224
|
+
Wt as ResizeObserver,
|
|
222
225
|
wt as ScrollBar,
|
|
223
|
-
|
|
226
|
+
Bt as ScrollView,
|
|
224
227
|
Me as WorkOrderModal,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
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
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
245
|
+
Ne as langMap,
|
|
246
|
+
J as localeContextKey,
|
|
247
|
+
Or as locales,
|
|
248
|
+
$ as namespaceContextKey,
|
|
246
249
|
W as provideGlobalConfig,
|
|
247
|
-
|
|
248
|
-
|
|
250
|
+
Q as translate,
|
|
251
|
+
oo as useGetDerivedNamespace,
|
|
249
252
|
_ as useGlobalConfig,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
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
|
};
|
package/es/src/path-map.mjs
CHANGED
|
@@ -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,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
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as b, getCurrentInstance as v, ref as d, onMounted as p, onBeforeUnmount as x, computed as h, unref as z, renderSlot as g } from "vue";
|
|
2
|
+
import { useThrottleFn as R } from "@vueuse/core";
|
|
3
|
+
import "../hooks/index.mjs";
|
|
4
|
+
import { useResize as S } from "../hooks/useResize.mjs";
|
|
5
|
+
const B = /* @__PURE__ */ b({
|
|
6
|
+
name: "ResizeObserver",
|
|
7
|
+
__name: "index",
|
|
8
|
+
props: {
|
|
9
|
+
onResize: { type: Function },
|
|
10
|
+
throttle: { type: [Boolean, Number], default: 16 }
|
|
11
|
+
},
|
|
12
|
+
setup(r, { expose: i }) {
|
|
13
|
+
const u = r.throttle == !0 ? 16 : r.throttle, f = R(c, u), { observe: a, unobserve: m } = S(), n = v();
|
|
14
|
+
let o = d(!1);
|
|
15
|
+
function l() {
|
|
16
|
+
var t;
|
|
17
|
+
if (o.value)
|
|
18
|
+
return;
|
|
19
|
+
const e = (t = n == null ? void 0 : n.proxy) == null ? void 0 : t.$el;
|
|
20
|
+
e != null && e.nextElementSibling && (a(e.nextElementSibling, f), o.value = !0);
|
|
21
|
+
}
|
|
22
|
+
function s() {
|
|
23
|
+
var e;
|
|
24
|
+
if (o.value) {
|
|
25
|
+
const t = (e = n == null ? void 0 : n.proxy) == null ? void 0 : e.$el;
|
|
26
|
+
t != null && t.nextElementSibling && (m(t.nextElementSibling), o.value = !1);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function c(e) {
|
|
30
|
+
r.onResize(e) === !1 && s();
|
|
31
|
+
}
|
|
32
|
+
return p(() => {
|
|
33
|
+
l();
|
|
34
|
+
}), x(() => {
|
|
35
|
+
s();
|
|
36
|
+
}), i({
|
|
37
|
+
visible: h(() => z(o)),
|
|
38
|
+
cancel: s,
|
|
39
|
+
resume: l
|
|
40
|
+
}), (e, t) => g(e.$slots, "default");
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
B as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
export type ResizeObserverProps = {
|
|
3
|
+
/**
|
|
4
|
+
* 尺寸变化的回调函数,一旦返回了`false`,表示不可用,会立刻清空监听
|
|
5
|
+
*/
|
|
6
|
+
onResize: (target: ResizeObserverEntry) => void | false;
|
|
7
|
+
/**
|
|
8
|
+
* 是否节流,传入数组表示触发间隔
|
|
9
|
+
*/
|
|
10
|
+
throttle?: true | number;
|
|
11
|
+
};
|
|
12
|
+
export type ResizeObserverExpose = {
|
|
13
|
+
/**
|
|
14
|
+
* 当前监听是否可用
|
|
15
|
+
*/
|
|
16
|
+
visible: ComputedRef<boolean>;
|
|
17
|
+
/**
|
|
18
|
+
* 取消监听
|
|
19
|
+
* @returns
|
|
20
|
+
*/
|
|
21
|
+
cancel: () => void;
|
|
22
|
+
/**
|
|
23
|
+
* 继续监听(如果已经取消了监听,则会重启监听,如果当前已经监听了,则没有任何效果)
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
resume: () => void;
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|