dlzn-ui 1.84.0 → 1.86.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.
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./useAppContext-D47amIp5.mjs";
2
2
  import { h as t } from "./user-DsSzsUIW.mjs";
3
3
  import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
4
- import { useList as i } from "../hooks/useList/index.mjs";
4
+ import i from "../hooks/useList/index.mjs";
5
5
  import { computed as a, createBlock as o, defineComponent as s, getCurrentInstance as c, h as l, mergeProps as u, openBlock as d, resolveDynamicComponent as f, unref as p } from "vue";
6
6
  import { CheckboxGroup as m } from "tdesign-vue-next";
7
7
  //#endregion
@@ -3,17 +3,17 @@ import t from "../plugins/autoImport/$msg/index.mjs";
3
3
  import { isFalsy as n } from "../utils/boolean.mjs";
4
4
  import { t as r } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
5
5
  import { t as i } from "./checkbox-CLlUEbkk.mjs";
6
- import { t as a } from "./checkbox-group-Byz5ySpG.mjs";
6
+ import { t as a } from "./checkbox-group-D7jGdbHp.mjs";
7
7
  import { t as o } from "./input-number-Bt1mbd1D.mjs";
8
8
  import { t as s } from "./input-B8jjJrK5.mjs";
9
- import { t as c } from "./radio-group-5VlH8ezG.mjs";
9
+ import { t as c } from "./radio-group-D29D9RMN.mjs";
10
10
  import { t as l } from "./range-input-8ddDrOBB.mjs";
11
- import { t as u } from "./select-DhJtE0H-.mjs";
11
+ import { t as u } from "./select-DbGBggUm.mjs";
12
12
  import { t as d } from "./slider-C63Gzbld.mjs";
13
13
  import { t as f } from "./switch-CqV3-avv.mjs";
14
14
  import { t as p } from "./tag-input-iNXrRXk2.mjs";
15
15
  import { t as m } from "./textarea-xkwOhNut.mjs";
16
- import { t as ee } from "./tree-select-CTE4lSRz.mjs";
16
+ import { t as ee } from "./tree-select-C-HywxXx.mjs";
17
17
  import { t as te } from "./tree-szMrY26E.mjs";
18
18
  import { t as ne } from "./upload-CvqlmOVo.mjs";
19
19
  import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, defineAsyncComponent as b, defineComponent as x, getCurrentInstance as S, mergeDefaults as C, mergeProps as w, nextTick as T, onMounted as re, openBlock as E, provide as D, reactive as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as M, shallowRef as N, unref as P, watch as F, withCtx as I } from "vue";
@@ -2,7 +2,7 @@ import { n as e } from "./useAppContext-D47amIp5.mjs";
2
2
  import { h as t } from "./user-DsSzsUIW.mjs";
3
3
  import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
4
4
  import { stringDisplay as i } from "../utils/string.mjs";
5
- import { useList as a } from "../hooks/useList/index.mjs";
5
+ import a from "../hooks/useList/index.mjs";
6
6
  import { computed as o, createBlock as s, defineComponent as c, getCurrentInstance as l, h as u, mergeProps as d, openBlock as f, resolveDynamicComponent as p, unref as m } from "vue";
7
7
  import { RadioGroup as h } from "tdesign-vue-next";
8
8
  //#endregion
@@ -2,7 +2,7 @@ import { n as e } from "./useAppContext-D47amIp5.mjs";
2
2
  import { h as t } from "./user-DsSzsUIW.mjs";
3
3
  import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
4
4
  import { stringDisplay as i } from "../utils/string.mjs";
5
- import { useList as a } from "../hooks/useList/index.mjs";
5
+ import a from "../hooks/useList/index.mjs";
6
6
  import { computed as o, createBlock as s, defineComponent as c, getCurrentInstance as l, h as u, mergeDefaults as d, mergeProps as f, onMounted as p, openBlock as m, ref as h, resolveDynamicComponent as g, unref as _ } from "vue";
7
7
  import { useResizeObserver as v } from "@vueuse/core";
8
8
  import { InputAdornment as y, Select as b } from "tdesign-vue-next";
@@ -1,4 +1,4 @@
1
- import { useList as e } from "../hooks/useList/index.mjs";
1
+ import e from "../hooks/useList/index.mjs";
2
2
  import { t } from "./tree-Bn-WY5dz.mjs";
3
3
  import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeProps as s, onMounted as c, openBlock as l, ref as u, resolveDynamicComponent as d, unref as f } from "vue";
4
4
  import { useResizeObserver as p } from "@vueuse/core";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/checkbox-group-Byz5ySpG.mjs";
1
+ import { t as e } from "../../chunks/checkbox-group-D7jGdbHp.mjs";
2
2
  export { e as TCheckboxGroup };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/checkbox-group-Byz5ySpG.mjs";
1
+ import { t as e } from "../../../chunks/checkbox-group-D7jGdbHp.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../chunks/form-BkPeeuHB.mjs";
1
+ import { n as e, t } from "../../chunks/form-DpCKlOfB.mjs";
2
2
  export { t as TForm, e as formPropsInit };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/form-BkPeeuHB.mjs";
1
+ import { t as e } from "../../../chunks/form-DpCKlOfB.mjs";
2
2
  export { e as default };
@@ -3,19 +3,19 @@ import { t as n } from "../chunks/icon-COjp1yrx.mjs";
3
3
  import { t as r } from "../chunks/popconfirm-DxWa7vWm.mjs";
4
4
  import { n as i, t as a } from "../chunks/card-BfHb58zl.mjs";
5
5
  import { t as o } from "../chunks/checkbox-CLlUEbkk.mjs";
6
- import { t as s } from "../chunks/checkbox-group-Byz5ySpG.mjs";
7
- import { n as c, t as l } from "../chunks/form-BkPeeuHB.mjs";
6
+ import { t as s } from "../chunks/checkbox-group-D7jGdbHp.mjs";
7
+ import { n as c, t as l } from "../chunks/form-DpCKlOfB.mjs";
8
8
  import { n as u, t as d } from "../chunks/input-number-Bt1mbd1D.mjs";
9
9
  import { n as f, t as p } from "../chunks/input-B8jjJrK5.mjs";
10
- import { t as m } from "../chunks/radio-group-5VlH8ezG.mjs";
10
+ import { t as m } from "../chunks/radio-group-D29D9RMN.mjs";
11
11
  import { t as h } from "../chunks/range-input-8ddDrOBB.mjs";
12
- import { n as g, t as _ } from "../chunks/select-DhJtE0H-.mjs";
12
+ import { n as g, t as _ } from "../chunks/select-DbGBggUm.mjs";
13
13
  import { n as v, t as y } from "../chunks/slider-C63Gzbld.mjs";
14
14
  import { n as b, t as x } from "../chunks/switch-CqV3-avv.mjs";
15
15
  import { n as S, t as C } from "../chunks/tag-input-iNXrRXk2.mjs";
16
16
  import { t as w } from "../chunks/textarea-xkwOhNut.mjs";
17
17
  import { t as T } from "../chunks/tree-Bn-WY5dz.mjs";
18
- import { t as E } from "../chunks/tree-select-CTE4lSRz.mjs";
18
+ import { t as E } from "../chunks/tree-select-C-HywxXx.mjs";
19
19
  import { t as D } from "../chunks/tree-szMrY26E.mjs";
20
20
  import { n as O, t as k } from "../chunks/upload-CvqlmOVo.mjs";
21
21
  import { n as A, t as j } from "../chunks/image-BEsiUWeF.mjs";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/radio-group-5VlH8ezG.mjs";
1
+ import { t as e } from "../../chunks/radio-group-D29D9RMN.mjs";
2
2
  export { e as TRadioGroup };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/radio-group-5VlH8ezG.mjs";
1
+ import { t as e } from "../../../chunks/radio-group-D29D9RMN.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../chunks/select-DhJtE0H-.mjs";
1
+ import { n as e, t } from "../../chunks/select-DbGBggUm.mjs";
2
2
  export { t as TSelect, e as selectPropsInit };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/select-DhJtE0H-.mjs";
1
+ import { t as e } from "../../../chunks/select-DbGBggUm.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/tree-select-CTE4lSRz.mjs";
1
+ import { t as e } from "../../chunks/tree-select-C-HywxXx.mjs";
2
2
  export { e as TTreeSelect };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/tree-select-CTE4lSRz.mjs";
1
+ import { t as e } from "../../../chunks/tree-select-C-HywxXx.mjs";
2
2
  export { e as default };
@@ -10,5 +10,5 @@ export declare function useClearDic(): void;
10
10
  export declare function useDicLabel(code: string): ComputedRef<string[]>;
11
11
  export declare function useDicLabel(code: string, value: PettyPrimitive): ComputedRef<string>;
12
12
  export declare function useDicLabel(code: string, value: Array<PettyPrimitive>): ComputedRef<string[]>;
13
- export declare function useDicOptions(code: string, includeArr?: string[]): ComputedRef<DicItem[]>;
13
+ export default function useDicOptions(code: string, includeArr?: string[]): ComputedRef<DicItem[]>;
14
14
  export declare function useRefreshDic(code: string): void;
@@ -0,0 +1,2 @@
1
+ import { g as e, h as t, m as n, p as r } from "../../chunks/user-DsSzsUIW.mjs";
2
+ export { t as default, r as useClearDic, n as useDicLabel, e as useRefreshDic };
@@ -12,7 +12,7 @@ type TreeKeys<T> = {
12
12
  }[keyof T];
13
13
  declare const promiseMap: Record<string, () => Promise<ListItem[]>>;
14
14
  export declare function useClearList(): void;
15
- export declare function useList(key: UseListAllKey): Ref<ListItem[], ListItem[]>;
15
+ export default function useList(key: UseListAllKey): Ref<ListItem[], ListItem[]>;
16
16
  export declare function useListLabel(key: UseListKey): ComputedRef<string[]>;
17
17
  export declare function useListLabel(key: UseListKey, value: PettyPrimitive): ComputedRef<string>;
18
18
  export declare function useListLabel(key: UseListKey, value: Array<PettyPrimitive>): ComputedRef<string[]>;
@@ -35,4 +35,4 @@ function u(e) {
35
35
  }));
36
36
  }
37
37
  //#endregion
38
- export { s as useClearList, c as useList, l as useListLabel, u as useListRefresh };
38
+ export { c as default, s as useClearList, l as useListLabel, u as useListRefresh };
@@ -0,0 +1,3 @@
1
+ import { ShallowRef } from 'vue';
2
+ declare const _default: () => ShallowRef<string | undefined, string | undefined>;
3
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { useCssVar as e } from "@vueuse/core";
2
+ //#region ../../packages/dlzn-ui/hooks/usePrimaryColor/index.ts
3
+ var t = () => e("--td-brand-color", document.documentElement, { observe: !0 });
4
+ //#endregion
5
+ export { t as default };
@@ -6,4 +6,4 @@ export interface SysUserItem {
6
6
  }
7
7
  export declare function useClearSysUser(): void;
8
8
  export declare function useRefreshSysUser(id: string): void;
9
- export declare function useSysUser(id: string): Ref<null | SysUserItem>;
9
+ export default function useSysUser(id: string): Ref<null | SysUserItem>;
@@ -1,2 +1,2 @@
1
1
  import { d as e, f as t, u as n } from "../../chunks/user-DsSzsUIW.mjs";
2
- export { n as useClearSysUser, e as useRefreshSysUser, t as useSysUser };
2
+ export { t as default, n as useClearSysUser, e as useRefreshSysUser };
package/index.mjs CHANGED
@@ -3,19 +3,19 @@ import { t as n } from "./chunks/icon-COjp1yrx.mjs";
3
3
  import { t as r } from "./chunks/popconfirm-DxWa7vWm.mjs";
4
4
  import { n as i, t as a } from "./chunks/card-BfHb58zl.mjs";
5
5
  import { t as o } from "./chunks/checkbox-CLlUEbkk.mjs";
6
- import { t as s } from "./chunks/checkbox-group-Byz5ySpG.mjs";
7
- import { n as c, t as l } from "./chunks/form-BkPeeuHB.mjs";
6
+ import { t as s } from "./chunks/checkbox-group-D7jGdbHp.mjs";
7
+ import { n as c, t as l } from "./chunks/form-DpCKlOfB.mjs";
8
8
  import { n as u, t as d } from "./chunks/input-number-Bt1mbd1D.mjs";
9
9
  import { n as f, t as p } from "./chunks/input-B8jjJrK5.mjs";
10
- import { t as m } from "./chunks/radio-group-5VlH8ezG.mjs";
10
+ import { t as m } from "./chunks/radio-group-D29D9RMN.mjs";
11
11
  import { t as h } from "./chunks/range-input-8ddDrOBB.mjs";
12
- import { n as g, t as _ } from "./chunks/select-DhJtE0H-.mjs";
12
+ import { n as g, t as _ } from "./chunks/select-DbGBggUm.mjs";
13
13
  import { n as v, t as y } from "./chunks/slider-C63Gzbld.mjs";
14
14
  import { n as b, t as x } from "./chunks/switch-CqV3-avv.mjs";
15
15
  import { n as S, t as C } from "./chunks/tag-input-iNXrRXk2.mjs";
16
16
  import { t as w } from "./chunks/textarea-xkwOhNut.mjs";
17
17
  import { t as T } from "./chunks/tree-Bn-WY5dz.mjs";
18
- import { t as E } from "./chunks/tree-select-CTE4lSRz.mjs";
18
+ import { t as E } from "./chunks/tree-select-C-HywxXx.mjs";
19
19
  import { t as D } from "./chunks/tree-szMrY26E.mjs";
20
20
  import { n as O, t as k } from "./chunks/upload-CvqlmOVo.mjs";
21
21
  import { n as A, t as j } from "./chunks/image-BEsiUWeF.mjs";
package/package.json CHANGED
@@ -83,5 +83,5 @@
83
83
  "> 1%",
84
84
  "not dead"
85
85
  ],
86
- "version": "1.84.0"
86
+ "version": "1.86.0"
87
87
  }
@@ -1,2 +0,0 @@
1
- import { ShallowRef } from 'vue';
2
- export declare function usePrimaryColor(): ShallowRef<string | undefined, string | undefined>;
@@ -1,7 +0,0 @@
1
- import { useCssVar as e } from "@vueuse/core";
2
- //#region ../../packages/dlzn-ui/hooks/useCommon/index.ts
3
- function t() {
4
- return e("--td-brand-color", document.documentElement, { observe: !0 });
5
- }
6
- //#endregion
7
- export { t as usePrimaryColor };
@@ -1,2 +0,0 @@
1
- import { g as e, h as t, m as n, p as r } from "../../chunks/user-DsSzsUIW.mjs";
2
- export { r as useClearDic, n as useDicLabel, t as useDicOptions, e as useRefreshDic };