cnhis-design-vue 3.1.18-beta.5 → 3.1.18-beta.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.
@@ -1,7 +1,7 @@
1
1
  import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
2
2
  import { safeComponentRegister } from '../../shared/utils/index.js';
3
3
  import { loadVxeTable } from '../../shared/utils/loadVxe.js';
4
- import '../../shared/utils/utilExpand.js';
4
+ import { expandXEUtils } from '../../shared/utils/utilExpand.js';
5
5
  import '../index.js';
6
6
  import script from './src/BigTable.js';
7
7
  export { useColumnConfigAdaptor } from './src/hooks/useColumnConfigAdaptor.js';
@@ -12,6 +12,7 @@ BigTable.install = function(app) {
12
12
  safeComponentRegister(app, BigTable, COMPONENT_NAMESPACE + "BigTable");
13
13
  safeComponentRegister(app, Grid, COMPONENT_NAMESPACE + "Grid");
14
14
  loadVxeTable(app);
15
+ return expandXEUtils();
15
16
  };
16
17
 
17
18
  export { BigTable as default };
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  setup(__props) {
15
15
  const props = __props;
16
16
  const currentActiveEditField = inject(InjectionActiveFieldItem);
17
- function active() {
17
+ function setActiveField() {
18
18
  currentActiveEditField.value = props.fieldItem;
19
19
  }
20
20
  const classList = computed(() => {
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  secondary: !unref(disabled),
36
36
  dashed: unref(disabled)
37
37
  }, unref(bindHover)(__props.fieldItem), {
38
- onClick: withModifiers(active, ["stop"]),
38
+ onClick: withModifiers(setActiveField, ["stop"]),
39
39
  class: unref(classList)
40
40
  }), {
41
41
  default: withCtx(() => [
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  [x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
25
25
  }>>;
26
26
  currentActiveEditField: import("vue").Ref<import("../../../../../shared/types").UndefinedAble<FormConfigItem>>;
27
- active: () => void;
27
+ setActiveField: () => void;
28
28
  classList: import("vue").ComputedRef<(string | {
29
29
  'is-active': boolean;
30
30
  })[]>;
@@ -1 +1 @@
1
- export function expandXEUtils(): void;
1
+ export function expandXEUtils(): boolean;
@@ -708,6 +708,7 @@ const expandXEUtils = (() => {
708
708
  }
709
709
  });
710
710
  return () => {
711
+ return false;
711
712
  };
712
713
  })();
713
714
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.18-beta.5",
3
+ "version": "3.1.18-beta.6",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -65,5 +65,5 @@
65
65
  "iOS 7",
66
66
  "last 3 iOS versions"
67
67
  ],
68
- "gitHead": "c8b9bdb41b7894057f6f772db6c18f2f267cb61a"
68
+ "gitHead": "e67ff47bb324aa06f04761ae2c23991b72a7d07a"
69
69
  }