hs-admin-ui 17.0.4 → 17.0.6

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,46 @@
1
+ import { defineComponent as m, inject as i, shallowRef as b, resolveComponent as h, createElementBlock as y, openBlock as C, createVNode as k, unref as v, toValue as D } from "vue";
2
+ import { f as x } from "./index-CN_m_pg7.js";
3
+ import { a3 as E } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
4
+ const T = { class: "table-wrapter" }, I = /* @__PURE__ */ m({
5
+ __name: "table",
6
+ setup(g, { expose: _ }) {
7
+ const s = i("stateTable"), c = i("stateSetting"), l = b();
8
+ function f(e) {
9
+ var o, n;
10
+ const t = ((n = (o = D(s)) == null ? void 0 : o.form) == null ? void 0 : n.formData) || {};
11
+ Object.keys(t).reduce(
12
+ (r, a) => {
13
+ if (a.startsWith("_")) {
14
+ const [u] = a.split("|");
15
+ Number(u.slice(1)) === x.DATE && (r[a] = t[a]);
16
+ }
17
+ return r;
18
+ },
19
+ { id: t.id }
20
+ ), e.setQueryData(t, !0), l.value = e;
21
+ }
22
+ function p(e) {
23
+ console.log(e), console.log("钻取列数据", c == null ? void 0 : c.drills);
24
+ }
25
+ function d() {
26
+ var e;
27
+ (e = l.value) == null || e.search();
28
+ }
29
+ return _({
30
+ search: d
31
+ }), (e, t) => {
32
+ const o = h("bc-table");
33
+ return C(), y("div", T, [
34
+ k(o, {
35
+ isStatic: !1,
36
+ data: v(s),
37
+ onReady: f,
38
+ onCellClick: p
39
+ }, null, 8, ["data"])
40
+ ]);
41
+ };
42
+ }
43
+ }), R = /* @__PURE__ */ E(I, [["__scopeId", "data-v-c07c0dde"]]);
44
+ export {
45
+ R as default
46
+ };
@@ -3,6 +3,11 @@ type __VLS_Props = {
3
3
  text: string;
4
4
  value: Date | Function;
5
5
  }>;
6
+ popperClass?: string;
7
+ format?: string;
8
+ dateFormat?: string;
9
+ timeFormat?: string;
10
+ showShortcuts?: boolean;
6
11
  };
7
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
13
  declare const _default: typeof __VLS_export;
@@ -40,11 +40,21 @@ export declare const baseComponents: {
40
40
  text: string;
41
41
  value: Date | Function;
42
42
  }>;
43
+ popperClass?: string;
44
+ format?: string;
45
+ dateFormat?: string;
46
+ timeFormat?: string;
47
+ showShortcuts?: boolean;
43
48
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
44
49
  shortcuts?: Array<{
45
50
  text: string;
46
51
  value: Date | Function;
47
52
  }>;
53
+ popperClass?: string;
54
+ format?: string;
55
+ dateFormat?: string;
56
+ timeFormat?: string;
57
+ showShortcuts?: boolean;
48
58
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
49
59
  Descriptions: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
60
  DescriptionsItem: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
- declare var __VLS_11: {};
1
+ declare var __VLS_13: {};
2
2
  type __VLS_Slots = {} & {
3
- empty?: (props: typeof __VLS_11) => any;
3
+ empty?: (props: typeof __VLS_13) => any;
4
4
  };
5
5
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  preview: {
@@ -1,25 +1,17 @@
1
- import { _ } from "./lodash-D9wEYdiM.js";
2
- import { I as ElLoading, O as VxeUIExport, P as VxeTableExport } from "./vendor-DgfWUdiw.js";
3
- import { Q } from "./vendor-DgfWUdiw.js";
4
- import { N as NEXT_NAME, I as IS_DEV, C as CurrentRoute, a as CurrentRouter } from "./business-BjiJZ1r_.js";
5
- import { H, e, f, h, m } from "./business-BjiJZ1r_.js";
1
+ import { aT as r, b1 as u, b2 as l, b3 as x, H as m, aR as s, b4 as E } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
2
+ import { W as _, b5 as g, b6 as H, b7 as N, aw as R } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
3
+ import { V as b } from "./components-jA6cfy0p.js";
6
4
  import "vue";
7
- function useHsAdminUi(app, options) {
8
- NEXT_NAME.value = options == null ? void 0 : options.NEXT_NAME;
9
- IS_DEV.value = options == null ? void 0 : options.IS_DEV;
10
- CurrentRoute.value = options == null ? void 0 : options.currentRoute;
11
- CurrentRouter.value = options == null ? void 0 : options.currentRouter;
12
- if (!_.has(app, "_context.directives.loading")) {
13
- app.directive("loading", ElLoading.directive);
14
- }
15
- app.use(VxeUIExport).use(VxeTableExport);
5
+ import { i as I } from "./index-BEjZGPL9.js";
6
+ function t(a, e) {
7
+ r.value = e == null ? void 0 : e.NEXT_NAME, u.value = e == null ? void 0 : e.IS_DEV, l.value = e == null ? void 0 : e.currentRoute, x.value = e == null ? void 0 : e.currentRouter, m.has(a, "_context.directives.loading") || a.directive("loading", s.directive), a.use(E).use(b);
16
8
  }
17
9
  export {
18
- H as HsMessage,
19
- e as HsMessageBox,
20
- f as HsNotification,
21
- h as Utils,
22
- Q as VxeUI,
23
- m as mathTool,
24
- useHsAdminUi
10
+ _ as HsMessage,
11
+ g as HsMessageBox,
12
+ H as HsNotification,
13
+ I as Utils,
14
+ N as VxeUI,
15
+ R as mathTool,
16
+ t as useHsAdminUi
25
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hs-admin-ui",
3
- "version": "17.0.4",
3
+ "version": "17.0.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",