cnhis-design-vue 3.1.31-beta.4 → 3.1.31-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.
@@ -16,8 +16,8 @@ function useColumnConfigAdaptor() {
16
16
  ["RIGHT", 2]
17
17
  ]);
18
18
  const multipleValueMap = /* @__PURE__ */ new Map([
19
- ["0", false],
20
- ["1", true]
19
+ ["0", true],
20
+ ["1", false]
21
21
  ]);
22
22
  const isEditValueMap = /* @__PURE__ */ new Map([
23
23
  ["0", 0],
@@ -4,7 +4,7 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
4
4
  type: import("vue").PropType<"day" | "dose" | "english">;
5
5
  default: string;
6
6
  };
7
- dragable: {
7
+ drag: {
8
8
  type: BooleanConstructor;
9
9
  default: boolean;
10
10
  };
@@ -35,7 +35,7 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
35
35
  type: import("vue").PropType<"day" | "dose" | "english">;
36
36
  default: string;
37
37
  };
38
- dragable: {
38
+ drag: {
39
39
  type: BooleanConstructor;
40
40
  default: boolean;
41
41
  };
@@ -198,7 +198,7 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
198
198
  type: import("vue").PropType<"day" | "dose" | "english">;
199
199
  default: string;
200
200
  };
201
- dragable: {
201
+ drag: {
202
202
  type: BooleanConstructor;
203
203
  default: boolean;
204
204
  };
@@ -223,8 +223,8 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
223
223
  onChange?: ((...args: any[]) => any) | undefined;
224
224
  onKeydown?: ((...args: any[]) => any) | undefined;
225
225
  }, {
226
+ drag: boolean;
226
227
  mode: "day" | "dose" | "english";
227
- dragable: boolean;
228
228
  positionInitialValue: {
229
229
  x: number;
230
230
  y: number;
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  __name: "Keyboard",
13
13
  props: {
14
14
  mode: { type: String, default: "english" },
15
- dragable: { type: Boolean, default: false },
15
+ drag: { type: Boolean, default: false },
16
16
  positionInitialValue: { type: Object, default: () => ({ x: 0, y: 0 }) },
17
17
  defaultValue: { type: Number },
18
18
  panel: { type: Boolean, default: true }
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  if (props.defaultValue) {
39
39
  currentValue.value = props.defaultValue;
40
40
  }
41
- if (isDefault.value && props.dragable) {
41
+ if (isDefault.value && props.drag) {
42
42
  const { x, y, style: style2 } = useDraggable(englishKeyboardRef, {
43
43
  initialValue: props.positionInitialValue,
44
44
  preventDefault: true,
@@ -93,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
93
93
  onChange: onchange
94
94
  }, null, 8, ["mode", "defaultValue"])) : (openBlock(), createElementBlock("div", {
95
95
  key: 2,
96
- class: normalizeClass(["c-keyboard-english", { isFixed: __props.dragable }]),
96
+ class: normalizeClass(["c-keyboard-english", { isFixed: __props.drag }]),
97
97
  ref_key: "englishKeyboardRef",
98
98
  ref: englishKeyboardRef,
99
99
  style: normalizeStyle(unref(style))
@@ -104,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
104
  justify: "space-between",
105
105
  ref_key: "keyboardDragRef",
106
106
  ref: keyboardDragRef,
107
- style: normalizeStyle({ cursor: __props.dragable ? "move" : "default" })
107
+ style: normalizeStyle({ cursor: __props.drag ? "move" : "default" })
108
108
  }, {
109
109
  default: withCtx(() => [
110
110
  _hoisted_1,
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  type: PropType<"day" | "dose" | "english">;
9
9
  default: string;
10
10
  };
11
- dragable: {
11
+ drag: {
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  type: PropType<"day" | "dose" | "english">;
37
37
  default: string;
38
38
  };
39
- dragable: {
39
+ drag: {
40
40
  type: BooleanConstructor;
41
41
  default: boolean;
42
42
  };
@@ -196,7 +196,7 @@ declare const _default: import("vue").DefineComponent<{
196
196
  type: PropType<"day" | "dose" | "english">;
197
197
  default: string;
198
198
  };
199
- dragable: {
199
+ drag: {
200
200
  type: BooleanConstructor;
201
201
  default: boolean;
202
202
  };
@@ -218,8 +218,8 @@ declare const _default: import("vue").DefineComponent<{
218
218
  onChange?: ((...args: any[]) => any) | undefined;
219
219
  onKeydown?: ((...args: any[]) => any) | undefined;
220
220
  }, {
221
+ drag: boolean;
221
222
  mode: "day" | "dose" | "english";
222
- dragable: boolean;
223
223
  positionInitialValue: IPointer;
224
224
  panel: boolean;
225
225
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.31-beta.4",
3
+ "version": "3.1.31-beta.6",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "86063b8f79b04322a2609eecba39bd6d44de88db"
64
+ "gitHead": "02c56003bafe7264a34771cdf2f1fd2b38c01e2a"
65
65
  }