ep-craft 0.1.28 → 0.1.30
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/dist/components/config-provider/index.d.ts +246 -3
- package/dist/components/config-provider/index.js +17 -3
- package/dist/components/config-provider/src/config-provider-props.d.ts +103 -0
- package/dist/components/config-provider/src/config-provider-props.js +91 -0
- package/dist/components/config-provider/src/config-provider.d.ts +150 -0
- package/dist/components/config-provider/src/config-provider.js +22 -0
- package/dist/components/config-provider/src/hooks/use-global-config.js +55 -13
- package/dist/components/form/src/hooks/use-form-common-props.js +15 -13
- package/dist/components/input-number/EpInputNumber.vue.d.ts +51 -0
- package/dist/components/input-number/EpInputNumber.vue.js +310 -0
- package/dist/components/input-number/EpInputNumber2.vue.js +4 -0
- package/dist/components/input-number/index.d.ts +5 -2
- package/dist/components/input-number/index.js +9 -4
- package/dist/components/input-number/input-number.d.ts +169 -0
- package/dist/components/input-number/input-number.js +165 -0
- package/dist/components/input-number/instance.d.ts +2 -0
- package/dist/ep-craft.js +142 -131
- package/dist/index.css +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/vendored-components.d.ts +1 -1
- package/dist/vendored-components.js +2 -0
- package/package.json +2 -1
- package/theme-chalk/src/input-number.scss +118 -0
package/dist/ep-craft.js
CHANGED
|
@@ -1,229 +1,240 @@
|
|
|
1
1
|
import * as p from "./components/index.js";
|
|
2
|
-
import { withInstall as
|
|
2
|
+
import { withInstall as E } from "./utils/with-install.js";
|
|
3
3
|
import { EpCraftResolver as i } from "./resolver.js";
|
|
4
4
|
export * from "element-plus";
|
|
5
|
-
import { ElInfiniteScroll as s, ElLoading as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
5
|
+
import { ElInfiniteScroll as s, ElLoading as u, ElMessage as c, ElMessageBox as d, ElNotification as C } from "element-plus";
|
|
6
|
+
import { EpForm as S } from "./components/form/index.js";
|
|
7
|
+
import { EpAffix as b } from "./components/affix/index.js";
|
|
8
|
+
import { EpAlert as k } from "./components/alert/index.js";
|
|
9
|
+
import { EpAnchor as D } from "./components/anchor/index.js";
|
|
10
|
+
import { EpAnchorLink as B } from "./components/anchor-link/index.js";
|
|
11
|
+
import { EpAside as w } from "./components/aside/index.js";
|
|
12
|
+
import { EpAutocomplete as F } from "./components/autocomplete/index.js";
|
|
13
|
+
import { EpAvatar as v } from "./components/avatar/index.js";
|
|
13
14
|
import { EpBacktop as G } from "./components/backtop/index.js";
|
|
14
15
|
import { EpBadge as V } from "./components/badge/index.js";
|
|
15
|
-
import { EpBreadcrumb as
|
|
16
|
-
import { EpBreadcrumbItem as
|
|
17
|
-
import { EpButton as
|
|
16
|
+
import { EpBreadcrumb as O } from "./components/breadcrumb/index.js";
|
|
17
|
+
import { EpBreadcrumbItem as z } from "./components/breadcrumb-item/index.js";
|
|
18
|
+
import { EpButton as K } from "./components/button/index.js";
|
|
18
19
|
import { EpButtonGroup as W } from "./components/button-group/index.js";
|
|
19
20
|
import { EpCalendar as q } from "./components/calendar/index.js";
|
|
20
|
-
import { EpCard as
|
|
21
|
-
import { EpCarousel as
|
|
22
|
-
import { EpCarouselItem as
|
|
23
|
-
import { EpCascader as
|
|
24
|
-
import { EpCascaderPanel as
|
|
25
|
-
import { EpCheckTag as
|
|
26
|
-
import { EpCheckbox as
|
|
27
|
-
import { EpCheckboxButton as
|
|
28
|
-
import { EpCheckboxGroup as
|
|
29
|
-
import { EpCol as
|
|
30
|
-
import { EpCollapse as
|
|
31
|
-
import { EpCollapseItem as
|
|
21
|
+
import { EpCard as Q } from "./components/card/index.js";
|
|
22
|
+
import { EpCarousel as Y } from "./components/carousel/index.js";
|
|
23
|
+
import { EpCarouselItem as $ } from "./components/carousel-item/index.js";
|
|
24
|
+
import { EpCascader as ro } from "./components/cascader/index.js";
|
|
25
|
+
import { EpCascaderPanel as eo } from "./components/cascader-panel/index.js";
|
|
26
|
+
import { EpCheckTag as mo } from "./components/check-tag/index.js";
|
|
27
|
+
import { EpCheckbox as xo } from "./components/checkbox/index.js";
|
|
28
|
+
import { EpCheckboxButton as ao } from "./components/checkbox-button/index.js";
|
|
29
|
+
import { EpCheckboxGroup as no } from "./components/checkbox-group/index.js";
|
|
30
|
+
import { EpCol as so } from "./components/col/index.js";
|
|
31
|
+
import { EpCollapse as co } from "./components/collapse/index.js";
|
|
32
|
+
import { EpCollapseItem as Io } from "./components/collapse-item/index.js";
|
|
32
33
|
import { EpCollapseTransition as To } from "./components/collapse-transition/index.js";
|
|
33
|
-
import { EpColorPicker as
|
|
34
|
-
import { EpConfigProvider as
|
|
35
|
-
import { EpContainer as
|
|
36
|
-
import { EpCountdown as
|
|
37
|
-
import { EpDatePicker as
|
|
38
|
-
import { EpDatePickerPanel as
|
|
39
|
-
import { EpDescriptions as
|
|
34
|
+
import { EpColorPicker as go } from "./components/color-picker/index.js";
|
|
35
|
+
import { EpConfigProvider as Po } from "./components/config-provider/index.js";
|
|
36
|
+
import { EpContainer as Mo } from "./components/container/index.js";
|
|
37
|
+
import { EpCountdown as ho } from "./components/countdown/index.js";
|
|
38
|
+
import { EpDatePicker as Ao } from "./components/date-picker/index.js";
|
|
39
|
+
import { EpDatePickerPanel as Ro } from "./components/date-picker-panel/index.js";
|
|
40
|
+
import { EpDescriptions as yo } from "./components/descriptions/index.js";
|
|
40
41
|
import { EpDescriptionsItem as Lo } from "./components/descriptions-item/index.js";
|
|
41
|
-
import { EpDialog as
|
|
42
|
-
import { EpDivider as
|
|
43
|
-
import { EpDrawer as
|
|
42
|
+
import { EpDialog as No } from "./components/dialog/index.js";
|
|
43
|
+
import { EpDivider as jo } from "./components/divider/index.js";
|
|
44
|
+
import { EpDrawer as Ho } from "./components/drawer/index.js";
|
|
44
45
|
import { EpDropdown as Uo } from "./components/dropdown/index.js";
|
|
45
46
|
import { EpDropdownItem as _o } from "./components/dropdown-item/index.js";
|
|
46
|
-
import { EpDropdownMenu as
|
|
47
|
-
import { EpEmpty as
|
|
48
|
-
import { EpFooter as
|
|
49
|
-
import { EpForm as Zo } from "./components/form/index.js";
|
|
47
|
+
import { EpDropdownMenu as Jo } from "./components/dropdown-menu/index.js";
|
|
48
|
+
import { EpEmpty as Xo } from "./components/empty/index.js";
|
|
49
|
+
import { EpFooter as Zo } from "./components/footer/index.js";
|
|
50
50
|
import { EpFormItem as or } from "./components/form-item/index.js";
|
|
51
51
|
import { EpHeader as pr } from "./components/header/index.js";
|
|
52
52
|
import { EpIcon as tr } from "./components/icon/index.js";
|
|
53
53
|
import { EpImage as fr } from "./components/image/index.js";
|
|
54
|
-
import { EpImageViewer as
|
|
54
|
+
import { EpImageViewer as Er } from "./components/image-viewer/index.js";
|
|
55
55
|
import { EpInput as ir } from "./components/input/index.js";
|
|
56
56
|
import { EpInputNumber as lr } from "./components/input-number/index.js";
|
|
57
|
-
import { EpLink as
|
|
57
|
+
import { EpLink as ur } from "./components/link/index.js";
|
|
58
58
|
import { EpMain as dr } from "./components/main/index.js";
|
|
59
|
-
import { EpMention as
|
|
60
|
-
import { EpMenu as
|
|
61
|
-
import { EpMenuItem as
|
|
59
|
+
import { EpMention as Ir } from "./components/mention/index.js";
|
|
60
|
+
import { EpMenu as Tr } from "./components/menu/index.js";
|
|
61
|
+
import { EpMenuItem as gr } from "./components/menu-item/index.js";
|
|
62
62
|
import { EpMenuItemGroup as Pr } from "./components/menu-item-group/index.js";
|
|
63
|
-
import { EpOption as
|
|
63
|
+
import { EpOption as Mr } from "./components/option/index.js";
|
|
64
64
|
import { EpOptionGroup as hr } from "./components/option-group/index.js";
|
|
65
65
|
import { EpPageHeader as Ar } from "./components/page-header/index.js";
|
|
66
|
-
import { EpPagination as
|
|
67
|
-
import { EpPopconfirm as
|
|
68
|
-
import { EpPopover as
|
|
66
|
+
import { EpPagination as Rr } from "./components/pagination/index.js";
|
|
67
|
+
import { EpPopconfirm as yr } from "./components/popconfirm/index.js";
|
|
68
|
+
import { EpPopover as Lr } from "./components/popover/index.js";
|
|
69
69
|
import { EpPopper as Nr } from "./components/popper/index.js";
|
|
70
70
|
import { EpProgress as jr } from "./components/progress/index.js";
|
|
71
|
-
import { EpRadio as
|
|
72
|
-
import { EpRadioButton as
|
|
73
|
-
import { EpRadioGroup as
|
|
74
|
-
import { EpRate as
|
|
71
|
+
import { EpRadio as Hr } from "./components/radio/index.js";
|
|
72
|
+
import { EpRadioButton as Ur } from "./components/radio-button/index.js";
|
|
73
|
+
import { EpRadioGroup as _r } from "./components/radio-group/index.js";
|
|
74
|
+
import { EpRate as Jr } from "./components/rate/index.js";
|
|
75
75
|
import { EpResult as Xr } from "./components/result/index.js";
|
|
76
76
|
import { EpRow as Zr } from "./components/row/index.js";
|
|
77
77
|
import { EpScrollbar as op } from "./components/scrollbar/index.js";
|
|
78
78
|
import { EpSegmented as pp } from "./components/segmented/index.js";
|
|
79
79
|
import { EpSelect as tp } from "./components/select/index.js";
|
|
80
80
|
import { EpSelectV2 as fp } from "./components/select-v2/index.js";
|
|
81
|
-
import { EpSkeleton as
|
|
81
|
+
import { EpSkeleton as Ep } from "./components/skeleton/index.js";
|
|
82
82
|
import { EpSkeletonItem as ip } from "./components/skeleton-item/index.js";
|
|
83
83
|
import { EpSlider as lp } from "./components/slider/index.js";
|
|
84
|
-
import { EpSpace as
|
|
84
|
+
import { EpSpace as up } from "./components/space/index.js";
|
|
85
85
|
import { EpStatistic as dp } from "./components/statistic/index.js";
|
|
86
|
-
import { EpStep as
|
|
87
|
-
import { EpSteps as
|
|
88
|
-
import { EpSubMenu as
|
|
86
|
+
import { EpStep as Ip } from "./components/step/index.js";
|
|
87
|
+
import { EpSteps as Tp } from "./components/steps/index.js";
|
|
88
|
+
import { EpSubMenu as gp } from "./components/sub-menu/index.js";
|
|
89
89
|
import { EpSwitch as Pp } from "./components/switch/index.js";
|
|
90
|
-
import { EpTabPane as
|
|
90
|
+
import { EpTabPane as Mp } from "./components/tab-pane/index.js";
|
|
91
91
|
import { EpTable as hp } from "./components/table/index.js";
|
|
92
92
|
import { EpTableColumn as Ap } from "./components/table-column/index.js";
|
|
93
|
-
import { EpTableV2 as
|
|
94
|
-
import { EpTabs as
|
|
95
|
-
import { EpTag as
|
|
93
|
+
import { EpTableV2 as Rp } from "./components/table-v2/index.js";
|
|
94
|
+
import { EpTabs as yp } from "./components/tabs/index.js";
|
|
95
|
+
import { EpTag as Lp } from "./components/tag/index.js";
|
|
96
96
|
import { EpText as Np } from "./components/text/index.js";
|
|
97
97
|
import { EpTimePicker as jp } from "./components/time-picker/index.js";
|
|
98
|
-
import { EpTimeSelect as
|
|
99
|
-
import { EpTimeline as
|
|
100
|
-
import { EpTimelineItem as
|
|
101
|
-
import { EpTooltip as
|
|
98
|
+
import { EpTimeSelect as Hp } from "./components/time-select/index.js";
|
|
99
|
+
import { EpTimeline as Up } from "./components/timeline/index.js";
|
|
100
|
+
import { EpTimelineItem as _p } from "./components/timeline-item/index.js";
|
|
101
|
+
import { EpTooltip as Jp } from "./components/tooltip/index.js";
|
|
102
102
|
import { EpTour as Xp } from "./components/tour/index.js";
|
|
103
103
|
import { EpTourStep as Zp } from "./components/tour-step/index.js";
|
|
104
104
|
import { EpTransfer as oe } from "./components/transfer/index.js";
|
|
105
105
|
import { EpTree as pe } from "./components/tree/index.js";
|
|
106
106
|
import { EpTreeSelect as te } from "./components/tree-select/index.js";
|
|
107
107
|
import { EpTreeV2 as fe } from "./components/tree-v2/index.js";
|
|
108
|
-
import { EpUpload as
|
|
108
|
+
import { EpUpload as Ee } from "./components/upload/index.js";
|
|
109
109
|
import { EpWatermark as ie } from "./components/watermark/index.js";
|
|
110
|
+
import { formContextKey as le, formItemContextKey as se } from "./components/form/src/constants.js";
|
|
111
|
+
import { useDisabled as ce, useFormDisabled as de, useFormSize as Ce, useSize as Ie } from "./components/form/src/hooks/use-form-common-props.js";
|
|
112
|
+
import { useFormItem as Te, useFormItemInputId as be } from "./components/form/src/hooks/use-form-item.js";
|
|
110
113
|
const e = (r) => {
|
|
111
114
|
Object.entries(p).forEach(([t, o]) => {
|
|
112
115
|
o && typeof o == "object" && "install" in o && r.use(o);
|
|
113
116
|
});
|
|
114
117
|
}, m = { install: e };
|
|
115
118
|
export {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
b as EpAffix,
|
|
120
|
+
k as EpAlert,
|
|
121
|
+
D as EpAnchor,
|
|
122
|
+
B as EpAnchorLink,
|
|
123
|
+
w as EpAside,
|
|
124
|
+
F as EpAutocomplete,
|
|
125
|
+
v as EpAvatar,
|
|
123
126
|
G as EpBacktop,
|
|
124
127
|
V as EpBadge,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
O as EpBreadcrumb,
|
|
129
|
+
z as EpBreadcrumbItem,
|
|
130
|
+
K as EpButton,
|
|
128
131
|
W as EpButtonGroup,
|
|
129
132
|
q as EpCalendar,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
133
|
+
Q as EpCard,
|
|
134
|
+
Y as EpCarousel,
|
|
135
|
+
$ as EpCarouselItem,
|
|
136
|
+
ro as EpCascader,
|
|
137
|
+
eo as EpCascaderPanel,
|
|
138
|
+
mo as EpCheckTag,
|
|
139
|
+
xo as EpCheckbox,
|
|
140
|
+
ao as EpCheckboxButton,
|
|
141
|
+
no as EpCheckboxGroup,
|
|
142
|
+
so as EpCol,
|
|
143
|
+
co as EpCollapse,
|
|
144
|
+
Io as EpCollapseItem,
|
|
142
145
|
To as EpCollapseTransition,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
146
|
+
go as EpColorPicker,
|
|
147
|
+
Po as EpConfigProvider,
|
|
148
|
+
Mo as EpContainer,
|
|
149
|
+
ho as EpCountdown,
|
|
147
150
|
m as EpCraft,
|
|
148
151
|
i as EpCraftResolver,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
+
Ao as EpDatePicker,
|
|
153
|
+
Ro as EpDatePickerPanel,
|
|
154
|
+
yo as EpDescriptions,
|
|
152
155
|
Lo as EpDescriptionsItem,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
+
No as EpDialog,
|
|
157
|
+
jo as EpDivider,
|
|
158
|
+
Ho as EpDrawer,
|
|
156
159
|
Uo as EpDropdown,
|
|
157
160
|
_o as EpDropdownItem,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
Jo as EpDropdownMenu,
|
|
162
|
+
Xo as EpEmpty,
|
|
163
|
+
Zo as EpFooter,
|
|
164
|
+
S as EpForm,
|
|
162
165
|
or as EpFormItem,
|
|
163
166
|
pr as EpHeader,
|
|
164
167
|
tr as EpIcon,
|
|
165
168
|
fr as EpImage,
|
|
166
|
-
|
|
169
|
+
Er as EpImageViewer,
|
|
167
170
|
s as EpInfiniteScroll,
|
|
168
171
|
ir as EpInput,
|
|
169
172
|
lr as EpInputNumber,
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
ur as EpLink,
|
|
174
|
+
u as EpLoading,
|
|
172
175
|
dr as EpMain,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
+
Ir as EpMention,
|
|
177
|
+
Tr as EpMenu,
|
|
178
|
+
gr as EpMenuItem,
|
|
176
179
|
Pr as EpMenuItemGroup,
|
|
177
|
-
|
|
180
|
+
c as EpMessage,
|
|
178
181
|
d as EpMessageBox,
|
|
179
182
|
C as EpNotification,
|
|
180
|
-
|
|
183
|
+
Mr as EpOption,
|
|
181
184
|
hr as EpOptionGroup,
|
|
182
185
|
Ar as EpPageHeader,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
+
Rr as EpPagination,
|
|
187
|
+
yr as EpPopconfirm,
|
|
188
|
+
Lr as EpPopover,
|
|
186
189
|
Nr as EpPopper,
|
|
187
190
|
jr as EpProgress,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
191
|
+
Hr as EpRadio,
|
|
192
|
+
Ur as EpRadioButton,
|
|
193
|
+
_r as EpRadioGroup,
|
|
194
|
+
Jr as EpRate,
|
|
192
195
|
Xr as EpResult,
|
|
193
196
|
Zr as EpRow,
|
|
194
197
|
op as EpScrollbar,
|
|
195
198
|
pp as EpSegmented,
|
|
196
199
|
tp as EpSelect,
|
|
197
200
|
fp as EpSelectV2,
|
|
198
|
-
|
|
201
|
+
Ep as EpSkeleton,
|
|
199
202
|
ip as EpSkeletonItem,
|
|
200
203
|
lp as EpSlider,
|
|
201
|
-
|
|
204
|
+
up as EpSpace,
|
|
202
205
|
dp as EpStatistic,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
+
Ip as EpStep,
|
|
207
|
+
Tp as EpSteps,
|
|
208
|
+
gp as EpSubMenu,
|
|
206
209
|
Pp as EpSwitch,
|
|
207
|
-
|
|
210
|
+
Mp as EpTabPane,
|
|
208
211
|
hp as EpTable,
|
|
209
212
|
Ap as EpTableColumn,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
+
Rp as EpTableV2,
|
|
214
|
+
yp as EpTabs,
|
|
215
|
+
Lp as EpTag,
|
|
213
216
|
Np as EpText,
|
|
214
217
|
jp as EpTimePicker,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
218
|
+
Hp as EpTimeSelect,
|
|
219
|
+
Up as EpTimeline,
|
|
220
|
+
_p as EpTimelineItem,
|
|
221
|
+
Jp as EpTooltip,
|
|
219
222
|
Xp as EpTour,
|
|
220
223
|
Zp as EpTourStep,
|
|
221
224
|
oe as EpTransfer,
|
|
222
225
|
pe as EpTree,
|
|
223
226
|
te as EpTreeSelect,
|
|
224
227
|
fe as EpTreeV2,
|
|
225
|
-
|
|
228
|
+
Ee as EpUpload,
|
|
226
229
|
ie as EpWatermark,
|
|
227
230
|
m as default,
|
|
228
|
-
|
|
231
|
+
le as formContextKey,
|
|
232
|
+
se as formItemContextKey,
|
|
233
|
+
ce as useDisabled,
|
|
234
|
+
de as useFormDisabled,
|
|
235
|
+
Te as useFormItem,
|
|
236
|
+
be as useFormItemInputId,
|
|
237
|
+
Ce as useFormSize,
|
|
238
|
+
Ie as useSize,
|
|
239
|
+
E as withInstall
|
|
229
240
|
};
|