cnhis-design-vue 3.1.36-beta.9 → 3.1.36

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.
@@ -985,6 +985,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
985
985
  text: string;
986
986
  value: any;
987
987
  keyword?: string | undefined;
988
+ disabled?: boolean | undefined;
988
989
  children?: any[] | undefined;
989
990
  }[] | undefined;
990
991
  multi_select?: import("..").FormCommonState | undefined;
@@ -986,6 +986,7 @@ declare const _default: import("vue").DefineComponent<{
986
986
  text: string;
987
987
  value: any;
988
988
  keyword?: string | undefined;
989
+ disabled?: boolean | undefined;
989
990
  children?: any[] | undefined;
990
991
  }[] | undefined;
991
992
  multi_select?: import("../..").FormCommonState | undefined;
@@ -69,6 +69,7 @@ declare const _default: import("vue").DefineComponent<{
69
69
  text: string;
70
70
  value: any;
71
71
  keyword?: string | undefined;
72
+ disabled?: boolean | undefined;
72
73
  children?: any[] | undefined;
73
74
  }[] | undefined;
74
75
  multi_select?: import("../../../../../es/components/form-render").FormCommonState | undefined;
@@ -62,7 +62,8 @@ const script = defineComponent({
62
62
  var _a;
63
63
  return [(_a = options.value) == null ? void 0 : _a.map((option) => createVNode(NCheckbox, {
64
64
  "key": option[valueKey.value],
65
- "value": option[valueKey.value]
65
+ "value": option[valueKey.value],
66
+ "disabled": option.disabled
66
67
  }, {
67
68
  default: () => [option[labelKey.value]]
68
69
  }))];
@@ -83,7 +83,8 @@ const script = defineComponent({
83
83
  default: () => [createVNode(NSpace, {
84
84
  "vertical": props.vertical
85
85
  }, _isSlot(_slot = options.value.map((option) => createVNode(NRadio, {
86
- "value": option[valueKey.value]
86
+ "value": option[valueKey.value],
87
+ "disabled": option.disabled
87
88
  }, {
88
89
  default: () => [option[labelKey.value]]
89
90
  }))) ? _slot : {
@@ -26,6 +26,7 @@ interface OptionItem {
26
26
  text: string;
27
27
  value: any;
28
28
  keyword?: string;
29
+ disabled?: boolean;
29
30
  children?: OptionItem[];
30
31
  }
31
32
  interface FormRendererPayload {
@@ -88,6 +88,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
88
88
  text: string;
89
89
  value: any;
90
90
  keyword?: string | undefined;
91
+ disabled?: boolean | undefined;
91
92
  children?: any[] | undefined;
92
93
  }[] | undefined;
93
94
  multi_select?: import("..").FormCommonState | undefined;
@@ -90,6 +90,7 @@ declare const _default: import("vue").DefineComponent<{
90
90
  text: string;
91
91
  value: any;
92
92
  keyword?: string | undefined;
93
+ disabled?: boolean | undefined;
93
94
  children?: any[] | undefined;
94
95
  }[] | undefined;
95
96
  multi_select?: import("../../../../es/components/form-render").FormCommonState | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.36-beta.9",
3
+ "version": "3.1.36",
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": "dd5ee131ad939cbb8ff2bc74bcc33e3dcb1cb09b"
64
+ "gitHead": "654504447191f49c05578798b6e17c1552ed29de"
65
65
  }