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.
Files changed (138) hide show
  1. package/AI_CODING.md +6 -5
  2. package/AI_USAGE/catalog.md +106 -105
  3. package/AI_USAGE/components/alert-api.md +48 -0
  4. package/AI_USAGE/components/alert.md +222 -3
  5. package/AI_USAGE/components/bar-chart-api.md +177 -0
  6. package/AI_USAGE/components/bar-chart.md +297 -3
  7. package/AI_USAGE/components/boxicons.md +147 -0
  8. package/AI_USAGE/components/button-api.md +144 -0
  9. package/AI_USAGE/components/button.md +447 -3
  10. package/AI_USAGE/components/charts.md +81 -0
  11. package/AI_USAGE/components/checkbox-api.md +145 -0
  12. package/AI_USAGE/components/checkbox.md +365 -3
  13. package/AI_USAGE/components/color-picker-api.md +52 -0
  14. package/AI_USAGE/components/color-picker.md +211 -3
  15. package/AI_USAGE/components/config-provider-api.md +38 -0
  16. package/AI_USAGE/components/config-provider.md +250 -3
  17. package/AI_USAGE/components/date-picker-api.md +1114 -0
  18. package/AI_USAGE/components/date-picker.md +378 -3
  19. package/AI_USAGE/components/dialog-api.md +142 -0
  20. package/AI_USAGE/components/dialog.md +284 -3
  21. package/AI_USAGE/components/draggable-api.md +146 -0
  22. package/AI_USAGE/components/draggable.md +259 -0
  23. package/AI_USAGE/components/drawer-api.md +78 -0
  24. package/AI_USAGE/components/drawer.md +227 -0
  25. package/AI_USAGE/components/dropdown-api.md +529 -0
  26. package/AI_USAGE/components/dropdown.md +392 -3
  27. package/AI_USAGE/components/empty-api.md +36 -0
  28. package/AI_USAGE/components/empty.md +227 -3
  29. package/AI_USAGE/components/finicon.md +88 -0
  30. package/AI_USAGE/components/form-api.md +524 -0
  31. package/AI_USAGE/components/form.md +454 -0
  32. package/AI_USAGE/components/grid-api.md +527 -0
  33. package/AI_USAGE/components/grid.md +224 -0
  34. package/AI_USAGE/components/heatmap-api.md +122 -0
  35. package/AI_USAGE/components/heatmap.md +220 -0
  36. package/AI_USAGE/components/icon-api.md +4707 -0
  37. package/AI_USAGE/components/icon.md +257 -0
  38. package/AI_USAGE/components/image-api.md +440 -0
  39. package/AI_USAGE/components/image.md +465 -0
  40. package/AI_USAGE/components/input-api.md +184 -0
  41. package/AI_USAGE/components/input-number-api.md +66 -0
  42. package/AI_USAGE/components/input-number.md +294 -0
  43. package/AI_USAGE/components/input-tag-api.md +114 -0
  44. package/AI_USAGE/components/input-tag.md +482 -0
  45. package/AI_USAGE/components/input.md +293 -3
  46. package/AI_USAGE/components/layout-api.md +147 -0
  47. package/AI_USAGE/components/layout.md +230 -0
  48. package/AI_USAGE/components/line-chart-api.md +197 -0
  49. package/AI_USAGE/components/line-chart.md +279 -3
  50. package/AI_USAGE/components/link-api.md +42 -0
  51. package/AI_USAGE/components/link.md +197 -0
  52. package/AI_USAGE/components/menu-api.md +516 -0
  53. package/AI_USAGE/components/menu.md +268 -0
  54. package/AI_USAGE/components/message-api.md +215 -0
  55. package/AI_USAGE/components/message-box-api.md +108 -0
  56. package/AI_USAGE/components/message-box.md +268 -3
  57. package/AI_USAGE/components/message.md +231 -3
  58. package/AI_USAGE/components/network-api.md +91 -0
  59. package/AI_USAGE/components/network.md +378 -0
  60. package/AI_USAGE/components/notification-api.md +236 -0
  61. package/AI_USAGE/components/notification.md +275 -3
  62. package/AI_USAGE/components/pagination-api.md +62 -0
  63. package/AI_USAGE/components/pagination.md +380 -3
  64. package/AI_USAGE/components/pie-chart-api.md +109 -0
  65. package/AI_USAGE/components/pie-chart.md +245 -3
  66. package/AI_USAGE/components/popconfirm-api.md +75 -0
  67. package/AI_USAGE/components/popconfirm.md +231 -3
  68. package/AI_USAGE/components/popover-api.md +75 -0
  69. package/AI_USAGE/components/popover.md +208 -3
  70. package/AI_USAGE/components/popup-api.md +75 -0
  71. package/AI_USAGE/components/popup.md +52 -0
  72. package/AI_USAGE/components/progress-api.md +44 -0
  73. package/AI_USAGE/components/progress.md +248 -3
  74. package/AI_USAGE/components/radio-api.md +165 -0
  75. package/AI_USAGE/components/radio.md +259 -3
  76. package/AI_USAGE/components/rate-api.md +54 -0
  77. package/AI_USAGE/components/rate.md +233 -3
  78. package/AI_USAGE/components/resize-box-api.md +56 -0
  79. package/AI_USAGE/components/resize-box.md +231 -0
  80. package/AI_USAGE/components/scrollbar-api.md +77 -0
  81. package/AI_USAGE/components/scrollbar.md +218 -0
  82. package/AI_USAGE/components/select-api.md +758 -0
  83. package/AI_USAGE/components/select.md +640 -3
  84. package/AI_USAGE/components/skeleton-api.md +85 -0
  85. package/AI_USAGE/components/skeleton.md +150 -0
  86. package/AI_USAGE/components/slider-api.md +51 -0
  87. package/AI_USAGE/components/slider.md +233 -3
  88. package/AI_USAGE/components/space-api.md +38 -0
  89. package/AI_USAGE/components/space.md +145 -0
  90. package/AI_USAGE/components/spin-api.md +43 -0
  91. package/AI_USAGE/components/spin.md +205 -0
  92. package/AI_USAGE/components/steps-api.md +111 -0
  93. package/AI_USAGE/components/steps.md +201 -3
  94. package/AI_USAGE/components/switch-api.md +58 -0
  95. package/AI_USAGE/components/switch.md +290 -3
  96. package/AI_USAGE/components/table-api.md +2919 -0
  97. package/AI_USAGE/components/table.md +1414 -0
  98. package/AI_USAGE/components/tabs-api.md +135 -0
  99. package/AI_USAGE/components/tabs.md +308 -3
  100. package/AI_USAGE/components/tag-api.md +124 -0
  101. package/AI_USAGE/components/tag.md +292 -0
  102. package/AI_USAGE/components/textarea-api.md +55 -0
  103. package/AI_USAGE/components/textarea.md +326 -3
  104. package/AI_USAGE/components/time-picker-api.md +137 -0
  105. package/AI_USAGE/components/time-picker.md +271 -3
  106. package/AI_USAGE/components/time-range-selector-api.md +44 -0
  107. package/AI_USAGE/components/time-range-selector.md +355 -0
  108. package/AI_USAGE/components/timeline-api.md +93 -0
  109. package/AI_USAGE/components/timeline.md +312 -0
  110. package/AI_USAGE/components/tooltip-api.md +77 -0
  111. package/AI_USAGE/components/tooltip.md +182 -0
  112. package/AI_USAGE/components/trend-chart-api.md +119 -0
  113. package/AI_USAGE/components/trend-chart.md +335 -0
  114. package/AI_USAGE/components/trigger-api.md +124 -0
  115. package/AI_USAGE/components/trigger.md +185 -0
  116. package/AI_USAGE/components/upload-api.md +200 -0
  117. package/AI_USAGE/components/upload.md +711 -3
  118. package/AI_USAGE/components/watermark-api.md +87 -0
  119. package/AI_USAGE/components/watermark.md +200 -0
  120. package/AI_USAGE/core.md +1 -1
  121. package/AI_USAGE/index.md +35 -7
  122. package/AI_USAGE/recipes/form-on-demand.md +1 -1
  123. package/AI_USAGE.md +33651 -5
  124. package/CHANGELOG.md +18 -0
  125. package/dist/_utils/inherit-component-type.d.ts +11 -0
  126. package/dist/components/date-picker/index.d.ts +420 -5
  127. package/dist/components/form-input/index.d.ts +617 -2
  128. package/dist/components/layout/index.d.ts +689 -1
  129. package/dist/components/menu/index.d.ts +786 -1
  130. package/dist/es/_utils/inherit-component-type.js +6 -0
  131. package/dist/es/components/date-picker/index.js +18 -17
  132. package/dist/es/components/form-input/index.js +12 -11
  133. package/dist/es/components/layout/index.js +10 -9
  134. package/dist/es/components/menu/hooks/use-level.js +5 -5
  135. package/dist/es/components/menu/index.js +13 -10
  136. package/dist/index.cjs +3 -3
  137. package/dist/index.umd.js +3 -3
  138. package/package.json +10 -5
@@ -0,0 +1,6 @@
1
+ function r(e, n, t) {
2
+ return e;
3
+ }
4
+ export {
5
+ r as inheritComponentType
6
+ };
@@ -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
- const l = e(r("DatePicker"), n), i = (t, o) => c({
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: P, slots: m }) {
10
- return () => k(n, { ...P, type: o }, m);
10
+ setup(a, { attrs: m, slots: p }) {
11
+ return () => k(n, { ...m, type: o }, p);
11
12
  }
12
- }), y = e(
13
+ })), C = e(
13
14
  r("MonthPicker"),
14
15
  i("MonthPicker", "month")
15
- ), R = e(
16
+ ), D = e(
16
17
  r("YearPicker"),
17
18
  i("YearPicker", "year")
18
- ), C = e(
19
+ ), M = e(
19
20
  r("QuarterPicker"),
20
21
  i("QuarterPicker", "quarter")
21
- ), D = e(
22
+ ), Q = e(
22
23
  r("WeekPicker"),
23
24
  i("WeekPicker", "week")
24
- ), p = c({
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
- }), M = e(
45
+ }), T = e(
45
46
  r("RangePicker"),
46
- p
47
+ P(f)
47
48
  );
48
49
  export {
49
- l as DatePicker,
50
- y as MonthPicker,
51
- C as QuarterPicker,
52
- M as RangePicker,
53
- D as WeekPicker,
54
- R as YearPicker,
55
- l as default
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 p from "./Input.js";
2
- import r from "./InputSearch.js";
3
- import n from "./InputPassword.vue.js";
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 t } from "../../_utils/vue-eco.js";
6
- import { getComponentPrefix as o } from "../../_utils/config.js";
7
- const c = t(o("Input"), p), i = t(o("InputSearch"), r), d = t(o("InputPassword"), n), P = t(o("InputGroup"), u);
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
- c as Input,
10
- P as InputGroup,
11
- d as InputPassword,
12
- i as InputSearch,
13
- c as default
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 a from "./LayoutHeader.vue.js";
3
- import e from "./LayoutContent.vue.js";
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
- const s = o(t("Layout"), r), c = o(t("LayoutHeader"), a), C = o(t("LayoutContent"), e), _ = o(t("LayoutFooter"), m), b = o(t("LayoutSidebar"), n);
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
- s as Layout,
11
- C as LayoutContent,
12
- _ as LayoutFooter,
13
- c as LayoutHeader,
14
- b as LayoutSidebar,
15
- s as default
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 { inject as r, computed as n, isRef as l, provide as u, reactive as p } from "vue";
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(() => l(e) ? e.value : e);
5
- u(
4
+ const o = n(() => r(e) ? e.value : e);
5
+ l(
6
6
  i,
7
- p({
7
+ u({
8
8
  level: o
9
9
  })
10
10
  );
11
11
  }
12
12
  function m(e) {
13
- const { provideNextLevel: o } = e || {}, t = r(i), c = n(() => (t == null ? void 0 : t.level) || 1);
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 o from "./Menu.js";
1
+ import n from "./Menu.js";
2
2
  import t from "./MenuItem.js";
3
- import u from "./MenuSubMenu.js";
4
- import m from "./item-group.vue.js";
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 n } from "../../_utils/config.js";
7
- const s = e(n("Menu"), o), c = e(n("MenuItem"), t), a = e(n("MenuItemGroup"), m), b = e(n("MenuSubMenu"), u);
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
- s as Menu,
10
- c as MenuItem,
11
- a as MenuItemGroup,
12
- b as MenuSubMenu,
13
- s as default
12
+ a as Menu,
13
+ b as MenuItem,
14
+ C as MenuItemGroup,
15
+ G as MenuSubMenu,
16
+ a as default
14
17
  };