@para-ui/core 4.0.43 → 4.0.45
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/CodeEditor/index.d.ts +164 -0
- package/CodeEditor/index.js +231 -0
- package/CodeEditor/lang/en_US.d.ts +7 -0
- package/CodeEditor/lang/index.d.ts +27 -0
- package/CodeEditor/lang/zh_CN.d.ts +7 -0
- package/CollapseLayout/index.d.ts +3 -1
- package/CollapseLayout/index.js +4 -2
- package/ComboSelect/index.js +2 -2
- package/DynamicMultiBox/index.js +2 -2
- package/Form/index.js +2 -2
- package/FormItem/index.js +2 -2
- package/Pagination/index.d.ts +2 -0
- package/Pagination/index.js +108 -61
- package/README.md +12 -0
- package/Select/index.js +2 -2
- package/Table/index.js +495 -427
- package/Table/interface.d.ts +2 -0
- package/Table/tablePaginationInterface.d.ts +2 -0
- package/index.d.ts +2 -0
- package/index.js +2 -1
- package/locale/en-US.d.ts +6 -0
- package/locale/index.d.ts +12 -0
- package/locale/index.js +12 -0
- package/locale/zh-CN.d.ts +6 -0
- package/package.json +1 -1
- package/umd/CodeEditor.js +31 -0
- package/umd/CollapseLayout.js +1 -1
- package/umd/ComboSelect.js +2 -2
- package/umd/DynamicMultiBox.js +2 -2
- package/umd/Form.js +2 -2
- package/umd/FormItem.js +2 -2
- package/umd/Pagination.js +2 -2
- package/umd/Table.js +3 -3
- package/umd/locale.js +1 -1
- /package/_verture/{index-4b1025fa.js → index-95e30df5.js} +0 -0
package/Table/interface.d.ts
CHANGED
|
@@ -191,6 +191,8 @@ export interface TableProps extends TableHeadBodyPublicProps {
|
|
|
191
191
|
flippingArrow?: PaginationFlippingArrow[];
|
|
192
192
|
/** 自适应分页,根据外容器大小,改变分页模式 */
|
|
193
193
|
autoPagination?: boolean;
|
|
194
|
+
/** 重新计算分页换行不换行 */
|
|
195
|
+
resizePaginationLine?: string | number;
|
|
194
196
|
/** 渲染表格一行数据 (跟表格头部head里面的render参数互斥) */
|
|
195
197
|
tableCell?: (row: any, params: any) => ReactNode;
|
|
196
198
|
/** 请求回调参数 requestCallback(data, cb) cb(data) 需要回调数据回来 */
|
package/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export { default as Checkbox } from './Checkbox';
|
|
|
26
26
|
export * from './Checkbox';
|
|
27
27
|
export { default as CheckboxGroup } from './CheckboxGroup';
|
|
28
28
|
export * from './CheckboxGroup';
|
|
29
|
+
export { default as CodeEditor } from './CodeEditor';
|
|
30
|
+
export * from './CodeEditor';
|
|
29
31
|
export { default as Collapse } from './Collapse';
|
|
30
32
|
export * from './Collapse';
|
|
31
33
|
export { default as CollapseBox } from './CollapseBox';
|
package/index.js
CHANGED
|
@@ -12,6 +12,7 @@ export { Carousel } from './Carousel/index.js';
|
|
|
12
12
|
export { C as Cascader } from './_verture/index-3fcb421f.js';
|
|
13
13
|
export { Checkbox } from './Checkbox/index.js';
|
|
14
14
|
export { CheckboxGroup } from './CheckboxGroup/index.js';
|
|
15
|
+
export { default as CodeEditor, CompletionItemKind } from './CodeEditor/index.js';
|
|
15
16
|
export { Collapse } from './Collapse/index.js';
|
|
16
17
|
export { default as CollapseBox } from './CollapseBox/index.js';
|
|
17
18
|
export { default as CollapseLayout } from './CollapseLayout/index.js';
|
|
@@ -30,7 +31,7 @@ export { D as Dropdown } from './_verture/index-bde7aabe.js';
|
|
|
30
31
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
31
32
|
export { default as Empty } from './Empty/index.js';
|
|
32
33
|
export { default as Form } from './Form/index.js';
|
|
33
|
-
export { F as FormItem } from './_verture/index-
|
|
34
|
+
export { F as FormItem } from './_verture/index-95e30df5.js';
|
|
34
35
|
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-369509dd.js';
|
|
35
36
|
export { G as GlobalContext, c as changeConfirmLocale, g as getConfirmLocale } from './_verture/index-ca413216.js';
|
|
36
37
|
export { default as Help } from './Help/index.js';
|
package/locale/en-US.d.ts
CHANGED
|
@@ -33,6 +33,12 @@ declare const _default: {
|
|
|
33
33
|
placeholder: string;
|
|
34
34
|
disableTilte: string;
|
|
35
35
|
};
|
|
36
|
+
CodeEditor: {
|
|
37
|
+
format: string;
|
|
38
|
+
pleaseEnter: string;
|
|
39
|
+
codeSnippet: string;
|
|
40
|
+
help: string;
|
|
41
|
+
};
|
|
36
42
|
ComboSelect: {
|
|
37
43
|
searchPlaceholder: string;
|
|
38
44
|
cancel: string;
|
package/locale/index.d.ts
CHANGED
|
@@ -34,6 +34,12 @@ declare const _default: {
|
|
|
34
34
|
placeholder: string;
|
|
35
35
|
disableTilte: string;
|
|
36
36
|
};
|
|
37
|
+
CodeEditor: {
|
|
38
|
+
format: string;
|
|
39
|
+
pleaseEnter: string;
|
|
40
|
+
codeSnippet: string;
|
|
41
|
+
help: string;
|
|
42
|
+
};
|
|
37
43
|
ComboSelect: {
|
|
38
44
|
searchPlaceholder: string;
|
|
39
45
|
cancel: string;
|
|
@@ -342,6 +348,12 @@ declare const _default: {
|
|
|
342
348
|
placeholder: string;
|
|
343
349
|
disableTilte: string;
|
|
344
350
|
};
|
|
351
|
+
CodeEditor: {
|
|
352
|
+
format: string;
|
|
353
|
+
pleaseEnter: string;
|
|
354
|
+
codeSnippet: string;
|
|
355
|
+
help: string;
|
|
356
|
+
};
|
|
345
357
|
ComboSelect: {
|
|
346
358
|
searchPlaceholder: string;
|
|
347
359
|
cancel: string;
|
package/locale/index.js
CHANGED
|
@@ -33,6 +33,12 @@ var enUS = {
|
|
|
33
33
|
"placeholder": "Please Choose",
|
|
34
34
|
"disableTilte": "Disable"
|
|
35
35
|
},
|
|
36
|
+
"CodeEditor": {
|
|
37
|
+
"format": "format",
|
|
38
|
+
"pleaseEnter": "Please enter",
|
|
39
|
+
"codeSnippet": "code snippet",
|
|
40
|
+
"help": "help"
|
|
41
|
+
},
|
|
36
42
|
"ComboSelect": {
|
|
37
43
|
"searchPlaceholder": "Please enter",
|
|
38
44
|
"cancel": "Cancel",
|
|
@@ -342,6 +348,12 @@ var zhCN = {
|
|
|
342
348
|
"placeholder": "请选择",
|
|
343
349
|
"disableTilte": "禁用"
|
|
344
350
|
},
|
|
351
|
+
"CodeEditor": {
|
|
352
|
+
"format": "格式化",
|
|
353
|
+
"pleaseEnter": "请输入",
|
|
354
|
+
"codeSnippet": "代码片段",
|
|
355
|
+
"help": "帮助"
|
|
356
|
+
},
|
|
345
357
|
"ComboSelect": {
|
|
346
358
|
"searchPlaceholder": "请输入",
|
|
347
359
|
"cancel": "取消",
|
package/locale/zh-CN.d.ts
CHANGED
|
@@ -33,6 +33,12 @@ declare const _default: {
|
|
|
33
33
|
placeholder: string;
|
|
34
34
|
disableTilte: string;
|
|
35
35
|
};
|
|
36
|
+
CodeEditor: {
|
|
37
|
+
format: string;
|
|
38
|
+
pleaseEnter: string;
|
|
39
|
+
codeSnippet: string;
|
|
40
|
+
help: string;
|
|
41
|
+
};
|
|
36
42
|
ComboSelect: {
|
|
37
43
|
searchPlaceholder: string;
|
|
38
44
|
cancel: string;
|