dlzn-ui 1.76.0 → 1.78.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.
@@ -0,0 +1 @@
1
+ .custom_context_menu[data-v-ed6ea484]{--td-bg-color-container-hover:var(--td-bg-color-secondarycontainer-hover);border:.5px solid var(--td-component-border);border-radius:var(--td-radius-medium);min-width:100px;box-shadow:var(--td-shadow-2)}.custom_context_menu[data-v-ed6ea484] .t-menu--scroll{padding:8px 0!important}.custom_context_menu[data-v-ed6ea484] .t-menu__item{height:var(--td-comp-size-s);line-height:var(--td-comp-size-s);margin-top:0!important;padding:0 12px!important}.custom_context_menu[data-v-ed6ea484] .t-submenu{margin-top:0!important}.custom_context_menu[data-v-ed6ea484] .t-fake-arrow{transform:rotate(270deg)!important}.custom_context_menu[data-v-ed6ea484] .t-fake-arrow path{d:path("M3.75 5.7998L7.99274 10.0425L12.2361 5.79921")!important}
@@ -1,7 +1,7 @@
1
1
  import { Fragment as e, createBlock as t, createElementBlock as n, createSlots as r, createVNode as i, defineComponent as a, mergeProps as o, openBlock as s, renderList as c, resolveComponent as l, unref as u, withCtx as d } from "vue";
2
2
  import { Icon as f, MenuItem as p, Submenu as m } from "tdesign-vue-next";
3
3
  import '../assets/MenuNode-BWhgOPrH.css';//#endregion
4
- //#region ../../packages/dlzn-ui/plugins/useContextMenuComponent/MenuNode.vue
4
+ //#region ../../packages/dlzn-ui/hooks/useContextMenu/menu/MenuNode.vue
5
5
  var h = /* @__PURE__ */ a({
6
6
  name: "MenuNode",
7
7
  __name: "MenuNode",
@@ -5,6 +5,7 @@ import d from "element-plus/es/locale/lang/zh-cn";
5
5
  //#endregion
6
6
  //#region ../../packages/dlzn-ui/components/provider/src/Provider.vue
7
7
  var f = /* @__PURE__ */ n({
8
+ name: "TProvider",
8
9
  __name: "Provider",
9
10
  setup(n) {
10
11
  let f = { table: {
@@ -1 +1 @@
1
- export { default as Provider } from './src/Provider.vue';
1
+ export { default as TProvider } from './src/Provider.vue';
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/Provider-DS0ccNiT.mjs";
2
- export { e as Provider };
1
+ import { t as e } from "../../chunks/Provider-DsjJAAKQ.mjs";
2
+ export { e as TProvider };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/Provider-DS0ccNiT.mjs";
1
+ import { t as e } from "../../../chunks/Provider-DsjJAAKQ.mjs";
2
2
  export { e as default };
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { Items } from '../plugins/useContextMenuComponent/types';
2
+ import { Items } from './menu/types';
3
3
  interface HookReturnType {
4
4
  items: Ref<Items>;
5
5
  showMenu: Ref<boolean>;
@@ -1,5 +1,5 @@
1
1
  import { ref as e } from "vue";
2
- //#region ../../packages/dlzn-ui/hooks/useContextMenu.ts
2
+ //#region ../../packages/dlzn-ui/hooks/useContextMenu/index.ts
3
3
  var t = e(!1), n = e(0), r = e(0), i = e([]);
4
4
  function a() {
5
5
  t.value = !1;
@@ -1,10 +1,10 @@
1
- import { t as e } from "../../chunks/plugin-vue_export-helper-B3ysoDQm.mjs";
2
- import t from "../../hooks/useContextMenu.mjs";
3
- import { t as n } from "../../chunks/MenuNode-C10tFXwn.mjs";
1
+ import { t as e } from "../../../chunks/plugin-vue_export-helper-B3ysoDQm.mjs";
2
+ import t from "../index.mjs";
3
+ import { t as n } from "../../../chunks/MenuNode-Bsx5EX6G.mjs";
4
4
  import { createBlock as r, createCommentVNode as i, createVNode as a, defineComponent as o, normalizeStyle as s, openBlock as c, unref as l, withCtx as u } from "vue";
5
5
  import { Menu as d } from "tdesign-vue-next";
6
- import '../../assets/Index-BedLrhwL.css';//#endregion
7
- //#region ../../packages/dlzn-ui/plugins/useContextMenuComponent/Index.vue
6
+ import '../../../assets/Index-BSZpeLbt.css';//#endregion
7
+ //#region ../../packages/dlzn-ui/hooks/useContextMenu/menu/Index.vue
8
8
  var f = /*#__PURE__*/ e(/* @__PURE__ */ o({
9
9
  __name: "Index",
10
10
  setup(e) {
@@ -23,6 +23,6 @@ var f = /*#__PURE__*/ e(/* @__PURE__ */ o({
23
23
  _: 1
24
24
  }, 8, ["style"])) : i("v-if", !0);
25
25
  }
26
- }), [["__scopeId", "data-v-22fe4836"]]);
26
+ }), [["__scopeId", "data-v-ed6ea484"]]);
27
27
  //#endregion
28
28
  export { f as default };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../../chunks/MenuNode-Bsx5EX6G.mjs";
2
+ export { e as default };
package/package.json CHANGED
@@ -12,8 +12,24 @@
12
12
  "import": "./components/*/index.mjs"
13
13
  },
14
14
  "./plugins/*": {
15
- "types": "./plugins/*.d.ts",
16
- "import": "./plugins/*.mjs"
15
+ "types": [
16
+ "./plugins/*.d.ts",
17
+ "./plugins/*/index.d.ts"
18
+ ],
19
+ "import": [
20
+ "./plugins/*.mjs",
21
+ "./plugins/*/index.mjs"
22
+ ]
23
+ },
24
+ "./hooks/*": {
25
+ "types": [
26
+ "./hooks/*.d.ts",
27
+ "./hooks/*/index.d.ts"
28
+ ],
29
+ "import": [
30
+ "./hooks/*.mjs",
31
+ "./hooks/*/index.mjs"
32
+ ]
17
33
  },
18
34
  "./utils": {
19
35
  "types": "./utils/index.d.ts",
@@ -71,5 +87,5 @@
71
87
  "> 1%",
72
88
  "not dead"
73
89
  ],
74
- "version": "1.76.0"
90
+ "version": "1.78.0"
75
91
  }
@@ -1,5 +1,5 @@
1
1
  import e from "../../hooks/useAppContext.mjs";
2
- import { t } from "../../chunks/Provider-DS0ccNiT.mjs";
2
+ import { t } from "../../chunks/Provider-DsjJAAKQ.mjs";
3
3
  import { computed as n, h as r, ref as i } from "vue";
4
4
  import { useElementVisibility as a } from "@vueuse/core";
5
5
  import { Button as o, DialogPlugin as s } from "tdesign-vue-next";
@@ -1,5 +1,5 @@
1
1
  import e from "../../hooks/useAppContext.mjs";
2
- import { t } from "../../chunks/Provider-DS0ccNiT.mjs";
2
+ import { t } from "../../chunks/Provider-DsjJAAKQ.mjs";
3
3
  import { computed as n, h as r } from "vue";
4
4
  import { DrawerPlugin as i } from "tdesign-vue-next";
5
5
  //#region ../../packages/dlzn-ui/plugins/autoImport/$drawer.ts
@@ -1 +0,0 @@
1
- .custom_context_menu[data-v-22fe4836]{--td-bg-color-container-hover:var(--td-bg-color-secondarycontainer-hover);border:.5px solid var(--td-component-border);border-radius:var(--td-radius-medium);min-width:100px;box-shadow:var(--td-shadow-2)}.custom_context_menu[data-v-22fe4836] .t-menu--scroll{padding:8px 0!important}.custom_context_menu[data-v-22fe4836] .t-menu__item{height:var(--td-comp-size-s);line-height:var(--td-comp-size-s);margin-top:0!important;padding:0 12px!important}.custom_context_menu[data-v-22fe4836] .t-submenu{margin-top:0!important}.custom_context_menu[data-v-22fe4836] .t-fake-arrow{transform:rotate(270deg)!important}.custom_context_menu[data-v-22fe4836] .t-fake-arrow path{d:path("M3.75 5.7998L7.99274 10.0425L12.2361 5.79921")!important}
@@ -1,2 +0,0 @@
1
- import { t as e } from "../../chunks/MenuNode-C10tFXwn.mjs";
2
- export { e as default };