cnhis-design-vue 3.1.12-beta.4 → 3.1.12-beta.5
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.
- package/es/packages/big-table/src/bigTableState.js +1 -1
- package/es/packages/index.css +0 -2
- package/es/packages/scale-view/src/components/formitem/r-collection.d.ts +1 -1
- package/es/packages/scale-view/src/components/formitem/r-collection.js +2 -4
- package/es/packages/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/packages/scale-view/src/hooks/scaleview-init.js +3 -1
- package/es/packages/scale-view/src/hooks/use-component.d.ts +5 -5
- package/es/packages/scale-view/style/index.css +0 -2
- package/package.json +1 -1
package/es/packages/index.css
CHANGED
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
-
}, () => JSX.Element
|
|
14
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
form: {
|
|
16
16
|
type: ObjectConstructor;
|
|
17
17
|
default: () => {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createVNode, resolveComponent, createTextVNode } from 'vue';
|
|
1
|
+
import { defineComponent, computed, createVNode, withDirectives, vShow, resolveComponent, createTextVNode } from 'vue';
|
|
2
2
|
import { NDivider, NIcon } from 'naive-ui';
|
|
3
3
|
import { AlertCircleOutline } from '@vicons/ionicons5';
|
|
4
4
|
|
|
@@ -59,11 +59,9 @@ var RCollection = defineComponent({
|
|
|
59
59
|
}, [describe])]);
|
|
60
60
|
};
|
|
61
61
|
const renderLinebar = () => {
|
|
62
|
-
if (!props.item.title)
|
|
63
|
-
return null;
|
|
64
62
|
return createVNode("div", {
|
|
65
63
|
"class": "linebar-div"
|
|
66
|
-
}, [createVNode("span", null, [props.item.title]), createVNode(resolveComponent("n-divider"), null, null)]);
|
|
64
|
+
}, [withDirectives(createVNode("span", null, [props.item.title]), [[vShow, props.item.title]]), createVNode(resolveComponent("n-divider"), null, null)]);
|
|
67
65
|
};
|
|
68
66
|
const renderPrompt = () => {
|
|
69
67
|
return createVNode("div", {
|
|
@@ -32,7 +32,7 @@ const ScaleViewComputed = (props, state, config) => {
|
|
|
32
32
|
XS: "extrasmall"
|
|
33
33
|
};
|
|
34
34
|
fontSize = keyValue[fontSize];
|
|
35
|
-
const scale = fontSize &&
|
|
35
|
+
const scale = fontSize && (props == null ? void 0 : props.fontSizeObj[fontSize]) || 1;
|
|
36
36
|
const size = 1e4;
|
|
37
37
|
const value = Math.floor(100 / scale * size) / size;
|
|
38
38
|
return {
|
|
@@ -197,6 +197,9 @@ const ScaleViewInit = (props, state, emit, config) => {
|
|
|
197
197
|
var _a, _b;
|
|
198
198
|
if (!list || !list.length)
|
|
199
199
|
return;
|
|
200
|
+
let query = handleQueryParams();
|
|
201
|
+
if ((props == null ? void 0 : props.noBtn) || (query == null ? void 0 : query.noBtn))
|
|
202
|
+
return;
|
|
200
203
|
let matchItem = list.find((item) => item.type === "FRONT_ADDRESS");
|
|
201
204
|
if (!matchItem || !Object.keys(matchItem).length)
|
|
202
205
|
return;
|
|
@@ -206,7 +209,6 @@ const ScaleViewInit = (props, state, emit, config) => {
|
|
|
206
209
|
}
|
|
207
210
|
if (!setting || !Object.keys(setting).length)
|
|
208
211
|
return;
|
|
209
|
-
let query = handleQueryParams();
|
|
210
212
|
if ((query == null ? void 0 : query.redirect) == 1 || ((_a = props.params) == null ? void 0 : _a.redirect) == 1 || query.isEdit == 3 || ((_b = props.params) == null ? void 0 : _b.isEdit) == 3)
|
|
211
213
|
return;
|
|
212
214
|
let { frontAddress } = setting;
|
|
@@ -13,7 +13,7 @@ export declare const componentMap: {
|
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
-
}, () => JSX.Element
|
|
16
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
form: {
|
|
18
18
|
type: ObjectConstructor;
|
|
19
19
|
default: () => {};
|
|
@@ -44,7 +44,7 @@ export declare const componentMap: {
|
|
|
44
44
|
type: BooleanConstructor;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
-
}, () => JSX.Element
|
|
47
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
form: {
|
|
49
49
|
type: ObjectConstructor;
|
|
50
50
|
default: () => {};
|
|
@@ -10190,7 +10190,7 @@ export declare const componentMap: {
|
|
|
10190
10190
|
type: BooleanConstructor;
|
|
10191
10191
|
default: boolean;
|
|
10192
10192
|
};
|
|
10193
|
-
}, () => JSX.Element
|
|
10193
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10194
10194
|
form: {
|
|
10195
10195
|
type: ObjectConstructor;
|
|
10196
10196
|
default: () => {};
|
|
@@ -10221,7 +10221,7 @@ export declare const componentMap: {
|
|
|
10221
10221
|
type: BooleanConstructor;
|
|
10222
10222
|
default: boolean;
|
|
10223
10223
|
};
|
|
10224
|
-
}, () => JSX.Element
|
|
10224
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10225
10225
|
form: {
|
|
10226
10226
|
type: ObjectConstructor;
|
|
10227
10227
|
default: () => {};
|
|
@@ -10252,7 +10252,7 @@ export declare const componentMap: {
|
|
|
10252
10252
|
type: BooleanConstructor;
|
|
10253
10253
|
default: boolean;
|
|
10254
10254
|
};
|
|
10255
|
-
}, () => JSX.Element
|
|
10255
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10256
10256
|
form: {
|
|
10257
10257
|
type: ObjectConstructor;
|
|
10258
10258
|
default: () => {};
|