listpage-next 0.0.197 → 0.0.199
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.
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
function setupBaseUrl(HttpClient) {
|
|
2
2
|
HttpClient.prototype.getBaseURL = function() {
|
|
3
3
|
const { server, config } = this.options;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const protocol = server?.protocol || location.protocol;
|
|
5
|
+
const host = server?.host || location.hostname;
|
|
6
|
+
const port = server?.port || location.port;
|
|
7
|
+
if (config?.baseURL) {
|
|
8
|
+
if (config.baseURL.startsWith('/')) return `${protocol}//${host}:${port}${config.baseURL}`;
|
|
9
|
+
return config.baseURL;
|
|
10
|
+
}
|
|
11
|
+
return `${protocol}//${host}:${port}${server?.publicPath}`;
|
|
6
12
|
};
|
|
7
13
|
}
|
|
8
14
|
function mergeServerConfig(server) {
|
|
@@ -28,10 +28,10 @@ const InlineLabel = styled_components.label`
|
|
|
28
28
|
font-weight: 400;
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
color: ${(props)=>{
|
|
31
|
-
if ('disabled' === props.$status) return '
|
|
32
|
-
if ('error' === props.$status) return '
|
|
33
|
-
if ('focused' === props.$status) return '
|
|
34
|
-
return '
|
|
31
|
+
if ('disabled' === props.$status) return 'var(--ant-color-text-disabled)';
|
|
32
|
+
if ('error' === props.$status) return 'var(--ant-color-error)';
|
|
33
|
+
if ('focused' === props.$status) return 'var(--ant-color-primary)';
|
|
34
|
+
return 'var(--ant-color-text)';
|
|
35
35
|
}};
|
|
36
36
|
`;
|
|
37
37
|
const Label = styled_components.label`
|
|
@@ -61,14 +61,14 @@ const Label = styled_components.label`
|
|
|
61
61
|
1px 1px 1px white;
|
|
62
62
|
|
|
63
63
|
color: ${(props)=>{
|
|
64
|
-
if ('disabled' === props.$status) return '
|
|
65
|
-
if ('error' === props.$status) return '
|
|
66
|
-
if ('focused' === props.$status) return '
|
|
67
|
-
return '
|
|
64
|
+
if ('disabled' === props.$status) return 'var(--ant-color-text-disabled)';
|
|
65
|
+
if ('error' === props.$status) return 'var(--ant-color-error)';
|
|
66
|
+
if ('focused' === props.$status) return 'var(--ant-color-primary)';
|
|
67
|
+
return 'var(--ant-color-text)';
|
|
68
68
|
}};
|
|
69
69
|
`;
|
|
70
70
|
const ErrorMessage = styled_components.div`
|
|
71
|
-
color:
|
|
71
|
+
color: var(--ant-color-error);
|
|
72
72
|
font-size: 0.75rem;
|
|
73
73
|
margin-top: 0.25rem;
|
|
74
74
|
`;
|
|
@@ -12,8 +12,7 @@ const IconSend = (props)=>/*#__PURE__*/ jsx("svg", {
|
|
|
12
12
|
children: /*#__PURE__*/ jsx("g", {
|
|
13
13
|
children: /*#__PURE__*/ jsx("path", {
|
|
14
14
|
d: "M2.5892448413452147,1.0731753672753905L10.443560641345215,5.01422785727539C10.992402441345215,5.292121857275391,11.212822441345216,5.961596457275391,10.927351941345215,6.504752157275391C10.826088941345215,6.718707057275391,10.655646341345214,6.8922681572753905,10.443560641345215,6.997385957275391L2.576614341345215,10.93654155727539C2.0189285413452147,11.20812095727539,1.3450336413452149,10.98707095727539,1.0620861013452148,10.44454285727539C0.9361019133452149,10.18475245727539,0.9130878453452148,9.88691615727539,0.9976644513452149,9.61085795727539L1.857875821345215,6.830649357275391C1.9378719313452148,6.575499557275391,2.174690241345215,6.402173057275391,2.4420862413452147,6.4030685572753905L5.453454941345215,6.4030685572753905C5.676507941345215,6.401380557275391,5.857397041345215,6.221891357275391,5.860822641345215,5.99885845727539C5.859089841345215,5.775108357275391,5.6772108413452145,5.594640757275391,5.453454941345215,5.594647457275391L2.4439811413452146,5.594647457275391C2.175321541345215,5.595311157275391,1.9378442813452148,5.420153657275391,1.859139441345215,5.16328045727539L1.010297775345215,2.3735952572753907C0.8344821913452148,1.7857064572753907,1.1717939413452148,1.1672562972753906,1.7612447713452148,0.9967526872753907C2.0360918413452147,0.9105386212753906,2.334002541345215,0.9378270581753906,2.588612541345215,1.0725430872753907L2.5892448413452147,1.0731753672753905Z",
|
|
15
|
-
fill: "#FFFFFF"
|
|
16
|
-
"fill-opacity": "1"
|
|
15
|
+
fill: "#FFFFFF"
|
|
17
16
|
})
|
|
18
17
|
})
|
|
19
18
|
})
|