cnhis-design-vue 3.1.20-beta.1 → 3.1.20-beta.2
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/README.md +123 -123
- package/es/components/big-table/index.d.ts +1 -1
- package/es/components/big-table/src/BigTable.vue.d.ts +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/index.d.ts +1 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +1 -1
- package/es/components/drag-layout/index.d.ts +1 -1
- package/es/components/drag-layout/src/DragLayout.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/form-config/index.d.ts +2 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -1
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/inputGroup.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor2.js +2 -2
- package/es/components/form-table/index.d.ts +1 -1
- package/es/components/form-table/src/FormTable.vue.d.ts +1 -1
- package/es/components/form-table/src/components/index.d.ts +1 -1
- package/es/components/form-table/src/components/table-age.vue.d.ts +1 -1
- package/es/components/info-header/index.d.ts +1 -1
- package/es/components/info-header/src/InfoHeader.vue.d.ts +1 -1
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +2 -2
- package/es/components/select-label/index.d.ts +4 -4
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +2 -2
- package/es/components/select-label/src/SelectLabel.vue.d.ts +2 -2
- package/es/components/select-person/index.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/time-line/index.d.ts +1 -1
- package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
|
@@ -609,7 +609,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
609
609
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
610
610
|
class: import("vue").Ref<string | undefined>;
|
|
611
611
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
612
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
612
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
613
613
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
614
614
|
[key: string]: any;
|
|
615
615
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -3029,7 +3029,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3029
3029
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
3030
3030
|
class: import("vue").Ref<string | undefined>;
|
|
3031
3031
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
3032
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3032
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3033
3033
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3034
3034
|
[key: string]: any;
|
|
3035
3035
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -611,7 +611,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
611
611
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
612
612
|
class: import("vue").Ref<string | undefined>;
|
|
613
613
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
614
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
614
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
615
615
|
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
616
616
|
[key: string]: any;
|
|
617
617
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -3031,7 +3031,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3031
3031
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
3032
3032
|
class: import("vue").Ref<string | undefined>;
|
|
3033
3033
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
3034
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3034
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3035
3035
|
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3036
3036
|
[key: string]: any;
|
|
3037
3037
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -471,7 +471,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
471
471
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
472
472
|
class: import("vue").Ref<string | undefined>;
|
|
473
473
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
474
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
474
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
475
475
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
476
476
|
[key: string]: any;
|
|
477
477
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -2158,7 +2158,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2158
2158
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
2159
2159
|
class: import("vue").Ref<string | undefined>;
|
|
2160
2160
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
2161
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2161
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2162
2162
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2163
2163
|
[key: string]: any;
|
|
2164
2164
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -457,7 +457,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
457
457
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
458
458
|
class: import("vue").Ref<string | undefined>;
|
|
459
459
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
460
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
460
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
461
461
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
462
462
|
[key: string]: any;
|
|
463
463
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -457,7 +457,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
457
457
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
458
458
|
class: import("vue").Ref<string | undefined>;
|
|
459
459
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
460
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
460
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
461
461
|
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
462
462
|
[key: string]: any;
|
|
463
463
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -4,7 +4,7 @@ export declare const INPUT_GROUP: import("vue").DefineComponent<{
|
|
|
4
4
|
[x: symbol]: never;
|
|
5
5
|
}, {
|
|
6
6
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
7
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
7
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
[x: string]: never;
|
|
9
9
|
[x: number]: never;
|
|
10
10
|
[x: symbol]: never;
|
|
@@ -70,6 +70,7 @@ function useFieldListAdaptor(collector) {
|
|
|
70
70
|
const multiple = item2.multi_select === "0";
|
|
71
71
|
Object.assign(schema2["x-component-props"], {
|
|
72
72
|
multiple,
|
|
73
|
+
options: item2.option,
|
|
73
74
|
maxTagCount: parseNumberFromMaybeString(item2.multi_select_value)
|
|
74
75
|
});
|
|
75
76
|
multiple && (schema2.type = "array");
|
|
@@ -83,8 +84,7 @@ function useFieldListAdaptor(collector) {
|
|
|
83
84
|
}
|
|
84
85
|
function bindUrlProps(schema2, item2) {
|
|
85
86
|
Object.assign(schema2["x-component-props"], {
|
|
86
|
-
...pick(item2, ["lazyRequest", "urlConfig"])
|
|
87
|
-
options: item2.option
|
|
87
|
+
...pick(item2, ["lazyRequest", "urlConfig"])
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
};
|
|
@@ -217,7 +217,7 @@ declare const FormTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
217
217
|
[x: symbol]: never;
|
|
218
218
|
}, {
|
|
219
219
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
220
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
220
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
221
221
|
[x: string]: never;
|
|
222
222
|
[x: number]: never;
|
|
223
223
|
[x: symbol]: never;
|
|
@@ -217,7 +217,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
217
217
|
[x: symbol]: never;
|
|
218
218
|
}, {
|
|
219
219
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
220
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
220
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
221
221
|
[x: string]: never;
|
|
222
222
|
[x: number]: never;
|
|
223
223
|
[x: symbol]: never;
|
|
@@ -170,7 +170,7 @@ export declare function useComponents(): {
|
|
|
170
170
|
[x: symbol]: never;
|
|
171
171
|
}, {
|
|
172
172
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
173
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
173
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
174
174
|
[x: string]: never;
|
|
175
175
|
[x: number]: never;
|
|
176
176
|
[x: symbol]: never;
|
|
@@ -170,7 +170,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
170
|
[x: symbol]: never;
|
|
171
171
|
}, {
|
|
172
172
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
173
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
173
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
174
174
|
[x: string]: never;
|
|
175
175
|
[x: number]: never;
|
|
176
176
|
[x: symbol]: never;
|
|
@@ -124,7 +124,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
124
124
|
};
|
|
125
125
|
readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
126
126
|
readonly contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
127
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
127
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
128
128
|
readonly label: StringConstructor;
|
|
129
129
|
readonly span: {
|
|
130
130
|
readonly type: NumberConstructor;
|
|
@@ -125,7 +125,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
125
|
};
|
|
126
126
|
readonly labelStyle: PropType<string | CSSProperties>;
|
|
127
127
|
readonly contentStyle: PropType<string | CSSProperties>;
|
|
128
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
128
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
129
|
readonly label: StringConstructor;
|
|
130
130
|
readonly span: {
|
|
131
131
|
readonly type: NumberConstructor;
|
|
@@ -952,7 +952,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
952
952
|
key: string;
|
|
953
953
|
render: () => import("vue").VNodeChild;
|
|
954
954
|
}[]>;
|
|
955
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
955
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
956
956
|
readonly label: StringConstructor;
|
|
957
957
|
readonly labelWidth: import("vue").PropType<string | number>;
|
|
958
958
|
readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
@@ -951,7 +951,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
951
951
|
key: string;
|
|
952
952
|
render: () => import("vue").VNodeChild;
|
|
953
953
|
}[]>;
|
|
954
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
954
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
955
955
|
readonly label: StringConstructor;
|
|
956
956
|
readonly labelWidth: import("vue").PropType<string | number>;
|
|
957
957
|
readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
@@ -804,7 +804,7 @@ export declare const componentMap: {
|
|
|
804
804
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
805
805
|
class: import("vue").Ref<string | undefined>;
|
|
806
806
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
807
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
807
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
808
808
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
809
809
|
[key: string]: any;
|
|
810
810
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -834,7 +834,7 @@ export declare const componentMap: {
|
|
|
834
834
|
NAnchorLink: import("vue").DefineComponent<{
|
|
835
835
|
readonly title: StringConstructor;
|
|
836
836
|
readonly href: StringConstructor;
|
|
837
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
837
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
838
838
|
readonly title: StringConstructor;
|
|
839
839
|
readonly href: StringConstructor;
|
|
840
840
|
}>>, {}>;
|
|
@@ -307,7 +307,7 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
307
307
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
308
308
|
class: import("vue").Ref<string | undefined>;
|
|
309
309
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
310
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
310
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
311
311
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
312
312
|
[key: string]: any;
|
|
313
313
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -337,7 +337,7 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
337
337
|
NAnchorLink: import("vue").DefineComponent<{
|
|
338
338
|
readonly title: StringConstructor;
|
|
339
339
|
readonly href: StringConstructor;
|
|
340
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
340
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
341
341
|
readonly title: StringConstructor;
|
|
342
342
|
readonly href: StringConstructor;
|
|
343
343
|
}>>, {}>;
|
|
@@ -754,7 +754,7 @@ declare const LabelFormContent: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
754
754
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
755
755
|
class: import("vue").Ref<string | undefined>;
|
|
756
756
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
757
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
757
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
758
758
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
759
759
|
[key: string]: any;
|
|
760
760
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -784,7 +784,7 @@ declare const LabelFormContent: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
784
784
|
NAnchorLink: import("vue").DefineComponent<{
|
|
785
785
|
readonly title: StringConstructor;
|
|
786
786
|
readonly href: StringConstructor;
|
|
787
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
787
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
788
788
|
readonly title: StringConstructor;
|
|
789
789
|
readonly href: StringConstructor;
|
|
790
790
|
}>>, {}>;
|
|
@@ -135,7 +135,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
135
135
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
136
136
|
class: import("vue").Ref<string | undefined>;
|
|
137
137
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
138
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
138
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
139
139
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
140
140
|
[key: string]: any;
|
|
141
141
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -165,7 +165,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
165
|
NAnchorLink: import("vue").DefineComponent<{
|
|
166
166
|
readonly title: StringConstructor;
|
|
167
167
|
readonly href: StringConstructor;
|
|
168
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
168
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
169
169
|
readonly title: StringConstructor;
|
|
170
170
|
readonly href: StringConstructor;
|
|
171
171
|
}>>, {}>;
|
|
@@ -307,7 +307,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
307
307
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
308
308
|
class: import("vue").Ref<string | undefined>;
|
|
309
309
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
310
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
310
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
311
311
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
312
312
|
[key: string]: any;
|
|
313
313
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -337,7 +337,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
337
337
|
NAnchorLink: import("vue").DefineComponent<{
|
|
338
338
|
readonly title: StringConstructor;
|
|
339
339
|
readonly href: StringConstructor;
|
|
340
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
340
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
341
341
|
readonly title: StringConstructor;
|
|
342
342
|
readonly href: StringConstructor;
|
|
343
343
|
}>>, {}>;
|
|
@@ -219,7 +219,7 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
219
219
|
[x: symbol]: never;
|
|
220
220
|
}, {
|
|
221
221
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
222
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
222
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
223
223
|
[x: string]: never;
|
|
224
224
|
[x: number]: never;
|
|
225
225
|
[x: symbol]: never;
|
|
@@ -218,7 +218,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
218
218
|
[x: symbol]: never;
|
|
219
219
|
}, {
|
|
220
220
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
221
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
221
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
222
222
|
[x: string]: never;
|
|
223
223
|
[x: number]: never;
|
|
224
224
|
[x: symbol]: never;
|
|
@@ -2160,7 +2160,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2160
2160
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
2161
2161
|
class: import("vue").Ref<string | undefined>;
|
|
2162
2162
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
2163
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2163
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2164
2164
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2165
2165
|
[key: string]: any;
|
|
2166
2166
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -2162,7 +2162,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2162
2162
|
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
2163
2163
|
class: import("vue").Ref<string | undefined>;
|
|
2164
2164
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
2165
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2165
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2166
2166
|
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2167
2167
|
[key: string]: any;
|
|
2168
2168
|
}> | (() => import("vue").VNodeChild)>;
|
|
@@ -50,7 +50,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
50
50
|
}> | undefined;
|
|
51
51
|
themeClass: import("vue").Ref<string> | undefined;
|
|
52
52
|
onRender: (() => void) | undefined;
|
|
53
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
53
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
54
|
time: import("vue").PropType<string | number>;
|
|
55
55
|
title: StringConstructor;
|
|
56
56
|
content: StringConstructor;
|
|
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
53
|
}> | undefined;
|
|
54
54
|
themeClass: import("vue").Ref<string> | undefined;
|
|
55
55
|
onRender: (() => void) | undefined;
|
|
56
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
56
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
57
|
time: PropType<string | number>;
|
|
58
58
|
title: StringConstructor;
|
|
59
59
|
content: StringConstructor;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
type FixedSizeArray<T extends number, U> = T extends 0
|
|
2
|
+
? void[]
|
|
3
|
+
: ReadonlyArray<U> & {
|
|
4
|
+
0: U;
|
|
5
|
+
length: T;
|
|
6
|
+
};
|
|
7
|
+
type Measure<T extends number> = T extends 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 ? T : never;
|
|
8
|
+
type Append<T extends any[], U> = {
|
|
9
|
+
0: [U];
|
|
10
|
+
1: [T[0], U];
|
|
11
|
+
2: [T[0], T[1], U];
|
|
12
|
+
3: [T[0], T[1], T[2], U];
|
|
13
|
+
4: [T[0], T[1], T[2], T[3], U];
|
|
14
|
+
5: [T[0], T[1], T[2], T[3], T[4], U];
|
|
15
|
+
6: [T[0], T[1], T[2], T[3], T[4], T[5], U];
|
|
16
|
+
7: [T[0], T[1], T[2], T[3], T[4], T[5], T[6], U];
|
|
17
|
+
8: [T[0], T[1], T[2], T[3], T[4], T[5], T[6], T[7], U];
|
|
18
|
+
}[Measure<T['length']>];
|
|
19
|
+
type AsArray<T> = T extends any[] ? T : [T];
|
|
20
|
+
|
|
21
|
+
declare class UnsetAdditionalOptions {
|
|
22
|
+
_UnsetAdditionalOptions: true;
|
|
23
|
+
}
|
|
24
|
+
type IfSet<X> = X extends UnsetAdditionalOptions ? {} : X;
|
|
25
|
+
|
|
26
|
+
type Callback<E, T> = (error: E | null, result?: T) => void;
|
|
27
|
+
type InnerCallback<E, T> = (error?: E | null | false, result?: T) => void;
|
|
28
|
+
|
|
29
|
+
type FullTap = Tap & {
|
|
30
|
+
type: 'sync' | 'async' | 'promise';
|
|
31
|
+
fn: Function;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
type Tap = TapOptions & {
|
|
35
|
+
name: string;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
type TapOptions = {
|
|
39
|
+
before?: string;
|
|
40
|
+
stage?: number;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
interface HookInterceptor<T, R, AdditionalOptions = UnsetAdditionalOptions> {
|
|
44
|
+
name?: string;
|
|
45
|
+
tap?: (tap: FullTap & IfSet<AdditionalOptions>) => void;
|
|
46
|
+
call?: (...args: any[]) => void;
|
|
47
|
+
loop?: (...args: any[]) => void;
|
|
48
|
+
error?: (err: Error) => void;
|
|
49
|
+
result?: (result: R) => void;
|
|
50
|
+
done?: () => void;
|
|
51
|
+
register?: (tap: FullTap & IfSet<AdditionalOptions>) => FullTap & IfSet<AdditionalOptions>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
type ArgumentNames<T extends any[]> = FixedSizeArray<T['length'], string>;
|
|
55
|
+
|
|
56
|
+
declare class Hook<T, R, AdditionalOptions = UnsetAdditionalOptions> {
|
|
57
|
+
constructor(args?: ArgumentNames<AsArray<T>>, name?: string);
|
|
58
|
+
name: string | undefined;
|
|
59
|
+
taps: FullTap[];
|
|
60
|
+
intercept(interceptor: HookInterceptor<T, R, AdditionalOptions>): void;
|
|
61
|
+
isUsed(): boolean;
|
|
62
|
+
callAsync(...args: Append<AsArray<T>, Callback<Error, R>>): void;
|
|
63
|
+
promise(...args: AsArray<T>): Promise<R>;
|
|
64
|
+
tap(options: string | (Tap & IfSet<AdditionalOptions>), fn: (...args: AsArray<T>) => R): void;
|
|
65
|
+
withOptions(options: TapOptions & IfSet<AdditionalOptions>): Omit<this, 'call' | 'callAsync' | 'promise'>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export class SyncHook<T, R = void, AdditionalOptions = UnsetAdditionalOptions> extends Hook<T, R, AdditionalOptions> {
|
|
69
|
+
call(...args: AsArray<T>): R;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class SyncBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<T, R, AdditionalOptions> {}
|
|
73
|
+
export class SyncLoopHook<T, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<T, void, AdditionalOptions> {}
|
|
74
|
+
export class SyncWaterfallHook<T, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<
|
|
75
|
+
T,
|
|
76
|
+
AsArray<T>[0],
|
|
77
|
+
AdditionalOptions
|
|
78
|
+
> {}
|
|
79
|
+
|
|
80
|
+
declare class AsyncHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends Hook<T, R, AdditionalOptions> {
|
|
81
|
+
tapAsync(
|
|
82
|
+
options: string | (Tap & IfSet<AdditionalOptions>),
|
|
83
|
+
fn: (...args: Append<AsArray<T>, InnerCallback<Error, R>>) => void
|
|
84
|
+
): void;
|
|
85
|
+
tapPromise(options: string | (Tap & IfSet<AdditionalOptions>), fn: (...args: AsArray<T>) => Promise<R>): void;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export class AsyncParallelHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
89
|
+
T,
|
|
90
|
+
void,
|
|
91
|
+
AdditionalOptions
|
|
92
|
+
> {}
|
|
93
|
+
export class AsyncParallelBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
94
|
+
T,
|
|
95
|
+
R,
|
|
96
|
+
AdditionalOptions
|
|
97
|
+
> {}
|
|
98
|
+
export class AsyncSeriesHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
99
|
+
T,
|
|
100
|
+
void,
|
|
101
|
+
AdditionalOptions
|
|
102
|
+
> {}
|
|
103
|
+
export class AsyncSeriesBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
104
|
+
T,
|
|
105
|
+
R,
|
|
106
|
+
AdditionalOptions
|
|
107
|
+
> {}
|
|
108
|
+
export class AsyncSeriesLoopHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
109
|
+
T,
|
|
110
|
+
void,
|
|
111
|
+
AdditionalOptions
|
|
112
|
+
> {}
|
|
113
|
+
export class AsyncSeriesWaterfallHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
114
|
+
T,
|
|
115
|
+
AsArray<T>[0],
|
|
116
|
+
AdditionalOptions
|
|
117
|
+
> {}
|
|
118
|
+
|
|
119
|
+
type HookFactory<H> = (key: any, hook?: H) => H;
|
|
120
|
+
|
|
121
|
+
interface HookMapInterceptor<H> {
|
|
122
|
+
factory?: HookFactory<H>;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class HookMap<H> {
|
|
126
|
+
constructor(factory: HookFactory<H>, name?: string);
|
|
127
|
+
name: string | undefined;
|
|
128
|
+
get(key: any): H | undefined;
|
|
129
|
+
for(key: any): H;
|
|
130
|
+
intercept(interceptor: HookMapInterceptor<H>): void;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class MultiHook<H> {
|
|
134
|
+
constructor(hooks: H[], name?: string);
|
|
135
|
+
name: string | undefined;
|
|
136
|
+
tap(options: string | Tap, fn?: Function): void;
|
|
137
|
+
tapAsync(options: string | Tap, fn?: Function): void;
|
|
138
|
+
tapPromise(options: string | Tap, fn?: Function): void;
|
|
139
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.20-beta.
|
|
3
|
+
"version": "3.1.20-beta.2",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"iOS 7",
|
|
67
67
|
"last 3 iOS versions"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "6c6ab160bc65bb020fe6df41dc32ea11d40842af"
|
|
70
70
|
}
|