@pisell/materials 1.0.708 → 1.0.709
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/browserSelect/index.less +5 -5
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +3 -3
- package/es/components/dataSourceComponents/fields/Translation/index.less +1 -1
- package/es/components/login-and-register/index.less +7 -7
- package/es/components/page/index.js +3 -3
- package/lib/components/browserSelect/index.less +5 -5
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +2 -2
- package/lib/components/dataSourceComponents/fields/Translation/index.less +1 -1
- package/lib/components/login-and-register/index.less +7 -7
- package/lib/components/page/index.js +3 -3
- package/package.json +3 -3
- package/es/components/page/index.d.ts +0 -5
- package/es/components/table/TableFilter/numberFilter.d.ts +0 -6
- package/es/components/table/TableFilter/selectFilter.d.ts +0 -10
- package/es/components/table/TableFilter/stringFilter.d.ts +0 -6
- package/es/components/virtual-keyboard/Time/index.d.ts +0 -13
- package/es/components/walletCard/index.d.ts +0 -65
- package/lib/components/page/index.d.ts +0 -5
- package/lib/components/table/TableFilter/numberFilter.d.ts +0 -6
- package/lib/components/table/TableFilter/selectFilter.d.ts +0 -10
- package/lib/components/table/TableFilter/stringFilter.d.ts +0 -6
- package/lib/components/virtual-keyboard/Time/index.d.ts +0 -13
- package/lib/components/walletCard/index.d.ts +0 -65
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
width: 100%;
|
|
31
31
|
|
|
32
32
|
&:hover {
|
|
33
|
-
border-color: var(--theme-color
|
|
33
|
+
border-color: var(--theme-color);
|
|
34
34
|
& + .browser-select-icon {
|
|
35
|
-
color: var(--theme-color
|
|
35
|
+
color: var(--theme-color);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&:focus {
|
|
40
|
-
border-color: var(--theme-color
|
|
40
|
+
border-color: var(--theme-color);
|
|
41
41
|
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
|
42
42
|
outline: none;
|
|
43
43
|
& + .browser-select-icon {
|
|
44
|
-
color: var(--theme-color
|
|
44
|
+
color: var(--theme-color);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&:active {
|
|
49
|
-
border-color: var(--theme-color
|
|
49
|
+
border-color: var(--theme-color);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:disabled {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Button } from 'antd';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import "./ReadPretty.less";
|
|
5
|
-
var Link = Typography.Link;
|
|
6
5
|
|
|
7
6
|
// 格式化 url 确保包含协议前缀
|
|
8
7
|
export var formatUrl = function formatUrl(url) {
|
|
@@ -20,7 +19,8 @@ var UrlReadPretty = function UrlReadPretty(props) {
|
|
|
20
19
|
var value = props.value,
|
|
21
20
|
renderMode = props.renderMode;
|
|
22
21
|
var formattedUrl = formatUrl(value);
|
|
23
|
-
return /*#__PURE__*/React.createElement(
|
|
22
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
23
|
+
type: "link",
|
|
24
24
|
className: classNames('pisell-url-read-pretty', {
|
|
25
25
|
'pisell-url-read-pretty-table-view': renderMode === 'tableView'
|
|
26
26
|
}),
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
position: relative;
|
|
68
68
|
|
|
69
69
|
&.active {
|
|
70
|
-
color:
|
|
70
|
+
color: var(--theme-color);
|
|
71
71
|
|
|
72
72
|
&:after {
|
|
73
73
|
content: '';
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
left: 0;
|
|
77
77
|
right: 0;
|
|
78
78
|
height: 2px;
|
|
79
|
-
background:
|
|
79
|
+
background: var(--theme-color);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -105,11 +105,11 @@
|
|
|
105
105
|
background: #FFF;
|
|
106
106
|
|
|
107
107
|
&:hover {
|
|
108
|
-
border-color:
|
|
108
|
+
border-color: var(--theme-color);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
&:focus {
|
|
112
|
-
border-color:
|
|
112
|
+
border-color: var(--theme-color);
|
|
113
113
|
box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
.saas-login-button {
|
|
127
127
|
height: 44px;
|
|
128
128
|
border-radius: 8px;
|
|
129
|
-
background:
|
|
129
|
+
background: var(--theme-color);
|
|
130
130
|
border: none;
|
|
131
131
|
font-weight: 500;
|
|
132
132
|
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
&:focus {
|
|
138
|
-
background:
|
|
138
|
+
background: var(--theme-color);
|
|
139
139
|
box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
margin-bottom: 16px;
|
|
186
186
|
|
|
187
187
|
a {
|
|
188
|
-
color: #7F56D9;
|
|
188
|
+
//color: #7F56D9;
|
|
189
189
|
margin-left: 4px;
|
|
190
190
|
cursor: pointer;
|
|
191
191
|
|
|
@@ -100,9 +100,9 @@ var Page = function Page(props) {
|
|
|
100
100
|
colorErrorBg: '#FEF3F2',
|
|
101
101
|
colorErrorBorderHover: '#FDA29B',
|
|
102
102
|
colorErrorOutline: 'rgba(217, 45, 32, 0.06)',
|
|
103
|
-
colorLink: '#
|
|
104
|
-
colorLinkActive: '#
|
|
105
|
-
colorLinkHover: '#
|
|
103
|
+
colorLink: '#7F56DA',
|
|
104
|
+
colorLinkActive: '#5F3DA8',
|
|
105
|
+
colorLinkHover: '#6D48C4',
|
|
106
106
|
// colorPrimaryActive: '#5D3F9F',
|
|
107
107
|
// colorPrimaryBorder: '#E9D7FE',
|
|
108
108
|
colorText: '#344054',
|
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
width: 100%;
|
|
31
31
|
|
|
32
32
|
&:hover {
|
|
33
|
-
border-color: var(--theme-color
|
|
33
|
+
border-color: var(--theme-color);
|
|
34
34
|
& + .browser-select-icon {
|
|
35
|
-
color: var(--theme-color
|
|
35
|
+
color: var(--theme-color);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&:focus {
|
|
40
|
-
border-color: var(--theme-color
|
|
40
|
+
border-color: var(--theme-color);
|
|
41
41
|
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
|
42
42
|
outline: none;
|
|
43
43
|
& + .browser-select-icon {
|
|
44
|
-
color: var(--theme-color
|
|
44
|
+
color: var(--theme-color);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&:active {
|
|
49
|
-
border-color: var(--theme-color
|
|
49
|
+
border-color: var(--theme-color);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:disabled {
|
|
@@ -37,7 +37,6 @@ var import_react = __toESM(require("react"));
|
|
|
37
37
|
var import_antd = require("antd");
|
|
38
38
|
var import_classnames = __toESM(require("classnames"));
|
|
39
39
|
var import_ReadPretty = require("./ReadPretty.less");
|
|
40
|
-
var { Link } = import_antd.Typography;
|
|
41
40
|
var formatUrl = (url) => {
|
|
42
41
|
if (!url) return "";
|
|
43
42
|
if (url.startsWith("http://") || url.startsWith("https://")) {
|
|
@@ -49,8 +48,9 @@ var UrlReadPretty = (props) => {
|
|
|
49
48
|
const { value, renderMode } = props;
|
|
50
49
|
const formattedUrl = formatUrl(value);
|
|
51
50
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
52
|
-
|
|
51
|
+
import_antd.Button,
|
|
53
52
|
{
|
|
53
|
+
type: "link",
|
|
54
54
|
className: (0, import_classnames.default)("pisell-url-read-pretty", {
|
|
55
55
|
"pisell-url-read-pretty-table-view": renderMode === "tableView"
|
|
56
56
|
}),
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
position: relative;
|
|
68
68
|
|
|
69
69
|
&.active {
|
|
70
|
-
color:
|
|
70
|
+
color: var(--theme-color);
|
|
71
71
|
|
|
72
72
|
&:after {
|
|
73
73
|
content: '';
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
left: 0;
|
|
77
77
|
right: 0;
|
|
78
78
|
height: 2px;
|
|
79
|
-
background:
|
|
79
|
+
background: var(--theme-color);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -105,11 +105,11 @@
|
|
|
105
105
|
background: #FFF;
|
|
106
106
|
|
|
107
107
|
&:hover {
|
|
108
|
-
border-color:
|
|
108
|
+
border-color: var(--theme-color);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
&:focus {
|
|
112
|
-
border-color:
|
|
112
|
+
border-color: var(--theme-color);
|
|
113
113
|
box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
.saas-login-button {
|
|
127
127
|
height: 44px;
|
|
128
128
|
border-radius: 8px;
|
|
129
|
-
background:
|
|
129
|
+
background: var(--theme-color);
|
|
130
130
|
border: none;
|
|
131
131
|
font-weight: 500;
|
|
132
132
|
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
&:focus {
|
|
138
|
-
background:
|
|
138
|
+
background: var(--theme-color);
|
|
139
139
|
box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
margin-bottom: 16px;
|
|
186
186
|
|
|
187
187
|
a {
|
|
188
|
-
color: #7F56D9;
|
|
188
|
+
//color: #7F56D9;
|
|
189
189
|
margin-left: 4px;
|
|
190
190
|
cursor: pointer;
|
|
191
191
|
|
|
@@ -120,9 +120,9 @@ var Page = (props) => {
|
|
|
120
120
|
colorErrorBg: "#FEF3F2",
|
|
121
121
|
colorErrorBorderHover: "#FDA29B",
|
|
122
122
|
colorErrorOutline: "rgba(217, 45, 32, 0.06)",
|
|
123
|
-
colorLink: "#
|
|
124
|
-
colorLinkActive: "#
|
|
125
|
-
colorLinkHover: "#
|
|
123
|
+
colorLink: "#7F56DA",
|
|
124
|
+
colorLinkActive: "#5F3DA8",
|
|
125
|
+
colorLinkHover: "#6D48C4",
|
|
126
126
|
// colorPrimaryActive: '#5D3F9F',
|
|
127
127
|
// colorPrimaryBorder: '#E9D7FE',
|
|
128
128
|
colorText: "#344054",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.709",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"swiper": "^8.4.7",
|
|
72
72
|
"react-barcode": "^1.5.3",
|
|
73
73
|
"vod-js-sdk-v6": "^1.4.11",
|
|
74
|
-
"@pisell/icon": "0.0.10",
|
|
75
74
|
"@pisell/utils": "1.0.43",
|
|
76
|
-
"@pisell/date-picker": "1.0.115"
|
|
75
|
+
"@pisell/date-picker": "1.0.115",
|
|
76
|
+
"@pisell/icon": "0.0.10"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": "^18.0.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ColumnType } from "antd/es/table";
|
|
2
|
-
import "./index.less";
|
|
3
|
-
declare const getColumnSelectProps: ({ dataIndex, filters, }: {
|
|
4
|
-
dataIndex: string;
|
|
5
|
-
filters: {
|
|
6
|
-
text: string;
|
|
7
|
-
value: string;
|
|
8
|
-
}[];
|
|
9
|
-
}) => ColumnType<any>;
|
|
10
|
-
export default getColumnSelectProps;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Item } from "../Keyboard";
|
|
3
|
-
import "./index.less";
|
|
4
|
-
export interface VirtualKeyboardTimeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
onChange?: (value?: any) => void;
|
|
7
|
-
value?: any;
|
|
8
|
-
items?: Item[];
|
|
9
|
-
onEnter?: (value: any) => void;
|
|
10
|
-
rightPanel?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
declare const VirtualKeyboardTime: (props: VirtualKeyboardTimeProps) => JSX.Element;
|
|
13
|
-
export default VirtualKeyboardTime;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare global {
|
|
4
|
-
namespace JSX {
|
|
5
|
-
interface IntrinsicElements {
|
|
6
|
-
[elemName: string]: any;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export interface WalletCardItem {
|
|
11
|
-
key: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
hidden?: boolean;
|
|
14
|
-
value?: number;
|
|
15
|
-
}
|
|
16
|
-
export interface WalletCardProps {
|
|
17
|
-
/** 二维码弹窗适配平台 */
|
|
18
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
19
|
-
/** 卡片主题 */
|
|
20
|
-
mode?: 'dark' | 'light';
|
|
21
|
-
/** 默认还是完整显示code */
|
|
22
|
-
cardStyle?: 'normal' | 'full';
|
|
23
|
-
/** 条形码还是二维码 */
|
|
24
|
-
codeType?: 'barCode' | 'orCode';
|
|
25
|
-
/** 二维码方向 */
|
|
26
|
-
codeDirection?: 'bottom' | 'top';
|
|
27
|
-
/** 自定义背景图 */
|
|
28
|
-
customBackgroundImage?: string;
|
|
29
|
-
/** 图标:可以是React组件或图片URL */
|
|
30
|
-
showIcon?: boolean;
|
|
31
|
-
showWalletName?: boolean;
|
|
32
|
-
iconImg?: string;
|
|
33
|
-
/** 钱包名称 */
|
|
34
|
-
walletName?: string;
|
|
35
|
-
/** 店铺名称 */
|
|
36
|
-
shopName?: string;
|
|
37
|
-
/** 是否显示店铺名称 */
|
|
38
|
-
showShopName?: boolean;
|
|
39
|
-
/** 卡号 */
|
|
40
|
-
cardNo?: string;
|
|
41
|
-
/** 是否显示卡号 */
|
|
42
|
-
showCardNo?: boolean;
|
|
43
|
-
/** 是否显示二维码 */
|
|
44
|
-
showCode?: boolean;
|
|
45
|
-
/** 点击二维码/条形码的回调 */
|
|
46
|
-
onCodeClick?: () => void;
|
|
47
|
-
/** 货币符号 */
|
|
48
|
-
symbol: string;
|
|
49
|
-
/** 点击卡片的回调 */
|
|
50
|
-
onClick?: () => void;
|
|
51
|
-
/** 自定义类名 */
|
|
52
|
-
className?: string;
|
|
53
|
-
items: WalletCardItem[];
|
|
54
|
-
/** 自定义样式 */
|
|
55
|
-
style?: React.CSSProperties;
|
|
56
|
-
title?: string;
|
|
57
|
-
subTitle?: string;
|
|
58
|
-
align?: 'left' | 'center';
|
|
59
|
-
buttonText?: string;
|
|
60
|
-
[key: string]: any;
|
|
61
|
-
/** 是否已登录 */
|
|
62
|
-
isLogin?: boolean;
|
|
63
|
-
}
|
|
64
|
-
declare const WalletCard: React.FC<WalletCardProps>;
|
|
65
|
-
export default WalletCard;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ColumnType } from "antd/es/table";
|
|
2
|
-
import "./index.less";
|
|
3
|
-
declare const getColumnSelectProps: ({ dataIndex, filters, }: {
|
|
4
|
-
dataIndex: string;
|
|
5
|
-
filters: {
|
|
6
|
-
text: string;
|
|
7
|
-
value: string;
|
|
8
|
-
}[];
|
|
9
|
-
}) => ColumnType<any>;
|
|
10
|
-
export default getColumnSelectProps;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Item } from "../Keyboard";
|
|
3
|
-
import "./index.less";
|
|
4
|
-
export interface VirtualKeyboardTimeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
onChange?: (value?: any) => void;
|
|
7
|
-
value?: any;
|
|
8
|
-
items?: Item[];
|
|
9
|
-
onEnter?: (value: any) => void;
|
|
10
|
-
rightPanel?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
declare const VirtualKeyboardTime: (props: VirtualKeyboardTimeProps) => JSX.Element;
|
|
13
|
-
export default VirtualKeyboardTime;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare global {
|
|
4
|
-
namespace JSX {
|
|
5
|
-
interface IntrinsicElements {
|
|
6
|
-
[elemName: string]: any;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export interface WalletCardItem {
|
|
11
|
-
key: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
hidden?: boolean;
|
|
14
|
-
value?: number;
|
|
15
|
-
}
|
|
16
|
-
export interface WalletCardProps {
|
|
17
|
-
/** 二维码弹窗适配平台 */
|
|
18
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
19
|
-
/** 卡片主题 */
|
|
20
|
-
mode?: 'dark' | 'light';
|
|
21
|
-
/** 默认还是完整显示code */
|
|
22
|
-
cardStyle?: 'normal' | 'full';
|
|
23
|
-
/** 条形码还是二维码 */
|
|
24
|
-
codeType?: 'barCode' | 'orCode';
|
|
25
|
-
/** 二维码方向 */
|
|
26
|
-
codeDirection?: 'bottom' | 'top';
|
|
27
|
-
/** 自定义背景图 */
|
|
28
|
-
customBackgroundImage?: string;
|
|
29
|
-
/** 图标:可以是React组件或图片URL */
|
|
30
|
-
showIcon?: boolean;
|
|
31
|
-
showWalletName?: boolean;
|
|
32
|
-
iconImg?: string;
|
|
33
|
-
/** 钱包名称 */
|
|
34
|
-
walletName?: string;
|
|
35
|
-
/** 店铺名称 */
|
|
36
|
-
shopName?: string;
|
|
37
|
-
/** 是否显示店铺名称 */
|
|
38
|
-
showShopName?: boolean;
|
|
39
|
-
/** 卡号 */
|
|
40
|
-
cardNo?: string;
|
|
41
|
-
/** 是否显示卡号 */
|
|
42
|
-
showCardNo?: boolean;
|
|
43
|
-
/** 是否显示二维码 */
|
|
44
|
-
showCode?: boolean;
|
|
45
|
-
/** 点击二维码/条形码的回调 */
|
|
46
|
-
onCodeClick?: () => void;
|
|
47
|
-
/** 货币符号 */
|
|
48
|
-
symbol: string;
|
|
49
|
-
/** 点击卡片的回调 */
|
|
50
|
-
onClick?: () => void;
|
|
51
|
-
/** 自定义类名 */
|
|
52
|
-
className?: string;
|
|
53
|
-
items: WalletCardItem[];
|
|
54
|
-
/** 自定义样式 */
|
|
55
|
-
style?: React.CSSProperties;
|
|
56
|
-
title?: string;
|
|
57
|
-
subTitle?: string;
|
|
58
|
-
align?: 'left' | 'center';
|
|
59
|
-
buttonText?: string;
|
|
60
|
-
[key: string]: any;
|
|
61
|
-
/** 是否已登录 */
|
|
62
|
-
isLogin?: boolean;
|
|
63
|
-
}
|
|
64
|
-
declare const WalletCard: React.FC<WalletCardProps>;
|
|
65
|
-
export default WalletCard;
|