ls-pro-common 1.0.75 → 1.0.77
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/dist/common.css +127 -58
- package/dist/common.js +1 -1
- package/dist/common.min.css +127 -58
- package/dist/common.min.js +1 -1
- package/es/components/DtlLayout.d.ts +1 -0
- package/es/components/DtlLayout.js +7 -4
- package/es/components/IconSelector.js +3 -3
- package/es/components/ImageSelector.js +3 -3
- package/es/components/InputTable.js +7 -4
- package/es/components/common.less +17 -13
- package/es/http/index.js +37 -23
- package/es/typing.d.ts +2 -0
- package/es/utils/index.d.ts +8 -0
- package/es/utils/index.js +34 -1
- package/lib/components/DtlLayout.d.ts +1 -0
- package/lib/components/DtlLayout.js +7 -4
- package/lib/components/IconSelector.js +3 -3
- package/lib/components/ImageSelector.js +3 -3
- package/lib/components/InputTable.js +7 -4
- package/lib/components/common.less +17 -13
- package/lib/http/index.js +36 -22
- package/lib/typing.d.ts +2 -0
- package/lib/utils/index.d.ts +8 -0
- package/lib/utils/index.js +49 -6
- package/package.json +2 -2
package/dist/common.css
CHANGED
|
@@ -124,8 +124,10 @@ body {
|
|
|
124
124
|
.loading {
|
|
125
125
|
height: 100%;
|
|
126
126
|
width: 100%;
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
position: absolute;
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: center;
|
|
129
131
|
background: #fff;
|
|
130
132
|
}
|
|
131
133
|
#myloading {
|
|
@@ -221,6 +223,9 @@ a:hover {
|
|
|
221
223
|
max-height: calc(100vh - 180px);
|
|
222
224
|
overflow-y: auto;
|
|
223
225
|
}
|
|
226
|
+
.ant-input-has-value:hover .ant-input-clear-icon {
|
|
227
|
+
visibility: visible;
|
|
228
|
+
}
|
|
224
229
|
|
|
225
230
|
.pro-table-tooltip-text span {
|
|
226
231
|
color: #fff;
|
|
@@ -294,38 +299,54 @@ a:hover {
|
|
|
294
299
|
flex: 1;
|
|
295
300
|
overflow: auto !important;
|
|
296
301
|
}
|
|
297
|
-
.ant-pro-table-srcoll .ant-table
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
.ant-pro-table-srcoll .ant-table.ant-table-small .ant-table-
|
|
301
|
-
|
|
302
|
-
|
|
302
|
+
.ant-pro-table-srcoll .ant-table-placeholder td {
|
|
303
|
+
border-bottom: none;
|
|
304
|
+
}
|
|
305
|
+
.ant-pro-table-srcoll .ant-table.ant-table-small tfoot.ant-table-summary tr td:last-child {
|
|
306
|
+
padding-right: 17px !important;
|
|
307
|
+
}
|
|
308
|
+
.ant-table.ant-table-small .ant-table-title,
|
|
309
|
+
.ant-table.ant-table-small .ant-table-footer,
|
|
310
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th,
|
|
311
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td,
|
|
312
|
+
.ant-table.ant-table-small tfoot > tr > th,
|
|
313
|
+
.ant-table.ant-table-small tfoot > tr > td {
|
|
303
314
|
padding: 10px 5px;
|
|
304
315
|
white-space: nowrap;
|
|
305
316
|
text-overflow: ellipsis;
|
|
306
317
|
overflow: hidden;
|
|
307
318
|
}
|
|
308
|
-
.ant-
|
|
309
|
-
.ant-
|
|
310
|
-
.ant-
|
|
311
|
-
.ant-
|
|
312
|
-
.ant-
|
|
313
|
-
.ant-
|
|
314
|
-
padding
|
|
315
|
-
}
|
|
316
|
-
.ant-
|
|
317
|
-
.ant-
|
|
318
|
-
.ant-
|
|
319
|
-
.ant-
|
|
320
|
-
.ant-
|
|
321
|
-
.ant-
|
|
322
|
-
padding
|
|
323
|
-
}
|
|
324
|
-
.ant-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
.ant-
|
|
328
|
-
|
|
319
|
+
.ant-table.ant-table-small .ant-table-title:first-child,
|
|
320
|
+
.ant-table.ant-table-small .ant-table-footer:first-child,
|
|
321
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th:first-child,
|
|
322
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td:first-child,
|
|
323
|
+
.ant-table.ant-table-small tfoot > tr > th:first-child,
|
|
324
|
+
.ant-table.ant-table-small tfoot > tr > td:first-child {
|
|
325
|
+
padding: 10px 5px 10px 16px;
|
|
326
|
+
}
|
|
327
|
+
.ant-table.ant-table-small .ant-table-title:last-child,
|
|
328
|
+
.ant-table.ant-table-small .ant-table-footer:last-child,
|
|
329
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th:last-child,
|
|
330
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td:last-child,
|
|
331
|
+
.ant-table.ant-table-small tfoot > tr > th:last-child,
|
|
332
|
+
.ant-table.ant-table-small tfoot > tr > td:last-child {
|
|
333
|
+
padding: 10px 16px 10px 5px;
|
|
334
|
+
}
|
|
335
|
+
.ant-table.ant-table-small .ant-table-title.ant-table-cell-fix-right-first,
|
|
336
|
+
.ant-table.ant-table-small .ant-table-footer.ant-table-cell-fix-right-first,
|
|
337
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th.ant-table-cell-fix-right-first,
|
|
338
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td.ant-table-cell-fix-right-first,
|
|
339
|
+
.ant-table.ant-table-small tfoot > tr > th.ant-table-cell-fix-right-first,
|
|
340
|
+
.ant-table.ant-table-small tfoot > tr > td.ant-table-cell-fix-right-first {
|
|
341
|
+
padding-left: 15px !important;
|
|
342
|
+
}
|
|
343
|
+
.ant-table.ant-table-small .ant-table-title.ant-table-cell-fix-left-last,
|
|
344
|
+
.ant-table.ant-table-small .ant-table-footer.ant-table-cell-fix-left-last,
|
|
345
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th.ant-table-cell-fix-left-last,
|
|
346
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td.ant-table-cell-fix-left-last,
|
|
347
|
+
.ant-table.ant-table-small tfoot > tr > th.ant-table-cell-fix-left-last,
|
|
348
|
+
.ant-table.ant-table-small tfoot > tr > td.ant-table-cell-fix-left-last {
|
|
349
|
+
padding-right: 15px !important;
|
|
329
350
|
}
|
|
330
351
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-title,
|
|
331
352
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-footer,
|
|
@@ -336,6 +357,22 @@ a:hover {
|
|
|
336
357
|
padding: 7px 5px;
|
|
337
358
|
font-size: 12px;
|
|
338
359
|
}
|
|
360
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-title:first-child,
|
|
361
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-footer:first-child,
|
|
362
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-thead > tr > th:first-child,
|
|
363
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-tbody > tr > td:first-child,
|
|
364
|
+
.ls-pro-table-mini .ant-table.ant-table-small tfoot > tr > th:first-child,
|
|
365
|
+
.ls-pro-table-mini .ant-table.ant-table-small tfoot > tr > td:first-child {
|
|
366
|
+
padding: 7px 5px 7px 16px;
|
|
367
|
+
}
|
|
368
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-title:last-child,
|
|
369
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-footer:last-child,
|
|
370
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-thead > tr > th:last-child,
|
|
371
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-tbody > tr > td:last-child,
|
|
372
|
+
.ls-pro-table-mini .ant-table.ant-table-small tfoot > tr > th:last-child,
|
|
373
|
+
.ls-pro-table-mini .ant-table.ant-table-small tfoot > tr > td:last-child {
|
|
374
|
+
padding: 7px 16px 7px 5px;
|
|
375
|
+
}
|
|
339
376
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-title.ant-table-cell-fix-right-first,
|
|
340
377
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-footer.ant-table-cell-fix-right-first,
|
|
341
378
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-thead > tr > th.ant-table-cell-fix-right-first,
|
|
@@ -2263,38 +2300,54 @@ html {
|
|
|
2263
2300
|
flex: 1;
|
|
2264
2301
|
overflow: auto !important;
|
|
2265
2302
|
}
|
|
2266
|
-
.ant-pro-table-srcoll .ant-table
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
.ant-pro-table-srcoll .ant-table.ant-table-small .ant-table-
|
|
2270
|
-
|
|
2271
|
-
|
|
2303
|
+
.ant-pro-table-srcoll .ant-table-placeholder td {
|
|
2304
|
+
border-bottom: none;
|
|
2305
|
+
}
|
|
2306
|
+
.ant-pro-table-srcoll .ant-table.ant-table-small tfoot.ant-table-summary tr td:last-child {
|
|
2307
|
+
padding-right: 17px !important;
|
|
2308
|
+
}
|
|
2309
|
+
.ant-table.ant-table-small .ant-table-title,
|
|
2310
|
+
.ant-table.ant-table-small .ant-table-footer,
|
|
2311
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th,
|
|
2312
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td,
|
|
2313
|
+
.ant-table.ant-table-small tfoot > tr > th,
|
|
2314
|
+
.ant-table.ant-table-small tfoot > tr > td {
|
|
2272
2315
|
padding: 10px 5px;
|
|
2273
2316
|
white-space: nowrap;
|
|
2274
2317
|
text-overflow: ellipsis;
|
|
2275
2318
|
overflow: hidden;
|
|
2276
2319
|
}
|
|
2277
|
-
.ant-
|
|
2278
|
-
.ant-
|
|
2279
|
-
.ant-
|
|
2280
|
-
.ant-
|
|
2281
|
-
.ant-
|
|
2282
|
-
.ant-
|
|
2283
|
-
padding
|
|
2284
|
-
}
|
|
2285
|
-
.ant-
|
|
2286
|
-
.ant-
|
|
2287
|
-
.ant-
|
|
2288
|
-
.ant-
|
|
2289
|
-
.ant-
|
|
2290
|
-
.ant-
|
|
2291
|
-
padding
|
|
2292
|
-
}
|
|
2293
|
-
.ant-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
.ant-
|
|
2297
|
-
|
|
2320
|
+
.ant-table.ant-table-small .ant-table-title:first-child,
|
|
2321
|
+
.ant-table.ant-table-small .ant-table-footer:first-child,
|
|
2322
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th:first-child,
|
|
2323
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td:first-child,
|
|
2324
|
+
.ant-table.ant-table-small tfoot > tr > th:first-child,
|
|
2325
|
+
.ant-table.ant-table-small tfoot > tr > td:first-child {
|
|
2326
|
+
padding: 10px 5px 10px 16px;
|
|
2327
|
+
}
|
|
2328
|
+
.ant-table.ant-table-small .ant-table-title:last-child,
|
|
2329
|
+
.ant-table.ant-table-small .ant-table-footer:last-child,
|
|
2330
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th:last-child,
|
|
2331
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td:last-child,
|
|
2332
|
+
.ant-table.ant-table-small tfoot > tr > th:last-child,
|
|
2333
|
+
.ant-table.ant-table-small tfoot > tr > td:last-child {
|
|
2334
|
+
padding: 10px 16px 10px 5px;
|
|
2335
|
+
}
|
|
2336
|
+
.ant-table.ant-table-small .ant-table-title.ant-table-cell-fix-right-first,
|
|
2337
|
+
.ant-table.ant-table-small .ant-table-footer.ant-table-cell-fix-right-first,
|
|
2338
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th.ant-table-cell-fix-right-first,
|
|
2339
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td.ant-table-cell-fix-right-first,
|
|
2340
|
+
.ant-table.ant-table-small tfoot > tr > th.ant-table-cell-fix-right-first,
|
|
2341
|
+
.ant-table.ant-table-small tfoot > tr > td.ant-table-cell-fix-right-first {
|
|
2342
|
+
padding-left: 15px !important;
|
|
2343
|
+
}
|
|
2344
|
+
.ant-table.ant-table-small .ant-table-title.ant-table-cell-fix-left-last,
|
|
2345
|
+
.ant-table.ant-table-small .ant-table-footer.ant-table-cell-fix-left-last,
|
|
2346
|
+
.ant-table.ant-table-small .ant-table-thead > tr > th.ant-table-cell-fix-left-last,
|
|
2347
|
+
.ant-table.ant-table-small .ant-table-tbody > tr > td.ant-table-cell-fix-left-last,
|
|
2348
|
+
.ant-table.ant-table-small tfoot > tr > th.ant-table-cell-fix-left-last,
|
|
2349
|
+
.ant-table.ant-table-small tfoot > tr > td.ant-table-cell-fix-left-last {
|
|
2350
|
+
padding-right: 15px !important;
|
|
2298
2351
|
}
|
|
2299
2352
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-title,
|
|
2300
2353
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-footer,
|
|
@@ -2305,6 +2358,22 @@ html {
|
|
|
2305
2358
|
padding: 7px 5px;
|
|
2306
2359
|
font-size: 12px;
|
|
2307
2360
|
}
|
|
2361
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-title:first-child,
|
|
2362
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-footer:first-child,
|
|
2363
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-thead > tr > th:first-child,
|
|
2364
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-tbody > tr > td:first-child,
|
|
2365
|
+
.ls-pro-table-mini .ant-table.ant-table-small tfoot > tr > th:first-child,
|
|
2366
|
+
.ls-pro-table-mini .ant-table.ant-table-small tfoot > tr > td:first-child {
|
|
2367
|
+
padding: 7px 5px 7px 16px;
|
|
2368
|
+
}
|
|
2369
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-title:last-child,
|
|
2370
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-footer:last-child,
|
|
2371
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-thead > tr > th:last-child,
|
|
2372
|
+
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-tbody > tr > td:last-child,
|
|
2373
|
+
.ls-pro-table-mini .ant-table.ant-table-small tfoot > tr > th:last-child,
|
|
2374
|
+
.ls-pro-table-mini .ant-table.ant-table-small tfoot > tr > td:last-child {
|
|
2375
|
+
padding: 7px 16px 7px 5px;
|
|
2376
|
+
}
|
|
2308
2377
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-title.ant-table-cell-fix-right-first,
|
|
2309
2378
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-footer.ant-table-cell-fix-right-first,
|
|
2310
2379
|
.ls-pro-table-mini .ant-table.ant-table-small .ant-table-thead > tr > th.ant-table-cell-fix-right-first,
|
|
@@ -2631,8 +2700,8 @@ html {
|
|
|
2631
2700
|
|
|
2632
2701
|
.ant-pro-table-alert {
|
|
2633
2702
|
position: absolute;
|
|
2634
|
-
bottom:
|
|
2635
|
-
margin-left:
|
|
2703
|
+
bottom: 24px;
|
|
2704
|
+
margin-left: 16px;
|
|
2636
2705
|
}
|
|
2637
2706
|
.ant-pro-table-alert .ant-alert.ant-alert-no-icon {
|
|
2638
2707
|
height: 32px;
|