x-next 1.9.0 → 1.10.0

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 (33) hide show
  1. package/AI_USAGE.md +67 -7
  2. package/CHANGELOG.md +24 -0
  3. package/dist/_utils/chart/scale.d.ts +1 -1
  4. package/dist/components/_components/chart/axis-labels.d.ts +8 -0
  5. package/dist/components/link/Link.vue.d.ts +1 -1
  6. package/dist/components/link/index.d.ts +3 -3
  7. package/dist/components/virtual-list-v2/interface.d.ts +3 -0
  8. package/dist/components/virtual-list-v2/virtual-list.vue.d.ts +336 -1
  9. package/dist/es/_hooks/use-component-ref.js +9 -9
  10. package/dist/es/_utils/chart/scale.js +44 -39
  11. package/dist/es/components/_components/chart/ChartAxis.js +61 -36
  12. package/dist/es/components/_components/chart/axis-labels.js +26 -0
  13. package/dist/es/components/button/Button.js +23 -23
  14. package/dist/es/components/form-select/Select.js +142 -141
  15. package/dist/es/components/trigger/Trigger.js +174 -183
  16. package/dist/es/components/virtual-list-v2/virtual-list.vue.js +22 -23
  17. package/dist/es/components/virtual-list-v2/virtual-list.vue2.js +67 -53
  18. package/dist/es/icons/icon.js +37 -36
  19. package/dist/es/icons/index.js +6 -8
  20. package/dist/es/icons/public/lucide-names.js +167 -0
  21. package/dist/es/icons/public/lucide.js +75 -188
  22. package/dist/es/index.js +152 -148
  23. package/dist/es/style.css +1 -1
  24. package/dist/icons/index.d.ts +3 -3
  25. package/dist/icons/names.d.ts +2 -2
  26. package/dist/icons/public/lucide-names.d.ts +32 -0
  27. package/dist/icons/public/lucide.d.ts +2 -2
  28. package/dist/index.cjs +3 -62
  29. package/dist/index.umd.js +3 -62
  30. package/dist/style/base.css +1 -1
  31. package/dist/style/button.css +1 -1
  32. package/dist/style.css +1 -1
  33. package/package.json +3 -2
package/dist/es/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  /* empty css */
2
- import * as e from "./components/index.js";
2
+ import * as r from "./components/index.js";
3
3
  import { Icon as m } from "./icons/index.js";
4
4
  import { setupDirectives as p } from "./directives/index.js";
5
5
  import { default as c } from "./components/dialog/use.js";
6
6
  import { default as u } from "./components/message/warp.js";
7
7
  import { default as g } from "./components/message-box/MessageBox.js";
8
8
  import { default as P } from "./components/notification/warp.js";
9
- import { Dialog as T } from "./components/dialog/index.js";
9
+ import { Dialog as S } from "./components/dialog/index.js";
10
10
  import { Message as C } from "./components/message/index.js";
11
11
  import { Notification as k } from "./components/notification/index.js";
12
12
  import { useResizeObserver as D } from "./_hooks/use-resize-observer.js";
13
13
  import { useFormItem as y } from "./_hooks/use-form-item.js";
14
- import { applyThemeColor as M, generatePalette as v } from "./_utils/palette.js";
15
- import { LOCALES as B, formatMessage as E, getGlobalLocale as O, setGlobalLocale as R, useLocale as A } from "./locale/index.js";
14
+ import { applyThemeColor as M, generatePalette as N } from "./_utils/palette.js";
15
+ import { LOCALES as A, formatMessage as B, getGlobalLocale as E, setGlobalLocale as O, useLocale as R } from "./locale/index.js";
16
16
  import { useDraggable as F } from "./components/draggable/useDraggable.js";
17
17
  import { vDraggable as z } from "./components/draggable/directive.js";
18
18
  import { Watermark as K } from "./components/watermark/index.js";
@@ -21,73 +21,74 @@ import { default as X } from "./locale/zh-CN.js";
21
21
  import { Alert as Z } from "./components/alert/index.js";
22
22
  import { BarChart as J } from "./components/bar-chart/index.js";
23
23
  import { Button as $, ButtonGroup as oo } from "./components/button/index.js";
24
- import { Checkbox as eo, CheckboxGroup as to } from "./components/form-checkbox/index.js";
25
- import { Col as po, Grid as fo, GridItem as ao, Row as no } from "./components/grid/index.js";
24
+ import { Checkbox as ro, CheckboxGroup as to } from "./components/form-checkbox/index.js";
25
+ import { Col as po, Grid as ao, GridItem as fo, Row as no } from "./components/grid/index.js";
26
26
  import { ColorPicker as io } from "./components/color-picker/index.js";
27
27
  import { ConfigProvider as co } from "./components/config-provider/index.js";
28
- import { DatePicker as uo, MonthPicker as go, QuarterPicker as Io, RangePicker as Po, WeekPicker as So, YearPicker as To } from "./components/date-picker/index.js";
28
+ import { DatePicker as uo, MonthPicker as go, QuarterPicker as Io, RangePicker as Po, WeekPicker as bo, YearPicker as So } from "./components/date-picker/index.js";
29
29
  import { Draggable as Co } from "./components/draggable/index.js";
30
30
  import { Drawer as ko } from "./components/drawer/index.js";
31
31
  import { Dropdown as Do, DropdownButton as wo, DropdownGroup as yo, DropdownOption as Go, DropdownSubmenu as Mo } from "./components/dropdown/index.js";
32
- import { Empty as No } from "./components/empty/index.js";
33
- import { Form as Eo, FormItem as Oo } from "./components/form/index.js";
34
- import { Heatmap as Ao } from "./components/heatmap/index.js";
32
+ import { Empty as vo } from "./components/empty/index.js";
33
+ import { Form as Bo, FormItem as Eo } from "./components/form/index.js";
34
+ import { Heatmap as Ro } from "./components/heatmap/index.js";
35
35
  import { Image as Fo, ImagePreview as jo, ImagePreviewAction as zo, ImagePreviewGroup as Ho } from "./components/image/index.js";
36
36
  import { Input as Uo, InputGroup as Wo, InputPassword as Qo, InputSearch as Xo } from "./components/form-input/index.js";
37
37
  import { InputNumber as Zo } from "./components/form-input-number/index.js";
38
38
  import { InputTag as Jo } from "./components/form-input-tag/index.js";
39
- import { Layout as $o, LayoutContent as or, LayoutFooter as rr, LayoutHeader as er, LayoutSidebar as tr } from "./components/layout/index.js";
40
- import { LineChart as pr } from "./components/line-chart/index.js";
41
- import { Link as ar } from "./components/link/index.js";
42
- import { Menu as xr, MenuItem as ir, MenuItemGroup as sr, MenuSubMenu as cr } from "./components/menu/index.js";
43
- import { Network as ur } from "./components/network/index.js";
44
- import { Pagination as gr } from "./components/pagination/index.js";
45
- import { PieChart as Pr } from "./components/pie-chart/index.js";
46
- import { Popconfirm as Tr } from "./components/popconfirm/index.js";
47
- import { Popover as Cr } from "./components/popover/index.js";
48
- import { Popup as kr } from "./components/popup/index.js";
49
- import { Progress as Dr } from "./components/progress/index.js";
50
- import { Radio as yr, RadioGroup as Gr } from "./components/form-radio/index.js";
51
- import { Rate as vr } from "./components/rate/index.js";
52
- import { ResizeBox as Br } from "./components/resize-box/index.js";
53
- import { Scrollbar as Or } from "./components/scrollbar-v2/index.js";
54
- import { Select as Ar, SelectDropdown as _r, SelectOption as Fr, SelectOptionGroup as jr } from "./components/form-select/index.js";
55
- import { Skeleton as Hr, SkeletonLine as Kr, SkeletonShape as Ur } from "./components/skeleton/index.js";
56
- import { Slider as Qr } from "./components/form-slider/index.js";
57
- import { Space as Yr } from "./components/space/index.js";
58
- import { Spin as qr } from "./components/spin/index.js";
59
- import { Step as Vr, Steps as $r } from "./components/steps/index.js";
60
- import { Switch as re } from "./components/form-switch/index.js";
61
- import { TABLE_LOCALE_EN_US as te, TABLE_LOCALE_ZH_CN as me, formatLocaleText as pe } from "./components/table/locale.js";
62
- import { TabPane as ae, Tabs as ne } from "./components/tabs/index.js";
63
- import { Table as ie, TableColumn as se } from "./components/table/index.js";
64
- import { Tag as le } from "./components/tag/index.js";
65
- import { default as de } from "./components/table/table-tbody.js";
66
- import { default as Ie } from "./components/table/table-td.js";
67
- import { Textarea as Se } from "./components/form-textarea/index.js";
68
- import { default as be } from "./components/table/table-th.js";
69
- import { default as Le } from "./components/table/table-thead.js";
70
- import { TimePicker as he } from "./components/time-picker/index.js";
71
- import { TimeRangeSelector as we } from "./components/time-range-selector/index.js";
72
- import { Timeline as Ge } from "./components/timeline/index.js";
73
- import { TimelineItem as ve } from "./components/timeline-item/index.js";
74
- import { Tooltip as Be } from "./components/tooltip/index.js";
75
- import { default as Oe } from "./components/table/table-tr.js";
76
- import { TrendChart as Ae } from "./components/trend-chart/index.js";
77
- import { Trigger as Fe } from "./components/trigger/index.js";
78
- import { Upload as ze } from "./components/upload/index.js";
79
- import { addIcon as Ke, hasIcon as Ue, registerIcons as We, removeIcon as Qe } from "./icons/registry.js";
80
- import { configProviderInjectionKey as Ye } from "./components/config-provider/context.js";
81
- import { finiconCategories as qe, finiconIconsMeta as Je } from "./icons/public/finicon-meta.js";
82
- import { finiconIconNames as $e, finiconIcons as ot, registerFiniconIcons as rt } from "./icons/public/finicon.js";
83
- import { formInjectionKey as tt, formItemInjectionKey as mt } from "./components/form/context.js";
84
- import { publicIconNames as ft, registerPublicIcons as at } from "./icons/public/lucide.js";
85
- import { vWatermark as xt } from "./components/watermark/directive.js";
39
+ import { Layout as $o, LayoutContent as oe, LayoutFooter as ee, LayoutHeader as re, LayoutSidebar as te } from "./components/layout/index.js";
40
+ import { LineChart as pe } from "./components/line-chart/index.js";
41
+ import { Link as fe } from "./components/link/index.js";
42
+ import { Menu as xe, MenuItem as ie, MenuItemGroup as se, MenuSubMenu as ce } from "./components/menu/index.js";
43
+ import { Network as ue } from "./components/network/index.js";
44
+ import { Pagination as ge } from "./components/pagination/index.js";
45
+ import { PieChart as Pe } from "./components/pie-chart/index.js";
46
+ import { Popconfirm as Se } from "./components/popconfirm/index.js";
47
+ import { Popover as Ce } from "./components/popover/index.js";
48
+ import { Popup as ke } from "./components/popup/index.js";
49
+ import { Progress as De } from "./components/progress/index.js";
50
+ import { Radio as ye, RadioGroup as Ge } from "./components/form-radio/index.js";
51
+ import { Rate as Ne } from "./components/rate/index.js";
52
+ import { ResizeBox as Ae } from "./components/resize-box/index.js";
53
+ import { Scrollbar as Ee } from "./components/scrollbar-v2/index.js";
54
+ import { Select as Re, SelectDropdown as _e, SelectOption as Fe, SelectOptionGroup as je } from "./components/form-select/index.js";
55
+ import { Skeleton as He, SkeletonLine as Ke, SkeletonShape as Ue } from "./components/skeleton/index.js";
56
+ import { Slider as Qe } from "./components/form-slider/index.js";
57
+ import { Space as Ye } from "./components/space/index.js";
58
+ import { Spin as qe } from "./components/spin/index.js";
59
+ import { Step as Ve, Steps as $e } from "./components/steps/index.js";
60
+ import { Switch as er } from "./components/form-switch/index.js";
61
+ import { TABLE_LOCALE_EN_US as tr, TABLE_LOCALE_ZH_CN as mr, formatLocaleText as pr } from "./components/table/locale.js";
62
+ import { TabPane as fr, Tabs as nr } from "./components/tabs/index.js";
63
+ import { Table as ir, TableColumn as sr } from "./components/table/index.js";
64
+ import { Tag as lr } from "./components/tag/index.js";
65
+ import { default as dr } from "./components/table/table-tbody.js";
66
+ import { default as Ir } from "./components/table/table-td.js";
67
+ import { Textarea as br } from "./components/form-textarea/index.js";
68
+ import { default as Tr } from "./components/table/table-th.js";
69
+ import { default as Lr } from "./components/table/table-thead.js";
70
+ import { TimePicker as hr } from "./components/time-picker/index.js";
71
+ import { TimeRangeSelector as wr } from "./components/time-range-selector/index.js";
72
+ import { Timeline as Gr } from "./components/timeline/index.js";
73
+ import { TimelineItem as Nr } from "./components/timeline-item/index.js";
74
+ import { Tooltip as Ar } from "./components/tooltip/index.js";
75
+ import { default as Er } from "./components/table/table-tr.js";
76
+ import { TrendChart as Rr } from "./components/trend-chart/index.js";
77
+ import { Trigger as Fr } from "./components/trigger/index.js";
78
+ import { Upload as zr } from "./components/upload/index.js";
79
+ import { addIcon as Kr, hasIcon as Ur, registerIcons as Wr, removeIcon as Qr } from "./icons/registry.js";
80
+ import { canonicalIconNames as Yr, publicIconAliases as Zr, publicIconNames as qr, searchPublicIcons as Jr } from "./icons/public/lucide-names.js";
81
+ import { configProviderInjectionKey as $r } from "./components/config-provider/context.js";
82
+ import { finiconCategories as et, finiconIconsMeta as rt } from "./icons/public/finicon-meta.js";
83
+ import { finiconIconNames as mt, finiconIcons as pt, registerFiniconIcons as at } from "./icons/public/finicon.js";
84
+ import { formInjectionKey as nt, formItemInjectionKey as xt } from "./components/form/context.js";
85
+ import { registerPublicIcons as st } from "./icons/public/lucide.js";
86
+ import { vWatermark as lt } from "./components/watermark/directive.js";
86
87
  const x = {
87
88
  install: function(o) {
88
- p(o), o.use(m), Object.keys(e).forEach((t) => {
89
- const r = e[t];
90
- r.install && o.use(r);
89
+ p(o), o.use(m), Object.keys(r).forEach((t) => {
90
+ const e = r[t];
91
+ e.install && o.use(e);
91
92
  });
92
93
  }
93
94
  };
@@ -96,14 +97,14 @@ export {
96
97
  J as BarChart,
97
98
  $ as Button,
98
99
  oo as ButtonGroup,
99
- eo as Checkbox,
100
+ ro as Checkbox,
100
101
  to as CheckboxGroup,
101
102
  po as Col,
102
103
  io as ColorPicker,
103
104
  co as ConfigProvider,
104
105
  uo as DatePicker,
105
106
  c as Dialog,
106
- T as DialogComponent,
107
+ S as DialogComponent,
107
108
  Co as Draggable,
108
109
  ko as Drawer,
109
110
  Do as Dropdown,
@@ -111,12 +112,12 @@ export {
111
112
  yo as DropdownGroup,
112
113
  Go as DropdownOption,
113
114
  Mo as DropdownSubmenu,
114
- No as Empty,
115
- Eo as Form,
116
- Oo as FormItem,
117
- fo as Grid,
118
- ao as GridItem,
119
- Ao as Heatmap,
115
+ vo as Empty,
116
+ Bo as Form,
117
+ Eo as FormItem,
118
+ ao as Grid,
119
+ fo as GridItem,
120
+ Ro as Heatmap,
120
121
  m as Icon,
121
122
  Fo as Image,
122
123
  jo as ImagePreview,
@@ -128,103 +129,106 @@ export {
128
129
  Qo as InputPassword,
129
130
  Xo as InputSearch,
130
131
  Jo as InputTag,
131
- B as LOCALES,
132
+ A as LOCALES,
132
133
  $o as Layout,
133
- or as LayoutContent,
134
- rr as LayoutFooter,
135
- er as LayoutHeader,
136
- tr as LayoutSidebar,
137
- pr as LineChart,
138
- ar as Link,
139
- xr as Menu,
140
- ir as MenuItem,
141
- sr as MenuItemGroup,
142
- cr as MenuSubMenu,
134
+ oe as LayoutContent,
135
+ ee as LayoutFooter,
136
+ re as LayoutHeader,
137
+ te as LayoutSidebar,
138
+ pe as LineChart,
139
+ fe as Link,
140
+ xe as Menu,
141
+ ie as MenuItem,
142
+ se as MenuItemGroup,
143
+ ce as MenuSubMenu,
143
144
  u as Message,
144
145
  g as MessageBox,
145
146
  C as MessageComponent,
146
147
  go as MonthPicker,
147
- ur as Network,
148
+ ue as Network,
148
149
  P as Notification,
149
150
  k as NotificationComponent,
150
- gr as Pagination,
151
- Pr as PieChart,
152
- Tr as Popconfirm,
153
- Cr as Popover,
154
- kr as Popup,
155
- Dr as Progress,
151
+ ge as Pagination,
152
+ Pe as PieChart,
153
+ Se as Popconfirm,
154
+ Ce as Popover,
155
+ ke as Popup,
156
+ De as Progress,
156
157
  Io as QuarterPicker,
157
- yr as Radio,
158
- Gr as RadioGroup,
158
+ ye as Radio,
159
+ Ge as RadioGroup,
159
160
  Po as RangePicker,
160
- vr as Rate,
161
- Br as ResizeBox,
161
+ Ne as Rate,
162
+ Ae as ResizeBox,
162
163
  no as Row,
163
- Or as Scrollbar,
164
- Ar as Select,
165
- _r as SelectDropdown,
166
- Fr as SelectOption,
167
- jr as SelectOptionGroup,
168
- Hr as Skeleton,
169
- Kr as SkeletonLine,
170
- Ur as SkeletonShape,
171
- Qr as Slider,
172
- Yr as Space,
173
- qr as Spin,
174
- Vr as Step,
175
- $r as Steps,
176
- re as Switch,
177
- te as TABLE_LOCALE_EN_US,
178
- me as TABLE_LOCALE_ZH_CN,
179
- ae as TabPane,
180
- ie as Table,
181
- se as TableColumn,
182
- ne as Tabs,
183
- le as Tag,
184
- de as Tbody,
185
- Ie as Td,
186
- Se as Textarea,
187
- be as Th,
188
- Le as Thead,
189
- he as TimePicker,
190
- we as TimeRangeSelector,
191
- Ge as Timeline,
192
- ve as TimelineItem,
193
- Be as Tooltip,
194
- Oe as Tr,
195
- Ae as TrendChart,
196
- Fe as Trigger,
197
- ze as Upload,
164
+ Ee as Scrollbar,
165
+ Re as Select,
166
+ _e as SelectDropdown,
167
+ Fe as SelectOption,
168
+ je as SelectOptionGroup,
169
+ He as Skeleton,
170
+ Ke as SkeletonLine,
171
+ Ue as SkeletonShape,
172
+ Qe as Slider,
173
+ Ye as Space,
174
+ qe as Spin,
175
+ Ve as Step,
176
+ $e as Steps,
177
+ er as Switch,
178
+ tr as TABLE_LOCALE_EN_US,
179
+ mr as TABLE_LOCALE_ZH_CN,
180
+ fr as TabPane,
181
+ ir as Table,
182
+ sr as TableColumn,
183
+ nr as Tabs,
184
+ lr as Tag,
185
+ dr as Tbody,
186
+ Ir as Td,
187
+ br as Textarea,
188
+ Tr as Th,
189
+ Lr as Thead,
190
+ hr as TimePicker,
191
+ wr as TimeRangeSelector,
192
+ Gr as Timeline,
193
+ Nr as TimelineItem,
194
+ Ar as Tooltip,
195
+ Er as Tr,
196
+ Rr as TrendChart,
197
+ Fr as Trigger,
198
+ zr as Upload,
198
199
  K as Watermark,
199
- So as WeekPicker,
200
- To as YearPicker,
201
- Ke as addIcon,
200
+ bo as WeekPicker,
201
+ So as YearPicker,
202
+ Kr as addIcon,
202
203
  M as applyThemeColor,
203
- Ye as configProviderInjectionKey,
204
+ Yr as canonicalIconNames,
205
+ $r as configProviderInjectionKey,
204
206
  x as default,
205
207
  W as enUS,
206
- qe as finiconCategories,
207
- $e as finiconIconNames,
208
- ot as finiconIcons,
209
- Je as finiconIconsMeta,
210
- tt as formInjectionKey,
211
- mt as formItemInjectionKey,
212
- pe as formatLocaleText,
213
- E as formatMessage,
214
- v as generatePalette,
215
- O as getGlobalLocale,
216
- Ue as hasIcon,
217
- ft as publicIconNames,
218
- rt as registerFiniconIcons,
219
- We as registerIcons,
220
- at as registerPublicIcons,
221
- Qe as removeIcon,
222
- R as setGlobalLocale,
208
+ et as finiconCategories,
209
+ mt as finiconIconNames,
210
+ pt as finiconIcons,
211
+ rt as finiconIconsMeta,
212
+ nt as formInjectionKey,
213
+ xt as formItemInjectionKey,
214
+ pr as formatLocaleText,
215
+ B as formatMessage,
216
+ N as generatePalette,
217
+ E as getGlobalLocale,
218
+ Ur as hasIcon,
219
+ Zr as publicIconAliases,
220
+ qr as publicIconNames,
221
+ at as registerFiniconIcons,
222
+ Wr as registerIcons,
223
+ st as registerPublicIcons,
224
+ Qr as removeIcon,
225
+ Jr as searchPublicIcons,
226
+ O as setGlobalLocale,
223
227
  F as useDraggable,
224
228
  y as useFormItem,
225
- A as useLocale,
229
+ R as useLocale,
226
230
  D as useResizeObserver,
227
231
  z as vDraggable,
228
- xt as vWatermark,
232
+ lt as vWatermark,
229
233
  X as zhCN
230
234
  };