@teamias/rex-pro 0.0.7 → 0.0.8

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.
Files changed (64) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +65 -65
  3. package/dist/components/card-basic-info/index.d.ts +2 -2
  4. package/dist/components/card-basic-info/index.js +1 -1
  5. package/dist/components/card-basic-info/{card-basic-info.js → v1/card-basic-info.js} +5 -5
  6. package/dist/components/card-basic-info/{style → v1/style}/index.js +1 -1
  7. package/dist/components/filter-form/index.d.ts +1 -1
  8. package/dist/components/filter-form/index.js +1 -1
  9. package/dist/components/rex-pro-form/index.d.ts +1 -1
  10. package/dist/components/rex-pro-form/index.js +1 -1
  11. package/dist/components/rex-pro-table/index.d.ts +2 -2
  12. package/dist/components/rex-pro-table/index.js +1 -1
  13. package/dist/components/rex-pro-table/{components → v1/components}/drawer-table/index.js +2 -2
  14. package/dist/components/rex-pro-table/{components → v1/components}/modal-form/InlineForm.d.ts +1 -1
  15. package/dist/components/rex-pro-table/{components → v1/components}/modal-form/InlineForm.js +1 -1
  16. package/dist/components/rex-pro-table/{components → v1/components}/modal-form/index.js +2 -2
  17. package/dist/components/rex-pro-table/{demo → v1/demo}/BasicRexProTable.js +1 -1
  18. package/dist/components/rex-pro-table/{rex-pro-table.js → v1/rex-pro-table.js} +1 -1
  19. package/dist/components/rex-pro-table/{style → v1/style}/index.js +4 -4
  20. package/dist/components/rex-pro-table/{types.d.ts → v1/types.d.ts} +1 -1
  21. package/dist/locales/en-US.json +26 -26
  22. package/dist/locales/zh-CN.json +26 -26
  23. package/dist/types/svg.d.ts +4 -4
  24. package/package.json +2 -1
  25. /package/dist/components/card-basic-info/{card-basic-info.d.ts → v1/card-basic-info.d.ts} +0 -0
  26. /package/dist/components/card-basic-info/{demo → v1/demo}/BasicCardBasicInfo.d.ts +0 -0
  27. /package/dist/components/card-basic-info/{demo → v1/demo}/BasicCardBasicInfo.js +0 -0
  28. /package/dist/components/card-basic-info/{demo → v1/demo}/LinkContentType.d.ts +0 -0
  29. /package/dist/components/card-basic-info/{demo → v1/demo}/LinkContentType.js +0 -0
  30. /package/dist/components/card-basic-info/{demo → v1/demo}/TableUsage.d.ts +0 -0
  31. /package/dist/components/card-basic-info/{demo → v1/demo}/TableUsage.js +0 -0
  32. /package/dist/components/card-basic-info/{demo → v1/demo}/TagContentType.d.ts +0 -0
  33. /package/dist/components/card-basic-info/{demo → v1/demo}/TagContentType.js +0 -0
  34. /package/dist/components/card-basic-info/{demo → v1/demo}/TextAndTagContentType.d.ts +0 -0
  35. /package/dist/components/card-basic-info/{demo → v1/demo}/TextAndTagContentType.js +0 -0
  36. /package/dist/components/card-basic-info/{demo → v1/demo}/TextContentType.d.ts +0 -0
  37. /package/dist/components/card-basic-info/{demo → v1/demo}/TextContentType.js +0 -0
  38. /package/dist/components/card-basic-info/{style → v1/style}/index.d.ts +0 -0
  39. /package/dist/components/filter-form/{demo → v1/demo}/AverageFilterForm.d.ts +0 -0
  40. /package/dist/components/filter-form/{demo → v1/demo}/AverageFilterForm.js +0 -0
  41. /package/dist/components/filter-form/{demo → v1/demo}/BasicFilterForm.d.ts +0 -0
  42. /package/dist/components/filter-form/{demo → v1/demo}/BasicFilterForm.js +0 -0
  43. /package/dist/components/filter-form/{filter-form.d.ts → v1/filter-form.d.ts} +0 -0
  44. /package/dist/components/filter-form/{filter-form.js → v1/filter-form.js} +0 -0
  45. /package/dist/components/filter-form/{style → v1/style}/index.d.ts +0 -0
  46. /package/dist/components/filter-form/{style → v1/style}/index.js +0 -0
  47. /package/dist/components/rex-pro-form/{demo → v1/demo}/BasicRexProForm.d.ts +0 -0
  48. /package/dist/components/rex-pro-form/{demo → v1/demo}/BasicRexProForm.js +0 -0
  49. /package/dist/components/rex-pro-form/{rex-pro-form.d.ts → v1/rex-pro-form.d.ts} +0 -0
  50. /package/dist/components/rex-pro-form/{rex-pro-form.js → v1/rex-pro-form.js} +0 -0
  51. /package/dist/components/rex-pro-form/{style → v1/style}/index.d.ts +0 -0
  52. /package/dist/components/rex-pro-form/{style → v1/style}/index.js +0 -0
  53. /package/dist/components/rex-pro-table/{components → v1/components}/ActionButtons.d.ts +0 -0
  54. /package/dist/components/rex-pro-table/{components → v1/components}/ActionButtons.js +0 -0
  55. /package/dist/components/rex-pro-table/{components → v1/components}/drawer-table/InlineTable.d.ts +0 -0
  56. /package/dist/components/rex-pro-table/{components → v1/components}/drawer-table/InlineTable.js +0 -0
  57. /package/dist/components/rex-pro-table/{components → v1/components}/drawer-table/index.d.ts +0 -0
  58. /package/dist/components/rex-pro-table/{components → v1/components}/modal-form/index.d.ts +0 -0
  59. /package/dist/components/rex-pro-table/{demo → v1/demo}/BasicRexProListTable.d.ts +0 -0
  60. /package/dist/components/rex-pro-table/{demo → v1/demo}/BasicRexProListTable.js +0 -0
  61. /package/dist/components/rex-pro-table/{demo → v1/demo}/BasicRexProTable.d.ts +0 -0
  62. /package/dist/components/rex-pro-table/{rex-pro-table.d.ts → v1/rex-pro-table.d.ts} +0 -0
  63. /package/dist/components/rex-pro-table/{style → v1/style}/index.d.ts +0 -0
  64. /package/dist/components/rex-pro-table/{types.js → v1/types.js} +0 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) cloudovo
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) cloudovo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,65 +1,65 @@
1
- # @teamias/rex-pro
2
-
3
- [![NPM version](https://img.shields.io/npm/v/@teamias/rex-pro.svg?style=flat)](https://npmjs.org/package/@teamias/rex-pro)
4
- [![NPM downloads](http://img.shields.io/npm/dm/@teamias/rex-pro.svg?style=flat)](https://npmjs.org/package/@teamias/rex-pro)
5
-
6
- 用 dumi 开发的 react 库
7
-
8
- ## Usage
9
-
10
- ### 安装组件库
11
-
12
- ```bash
13
- # 安装组件库
14
- $ pnpm add @teamias/rex-pro
15
-
16
- ```
17
-
18
- ### 代码引用
19
-
20
- ```ts
21
- import { ActionButtons } from '@teamias/rex-pro';
22
- ```
23
-
24
- ## Options
25
-
26
- TODO
27
-
28
- ## Development
29
-
30
- ```bash
31
- # 安装依赖项
32
- $ pnpm install
33
-
34
- # 通过文档演示开发库
35
- $ pnpm start
36
-
37
- # 构建库源代码
38
- $ pnpm run build
39
-
40
- # 在监视模式下构建库源代码
41
- $ pnpm run build:watch
42
-
43
- # 生成文档
44
- $ pnpm run docs:build
45
-
46
- # 本地预览生产构建。
47
- $ pnpm run docs:preview
48
-
49
- # 检查项目的潜在问题
50
- $ pnpm run doctor
51
- ```
52
-
53
- ## Publish
54
-
55
- ```bash
56
- # 首次发包前,进行用户添加
57
- $ pnpm adduser
58
-
59
- # 发布新版本
60
- $ pnpm run deploy
61
- ```
62
-
63
- ## LICENSE
64
-
65
- MIT
1
+ # @teamias/rex-pro
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/@teamias/rex-pro.svg?style=flat)](https://npmjs.org/package/@teamias/rex-pro)
4
+ [![NPM downloads](http://img.shields.io/npm/dm/@teamias/rex-pro.svg?style=flat)](https://npmjs.org/package/@teamias/rex-pro)
5
+
6
+ 用 dumi 开发的 react 库
7
+
8
+ ## Usage
9
+
10
+ ### 安装组件库
11
+
12
+ ```bash
13
+ # 安装组件库
14
+ $ pnpm add @teamias/rex-pro
15
+
16
+ ```
17
+
18
+ ### 代码引用
19
+
20
+ ```ts
21
+ import { ActionButtons } from '@teamias/rex-pro';
22
+ ```
23
+
24
+ ## Options
25
+
26
+ TODO
27
+
28
+ ## Development
29
+
30
+ ```bash
31
+ # 安装依赖项
32
+ $ pnpm install
33
+
34
+ # 通过文档演示开发库
35
+ $ pnpm start
36
+
37
+ # 构建库源代码
38
+ $ pnpm run build
39
+
40
+ # 在监视模式下构建库源代码
41
+ $ pnpm run build:watch
42
+
43
+ # 生成文档
44
+ $ pnpm run docs:build
45
+
46
+ # 本地预览生产构建。
47
+ $ pnpm run docs:preview
48
+
49
+ # 检查项目的潜在问题
50
+ $ pnpm run doctor
51
+ ```
52
+
53
+ ## Publish
54
+
55
+ ```bash
56
+ # 首次发包前,进行用户添加
57
+ $ pnpm adduser
58
+
59
+ # 发布新版本
60
+ $ pnpm run deploy
61
+ ```
62
+
63
+ ## LICENSE
64
+
65
+ MIT
@@ -1,2 +1,2 @@
1
- export { CardBasicInfo } from './card-basic-info';
2
- export type { CardBasicInfoProps } from './card-basic-info';
1
+ export { CardBasicInfo } from './v1/card-basic-info';
2
+ export type { CardBasicInfoProps } from './v1/card-basic-info';
@@ -1 +1 @@
1
- export { CardBasicInfo } from "./card-basic-info";
1
+ export { CardBasicInfo } from "./v1/card-basic-info";
@@ -13,11 +13,11 @@ import classNames from 'classnames';
13
13
  import { useMemo } from 'react';
14
14
  import { Card } from "./style";
15
15
  import { jsx as _jsx } from "react/jsx-runtime";
16
- /**
17
- * 平分列数
18
- * @param len
19
- * @param defaultCol
20
- * @returns number
16
+ /**
17
+ * 平分列数
18
+ * @param len
19
+ * @param defaultCol
20
+ * @returns number
21
21
  */
22
22
  var useSpan = function useSpan(len, defaultCol) {
23
23
  return useMemo(function () {
@@ -15,5 +15,5 @@ export var CustomAntdCard = function CustomAntdCard(props) {
15
15
  };
16
16
  export var Card = styled(CustomAntdCard).withConfig({
17
17
  displayName: "Card",
18
- componentId: "rex-pro-aaf4__sc-1ntyidv-0"
18
+ componentId: "rex-pro-aaf4__sc-8wv5e9-0"
19
19
  })(["&.card-basic-info .data-cell-row-item,&.card-basic-info .data-cell-row-text-value{width:initial;}"]);
@@ -1 +1 @@
1
- export * from './filter-form';
1
+ export * from './v1/filter-form';
@@ -1,2 +1,2 @@
1
1
  // 导出主要组件
2
- export * from "./filter-form";
2
+ export * from "./v1/filter-form";
@@ -1 +1 @@
1
- export * from './rex-pro-form';
1
+ export * from './v1/rex-pro-form';
@@ -1 +1 @@
1
- export * from "./rex-pro-form";
1
+ export * from "./v1/rex-pro-form";
@@ -1,2 +1,2 @@
1
- export { RexProTable } from './rex-pro-table';
2
- export type * from './types';
1
+ export { RexProTable } from './v1/rex-pro-table';
2
+ export type * from './v1/types';
@@ -1 +1 @@
1
- export { RexProTable } from "./rex-pro-table";
1
+ export { RexProTable } from "./v1/rex-pro-table";
@@ -46,8 +46,8 @@ export function ProDrawerTable(_ref) {
46
46
  onOpenChange === null || onOpenChange === void 0 || onOpenChange(open);
47
47
  }, [open]);
48
48
 
49
- /**
50
- * 暴露方法
49
+ /**
50
+ * 暴露方法
51
51
  */
52
52
  useImperativeHandle(action, function () {
53
53
  return _objectSpread({}, actionRef);
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { ModalAction, ProModalFormProps } from '../../types';
3
- export declare const ContainerInlineForm: FC<Omit<import("../../../rex-pro-form/rex-pro-form").RexProFormProps<Record<string, unknown>>, "actionRef"> & {
3
+ export declare const ContainerInlineForm: FC<Omit<import("../../../../rex-pro-form").RexProFormProps<Record<string, unknown>>, "actionRef"> & {
4
4
  actionRef: ModalAction;
5
5
  /** 操作成功回调 */
6
6
  onFinish?: ProModalFormProps['onFinish'];
@@ -19,7 +19,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
19
19
  import { requestFieldsContainerHoc, useRequestFieldsConfig, useRexProConfigProvider } from '@teamias/rex-design';
20
20
  import { Button } from 'antd';
21
21
  import { useState } from 'react';
22
- import { RexProForm } from "../../../rex-pro-form";
22
+ import { RexProForm } from "../../../../rex-pro-form";
23
23
  import { ModalFormButtonGroup } from "../../style";
24
24
  import { jsx as _jsx } from "react/jsx-runtime";
25
25
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -48,8 +48,8 @@ export function ProModalForm(_ref) {
48
48
  onOpenChange === null || onOpenChange === void 0 || onOpenChange(open);
49
49
  }, [open]);
50
50
 
51
- /**
52
- * 暴露方法
51
+ /**
52
+ * 暴露方法
53
53
  */
54
54
  useImperativeHandle(action, function () {
55
55
  return _objectSpread({}, actionRef);
@@ -13,7 +13,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
13
13
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
14
14
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
15
15
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
- import enUS from "../../../locales/en-US.json";
16
+ import enUS from "../../../../locales/en-US.json";
17
17
  import { RequestFieldsContainer, RexProConfigProvider, designLocales } from '@teamias/rex-design';
18
18
  import { crush } from 'radash';
19
19
  import { useRef, useState } from 'react';
@@ -18,7 +18,7 @@ import { BaseListTable, BaseTable, useRequestFieldsConfig, useRexProConfigProvid
18
18
  import { Card, Pagination, Skeleton, Space } from 'antd';
19
19
  import { cloneDeep } from 'lodash';
20
20
  import React, { useImperativeHandle, useRef } from 'react';
21
- import { FilterForm } from "../filter-form";
21
+ import { FilterForm } from "../../filter-form";
22
22
  import { ActionButtons } from "./components/ActionButtons";
23
23
  import { TableActionButtonGroup, ToolbarBox, Wrapper } from "./style";
24
24
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,15 +1,15 @@
1
1
  import styled, { createGlobalStyle } from 'styled-components';
2
2
  export var Wrapper = styled.div.withConfig({
3
3
  displayName: "Wrapper",
4
- componentId: "rex-pro-aaf4__sc-48osaw-0"
4
+ componentId: "rex-pro-aaf4__sc-r7dyvb-0"
5
5
  })(["&.pro-rex-table-box{display:flex;flex-direction:column;gap:10px;.pro-rex-table-card{flex:1;}}"]);
6
6
  export var ToolbarBox = styled.div.withConfig({
7
7
  displayName: "ToolbarBox",
8
- componentId: "rex-pro-aaf4__sc-48osaw-1"
8
+ componentId: "rex-pro-aaf4__sc-r7dyvb-1"
9
9
  })(["&.pro-rex-toolbar-box{display:flex;gap:10px;align-items:center;margin-bottom:10px;}"]);
10
10
  export var TableActionButtonGroup = styled.div.withConfig({
11
11
  displayName: "TableActionButtonGroup",
12
- componentId: "rex-pro-aaf4__sc-48osaw-2"
12
+ componentId: "rex-pro-aaf4__sc-r7dyvb-2"
13
13
  })(["&.pro-rex-table-action-button-group{display:flex;gap:6px;justify-content:center;align-items:center;}"]);
14
14
  export var ModalSearchStyle = createGlobalStyle([".pro-rex-table-modal-search .ant-drawer-body{padding:12px;}.pro-rex-table-modal-search .pro-rex-table-box{height:100%;}.pro-rex-table-modal-search .ant-drawer-header{padding:10px 12px;}.pro-rex-table-modal-search .ant-drawer-title{font-size:14px;}"]);
15
15
  export var ModalFormStyle = createGlobalStyle([".pro-modal-form-body .ant-modal-body{max-height:", ";height:", ";overflow-y:auto}"], function (props) {
@@ -19,5 +19,5 @@ export var ModalFormStyle = createGlobalStyle([".pro-modal-form-body .ant-modal-
19
19
  });
20
20
  export var ModalFormButtonGroup = styled.div.withConfig({
21
21
  displayName: "ModalFormButtonGroup",
22
- componentId: "rex-pro-aaf4__sc-48osaw-3"
22
+ componentId: "rex-pro-aaf4__sc-r7dyvb-3"
23
23
  })(["&.pro-modal-form-button-group{display:flex;gap:8px;justify-content:flex-end;position:sticky;bottom:0;background:#fff;}"]);
@@ -2,7 +2,7 @@ import { BaseListTable, BaseTable, RequestFieldsContainer, TButtonFilterItem } f
2
2
  import { Button, DrawerProps, DropDownProps, FormInstance, GetProps, ModalProps } from 'antd';
3
3
  import { SizeType } from 'antd/es/config-provider/SizeContext';
4
4
  import { MutableRefObject, ReactNode } from 'react';
5
- import { FilterForm, IFilterFormProps } from '../filter-form';
5
+ import { FilterForm, IFilterFormProps } from "../../filter-form";
6
6
  /** 组件props */
7
7
  export interface IRexProTableProps<TF extends Record<string, unknown>, TT extends Record<string, unknown>> {
8
8
  toolbar?: {
@@ -1,26 +1,26 @@
1
- {
2
- "pro": {
3
- "components": {
4
- "rex-pro-table": {
5
- "empty-text": "Please select relevant filter criteria to search",
6
- "column-action-title": "Actions",
7
- "pagination-total": "{total} entries in total",
8
- "action-buttons": {
9
- "please-check-data": "Please select data",
10
- "confirm-operation": "Confirm operation {label}",
11
- "confirm-execute": "Are you sure you want to proceed?",
12
- "item-label-missing": "Button label not configured",
13
- "group-label-missing": "Group label not configured"
14
- },
15
- "form": {
16
- "cancel": "Cancel",
17
- "confirm": "Confirm"
18
- }
19
- },
20
- "filter-form": {
21
- "reset": "Reset",
22
- "search": "Search"
23
- }
24
- }
25
- }
26
- }
1
+ {
2
+ "pro": {
3
+ "components": {
4
+ "rex-pro-table": {
5
+ "empty-text": "Please select relevant filter criteria to search",
6
+ "column-action-title": "Actions",
7
+ "pagination-total": "{total} entries in total",
8
+ "action-buttons": {
9
+ "please-check-data": "Please select data",
10
+ "confirm-operation": "Confirm operation {label}",
11
+ "confirm-execute": "Are you sure you want to proceed?",
12
+ "item-label-missing": "Button label not configured",
13
+ "group-label-missing": "Group label not configured"
14
+ },
15
+ "form": {
16
+ "cancel": "Cancel",
17
+ "confirm": "Confirm"
18
+ }
19
+ },
20
+ "filter-form": {
21
+ "reset": "Reset",
22
+ "search": "Search"
23
+ }
24
+ }
25
+ }
26
+ }
@@ -1,26 +1,26 @@
1
- {
2
- "pro": {
3
- "components": {
4
- "rex-pro-table": {
5
- "empty-text": "请选择相关筛选条件进行搜索",
6
- "column-action-title": "操作",
7
- "pagination-total": "共 {total} 条",
8
- "action-buttons": {
9
- "please-check-data": "请勾选数据",
10
- "confirm-operation": "确认操作{label}",
11
- "confirm-execute": "确认要执行此操作吗?",
12
- "item-label-missing": "未配置按钮标签",
13
- "group-label-missing": "未配置分组标签"
14
- },
15
- "form": {
16
- "cancel": "取消",
17
- "confirm": "确认"
18
- }
19
- },
20
- "filter-form": {
21
- "reset": "重置",
22
- "search": "查询"
23
- }
24
- }
25
- }
26
- }
1
+ {
2
+ "pro": {
3
+ "components": {
4
+ "rex-pro-table": {
5
+ "empty-text": "请选择相关筛选条件进行搜索",
6
+ "column-action-title": "操作",
7
+ "pagination-total": "共 {total} 条",
8
+ "action-buttons": {
9
+ "please-check-data": "请勾选数据",
10
+ "confirm-operation": "确认操作{label}",
11
+ "confirm-execute": "确认要执行此操作吗?",
12
+ "item-label-missing": "未配置按钮标签",
13
+ "group-label-missing": "未配置分组标签"
14
+ },
15
+ "form": {
16
+ "cancel": "取消",
17
+ "confirm": "确认"
18
+ }
19
+ },
20
+ "filter-form": {
21
+ "reset": "重置",
22
+ "search": "查询"
23
+ }
24
+ }
25
+ }
26
+ }
@@ -1,4 +1,4 @@
1
- declare module '*.svg' {
2
- const content: string;
3
- export default content;
4
- }
1
+ declare module '*.svg' {
2
+ const content: string;
3
+ export default content;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamias/rex-pro",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -91,6 +91,7 @@
91
91
  "react-dom": ">=16.9.0",
92
92
  "react-intl": ">=3.0.0"
93
93
  },
94
+ "packageManager": "pnpm@9.15.9",
94
95
  "publishConfig": {
95
96
  "access": "public"
96
97
  },