@ditari/bsui 1.0.75 → 1.1.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 (128) hide show
  1. package/dist/cjs/components/components.cjs.js +1 -1
  2. package/dist/cjs/components/components.d.ts +11 -0
  3. package/dist/cjs/components/date/RangePicker.cjs.js +1 -0
  4. package/dist/cjs/components/date/RangePicker.d.ts +30 -0
  5. package/dist/cjs/components/date/index.cjs.js +1 -0
  6. package/dist/cjs/components/date/index.d.ts +53 -0
  7. package/dist/cjs/components/desensitize/Desensitize.d.ts +39 -0
  8. package/dist/cjs/components/desensitize/index.d.ts +39 -0
  9. package/dist/cjs/components/dic/DicReplace.d.ts +23 -0
  10. package/dist/cjs/components/dic/index.d.ts +23 -0
  11. package/dist/cjs/components/form/DQueryForm.cjs.js +1 -1
  12. package/dist/cjs/components/form/DQueryForm.d.ts +47 -0
  13. package/dist/cjs/components/form/index.d.ts +89 -0
  14. package/dist/cjs/components/grid/Grid.d.ts +32 -0
  15. package/dist/cjs/components/grid/GridItem.d.ts +2 -0
  16. package/dist/cjs/components/grid/index.d.ts +32 -0
  17. package/dist/cjs/components/index.cjs.js +1 -1
  18. package/dist/cjs/components/index.d.ts +15 -0
  19. package/dist/cjs/components/json-scheme-render/JsonSchemeRender.cjs.js +1 -0
  20. package/dist/cjs/components/json-scheme-render/JsonSchemeRender.d.ts +23 -0
  21. package/dist/cjs/components/json-scheme-render/index.cjs.js +1 -0
  22. package/dist/cjs/components/json-scheme-render/index.d.ts +47 -0
  23. package/dist/cjs/components/layout/Breadcrumb.vue.d.ts +2 -0
  24. package/dist/cjs/components/layout/FuckMain.vue.d.ts +17 -0
  25. package/dist/cjs/components/layout/List.vue.cjs.js +1 -1
  26. package/dist/cjs/components/layout/List.vue.d.ts +4 -0
  27. package/dist/cjs/components/layout/Main.vue.d.ts +25 -0
  28. package/dist/cjs/components/layout/NavTabs.vue.d.ts +2 -0
  29. package/dist/cjs/components/layout/Show.vue.d.ts +30 -0
  30. package/dist/cjs/components/layout/index.d.ts +70 -0
  31. package/dist/cjs/components/menu/Menu.d.ts +2 -0
  32. package/dist/cjs/components/modal/Modal.d.ts +43 -0
  33. package/dist/cjs/components/modal/index.d.ts +43 -0
  34. package/dist/cjs/components/select/Select.vue.d.ts +65 -0
  35. package/dist/cjs/components/select/index.d.ts +64 -0
  36. package/dist/cjs/components/table/Table.d.ts +80 -0
  37. package/dist/cjs/components/table/index.d.ts +75 -0
  38. package/dist/cjs/components/table/interface/table.d.ts +36 -0
  39. package/dist/cjs/components/theme/index.d.ts +1 -0
  40. package/dist/cjs/directive/trim.d.ts +5 -0
  41. package/dist/cjs/hooks/http/index.d.ts +28 -0
  42. package/dist/cjs/hooks/index.d.ts +2 -0
  43. package/dist/cjs/hooks/route/index.d.ts +8 -0
  44. package/dist/cjs/store/index.d.ts +7 -0
  45. package/dist/cjs/store/modules/Breadcrumb.d.ts +10 -0
  46. package/dist/cjs/store/modules/DataDictionary.d.ts +33 -0
  47. package/dist/cjs/store/modules/KeepAlive.d.ts +21 -0
  48. package/dist/cjs/store/modules/Menu.d.ts +17 -0
  49. package/dist/cjs/store/modules/NavTab.d.ts +64 -0
  50. package/dist/cjs/store/modules/Settings.d.ts +43 -0
  51. package/dist/cjs/store/modules/User.d.ts +21 -0
  52. package/dist/cjs/store/types.d.ts +7 -0
  53. package/dist/cjs/utils/get.d.ts +1 -0
  54. package/dist/cjs/utils/html.d.ts +1 -0
  55. package/dist/cjs/utils/index.d.ts +3 -0
  56. package/dist/cjs/utils/install.d.ts +4 -0
  57. package/dist/esm/components/components.d.ts +11 -0
  58. package/dist/esm/components/components.esm.js +18 -14
  59. package/dist/esm/components/date/RangePicker.d.ts +30 -0
  60. package/dist/esm/components/date/RangePicker.esm.js +43 -0
  61. package/dist/esm/components/date/index.d.ts +53 -0
  62. package/dist/esm/components/date/index.esm.js +6 -0
  63. package/dist/esm/components/desensitize/Desensitize.d.ts +39 -0
  64. package/dist/esm/components/desensitize/index.d.ts +39 -0
  65. package/dist/esm/components/dic/DicReplace.d.ts +23 -0
  66. package/dist/esm/components/dic/index.d.ts +23 -0
  67. package/dist/esm/components/form/DQueryForm.d.ts +47 -0
  68. package/dist/esm/components/form/DQueryForm.esm.js +111 -6
  69. package/dist/esm/components/form/index.d.ts +89 -0
  70. package/dist/esm/components/grid/Grid.d.ts +32 -0
  71. package/dist/esm/components/grid/GridItem.d.ts +2 -0
  72. package/dist/esm/components/grid/index.d.ts +32 -0
  73. package/dist/esm/components/index.d.ts +15 -0
  74. package/dist/esm/components/index.esm.js +33 -29
  75. package/dist/esm/components/json-scheme-render/JsonSchemeRender.d.ts +23 -0
  76. package/dist/esm/components/json-scheme-render/JsonSchemeRender.esm.js +62 -0
  77. package/dist/esm/components/json-scheme-render/index.d.ts +47 -0
  78. package/dist/esm/components/json-scheme-render/index.esm.js +6 -0
  79. package/dist/esm/components/layout/Breadcrumb.vue.d.ts +2 -0
  80. package/dist/esm/components/layout/FuckMain.vue.d.ts +17 -0
  81. package/dist/esm/components/layout/List.vue.d.ts +4 -0
  82. package/dist/esm/components/layout/List.vue.esm.js +32 -29
  83. package/dist/esm/components/layout/Main.vue.d.ts +25 -0
  84. package/dist/esm/components/layout/NavTabs.vue.d.ts +2 -0
  85. package/dist/esm/components/layout/Show.vue.d.ts +30 -0
  86. package/dist/esm/components/layout/index.d.ts +70 -0
  87. package/dist/esm/components/menu/Menu.d.ts +2 -0
  88. package/dist/esm/components/modal/Modal.d.ts +43 -0
  89. package/dist/esm/components/modal/index.d.ts +43 -0
  90. package/dist/esm/components/select/Select.vue.d.ts +65 -0
  91. package/dist/esm/components/select/index.d.ts +64 -0
  92. package/dist/esm/components/table/Table.d.ts +80 -0
  93. package/dist/esm/components/table/index.d.ts +75 -0
  94. package/dist/esm/components/table/interface/table.d.ts +36 -0
  95. package/dist/esm/components/theme/index.d.ts +1 -0
  96. package/dist/esm/directive/trim.d.ts +5 -0
  97. package/dist/esm/hooks/http/index.d.ts +28 -0
  98. package/dist/esm/hooks/index.d.ts +2 -0
  99. package/dist/esm/hooks/route/index.d.ts +8 -0
  100. package/dist/esm/store/index.d.ts +7 -0
  101. package/dist/esm/store/modules/Breadcrumb.d.ts +10 -0
  102. package/dist/esm/store/modules/DataDictionary.d.ts +33 -0
  103. package/dist/esm/store/modules/KeepAlive.d.ts +21 -0
  104. package/dist/esm/store/modules/Menu.d.ts +17 -0
  105. package/dist/esm/store/modules/NavTab.d.ts +64 -0
  106. package/dist/esm/store/modules/Settings.d.ts +43 -0
  107. package/dist/esm/store/modules/User.d.ts +21 -0
  108. package/dist/esm/store/types.d.ts +7 -0
  109. package/dist/esm/utils/get.d.ts +1 -0
  110. package/dist/esm/utils/html.d.ts +1 -0
  111. package/dist/esm/utils/index.d.ts +3 -0
  112. package/dist/esm/utils/install.d.ts +4 -0
  113. package/dist/style/layout/style/index.scss +6 -6
  114. package/package.json +1 -1
  115. package/src/components/components.ts +2 -0
  116. package/src/components/date/RangePicker.tsx +63 -0
  117. package/src/components/date/index.ts +6 -0
  118. package/src/components/form/DQueryForm.tsx +177 -8
  119. package/src/components/json-scheme-render/JsonSchemeRender.tsx +101 -0
  120. package/src/components/json-scheme-render/index.ts +6 -0
  121. package/src/components/layout/FuckMain.vue +1 -6
  122. package/src/components/layout/List.vue +8 -5
  123. package/src/components/layout/Main.vue +2 -7
  124. package/src/components/layout/style/index.scss +6 -6
  125. package/src/components/select/Select.vue +1 -1
  126. package/src/tsconfig.json +4 -4
  127. package/src/components/dic/replace.worker.js +0 -20
  128. package/src/components/select/dic.worker.js +0 -27
@@ -0,0 +1,89 @@
1
+ export declare const DQueryForm: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
2
+ scheme: {
3
+ type: () => any[] | Record<string, any>;
4
+ default: () => never[];
5
+ };
6
+ value: {
7
+ type: () => Record<string, unknown>;
8
+ default: () => {};
9
+ };
10
+ labelWidth: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ loading: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "query")[], "reset" | "query", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ scheme: {
20
+ type: () => any[] | Record<string, any>;
21
+ default: () => never[];
22
+ };
23
+ value: {
24
+ type: () => Record<string, unknown>;
25
+ default: () => {};
26
+ };
27
+ labelWidth: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ loading: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ }>> & {
36
+ onReset?: ((...args: any[]) => any) | undefined;
37
+ onQuery?: ((...args: any[]) => any) | undefined;
38
+ }, {
39
+ value: Record<string, unknown>;
40
+ scheme: any[] | Record<string, any>;
41
+ labelWidth: string;
42
+ loading: boolean;
43
+ }>>;
44
+ declare const _default: {
45
+ DQueryForm: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
46
+ scheme: {
47
+ type: () => any[] | Record<string, any>;
48
+ default: () => never[];
49
+ };
50
+ value: {
51
+ type: () => Record<string, unknown>;
52
+ default: () => {};
53
+ };
54
+ labelWidth: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ loading: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "query")[], "reset" | "query", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
+ scheme: {
64
+ type: () => any[] | Record<string, any>;
65
+ default: () => never[];
66
+ };
67
+ value: {
68
+ type: () => Record<string, unknown>;
69
+ default: () => {};
70
+ };
71
+ labelWidth: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ loading: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ }>> & {
80
+ onReset?: ((...args: any[]) => any) | undefined;
81
+ onQuery?: ((...args: any[]) => any) | undefined;
82
+ }, {
83
+ value: Record<string, unknown>;
84
+ scheme: any[] | Record<string, any>;
85
+ labelWidth: string;
86
+ loading: boolean;
87
+ }>>;
88
+ };
89
+ export default _default;
@@ -0,0 +1,32 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ className: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ fill: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ grid: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ className: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ fill: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ grid: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ }>>, {
28
+ fill: boolean;
29
+ className: string;
30
+ grid: string;
31
+ }>;
32
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,32 @@
1
+ export declare const DGrid: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
2
+ className: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ fill: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ grid: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ className: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ fill: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ grid: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ }>>, {
28
+ fill: boolean;
29
+ className: string;
30
+ grid: string;
31
+ }>>;
32
+ export declare const DGridItem: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -0,0 +1,15 @@
1
+ import type { App } from "vue";
2
+ export * from "./components";
3
+ export interface MenuIcon {
4
+ componentName: string | "nativeHtml";
5
+ type: string;
6
+ }
7
+ export interface Options {
8
+ menuIcon: MenuIcon;
9
+ prop?: string;
10
+ }
11
+ export declare const install: (app: App, opts: Options) => void;
12
+ declare const _default: {
13
+ install: (app: App<any>, opts: Options) => void;
14
+ };
15
+ export default _default;
@@ -1,44 +1,48 @@
1
- import { createPinia as m } from "pinia";
2
- import { createPersistedState as n } from "pinia-plugin-persistedstate";
1
+ import { createPinia as n } from "pinia";
2
+ import { createPersistedState as s } from "pinia-plugin-persistedstate";
3
3
  import * as c from "./components.esm.js";
4
4
  import a from "../directive/trim.esm.js";
5
- import { DTable as v } from "./table/index.esm.js";
6
- import { DSelect as b } from "./select/index.esm.js";
7
- import { DDesensitize as I } from "./desensitize/index.esm.js";
8
- import { DDicReplace as T } from "./dic/index.esm.js";
9
- import { DModal as h } from "./modal/index.esm.js";
10
- import { default as y, DQueryForm as G } from "./form/index.esm.js";
11
- import { DGrid as R, DGridItem as j } from "./grid/index.esm.js";
12
- import { DFuckMain as z, DList as E, DMain as L, DNavTabs as N, DShow as O } from "./layout/index.esm.js";
5
+ import { DTable as S } from "./table/index.esm.js";
6
+ import { DSelect as R } from "./select/index.esm.js";
7
+ import { DDesensitize as g } from "./desensitize/index.esm.js";
8
+ import { DDicReplace as k } from "./dic/index.esm.js";
9
+ import { DModal as I } from "./modal/index.esm.js";
10
+ import { default as P, DQueryForm as T } from "./form/index.esm.js";
11
+ import { DGrid as G, DGridItem as j } from "./grid/index.esm.js";
12
+ import { DJsonSchemeRender as z } from "./json-scheme-render/index.esm.js";
13
+ import { DRangePicker as J } from "./date/index.esm.js";
14
+ import { DFuckMain as N, DList as O, DMain as Q, DNavTabs as q, DShow as A } from "./layout/index.esm.js";
13
15
  const t = c, f = function(e, i) {
14
- Object.keys(t).forEach((s) => {
15
- const r = t[s];
16
+ Object.keys(t).forEach((m) => {
17
+ const r = t[m];
16
18
  r.install && e.use(r);
17
19
  });
18
- const o = m();
20
+ const o = n();
19
21
  o.use(
20
- n({
22
+ s({
21
23
  storage: sessionStorage
22
24
  })
23
25
  ), e.use(o), e.directive("trim", a), e.provide("menuIcon", i.menuIcon || {});
24
- }, u = {
26
+ }, l = {
25
27
  install: f
26
28
  };
27
29
  export {
28
- I as DDesensitize,
29
- y as DForm,
30
- z as DFuckMain,
31
- R as DGrid,
30
+ g as DDesensitize,
31
+ P as DForm,
32
+ N as DFuckMain,
33
+ G as DGrid,
32
34
  j as DGridItem,
33
- E as DList,
34
- L as DMain,
35
- h as DModal,
36
- N as DNavTabs,
37
- G as DQueryForm,
38
- b as DSelect,
39
- O as DShow,
40
- v as DTable,
41
- T as DicReplace,
42
- u as default,
35
+ z as DJsonSchemeRender,
36
+ O as DList,
37
+ Q as DMain,
38
+ I as DModal,
39
+ q as DNavTabs,
40
+ T as DQueryForm,
41
+ J as DRangePicker,
42
+ R as DSelect,
43
+ A as DShow,
44
+ S as DTable,
45
+ k as DicReplace,
46
+ l as default,
43
47
  f as install
44
48
  };
@@ -0,0 +1,23 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ layout: {
3
+ type: () => any[] | Record<string, any>;
4
+ default: () => never[];
5
+ };
6
+ value: {
7
+ type: () => Record<string, unknown>;
8
+ default: () => {};
9
+ };
10
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ layout: {
12
+ type: () => any[] | Record<string, any>;
13
+ default: () => never[];
14
+ };
15
+ value: {
16
+ type: () => Record<string, unknown>;
17
+ default: () => {};
18
+ };
19
+ }>>, {
20
+ value: Record<string, unknown>;
21
+ layout: any[] | Record<string, any>;
22
+ }>;
23
+ export default _default;
@@ -0,0 +1,62 @@
1
+ import { defineComponent as y, ref as v, computed as A, createVNode as h, Fragment as b, resolveComponent as R, h as x } from "vue";
2
+ const C = ["a-input", "a-radio", "checkbox", "radio", "textarea"], g = /* @__PURE__ */ y({
3
+ name: "DJsonSchemeRender",
4
+ props: {
5
+ layout: {
6
+ type: [Array, Object],
7
+ default: () => []
8
+ },
9
+ value: {
10
+ type: Object,
11
+ default: () => ({})
12
+ }
13
+ },
14
+ setup(c, {}) {
15
+ const s = v(c.value), {
16
+ renderLayout: d
17
+ } = m(), p = A(() => {
18
+ const a = c.layout;
19
+ return d(a);
20
+ });
21
+ function m() {
22
+ const a = (e) => t(e);
23
+ function t(e) {
24
+ if (Array.isArray(e))
25
+ return e.map(t);
26
+ {
27
+ const {
28
+ type: n,
29
+ props: u,
30
+ body: o
31
+ } = e;
32
+ let l = null;
33
+ Array.isArray(o) ? l = o.map(t) : l = o && t(o);
34
+ let r = {
35
+ ...u
36
+ };
37
+ C.includes(n) && (r = {
38
+ ...r,
39
+ //disabled: props?.disabled || false,
40
+ value: s.value[u.name],
41
+ "onUpdate:value": (f) => {
42
+ s.value[u.name] = f;
43
+ }
44
+ }), n === "a-form" && (r = {
45
+ ...r
46
+ });
47
+ const i = typeof n == "string" ? R(n) : n;
48
+ return x(i, r, {
49
+ default: () => l
50
+ });
51
+ }
52
+ }
53
+ return {
54
+ renderLayout: a
55
+ };
56
+ }
57
+ return () => h(b, null, [p.value]);
58
+ }
59
+ });
60
+ export {
61
+ g as default
62
+ };
@@ -0,0 +1,47 @@
1
+ export declare const DJsonSchemeRender: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
2
+ layout: {
3
+ type: () => any[] | Record<string, any>;
4
+ default: () => never[];
5
+ };
6
+ value: {
7
+ type: () => Record<string, unknown>;
8
+ default: () => {};
9
+ };
10
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ layout: {
12
+ type: () => any[] | Record<string, any>;
13
+ default: () => never[];
14
+ };
15
+ value: {
16
+ type: () => Record<string, unknown>;
17
+ default: () => {};
18
+ };
19
+ }>>, {
20
+ value: Record<string, unknown>;
21
+ layout: any[] | Record<string, any>;
22
+ }>>;
23
+ declare const _default: {
24
+ DJsonSchemeRender: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
25
+ layout: {
26
+ type: () => any[] | Record<string, any>;
27
+ default: () => never[];
28
+ };
29
+ value: {
30
+ type: () => Record<string, unknown>;
31
+ default: () => {};
32
+ };
33
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
+ layout: {
35
+ type: () => any[] | Record<string, any>;
36
+ default: () => never[];
37
+ };
38
+ value: {
39
+ type: () => Record<string, unknown>;
40
+ default: () => {};
41
+ };
42
+ }>>, {
43
+ value: Record<string, unknown>;
44
+ layout: any[] | Record<string, any>;
45
+ }>>;
46
+ };
47
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import e from "../../utils/install.esm.js";
2
+ import o from "./JsonSchemeRender.esm.js";
3
+ const n = e(o);
4
+ export {
5
+ n as DJsonSchemeRender
6
+ };
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,17 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ showConfig: {
4
+ type: __PropType<any>;
5
+ required: false;
6
+ default: any;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ showConfig: {
10
+ type: __PropType<any>;
11
+ required: false;
12
+ default: any;
13
+ };
14
+ }>>, {
15
+ showConfig: any;
16
+ }>;
17
+ export default _sfc_main;
@@ -0,0 +1,4 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "refresh"[], "refresh", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
2
+ onRefresh?: ((...args: any[]) => any) | undefined;
3
+ }, {}>;
4
+ export default _sfc_main;
@@ -1,35 +1,35 @@
1
- import { defineComponent as $, useSlots as B, inject as D, ref as t, watch as u, onUnmounted as E, onActivated as L, onDeactivated as N, resolveComponent as b, openBlock as T, createElementBlock as V, createElementVNode as o, createVNode as m, normalizeClass as W, unref as d, normalizeStyle as S, withCtx as h, renderSlot as l, withDirectives as j, vShow as A } from "vue";
2
- import { useElementSize as O, useResizeObserver as U } from "@vueuse/core";
1
+ import { defineComponent as E, useSlots as H, inject as $, ref as t, watch as u, onUnmounted as B, onActivated as L, onDeactivated as N, resolveComponent as R, openBlock as T, createElementBlock as V, createElementVNode as o, createVNode as m, normalizeClass as W, unref as d, normalizeStyle as S, withCtx as h, renderSlot as l, withDirectives as j, vShow as A } from "vue";
2
+ import { useElementSize as F, useDebounceFn as U } from "@vueuse/core";
3
3
  import { useSettingsStore as q } from "../../store/modules/Settings.esm.js";
4
- import { storeToRefs as F } from "pinia";
5
- import { useRoute as G } from "vue-router";
6
- const I = { class: "ditari-list-layout" }, J = {
4
+ import { storeToRefs as G } from "pinia";
5
+ import { useRoute as I } from "vue-router";
6
+ const J = { class: "ditari-list-layout" }, K = {
7
7
  ref: "contentRef",
8
8
  class: "wrapper"
9
- }, K = { style: { height: "100%" } }, M = { class: "ditari-content-extra" }, P = {
9
+ }, M = { style: { height: "100%" } }, O = { class: "ditari-content-extra" }, P = {
10
10
  name: "DListLayout"
11
- }, se = /* @__PURE__ */ $({
11
+ }, se = /* @__PURE__ */ E({
12
12
  ...P,
13
13
  emits: ["refresh"],
14
14
  setup(Q, { emit: _ }) {
15
- const a = B(), w = q(), k = G(), n = D("configProvider"), { refresh: i } = F(w), z = t(), s = t(), v = 16, c = t(!1), p = t(0);
15
+ const n = H(), b = q(), k = I(), a = $("configProvider"), { refresh: i } = G(b), z = t(), s = t(), v = 16, c = t(!1), p = t(0);
16
16
  let r;
17
17
  u(
18
- () => n == null ? void 0 : n.componentSize,
18
+ () => a == null ? void 0 : a.componentSize,
19
19
  (e) => {
20
20
  f();
21
21
  }
22
22
  ), x();
23
23
  function x() {
24
24
  k.name ? (L(() => {
25
- i.value && (i.value = !1, _("refresh")), r = y();
25
+ i.value && (i.value = !1, _("refresh")), r = g();
26
26
  }), N(() => {
27
27
  r();
28
- })) : (r = y(), E(() => {
28
+ })) : (r = g(), B(() => {
29
29
  r();
30
30
  }));
31
31
  }
32
- function y() {
32
+ function g() {
33
33
  return u(
34
34
  () => i.value,
35
35
  (e) => {
@@ -37,38 +37,41 @@ const I = { class: "ditari-list-layout" }, J = {
37
37
  }
38
38
  );
39
39
  }
40
- const g = t(null), { height: C } = O(g);
40
+ const y = t(null), { height: C } = F(y);
41
41
  u(
42
42
  () => C.value,
43
43
  (e) => {
44
44
  f();
45
45
  }
46
- ), U(document.body, () => {
47
- f();
48
- });
46
+ ), window.addEventListener(
47
+ "resize",
48
+ U(() => {
49
+ f();
50
+ })
51
+ );
49
52
  function f() {
50
53
  c.value = !1, setTimeout(() => {
51
54
  var e;
52
55
  p.value = (e = s == null ? void 0 : s.value) == null ? void 0 : e.offsetHeight, c.value = !0;
53
- }, 300);
56
+ }, 10);
54
57
  }
55
58
  return (e, X) => {
56
- const R = b("a-card"), H = b("a-space");
57
- return T(), V("div", I, [
58
- o("div", J, [
59
- m(R, {
59
+ const w = R("a-card"), D = R("a-space");
60
+ return T(), V("div", J, [
61
+ o("div", K, [
62
+ m(w, {
60
63
  ref_key: "formRef",
61
- ref: g,
64
+ ref: y,
62
65
  bordered: !1,
63
- class: W({ "ditari-list-form": d(a).form }),
64
- style: S({ "margin-bottom": d(a).form ? v + "px" : 0 })
66
+ class: W({ "ditari-list-form": d(n).form }),
67
+ style: S({ "margin-bottom": d(n).form ? v + "px" : 0 })
65
68
  }, {
66
69
  default: h(() => [
67
70
  l(e.$slots, "form")
68
71
  ]),
69
72
  _: 3
70
73
  }, 8, ["class", "style"]),
71
- m(R, {
74
+ m(w, {
72
75
  class: "ditari-list-table",
73
76
  bordered: !1
74
77
  }, {
@@ -77,9 +80,9 @@ const I = { class: "ditari-list-layout" }, J = {
77
80
  ref_key: "toolsRef",
78
81
  ref: z,
79
82
  class: "xi-tools",
80
- style: S({ "margin-bottom": d(a).tools ? v + "px" : 0 })
83
+ style: S({ "margin-bottom": d(n).tools ? v + "px" : 0 })
81
84
  }, [
82
- m(H, null, {
85
+ m(D, null, {
83
86
  default: h(() => [
84
87
  l(e.$slots, "tools")
85
88
  ]),
@@ -91,7 +94,7 @@ const I = { class: "ditari-list-layout" }, J = {
91
94
  ref: s,
92
95
  style: { flex: "1" }
93
96
  }, [
94
- j(o("div", K, [
97
+ j(o("div", M, [
95
98
  l(e.$slots, "table", { height: p.value })
96
99
  ], 512), [
97
100
  [A, c.value]
@@ -101,7 +104,7 @@ const I = { class: "ditari-list-layout" }, J = {
101
104
  _: 3
102
105
  })
103
106
  ], 512),
104
- o("div", M, [
107
+ o("div", O, [
105
108
  l(e.$slots, "default")
106
109
  ])
107
110
  ]);
@@ -0,0 +1,25 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ showConfig: {
4
+ type: __PropType<any>;
5
+ required: false;
6
+ default: any;
7
+ };
8
+ breadcrumbStatus: {
9
+ type: __PropType<boolean | undefined>;
10
+ required: false;
11
+ };
12
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ showConfig: {
14
+ type: __PropType<any>;
15
+ required: false;
16
+ default: any;
17
+ };
18
+ breadcrumbStatus: {
19
+ type: __PropType<boolean | undefined>;
20
+ required: false;
21
+ };
22
+ }>>, {
23
+ showConfig: any;
24
+ }>;
25
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,30 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ close: {
4
+ type: __PropType<boolean | undefined>;
5
+ required: false;
6
+ default: boolean;
7
+ };
8
+ loading: {
9
+ type: __PropType<boolean | undefined>;
10
+ required: false;
11
+ default: boolean;
12
+ };
13
+ }, {
14
+ closePage: () => void;
15
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ close: {
17
+ type: __PropType<boolean | undefined>;
18
+ required: false;
19
+ default: boolean;
20
+ };
21
+ loading: {
22
+ type: __PropType<boolean | undefined>;
23
+ required: false;
24
+ default: boolean;
25
+ };
26
+ }>>, {
27
+ close: boolean | undefined;
28
+ loading: boolean | undefined;
29
+ }>;
30
+ export default _sfc_main;