x-next 1.13.0 → 1.14.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.
- package/AI_CODING.md +6 -5
- package/AI_USAGE/catalog.md +106 -105
- package/AI_USAGE/components/alert-api.md +48 -0
- package/AI_USAGE/components/alert.md +222 -3
- package/AI_USAGE/components/bar-chart-api.md +177 -0
- package/AI_USAGE/components/bar-chart.md +297 -3
- package/AI_USAGE/components/boxicons.md +147 -0
- package/AI_USAGE/components/button-api.md +144 -0
- package/AI_USAGE/components/button.md +447 -3
- package/AI_USAGE/components/charts.md +81 -0
- package/AI_USAGE/components/checkbox-api.md +145 -0
- package/AI_USAGE/components/checkbox.md +365 -3
- package/AI_USAGE/components/color-picker-api.md +52 -0
- package/AI_USAGE/components/color-picker.md +211 -3
- package/AI_USAGE/components/config-provider-api.md +38 -0
- package/AI_USAGE/components/config-provider.md +250 -3
- package/AI_USAGE/components/date-picker-api.md +1114 -0
- package/AI_USAGE/components/date-picker.md +378 -3
- package/AI_USAGE/components/dialog-api.md +142 -0
- package/AI_USAGE/components/dialog.md +284 -3
- package/AI_USAGE/components/draggable-api.md +146 -0
- package/AI_USAGE/components/draggable.md +259 -0
- package/AI_USAGE/components/drawer-api.md +78 -0
- package/AI_USAGE/components/drawer.md +227 -0
- package/AI_USAGE/components/dropdown-api.md +529 -0
- package/AI_USAGE/components/dropdown.md +392 -3
- package/AI_USAGE/components/empty-api.md +36 -0
- package/AI_USAGE/components/empty.md +227 -3
- package/AI_USAGE/components/finicon.md +88 -0
- package/AI_USAGE/components/form-api.md +524 -0
- package/AI_USAGE/components/form.md +454 -0
- package/AI_USAGE/components/grid-api.md +527 -0
- package/AI_USAGE/components/grid.md +224 -0
- package/AI_USAGE/components/heatmap-api.md +122 -0
- package/AI_USAGE/components/heatmap.md +220 -0
- package/AI_USAGE/components/icon-api.md +4707 -0
- package/AI_USAGE/components/icon.md +257 -0
- package/AI_USAGE/components/image-api.md +440 -0
- package/AI_USAGE/components/image.md +465 -0
- package/AI_USAGE/components/input-api.md +184 -0
- package/AI_USAGE/components/input-number-api.md +66 -0
- package/AI_USAGE/components/input-number.md +294 -0
- package/AI_USAGE/components/input-tag-api.md +114 -0
- package/AI_USAGE/components/input-tag.md +482 -0
- package/AI_USAGE/components/input.md +293 -3
- package/AI_USAGE/components/layout-api.md +147 -0
- package/AI_USAGE/components/layout.md +230 -0
- package/AI_USAGE/components/line-chart-api.md +197 -0
- package/AI_USAGE/components/line-chart.md +279 -3
- package/AI_USAGE/components/link-api.md +42 -0
- package/AI_USAGE/components/link.md +197 -0
- package/AI_USAGE/components/menu-api.md +516 -0
- package/AI_USAGE/components/menu.md +268 -0
- package/AI_USAGE/components/message-api.md +215 -0
- package/AI_USAGE/components/message-box-api.md +108 -0
- package/AI_USAGE/components/message-box.md +268 -3
- package/AI_USAGE/components/message.md +231 -3
- package/AI_USAGE/components/network-api.md +91 -0
- package/AI_USAGE/components/network.md +378 -0
- package/AI_USAGE/components/notification-api.md +236 -0
- package/AI_USAGE/components/notification.md +275 -3
- package/AI_USAGE/components/pagination-api.md +62 -0
- package/AI_USAGE/components/pagination.md +380 -3
- package/AI_USAGE/components/pie-chart-api.md +109 -0
- package/AI_USAGE/components/pie-chart.md +245 -3
- package/AI_USAGE/components/popconfirm-api.md +75 -0
- package/AI_USAGE/components/popconfirm.md +231 -3
- package/AI_USAGE/components/popover-api.md +75 -0
- package/AI_USAGE/components/popover.md +208 -3
- package/AI_USAGE/components/popup-api.md +75 -0
- package/AI_USAGE/components/popup.md +52 -0
- package/AI_USAGE/components/progress-api.md +44 -0
- package/AI_USAGE/components/progress.md +248 -3
- package/AI_USAGE/components/radio-api.md +165 -0
- package/AI_USAGE/components/radio.md +259 -3
- package/AI_USAGE/components/rate-api.md +54 -0
- package/AI_USAGE/components/rate.md +233 -3
- package/AI_USAGE/components/resize-box-api.md +56 -0
- package/AI_USAGE/components/resize-box.md +231 -0
- package/AI_USAGE/components/scrollbar-api.md +77 -0
- package/AI_USAGE/components/scrollbar.md +218 -0
- package/AI_USAGE/components/select-api.md +758 -0
- package/AI_USAGE/components/select.md +640 -3
- package/AI_USAGE/components/skeleton-api.md +85 -0
- package/AI_USAGE/components/skeleton.md +150 -0
- package/AI_USAGE/components/slider-api.md +51 -0
- package/AI_USAGE/components/slider.md +233 -3
- package/AI_USAGE/components/space-api.md +38 -0
- package/AI_USAGE/components/space.md +145 -0
- package/AI_USAGE/components/spin-api.md +43 -0
- package/AI_USAGE/components/spin.md +205 -0
- package/AI_USAGE/components/steps-api.md +111 -0
- package/AI_USAGE/components/steps.md +201 -3
- package/AI_USAGE/components/switch-api.md +58 -0
- package/AI_USAGE/components/switch.md +290 -3
- package/AI_USAGE/components/table-api.md +2919 -0
- package/AI_USAGE/components/table.md +1414 -0
- package/AI_USAGE/components/tabs-api.md +135 -0
- package/AI_USAGE/components/tabs.md +308 -3
- package/AI_USAGE/components/tag-api.md +124 -0
- package/AI_USAGE/components/tag.md +292 -0
- package/AI_USAGE/components/textarea-api.md +55 -0
- package/AI_USAGE/components/textarea.md +326 -3
- package/AI_USAGE/components/time-picker-api.md +137 -0
- package/AI_USAGE/components/time-picker.md +271 -3
- package/AI_USAGE/components/time-range-selector-api.md +44 -0
- package/AI_USAGE/components/time-range-selector.md +355 -0
- package/AI_USAGE/components/timeline-api.md +93 -0
- package/AI_USAGE/components/timeline.md +312 -0
- package/AI_USAGE/components/tooltip-api.md +77 -0
- package/AI_USAGE/components/tooltip.md +182 -0
- package/AI_USAGE/components/trend-chart-api.md +119 -0
- package/AI_USAGE/components/trend-chart.md +335 -0
- package/AI_USAGE/components/trigger-api.md +124 -0
- package/AI_USAGE/components/trigger.md +185 -0
- package/AI_USAGE/components/upload-api.md +200 -0
- package/AI_USAGE/components/upload.md +711 -3
- package/AI_USAGE/components/watermark-api.md +87 -0
- package/AI_USAGE/components/watermark.md +200 -0
- package/AI_USAGE/core.md +1 -1
- package/AI_USAGE/index.md +35 -7
- package/AI_USAGE/recipes/form-on-demand.md +1 -1
- package/AI_USAGE.md +33651 -5
- package/CHANGELOG.md +18 -0
- package/dist/_utils/inherit-component-type.d.ts +11 -0
- package/dist/components/date-picker/index.d.ts +420 -5
- package/dist/components/form-input/index.d.ts +617 -2
- package/dist/components/layout/index.d.ts +689 -1
- package/dist/components/menu/index.d.ts +786 -1
- package/dist/es/_utils/inherit-component-type.js +6 -0
- package/dist/es/components/date-picker/index.js +18 -17
- package/dist/es/components/form-input/index.js +12 -11
- package/dist/es/components/layout/index.js +10 -9
- package/dist/es/components/menu/hooks/use-level.js +5 -5
- package/dist/es/components/menu/index.js +13 -10
- package/dist/index.cjs +3 -3
- package/dist/index.umd.js +3 -3
- package/package.json +10 -5
|
@@ -3,25 +3,26 @@ import { defineComponent as c, h as k } from "vue";
|
|
|
3
3
|
import { generateComponent as e } from "../../_utils/vue-eco.js";
|
|
4
4
|
import { getComponentPrefix as r } from "../../_utils/config.js";
|
|
5
5
|
import { getRangePickerType as s } from "./utils.js";
|
|
6
|
-
|
|
6
|
+
import { inheritComponentType as P } from "../../_utils/inherit-component-type.js";
|
|
7
|
+
const R = e(r("DatePicker"), n), i = (t, o) => P(c({
|
|
7
8
|
name: t,
|
|
8
9
|
inheritAttrs: !1,
|
|
9
|
-
setup(a, { attrs:
|
|
10
|
-
return () => k(n, { ...
|
|
10
|
+
setup(a, { attrs: m, slots: p }) {
|
|
11
|
+
return () => k(n, { ...m, type: o }, p);
|
|
11
12
|
}
|
|
12
|
-
}),
|
|
13
|
+
})), C = e(
|
|
13
14
|
r("MonthPicker"),
|
|
14
15
|
i("MonthPicker", "month")
|
|
15
|
-
),
|
|
16
|
+
), D = e(
|
|
16
17
|
r("YearPicker"),
|
|
17
18
|
i("YearPicker", "year")
|
|
18
|
-
),
|
|
19
|
+
), M = e(
|
|
19
20
|
r("QuarterPicker"),
|
|
20
21
|
i("QuarterPicker", "quarter")
|
|
21
|
-
),
|
|
22
|
+
), Q = e(
|
|
22
23
|
r("WeekPicker"),
|
|
23
24
|
i("WeekPicker", "week")
|
|
24
|
-
),
|
|
25
|
+
), f = c({
|
|
25
26
|
name: "RangePicker",
|
|
26
27
|
inheritAttrs: !1,
|
|
27
28
|
props: {
|
|
@@ -41,16 +42,16 @@ const l = e(r("DatePicker"), n), i = (t, o) => c({
|
|
|
41
42
|
a
|
|
42
43
|
);
|
|
43
44
|
}
|
|
44
|
-
}),
|
|
45
|
+
}), T = e(
|
|
45
46
|
r("RangePicker"),
|
|
46
|
-
|
|
47
|
+
P(f)
|
|
47
48
|
);
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
R as DatePicker,
|
|
51
|
+
C as MonthPicker,
|
|
52
|
+
M as QuarterPicker,
|
|
53
|
+
T as RangePicker,
|
|
54
|
+
Q as WeekPicker,
|
|
55
|
+
D as YearPicker,
|
|
56
|
+
R as default
|
|
56
57
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import r from "./Input.js";
|
|
2
|
+
import n from "./InputSearch.js";
|
|
3
|
+
import m from "./InputPassword.vue.js";
|
|
4
4
|
import u from "./InputGroup.vue.js";
|
|
5
|
-
import { generateComponent as
|
|
6
|
-
import { getComponentPrefix as
|
|
7
|
-
|
|
5
|
+
import { generateComponent as o } from "../../_utils/vue-eco.js";
|
|
6
|
+
import { getComponentPrefix as t } from "../../_utils/config.js";
|
|
7
|
+
import { inheritComponentType as p } from "../../_utils/inherit-component-type.js";
|
|
8
|
+
const d = o(t("Input"), r), h = o(t("InputSearch"), p(n)), P = o(t("InputPassword"), p(m)), w = o(t("InputGroup"), u);
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
d as Input,
|
|
11
|
+
w as InputGroup,
|
|
12
|
+
P as InputPassword,
|
|
13
|
+
h as InputSearch,
|
|
14
|
+
d as default
|
|
14
15
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import r from "./Layout.vue.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import e from "./LayoutHeader.vue.js";
|
|
3
|
+
import a from "./LayoutContent.vue.js";
|
|
4
4
|
import m from "./LayoutFooter.vue.js";
|
|
5
5
|
import n from "./LayoutSidebar.vue.js";
|
|
6
6
|
import { generateComponent as o } from "../../_utils/vue-eco.js";
|
|
7
7
|
import { getComponentPrefix as t } from "../../_utils/config.js";
|
|
8
|
-
|
|
8
|
+
import { inheritComponentType as u } from "../../_utils/inherit-component-type.js";
|
|
9
|
+
const c = o(t("Layout"), r), _ = o(t("LayoutHeader"), e), b = o(t("LayoutContent"), a), F = o(t("LayoutFooter"), m), H = o(t("LayoutSidebar"), u(n));
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
c as Layout,
|
|
12
|
+
b as LayoutContent,
|
|
13
|
+
F as LayoutFooter,
|
|
14
|
+
_ as LayoutHeader,
|
|
15
|
+
H as LayoutSidebar,
|
|
16
|
+
c as default
|
|
16
17
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { computed as n, isRef as r, provide as l, reactive as u, inject as p } from "vue";
|
|
2
2
|
import { LevelInjectionKey as i } from "../context.js";
|
|
3
3
|
function s(e) {
|
|
4
|
-
const o = n(() =>
|
|
5
|
-
|
|
4
|
+
const o = n(() => r(e) ? e.value : e);
|
|
5
|
+
l(
|
|
6
6
|
i,
|
|
7
|
-
|
|
7
|
+
u({
|
|
8
8
|
level: o
|
|
9
9
|
})
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
12
|
function m(e) {
|
|
13
|
-
const { provideNextLevel: o } = e || {}, t =
|
|
13
|
+
const { provideNextLevel: o } = e || {}, t = p(i), c = n(() => (t == null ? void 0 : t.level) || 1);
|
|
14
14
|
if (o) {
|
|
15
15
|
const v = n(() => c.value + 1);
|
|
16
16
|
s(v);
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import n from "./Menu.js";
|
|
2
2
|
import t from "./MenuItem.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import m from "./MenuSubMenu.js";
|
|
4
|
+
import u from "./item-group.vue.js";
|
|
5
5
|
import { generateComponent as e } from "../../_utils/vue-eco.js";
|
|
6
|
-
import { getComponentPrefix as
|
|
7
|
-
|
|
6
|
+
import { getComponentPrefix as o } from "../../_utils/config.js";
|
|
7
|
+
import { inheritComponentType as r } from "../../_utils/inherit-component-type.js";
|
|
8
|
+
const a = e(o("Menu"), r(
|
|
9
|
+
n
|
|
10
|
+
)), b = e(o("MenuItem"), t), C = e(o("MenuItemGroup"), u), G = e(o("MenuSubMenu"), m);
|
|
8
11
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
a as Menu,
|
|
13
|
+
b as MenuItem,
|
|
14
|
+
C as MenuItemGroup,
|
|
15
|
+
G as MenuSubMenu,
|
|
16
|
+
a as default
|
|
14
17
|
};
|