@jiaozhiye/qm-design-react 1.0.0-beta.13 → 1.0.0-beta.14
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/lib/form/src/form-cascader.d.ts +1 -1
- package/lib/form/src/form-multiple-search-helper.d.ts +10 -0
- package/lib/form/src/form.d.ts +2 -0
- package/lib/form/src/types.d.ts +1 -1
- package/lib/form/style/index.less +9 -1
- package/lib/index.esm.js +2 -2
- package/lib/index.full.js +1 -1
- package/lib/index.js +2 -2
- package/lib/search-helper/src/search-helper.d.ts +1 -0
- package/lib/style/index.css +1 -1
- package/package.json +3 -2
- package/lib/form/src/china-data.d.ts +0 -4577
|
@@ -14,7 +14,7 @@ declare class FormCascader extends Component<IProps, IState> {
|
|
|
14
14
|
state: IState;
|
|
15
15
|
componentDidMount(): void;
|
|
16
16
|
componentDidUpdate(prevProps: IProps): void;
|
|
17
|
-
createViewText(val: string |
|
|
17
|
+
createViewText(val: string | string[], items: IDict[]): string;
|
|
18
18
|
getItemList(): Promise<void>;
|
|
19
19
|
render(): React.ReactElement;
|
|
20
20
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import type { IFormItem } from './types';
|
|
3
|
+
declare type IProps = {
|
|
4
|
+
option: IFormItem;
|
|
5
|
+
};
|
|
6
|
+
declare class FormMultipleSearchHelper extends Component<IProps> {
|
|
7
|
+
static contextType: React.Context<import("./context").IFormContext | undefined>;
|
|
8
|
+
render(): React.ReactElement;
|
|
9
|
+
}
|
|
10
|
+
export default FormMultipleSearchHelper;
|
package/lib/form/src/form.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ declare class QmForm extends Component<IProps, IState> {
|
|
|
116
116
|
INPUT_NUMBER(option: IFormItem): JSXElement;
|
|
117
117
|
RANGE_INPUT_NUMBER(option: IFormItem): JSXElement;
|
|
118
118
|
SEARCH_HELPER(option: IFormItem): JSXElement;
|
|
119
|
+
MULTIPLE_SEARCH_HELPER(option: IFormItem): JSXElement;
|
|
119
120
|
CHECKBOX(option: IFormItem): JSXElement;
|
|
120
121
|
MULTIPLE_CHECKBOX(option: IFormItem): JSXElement;
|
|
121
122
|
RADIO(option: IFormItem): JSXElement;
|
|
@@ -132,6 +133,7 @@ declare class QmForm extends Component<IProps, IState> {
|
|
|
132
133
|
TREE_SELECT(option: IFormItem): JSXElement;
|
|
133
134
|
MULTIPLE_TREE_SELECT(option: IFormItem): JSXElement;
|
|
134
135
|
CASCADER(option: IFormItem): JSXElement;
|
|
136
|
+
MULTIPLE_CASCADER(option: IFormItem): JSXElement;
|
|
135
137
|
CITY_SELECT(option: IFormItem): JSXElement;
|
|
136
138
|
REGION_SELECT(option: IFormItem): JSXElement;
|
|
137
139
|
UPLOAD_FILE(option: IFormItem): JSXElement;
|
package/lib/form/src/types.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const DEFAULT_TRUE_VALUE = "1";
|
|
|
11
11
|
export declare const DEFAULT_FALSE_VALUE = "0";
|
|
12
12
|
export declare type ILabelAlign = 'left' | 'right';
|
|
13
13
|
export declare type IFormType = 'default' | 'search' | 'onlyShow';
|
|
14
|
-
export declare type IFormItemType = 'DIVIDER' | 'INPUT' | 'TEXT_AREA' | 'RANGE_INPUT' | 'INPUT_NUMBER' | 'RANGE_INPUT_NUMBER' | 'CHECKBOX' | 'MULTIPLE_CHECKBOX' | 'RADIO' | 'SWITCH' | 'DATE' | 'RANGE_DATE' | 'TIME' | 'RANGE_TIME' | 'SELECT' | 'MULTIPLE_SELECT' | 'IMMEDIATE' | 'SEARCH_HELPER' | 'TREE_SELECT' | 'MULTIPLE_TREE_SELECT' | 'CASCADER' | 'CITY_SELECT' | 'REGION_SELECT' | 'UPLOAD_FILE' | 'UPLOAD_IMG' | 'TINYMCE';
|
|
14
|
+
export declare type IFormItemType = 'DIVIDER' | 'INPUT' | 'TEXT_AREA' | 'RANGE_INPUT' | 'INPUT_NUMBER' | 'RANGE_INPUT_NUMBER' | 'CHECKBOX' | 'MULTIPLE_CHECKBOX' | 'RADIO' | 'SWITCH' | 'DATE' | 'RANGE_DATE' | 'TIME' | 'RANGE_TIME' | 'SELECT' | 'MULTIPLE_SELECT' | 'IMMEDIATE' | 'SEARCH_HELPER' | 'MULTIPLE_SEARCH_HELPER' | 'TREE_SELECT' | 'MULTIPLE_TREE_SELECT' | 'CASCADER' | 'MULTIPLE_CASCADER' | 'CITY_SELECT' | 'REGION_SELECT' | 'UPLOAD_FILE' | 'UPLOAD_IMG' | 'TINYMCE';
|
|
15
15
|
export declare const ARRAY_TYPE: IFormItemType[];
|
|
16
16
|
export declare const BUILT_IN_PLACEMENTS: BuildInPlacements;
|
|
17
17
|
export declare type IDateType = 'date' | 'datetime' | 'exactdate' | 'week' | 'month' | 'quarter' | 'year';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-07-23 19:05:57
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2022-
|
|
5
|
+
* @Last Modified time: 2022-02-27 12:04:33
|
|
6
6
|
*/
|
|
7
7
|
@import '../../style/common';
|
|
8
8
|
|
|
@@ -77,6 +77,14 @@
|
|
|
77
77
|
.site-input-right:focus {
|
|
78
78
|
border-left-width: 1px;
|
|
79
79
|
}
|
|
80
|
+
// select group
|
|
81
|
+
.ant-input-group > .ant-select:first-child {
|
|
82
|
+
z-index: 1;
|
|
83
|
+
.ant-select-selector {
|
|
84
|
+
border-top-right-radius: 0;
|
|
85
|
+
border-bottom-right-radius: 0;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
80
88
|
}
|
|
81
89
|
// ------ size ------
|
|
82
90
|
// 40 32 24
|