base6-ui 1.1.12 → 1.1.13

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 (183) hide show
  1. package/dist/components/BaseCascader/index.d.ts +1 -0
  2. package/dist/components/BaseCascader/index.vue.d.ts +7 -0
  3. package/dist/components/BaseCascader/type.d.ts +6 -0
  4. package/dist/components/BaseDataTable/index.vue.d.ts +6 -9
  5. package/dist/components/BaseDialog/index.vue.d.ts +1 -0
  6. package/dist/components/BaseDialog/type.d.ts +1 -0
  7. package/dist/components/BaseLayout/Default/index.vue.d.ts +1 -1
  8. package/dist/components/BaseLayout/index.vue.d.ts +1 -1
  9. package/dist/components/BaseNavIcon/index.d.ts +2 -0
  10. package/dist/components/BaseNavIcon/index.vue.d.ts +13 -0
  11. package/dist/components/BaseNavIcon/type.d.ts +3 -0
  12. package/dist/components/BaseProductIntroduction/index.vue.d.ts +26 -1
  13. package/dist/components/index.d.ts +2 -0
  14. package/dist/config/themes/common/dark.d.ts +2 -0
  15. package/dist/config/themes/components/cascader/common.d.ts +2 -0
  16. package/dist/config/themes/components/cascader/dark.d.ts +2 -0
  17. package/dist/config/themes/components/cascader/light.d.ts +2 -0
  18. package/dist/config/themes/components/dialog/common.d.ts +1 -0
  19. package/dist/config/themes/components/dialog/dark.d.ts +1 -0
  20. package/dist/config/themes/components/dialog/light.d.ts +1 -0
  21. package/dist/globalMethods/modules/confirmTip.d.ts +2 -1
  22. package/dist/hooks/index.d.ts +1 -0
  23. package/dist/hooks/useAnimationHook.d.ts +3 -0
  24. package/dist/index.css +1 -1
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.umd.js +1 -1
  27. package/es/_virtual/virtual_svg-icons-register.mjs +1 -1
  28. package/es/assets/logo/logo-dark-full.svg.mjs +2 -2
  29. package/es/assets/logo/logo-light-full.svg.mjs +2 -2
  30. package/es/components/BaseButton/index.vue.mjs +14 -14
  31. package/es/components/BaseCascader/index.d.ts +1 -0
  32. package/es/components/BaseCascader/index.vue.d.ts +7 -0
  33. package/es/components/BaseCascader/index.vue.mjs +8 -0
  34. package/es/components/BaseCascader/index.vue2.mjs +27 -0
  35. package/es/components/BaseCascader/type.d.ts +6 -0
  36. package/es/components/BaseDataTable/index.vue.d.ts +6 -9
  37. package/es/components/BaseDataTable/index.vue.mjs +2 -2
  38. package/es/components/BaseDataTable/index.vue2.mjs +22 -61
  39. package/es/components/BaseDialog/index.vue.d.ts +1 -0
  40. package/es/components/BaseDialog/index.vue.mjs +45 -42
  41. package/es/components/BaseDialog/options.mjs +1 -0
  42. package/es/components/BaseDialog/type.d.ts +1 -0
  43. package/es/components/BaseInputNumber/index.vue2.mjs +56 -56
  44. package/es/components/BaseLayout/ASide/index.vue2.mjs +27 -27
  45. package/es/components/BaseLayout/Default/index.vue.d.ts +1 -1
  46. package/es/components/BaseLayout/Default/index.vue.mjs +1 -1
  47. package/es/components/BaseLayout/Default/index.vue2.mjs +53 -53
  48. package/es/components/BaseLayout/Default/layoutHeader/action.vue.mjs +2 -2
  49. package/es/components/BaseLayout/Default/layoutHeader/action.vue2.mjs +37 -34
  50. package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.mjs +29 -29
  51. package/es/components/BaseLayout/Default/layoutSlider/index.vue.mjs +12 -12
  52. package/es/components/BaseLayout/components/WrapFooter.vue.mjs +14 -14
  53. package/es/components/BaseLayout/components/WrapHeader.vue2.mjs +8 -8
  54. package/es/components/BaseLayout/components/WrapTab.vue.mjs +12 -12
  55. package/es/components/BaseLayout/index.vue.d.ts +1 -1
  56. package/es/components/BaseLayout/index.vue2.mjs +36 -36
  57. package/es/components/BaseNavIcon/index.d.ts +2 -0
  58. package/es/components/BaseNavIcon/index.vue.d.ts +13 -0
  59. package/es/components/BaseNavIcon/index.vue.mjs +7 -0
  60. package/es/components/BaseNavIcon/index.vue2.mjs +34 -0
  61. package/es/components/BaseNavIcon/type.d.ts +3 -0
  62. package/es/components/BaseProductIntroduction/cssVar.mjs +7 -4
  63. package/es/components/BaseProductIntroduction/index.vue.d.ts +26 -1
  64. package/es/components/BaseProductIntroduction/index.vue.mjs +1 -1
  65. package/es/components/BaseProductIntroduction/index.vue2.mjs +66 -73
  66. package/es/components/BaseRadio/index.vue2.mjs +17 -17
  67. package/es/components/BaseSelect/index.vue2.mjs +24 -24
  68. package/es/components/BaseSlider/index.vue2.mjs +44 -44
  69. package/es/components/BaseSwitch/index.vue2.mjs +18 -18
  70. package/es/components/index.d.ts +2 -0
  71. package/es/config/themes/common/dark.d.ts +2 -0
  72. package/es/config/themes/common/dark.mjs +30 -0
  73. package/es/config/themes/components/baseComponent/dark.mjs +2 -2
  74. package/es/config/themes/components/baseComponent/light.mjs +2 -2
  75. package/es/config/themes/components/button/dark.mjs +1 -0
  76. package/es/config/themes/components/button/light.mjs +1 -0
  77. package/es/config/themes/components/card/dark.mjs +7 -5
  78. package/es/config/themes/components/card/light.mjs +5 -3
  79. package/es/config/themes/components/cascader/common.d.ts +2 -0
  80. package/es/config/themes/components/cascader/common.mjs +8 -0
  81. package/es/config/themes/components/cascader/dark.d.ts +2 -0
  82. package/es/config/themes/components/cascader/dark.mjs +19 -0
  83. package/es/config/themes/components/cascader/light.d.ts +2 -0
  84. package/es/config/themes/components/cascader/light.mjs +17 -0
  85. package/es/config/themes/components/dialog/common.d.ts +1 -0
  86. package/es/config/themes/components/dialog/common.mjs +4 -3
  87. package/es/config/themes/components/dialog/dark.d.ts +1 -0
  88. package/es/config/themes/components/dialog/light.d.ts +1 -0
  89. package/es/config/themes/components/input/dark.mjs +23 -18
  90. package/es/config/themes/components/input/light.mjs +5 -0
  91. package/es/config/themes/dark.mjs +42 -38
  92. package/es/config/themes/index.mjs +9 -6
  93. package/es/config/themes/light.mjs +43 -41
  94. package/es/globalMethods/modules/confirmTip.d.ts +2 -1
  95. package/es/globalMethods/modules/confirmTip.mjs +12 -11
  96. package/es/hooks/index.d.ts +1 -0
  97. package/es/hooks/useAnimationHook.d.ts +3 -0
  98. package/es/hooks/useAnimationHook.mjs +34 -0
  99. package/es/index.css +1 -1
  100. package/es/index.d.ts +1 -0
  101. package/es/index.mjs +60 -54
  102. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs +6 -0
  103. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/merge.mjs +16 -0
  104. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs +9 -0
  105. package/lib/_virtual/virtual_svg-icons-register.js +1 -1
  106. package/lib/assets/logo/logo-dark-full.svg.js +1 -1
  107. package/lib/assets/logo/logo-light-full.svg.js +1 -1
  108. package/lib/components/BaseButton/index.vue.js +1 -1
  109. package/lib/components/BaseCascader/index.d.ts +1 -0
  110. package/lib/components/BaseCascader/index.vue.d.ts +7 -0
  111. package/lib/components/BaseCascader/index.vue.js +1 -0
  112. package/lib/components/BaseCascader/index.vue2.js +1 -0
  113. package/lib/components/BaseCascader/type.d.ts +6 -0
  114. package/lib/components/BaseDataTable/index.vue.d.ts +6 -9
  115. package/lib/components/BaseDataTable/index.vue.js +1 -1
  116. package/lib/components/BaseDataTable/index.vue2.js +1 -1
  117. package/lib/components/BaseDialog/index.vue.d.ts +1 -0
  118. package/lib/components/BaseDialog/index.vue.js +1 -1
  119. package/lib/components/BaseDialog/options.js +1 -1
  120. package/lib/components/BaseDialog/type.d.ts +1 -0
  121. package/lib/components/BaseInputNumber/index.vue2.js +1 -1
  122. package/lib/components/BaseLayout/ASide/index.vue2.js +1 -1
  123. package/lib/components/BaseLayout/Default/index.vue.d.ts +1 -1
  124. package/lib/components/BaseLayout/Default/index.vue.js +1 -1
  125. package/lib/components/BaseLayout/Default/index.vue2.js +1 -1
  126. package/lib/components/BaseLayout/Default/layoutHeader/action.vue.js +1 -1
  127. package/lib/components/BaseLayout/Default/layoutHeader/action.vue2.js +1 -1
  128. package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.js +1 -1
  129. package/lib/components/BaseLayout/Default/layoutSlider/index.vue.js +1 -1
  130. package/lib/components/BaseLayout/components/WrapFooter.vue.js +1 -1
  131. package/lib/components/BaseLayout/components/WrapHeader.vue2.js +1 -1
  132. package/lib/components/BaseLayout/components/WrapTab.vue.js +1 -1
  133. package/lib/components/BaseLayout/index.vue.d.ts +1 -1
  134. package/lib/components/BaseLayout/index.vue2.js +1 -1
  135. package/lib/components/BaseNavIcon/index.d.ts +2 -0
  136. package/lib/components/BaseNavIcon/index.vue.d.ts +13 -0
  137. package/lib/components/BaseNavIcon/index.vue.js +1 -0
  138. package/lib/components/BaseNavIcon/index.vue2.js +1 -0
  139. package/lib/components/BaseNavIcon/type.d.ts +3 -0
  140. package/lib/components/BaseProductIntroduction/cssVar.js +1 -1
  141. package/lib/components/BaseProductIntroduction/index.vue.d.ts +26 -1
  142. package/lib/components/BaseProductIntroduction/index.vue.js +1 -1
  143. package/lib/components/BaseProductIntroduction/index.vue2.js +1 -1
  144. package/lib/components/BaseRadio/index.vue2.js +1 -1
  145. package/lib/components/BaseSelect/index.vue2.js +1 -1
  146. package/lib/components/BaseSlider/index.vue2.js +1 -1
  147. package/lib/components/BaseSwitch/index.vue2.js +1 -1
  148. package/lib/components/index.d.ts +2 -0
  149. package/lib/config/themes/common/dark.d.ts +2 -0
  150. package/lib/config/themes/common/dark.js +1 -0
  151. package/lib/config/themes/components/baseComponent/dark.js +1 -1
  152. package/lib/config/themes/components/baseComponent/light.js +1 -1
  153. package/lib/config/themes/components/button/dark.js +1 -1
  154. package/lib/config/themes/components/button/light.js +1 -1
  155. package/lib/config/themes/components/card/dark.js +1 -1
  156. package/lib/config/themes/components/card/light.js +1 -1
  157. package/lib/config/themes/components/cascader/common.d.ts +2 -0
  158. package/lib/config/themes/components/cascader/common.js +1 -0
  159. package/lib/config/themes/components/cascader/dark.d.ts +2 -0
  160. package/lib/config/themes/components/cascader/dark.js +1 -0
  161. package/lib/config/themes/components/cascader/light.d.ts +2 -0
  162. package/lib/config/themes/components/cascader/light.js +1 -0
  163. package/lib/config/themes/components/dialog/common.d.ts +1 -0
  164. package/lib/config/themes/components/dialog/common.js +1 -1
  165. package/lib/config/themes/components/dialog/dark.d.ts +1 -0
  166. package/lib/config/themes/components/dialog/light.d.ts +1 -0
  167. package/lib/config/themes/components/input/dark.js +1 -1
  168. package/lib/config/themes/components/input/light.js +1 -1
  169. package/lib/config/themes/dark.js +1 -1
  170. package/lib/config/themes/index.js +1 -1
  171. package/lib/config/themes/light.js +1 -1
  172. package/lib/globalMethods/modules/confirmTip.d.ts +2 -1
  173. package/lib/globalMethods/modules/confirmTip.js +1 -1
  174. package/lib/hooks/index.d.ts +1 -0
  175. package/lib/hooks/useAnimationHook.d.ts +3 -0
  176. package/lib/hooks/useAnimationHook.js +1 -0
  177. package/lib/index.css +1 -1
  178. package/lib/index.d.ts +1 -0
  179. package/lib/index.js +1 -1
  180. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +1 -0
  181. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/merge.js +1 -0
  182. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isPlainObject.js +1 -0
  183. package/package.json +2 -1
@@ -3,6 +3,7 @@ import o from "../../config/themes/color/light.mjs";
3
3
  import "../../config/themes/components/alert/light.mjs";
4
4
  import "../../config/themes/components/button/light.mjs";
5
5
  import "../../config/themes/components/card/light.mjs";
6
+ import "../../config/themes/components/cascader/light.mjs";
6
7
  import "../../config/themes/components/dataTable/light.mjs";
7
8
  import "../../config/themes/components/datePicker/light.mjs";
8
9
  import "../../config/themes/components/checkbox/light.mjs";
@@ -26,6 +27,7 @@ import "../../config/themes/common/light.mjs";
26
27
  import "../../config/themes/components/alert/dark.mjs";
27
28
  import "../../config/themes/components/button/dark.mjs";
28
29
  import "../../config/themes/components/card/dark.mjs";
30
+ import "../../config/themes/components/cascader/dark.mjs";
29
31
  import "../../config/themes/components/checkbox/dark.mjs";
30
32
  import "../../config/themes/components/dataTable/dark.mjs";
31
33
  import "../../config/themes/components/datePicker/dark.mjs";
@@ -44,6 +46,7 @@ import "../../config/themes/components/switch/dark.mjs";
44
46
  import "../../config/themes/components/tag/dark.mjs";
45
47
  import "../../config/themes/components/transfer/dark.mjs";
46
48
  import "../../config/themes/components/baseComponent/dark.mjs";
49
+ import "../../config/themes/common/dark.mjs";
47
50
  import "../../config/themes/components/charts/dark.mjs";
48
51
  import "../../config/themes/components/charts/light.mjs";
49
52
  const t = {
@@ -60,14 +63,14 @@ const t = {
60
63
  }, l = {
61
64
  "light-1": o["color-gray-3"],
62
65
  "dark-1": i["color-gray-3"]
63
- }, or = (r) => ({
66
+ }, mr = (r) => ({
64
67
  fontSizeMedium: "12px",
65
68
  titleFontSizeMedium: "14px",
66
69
  borderColor: l[r ? "dark-1" : "light-1"],
67
70
  color: m[r ? "dark-1" : "light-1"],
68
71
  textColor: t[r ? "dark-3" : "light-3"],
69
72
  titleTextColor: t[r ? "dark-1" : "light-1"]
70
- }), tr = (r) => ({
73
+ }), pr = (r) => ({
71
74
  "--base-title-color": t[r ? "dark-1" : "light-1"],
72
75
  "--base-text-color": t[r ? "dark-3" : "light-3"],
73
76
  "--base-color": p[r ? "dark-2" : "light-2"],
@@ -75,6 +78,6 @@ const t = {
75
78
  height: "620px"
76
79
  });
77
80
  export {
78
- or as createCardThemeOverrides,
79
- tr as createPopoverCssVar
81
+ mr as createCardThemeOverrides,
82
+ pr as createPopoverCssVar
80
83
  };
@@ -2,5 +2,30 @@ import { ProductIntroductionProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<ProductIntroductionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProductIntroductionProps> & Readonly<{}>, {
3
3
  x: number;
4
4
  y: number;
5
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
6
+ triggerInstRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').BaseNavIconProps> & Readonly<{
7
+ onClick?: ((...args: any[]) => any) | undefined;
8
+ }>, {
9
+ instRef: import('vue').Ref<HTMLDivElement | null, HTMLDivElement | null>;
10
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ click: (...args: any[]) => void;
12
+ }, import('vue').PublicProps, {
13
+ active: boolean;
14
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
15
+ instRef: HTMLDivElement;
16
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
17
+ P: {};
18
+ B: {};
19
+ D: {};
20
+ C: {};
21
+ M: {};
22
+ Defaults: {};
23
+ }, Readonly<import('..').BaseNavIconProps> & Readonly<{
24
+ onClick?: ((...args: any[]) => any) | undefined;
25
+ }>, {
26
+ instRef: import('vue').Ref<HTMLDivElement | null, HTMLDivElement | null>;
27
+ }, {}, {}, {}, {
28
+ active: boolean;
29
+ }> | null;
30
+ }, HTMLDivElement>;
6
31
  export default _default;
@@ -2,7 +2,7 @@ import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
5
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e7dab024"]]);
5
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4f730636"]]);
6
6
  export {
7
7
  c as default
8
8
  };
@@ -1,22 +1,23 @@
1
- import { NButton as x, NPopover as E, NCard as P } from "naive-ui";
2
- import { defineComponent as T, mergeDefaults as A, ref as D, computed as a, onMounted as O, onUnmounted as L, resolveComponent as M, createElementBlock as c, openBlock as s, createVNode as i, withModifiers as f, withCtx as r, normalizeStyle as z, createElementVNode as t, Fragment as h, renderList as k, createCommentVNode as U, toDisplayString as u, createBlock as V, createTextVNode as g } from "vue";
3
- import R from "../../hooks/useNaiveConfigProvideContext.mjs";
4
- import F from "../../assets/cover/base-ads.png.mjs";
5
- import I from "../../assets/cover/base-studio.png.mjs";
1
+ import { NPopover as R, NCard as T, NButton as A } from "naive-ui";
2
+ import { defineComponent as D, mergeDefaults as E, ref as _, computed as p, resolveComponent as O, createElementBlock as c, openBlock as s, createVNode as r, withModifiers as f, normalizeStyle as I, withCtx as d, createElementVNode as e, Fragment as h, renderList as y, createCommentVNode as M, toDisplayString as u, createBlock as V, createTextVNode as g } from "vue";
3
+ import z from "../BaseNavIcon/index.vue.mjs";
4
+ import L from "../../hooks/useNaiveConfigProvideContext.mjs";
5
+ import U from "../../assets/cover/base-ads.png.mjs";
6
+ import F from "../../assets/cover/base-studio.png.mjs";
6
7
  import $ from "../../assets/cover/base-multimodal.png.mjs";
7
- import { createCardThemeOverrides as q, createPopoverCssVar as j } from "./cssVar.mjs";
8
+ import { createCardThemeOverrides as j, createPopoverCssVar as q } from "./cssVar.mjs";
8
9
  import { DEFAULT_PRODUCT_INTRODUCTION_PROPS as G } from "./constants.mjs";
9
10
  const H = { class: "header" }, J = { class: "content-wrap" }, K = { class: "content-item-header" }, Q = { class: "icon" }, W = { class: "title" }, X = { class: "description" }, Y = {
10
11
  key: 0,
11
12
  class: "content-child-wrap"
12
- }, Z = ["src"], ee = { class: "to-use" }, de = /* @__PURE__ */ T({
13
+ }, Z = ["src"], ee = { class: "to-use" }, pe = /* @__PURE__ */ D({
13
14
  __name: "index",
14
- props: /* @__PURE__ */ A({
15
+ props: /* @__PURE__ */ E({
15
16
  x: {},
16
17
  y: {}
17
18
  }, G),
18
- setup(m) {
19
- const b = R(), n = D(!1), C = [
19
+ setup(te) {
20
+ const k = L(), l = _(null), i = _(!1), C = [
20
21
  {
21
22
  key: "base1",
22
23
  title: "BASE 数据标注平台",
@@ -27,13 +28,13 @@ const H = { class: "header" }, J = { class: "content-wrap" }, K = { class: "cont
27
28
  key: "base1-1",
28
29
  title: "自动驾驶标注平台 - BASE ADS",
29
30
  description: "自动驾驶标注平台支持点云、图像等连续的数据的标注与质检,提供可编排工作流与智能辅助工具,帮助团队高效构建自动驾驶训练数据集。",
30
- icon: F
31
+ icon: U
31
32
  },
32
33
  {
33
34
  key: "base1-2",
34
35
  title: "通用标注平台 - BASE Studio",
35
36
  description: "通用标注平台,支持图像、音频、文本、视频等多类型数据的标注与质检。具备灵活的可编排工作流能力,提供丰富的标注工具模板和算法辅助能力,适用于计算机视觉、语音识别、NLP 等多种场景,帮助团队快速构建高质量训练数据集。",
36
- icon: I
37
+ icon: F
37
38
  },
38
39
  {
39
40
  key: "base1-2",
@@ -55,106 +56,98 @@ const H = { class: "header" }, J = { class: "content-wrap" }, K = { class: "cont
55
56
  description: "全场景数据采集,全链路价值护航",
56
57
  icon: "logo-bcollection"
57
58
  }
58
- ], p = a(() => {
59
+ ], v = p(() => {
59
60
  const {
60
- name: _ = "light"
61
- } = b?.mergedThemeRef.value || {};
62
- return _ !== "light";
63
- }), B = a(() => q(p.value)), N = a(() => j(p.value)), v = () => {
64
- n.value = !1;
61
+ name: n = "light"
62
+ } = k?.mergedThemeRef.value || {};
63
+ return n !== "light";
64
+ }), B = p(() => j(v.value)), b = p(() => q(v.value)), N = () => {
65
+ i.value = !i.value;
66
+ }, S = (n) => {
67
+ l.value && l.value.instRef && l.value.instRef.contains(n.target) || (i.value = !1);
65
68
  };
66
- return O(() => {
67
- document.body.addEventListener("click", v);
68
- }), L(() => {
69
- document.body.removeEventListener("click", v);
70
- }), (_, e) => {
71
- const d = M("svg-icon"), y = x, S = P, w = E;
69
+ return (n, t) => {
70
+ const m = O("svg-icon"), w = A, x = T, P = R;
72
71
  return s(), c("div", null, [
73
- i(y, {
74
- quaternary: "",
75
- class: "product-introduction-trigger",
76
- onClick: e[0] || (e[0] = f((o) => n.value = !n.value, ["stop"]))
77
- }, {
78
- default: r(() => [
79
- i(d, {
80
- icon: n.value ? "operate-close" : "operate-more-bar",
81
- size: "24"
82
- }, null, 8, ["icon"])
83
- ]),
84
- _: 1
85
- }),
86
- i(w, {
72
+ r(z, {
73
+ ref_key: "triggerInstRef",
74
+ ref: l,
75
+ active: i.value,
76
+ onClick: f(N, ["stop"])
77
+ }, null, 8, ["active"]),
78
+ r(P, {
87
79
  "content-class": "base-product-introduction-panel-popover",
88
80
  trigger: "manual",
89
- show: n.value,
90
- "onUpdate:show": e[3] || (e[3] = (o) => n.value = o),
91
- style: z(N.value),
81
+ show: i.value,
82
+ "onUpdate:show": t[2] || (t[2] = (o) => i.value = o),
83
+ style: I(b.value),
92
84
  "show-arrow": !1,
93
85
  width: 1058,
94
86
  scrollable: "",
95
- x: m.x,
96
- y: m.y,
97
- "theme-overrides": { padding: "0", space: "0" }
87
+ x: n.x,
88
+ y: n.y,
89
+ "theme-overrides": { padding: "0", space: "0" },
90
+ onClickoutside: S
98
91
  }, {
99
- default: r(() => [
100
- t("div", {
92
+ default: d(() => [
93
+ e("div", {
101
94
  class: "base-product-introduction-panel",
102
- onClick: e[2] || (e[2] = f(() => {
95
+ onClick: t[1] || (t[1] = f(() => {
103
96
  }, ["stop"]))
104
97
  }, [
105
- t("div", H, [
106
- e[4] || (e[4] = t("div", null, "全部产品", -1)),
107
- i(d, {
98
+ e("div", H, [
99
+ t[3] || (t[3] = e("div", null, "全部产品", -1)),
100
+ r(m, {
108
101
  icon: "operate-close",
109
102
  size: "16",
110
- onClick: e[1] || (e[1] = (o) => n.value = !1)
103
+ onClick: t[0] || (t[0] = (o) => i.value = !1)
111
104
  })
112
105
  ]),
113
- t("div", J, [
114
- (s(), c(h, null, k(C, (o) => t("div", {
106
+ e("div", J, [
107
+ (s(), c(h, null, y(C, (o) => e("div", {
115
108
  key: o.key,
116
109
  class: "content-item"
117
110
  }, [
118
- t("div", K, [
119
- t("div", Q, [
120
- i(d, {
111
+ e("div", K, [
112
+ e("div", Q, [
113
+ r(m, {
121
114
  icon: o.icon,
122
115
  size: "32"
123
116
  }, null, 8, ["icon"])
124
117
  ]),
125
- t("div", W, u(o.title), 1),
126
- t("div", X, u(o.description), 1)
118
+ e("div", W, u(o.title), 1),
119
+ e("div", X, u(o.description), 1)
127
120
  ]),
128
121
  o.children && o.children.length ? (s(), c("div", Y, [
129
- (s(!0), c(h, null, k(o.children, (l) => (s(), V(S, {
130
- key: l.key,
131
- title: l.title,
122
+ (s(!0), c(h, null, y(o.children, (a) => (s(), V(x, {
123
+ key: a.key,
124
+ title: a.title,
132
125
  "theme-overrides": B.value
133
126
  }, {
134
- cover: r(() => [
135
- t("img", {
136
- src: l.icon,
127
+ cover: d(() => [
128
+ e("img", {
129
+ src: a.icon,
137
130
  alt: ""
138
131
  }, null, 8, Z)
139
132
  ]),
140
- default: r(() => [
141
- g(" " + u(l.description) + " ", 1),
142
- t("div", ee, [
143
- i(y, {
133
+ default: d(() => [
134
+ g(" " + u(a.description) + " ", 1),
135
+ e("div", ee, [
136
+ r(w, {
144
137
  round: "",
145
138
  size: "tiny",
146
139
  type: "primary"
147
140
  }, {
148
- default: r(() => [...e[5] || (e[5] = [
149
- g("开始使用", -1)
150
- ])]),
141
+ default: d(() => t[4] || (t[4] = [
142
+ g("开始使用")
143
+ ])),
151
144
  _: 1
152
145
  })
153
146
  ])
154
147
  ]),
155
148
  _: 2
156
149
  }, 1032, ["title", "theme-overrides"]))), 128))
157
- ])) : U("", !0)
150
+ ])) : M("", !0)
158
151
  ])), 64))
159
152
  ])
160
153
  ])
@@ -166,5 +159,5 @@ const H = { class: "header" }, J = { class: "content-wrap" }, K = { class: "cont
166
159
  }
167
160
  });
168
161
  export {
169
- de as default
162
+ pe as default
170
163
  };
@@ -1,6 +1,6 @@
1
- import { NRadio as d } from "naive-ui";
2
- import { defineComponent as r, shallowRef as n, watch as l, createBlock as m, openBlock as c, mergeProps as f, createSlots as b, renderList as v, withCtx as u, renderSlot as h } from "vue";
3
- import p from "../../hooks/useNaiveConfigProvideContext.mjs";
1
+ import { NRadio as i } from "naive-ui";
2
+ import { defineComponent as r, shallowRef as d, watch as n, createBlock as l, openBlock as m, mergeProps as c, createSlots as f, renderList as p, withCtx as b, renderSlot as v } from "vue";
3
+ import u from "../../hooks/useNaiveConfigProvideContext.mjs";
4
4
  const y = /* @__PURE__ */ r({
5
5
  name: "BaseRadio",
6
6
  __name: "index",
@@ -8,12 +8,12 @@ const y = /* @__PURE__ */ r({
8
8
  className: { default: "" },
9
9
  style: { default: () => ({}) }
10
10
  },
11
- setup(o) {
12
- const { mergedThemeOverridesRef: s } = p(), t = n({});
13
- return l(
14
- () => s?.value?.Radio,
11
+ setup(h) {
12
+ const { mergedThemeOverridesRef: a } = u(), o = d({});
13
+ return n(
14
+ () => a?.value?.Radio,
15
15
  (e) => {
16
- e && (t.value = {
16
+ e && (o.value = {
17
17
  "--n-box-shadow-active-disabled": e.boxShadowActiveDisabled || e.boxShadowDisabled,
18
18
  "--n-color-active-disabled": e.colorActiveDisabled || e.boxShadowDisabled
19
19
  });
@@ -22,15 +22,15 @@ const y = /* @__PURE__ */ r({
22
22
  immediate: !0
23
23
  }
24
24
  ), (e, w) => {
25
- const i = d;
26
- return c(), m(i, f(e.$attrs, {
27
- class: ["base-radio", o.className],
28
- style: [t.value, o.style]
29
- }), b({ _: 2 }, [
30
- v(e.$slots, (x, a) => ({
31
- name: a,
32
- fn: u(() => [
33
- h(e.$slots, a, {}, void 0, !0)
25
+ const s = i;
26
+ return m(), l(s, c(e.$attrs, {
27
+ class: ["base-radio", e.className],
28
+ style: [o.value, e.style]
29
+ }), f({ _: 2 }, [
30
+ p(e.$slots, (_, t) => ({
31
+ name: t,
32
+ fn: b(() => [
33
+ v(e.$slots, t, {}, void 0, !0)
34
34
  ])
35
35
  }))
36
36
  ]), 1040, ["class", "style"]);
@@ -1,5 +1,5 @@
1
- import { NSelect as o, NCheckbox as u, NTag as c } from "naive-ui";
2
- import { defineComponent as m, createBlock as b, openBlock as f, mergeProps as p, createSlots as g, renderList as z, withCtx as h, renderSlot as v, h as r } from "vue";
1
+ import { NSelect as i, NCheckbox as u, NTag as p } from "naive-ui";
2
+ import { defineComponent as m, createBlock as b, openBlock as c, mergeProps as f, createSlots as g, renderList as z, withCtx as h, renderSlot as v, h as r } from "vue";
3
3
  const T = /* @__PURE__ */ m({
4
4
  name: "BaseSelect",
5
5
  __name: "index",
@@ -8,52 +8,52 @@ const T = /* @__PURE__ */ m({
8
8
  multiple: { type: Boolean, default: !1 },
9
9
  size: { default: "medium" }
10
10
  },
11
- setup(l) {
12
- const s = l, n = (e, a) => [
11
+ setup(d) {
12
+ const t = d, o = (e, s) => [
13
13
  r(
14
14
  u,
15
15
  {
16
- checked: a,
16
+ checked: s,
17
17
  disabled: e.disabled
18
18
  },
19
19
  {
20
20
  default: () => e.label
21
21
  }
22
22
  )
23
- ], i = ({ option: e, handleClose: a }) => r(
24
- c,
23
+ ], n = ({ option: e, handleClose: s }) => r(
24
+ p,
25
25
  {
26
26
  type: "default",
27
27
  closable: !0,
28
28
  bordered: !1,
29
- disabled: s.disabled,
30
- size: s.size,
31
- onMousedown: (t) => {
32
- t.preventDefault();
29
+ disabled: t.disabled,
30
+ size: t.size,
31
+ onMousedown: (l) => {
32
+ l.preventDefault();
33
33
  },
34
- onClose: (t) => {
35
- t.stopPropagation(), a();
34
+ onClose: (l) => {
35
+ l.stopPropagation(), s();
36
36
  }
37
37
  },
38
38
  { default: () => e.label }
39
39
  );
40
- return (e, a) => {
41
- const t = o;
42
- return f(), b(t, p({
40
+ return (e, s) => {
41
+ const l = i;
42
+ return c(), b(l, f({
43
43
  class: "base-select",
44
- disabled: l.disabled,
45
- renderTag: l.multiple ? i : void 0,
46
- "render-label": l.multiple ? n : void 0,
47
- multiple: l.multiple,
48
- size: l.size,
44
+ disabled: e.disabled,
45
+ renderTag: e.multiple ? n : void 0,
46
+ "render-label": e.multiple ? o : void 0,
47
+ multiple: e.multiple,
48
+ size: e.size,
49
49
  "menu-props": {
50
50
  class: "base-select-menu"
51
51
  }
52
52
  }, e.$attrs), g({ _: 2 }, [
53
- z(e.$slots, (B, d) => ({
54
- name: d,
53
+ z(e.$slots, (B, a) => ({
54
+ name: a,
55
55
  fn: h(() => [
56
- v(e.$slots, d, {}, void 0, !0)
56
+ v(e.$slots, a, {}, void 0, !0)
57
57
  ])
58
58
  }))
59
59
  ]), 1040, ["disabled", "renderTag", "render-label", "multiple", "size"]);
@@ -1,13 +1,13 @@
1
- import { NSlider as h, NInputNumber as z } from "naive-ui";
2
- import { defineComponent as w, shallowRef as b, computed as B, watch as k, createElementBlock as u, openBlock as i, normalizeStyle as N, createElementVNode as o, createCommentVNode as r, createVNode as s, mergeProps as S, toDisplayString as v, createBlock as C, Fragment as p } from "vue";
3
- import E from "../../hooks/useNaiveConfigProvideContext.mjs";
4
- const I = { class: "slider-content" }, T = {
1
+ import { NSlider as z, NInputNumber as w } from "naive-ui";
2
+ import { defineComponent as b, shallowRef as B, computed as k, watch as N, createElementBlock as o, openBlock as i, normalizeStyle as S, createElementVNode as t, createCommentVNode as s, createVNode as u, mergeProps as x, toDisplayString as d, createBlock as C, Fragment as E } from "vue";
3
+ import I from "../../hooks/useNaiveConfigProvideContext.mjs";
4
+ const T = { class: "slider-content" }, U = {
5
5
  key: 0,
6
6
  class: "extreme-value-text"
7
- }, U = {
7
+ }, V = {
8
8
  key: 0,
9
9
  class: "slider-input"
10
- }, D = /* @__PURE__ */ w({
10
+ }, D = /* @__PURE__ */ b({
11
11
  name: "BaseSlider",
12
12
  __name: "index",
13
13
  props: {
@@ -22,82 +22,82 @@ const I = { class: "slider-content" }, T = {
22
22
  precision: { default: 0 }
23
23
  },
24
24
  emits: ["update:value"],
25
- setup(e, { emit: x }) {
26
- const f = e, { mergedThemeOverridesRef: c } = E(), d = b({}), y = x, t = B({
25
+ setup(p, { emit: v }) {
26
+ const f = p, { mergedThemeOverridesRef: y } = I(), m = B({}), g = v, n = k({
27
27
  get() {
28
28
  return f.value;
29
29
  },
30
- set(l) {
31
- y("update:value", l);
30
+ set(e) {
31
+ g("update:value", e);
32
32
  }
33
33
  });
34
- return k(
35
- () => c?.value?.Slider,
36
- (l) => {
37
- l && (d.value = {
38
- "--n-slider-handler-border": l.handleBorderStyle,
39
- "--n-slider-input-width": l.inputWidth,
40
- "--n-slider-range-input-line-color": l.rangeInputLineColor,
41
- "--n-slider-extreme-value-text-color": l.extremeValueTextColor
34
+ return N(
35
+ () => y?.value?.Slider,
36
+ (e) => {
37
+ e && (m.value = {
38
+ "--n-slider-handler-border": e.handleBorderStyle,
39
+ "--n-slider-input-width": e.inputWidth,
40
+ "--n-slider-range-input-line-color": e.rangeInputLineColor,
41
+ "--n-slider-extreme-value-text-color": e.extremeValueTextColor
42
42
  });
43
43
  },
44
44
  {
45
45
  immediate: !0
46
46
  }
47
- ), (l, n) => {
48
- const g = h, m = z;
49
- return i(), u("div", {
47
+ ), (e, l) => {
48
+ const h = z, r = w;
49
+ return i(), o("div", {
50
50
  class: "base-slider",
51
- style: N([d.value, e.style])
51
+ style: S([m.value, e.style])
52
52
  }, [
53
- o("div", I, [
54
- s(g, S(l.$attrs, {
55
- value: t.value,
56
- "onUpdate:value": n[0] || (n[0] = (a) => t.value = a),
53
+ t("div", T, [
54
+ u(h, x(e.$attrs, {
55
+ value: n.value,
56
+ "onUpdate:value": l[0] || (l[0] = (a) => n.value = a),
57
57
  min: e.min,
58
58
  max: e.max,
59
59
  range: e.range
60
60
  }), null, 16, ["value", "min", "max", "range"]),
61
- e.showExtremeValueText ? (i(), u("div", T, [
62
- o("div", null, v(e.min), 1),
63
- o("div", null, v(e.max), 1)
64
- ])) : r("", !0)
61
+ e.showExtremeValueText ? (i(), o("div", U, [
62
+ t("div", null, d(e.min), 1),
63
+ t("div", null, d(e.max), 1)
64
+ ])) : s("", !0)
65
65
  ]),
66
- e.showInput ? (i(), u("div", U, [
67
- !e.range && typeof t.value == "number" ? (i(), C(m, {
66
+ e.showInput ? (i(), o("div", V, [
67
+ !e.range && typeof n.value == "number" ? (i(), C(r, {
68
68
  key: 0,
69
69
  "show-button": !1,
70
70
  placeholder: "",
71
71
  size: e.size,
72
- value: t.value,
73
- "onUpdate:value": n[1] || (n[1] = (a) => t.value = a),
72
+ value: n.value,
73
+ "onUpdate:value": l[1] || (l[1] = (a) => n.value = a),
74
74
  min: e.min,
75
75
  max: e.max,
76
76
  precision: e.precision
77
- }, null, 8, ["size", "value", "min", "max", "precision"])) : e.range && typeof t.value != "number" ? (i(), u(p, { key: 1 }, [
78
- s(m, {
77
+ }, null, 8, ["size", "value", "min", "max", "precision"])) : e.range && typeof n.value != "number" ? (i(), o(E, { key: 1 }, [
78
+ u(r, {
79
79
  "show-button": !1,
80
80
  placeholder: "",
81
81
  size: e.size,
82
- value: t.value[0],
83
- "onUpdate:value": n[2] || (n[2] = (a) => t.value[0] = a),
82
+ value: n.value[0],
83
+ "onUpdate:value": l[2] || (l[2] = (a) => n.value[0] = a),
84
84
  min: e.min,
85
85
  max: e.max,
86
86
  precision: e.precision
87
87
  }, null, 8, ["size", "value", "min", "max", "precision"]),
88
- n[4] || (n[4] = o("div", { class: "line" }, null, -1)),
89
- s(m, {
88
+ l[4] || (l[4] = t("div", { class: "line" }, null, -1)),
89
+ u(r, {
90
90
  "show-button": !1,
91
91
  placeholder: "",
92
92
  size: e.size,
93
- value: t.value[1],
94
- "onUpdate:value": n[3] || (n[3] = (a) => t.value[1] = a),
93
+ value: n.value[1],
94
+ "onUpdate:value": l[3] || (l[3] = (a) => n.value[1] = a),
95
95
  min: e.min,
96
96
  max: e.max,
97
97
  precision: e.precision
98
98
  }, null, 8, ["size", "value", "min", "max", "precision"])
99
- ], 64)) : r("", !0)
100
- ])) : r("", !0)
99
+ ], 64)) : s("", !0)
100
+ ])) : s("", !0)
101
101
  ], 4);
102
102
  };
103
103
  }
@@ -1,19 +1,19 @@
1
- import { NSwitch as l } from "naive-ui";
2
- import { defineComponent as a, shallowRef as n, watch as d, createBlock as c, openBlock as m, mergeProps as f, createSlots as u, renderList as b, withCtx as v, renderSlot as h } from "vue";
3
- import p from "../../hooks/useNaiveConfigProvideContext.mjs";
4
- const g = /* @__PURE__ */ a({
1
+ import { NSwitch as i } from "naive-ui";
2
+ import { defineComponent as l, shallowRef as a, watch as n, createBlock as d, openBlock as c, mergeProps as m, createSlots as f, renderList as u, withCtx as b, renderSlot as p } from "vue";
3
+ import v from "../../hooks/useNaiveConfigProvideContext.mjs";
4
+ const g = /* @__PURE__ */ l({
5
5
  name: "BaseSwitch",
6
6
  __name: "index",
7
7
  props: {
8
8
  className: { default: "" },
9
9
  style: { default: () => ({}) }
10
10
  },
11
- setup(t) {
12
- const i = p(), o = n({});
13
- return d(
14
- () => i?.mergedThemeOverridesRef.value.Switch,
11
+ setup(h) {
12
+ const s = v(), t = a({});
13
+ return n(
14
+ () => s?.mergedThemeOverridesRef.value.Switch,
15
15
  (e) => {
16
- e && (o.value = {
16
+ e && (t.value = {
17
17
  "--n-rail-color-active-disabled": e.railColorActiveDisabled,
18
18
  "--n-rail-color-disabled": e.railColorDisabled,
19
19
  "--n-button-color-disabled": e.buttonColorDisabled,
@@ -24,15 +24,15 @@ const g = /* @__PURE__ */ a({
24
24
  immediate: !0
25
25
  }
26
26
  ), (e, C) => {
27
- const r = l;
28
- return m(), c(r, f(e.$attrs, {
29
- class: `base-switch ${t.className}`,
30
- style: [o.value, t.style]
31
- }), u({ _: 2 }, [
32
- b(e.$slots, (w, s) => ({
33
- name: s,
34
- fn: v(() => [
35
- h(e.$slots, s, {}, void 0, !0)
27
+ const r = i;
28
+ return c(), d(r, m(e.$attrs, {
29
+ class: `base-switch ${e.className}`,
30
+ style: [t.value, e.style]
31
+ }), f({ _: 2 }, [
32
+ u(e.$slots, (w, o) => ({
33
+ name: o,
34
+ fn: b(() => [
35
+ p(e.$slots, o, {}, void 0, !0)
36
36
  ])
37
37
  }))
38
38
  ]), 1040, ["class", "style"]);