@tntd/monaco-editor 1.1.3 → 1.2.0
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/.octopus/ar-EG/common.js +3 -0
- package/.octopus/ar-EG/index.js +7 -0
- package/.octopus/ar-EG/monacoeditor.js +3 -0
- package/.octopus/en-US/common.js +3 -0
- package/.octopus/en-US/index.js +7 -0
- package/.octopus/en-US/monacoeditor.js +3 -0
- package/.octopus/es-ES/common.js +3 -0
- package/.octopus/es-ES/index.js +7 -0
- package/.octopus/es-ES/monacoeditor.js +3 -0
- package/.octopus/ko-KR/common.js +3 -0
- package/.octopus/ko-KR/index.js +7 -0
- package/.octopus/ko-KR/monacoeditor.js +3 -0
- package/.octopus/th-TH/common.js +3 -0
- package/.octopus/th-TH/index.js +7 -0
- package/.octopus/th-TH/monacoeditor.js +3 -0
- package/.octopus/zh-CN/common.js +3 -0
- package/.octopus/zh-CN/index.js +7 -0
- package/.octopus/zh-CN/monacoeditor.js +3 -0
- package/.octopus/zh-TW/common.js +3 -0
- package/.octopus/zh-TW/index.js +7 -0
- package/.octopus/zh-TW/monacoeditor.js +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
- package/src/I18N.js +26 -28
- package/src/core/BaseEditor.js +1 -1
- package/src/locale/ar_EG.js +5 -0
- package/src/locale/en_US.js +5 -0
- package/src/locale/es_ES.js +5 -0
- package/src/locale/ko_KR.js +5 -0
- package/src/locale/th_TH.js +5 -0
- package/src/locale/zh_CN.js +5 -0
- package/src/locale/zh_TW.js +5 -0
- package/umd/tntd-monaco.min.css +143 -78
- package/umd/tntd-monaco.min.js +1 -1
package/umd/tntd-monaco.min.css
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
}
|
|
4
4
|
.tnt-react-monaco-editor-container .line-numbers {
|
|
5
5
|
word-wrap: normal !important;
|
|
6
|
-
font-family: Helvetica, Arial, sans-serif, Microsoft YaHei, Menlo, Monaco,
|
|
6
|
+
font-family: Helvetica, Arial, sans-serif, Microsoft YaHei, Menlo, Monaco, 'Courier New',
|
|
7
|
+
monospace;
|
|
7
8
|
}
|
|
8
9
|
.tnt-codemirror {
|
|
9
10
|
border: none !important;
|
|
@@ -27,7 +28,10 @@
|
|
|
27
28
|
line-height: 22px;
|
|
28
29
|
padding: 5px 12px;
|
|
29
30
|
}
|
|
30
|
-
.tntd-cascader-dropdown
|
|
31
|
+
.tntd-cascader-dropdown
|
|
32
|
+
.tntd-cascader-menu
|
|
33
|
+
.tntd-cascader-menu-item
|
|
34
|
+
.tntd-cascader-menu-item-content {
|
|
31
35
|
flex: 1;
|
|
32
36
|
overflow: hidden;
|
|
33
37
|
white-space: nowrap;
|
|
@@ -87,7 +91,9 @@ body {
|
|
|
87
91
|
margin: 0;
|
|
88
92
|
color: #17233d;
|
|
89
93
|
font-size: 14px;
|
|
90
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
|
|
94
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
|
|
95
|
+
'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
|
|
96
|
+
'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
91
97
|
font-variant: tabular-nums;
|
|
92
98
|
line-height: 1.57142857;
|
|
93
99
|
background-color: #fff;
|
|
@@ -270,9 +276,9 @@ select {
|
|
|
270
276
|
text-transform: none;
|
|
271
277
|
}
|
|
272
278
|
button,
|
|
273
|
-
html [type=
|
|
274
|
-
[type=
|
|
275
|
-
[type=
|
|
279
|
+
html [type='button'],
|
|
280
|
+
[type='reset'],
|
|
281
|
+
[type='submit'] {
|
|
276
282
|
-webkit-appearance: button;
|
|
277
283
|
}
|
|
278
284
|
button::-moz-focus-inner,
|
|
@@ -676,7 +682,8 @@ mark {
|
|
|
676
682
|
border-radius: inherit;
|
|
677
683
|
box-shadow: 0 0 0 0 #126bfb;
|
|
678
684
|
opacity: 0.2;
|
|
679
|
-
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
|
|
685
|
+
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
|
|
686
|
+
waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
680
687
|
animation-fill-mode: forwards;
|
|
681
688
|
content: '';
|
|
682
689
|
pointer-events: none;
|
|
@@ -1272,11 +1279,13 @@ mark {
|
|
|
1272
1279
|
overflow: hidden;
|
|
1273
1280
|
}
|
|
1274
1281
|
.ant-motion-collapse-legacy-active {
|
|
1275
|
-
transition: height 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
1282
|
+
transition: height 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
1283
|
+
opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
|
|
1276
1284
|
}
|
|
1277
1285
|
.ant-motion-collapse {
|
|
1278
1286
|
overflow: hidden;
|
|
1279
|
-
transition: height 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
1287
|
+
transition: height 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
1288
|
+
opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
|
|
1280
1289
|
}
|
|
1281
1290
|
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
1282
1291
|
/* stylelint-disable no-duplicate-selectors */
|
|
@@ -1390,12 +1399,12 @@ mark {
|
|
|
1390
1399
|
/* stylelint-disable */
|
|
1391
1400
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
1392
1401
|
|
|
1393
|
-
[class*=tntd-] input::-ms-clear,
|
|
1394
|
-
[class*=tntd-] input::-ms-reveal,
|
|
1395
|
-
[class*=tntd-]::-ms-clear,
|
|
1396
|
-
[class^=tntd-] input::-ms-clear,
|
|
1397
|
-
[class^=tntd-] input::-ms-reveal,
|
|
1398
|
-
[class^=tntd-]::-ms-clear {
|
|
1402
|
+
[class*='tntd-'] input::-ms-clear,
|
|
1403
|
+
[class*='tntd-'] input::-ms-reveal,
|
|
1404
|
+
[class*='tntd-']::-ms-clear,
|
|
1405
|
+
[class^='tntd-'] input::-ms-clear,
|
|
1406
|
+
[class^='tntd-'] input::-ms-reveal,
|
|
1407
|
+
[class^='tntd-']::-ms-clear {
|
|
1399
1408
|
display: none;
|
|
1400
1409
|
}
|
|
1401
1410
|
.tntd-fade-appear,
|
|
@@ -1640,18 +1649,19 @@ mark {
|
|
|
1640
1649
|
transform: rotate(1turn);
|
|
1641
1650
|
}
|
|
1642
1651
|
}
|
|
1643
|
-
[tntd-click-animating-without-extra-node=true],
|
|
1644
|
-
[tntd-click-animating=true] {
|
|
1652
|
+
[tntd-click-animating-without-extra-node='true'],
|
|
1653
|
+
[tntd-click-animating='true'] {
|
|
1645
1654
|
position: relative;
|
|
1646
1655
|
}
|
|
1647
1656
|
.tntd-click-animating-node,
|
|
1648
|
-
[tntd-click-animating-without-extra-node=true]:after {
|
|
1649
|
-
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
|
|
1657
|
+
[tntd-click-animating-without-extra-node='true']:after {
|
|
1658
|
+
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
|
|
1659
|
+
waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
1650
1660
|
animation-fill-mode: forwards;
|
|
1651
1661
|
border-radius: inherit;
|
|
1652
1662
|
bottom: 0;
|
|
1653
1663
|
box-shadow: 0 0 0 0 #126bfb;
|
|
1654
|
-
content:
|
|
1664
|
+
content: '';
|
|
1655
1665
|
display: block;
|
|
1656
1666
|
left: 0;
|
|
1657
1667
|
opacity: 0.2;
|
|
@@ -2208,7 +2218,8 @@ mark {
|
|
|
2208
2218
|
}
|
|
2209
2219
|
.tntd-motion-collapse,
|
|
2210
2220
|
.tntd-motion-collapse-legacy-active {
|
|
2211
|
-
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
2221
|
+
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
2222
|
+
opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
|
|
2212
2223
|
}
|
|
2213
2224
|
.tntd-motion-collapse {
|
|
2214
2225
|
overflow: hidden;
|
|
@@ -2224,7 +2235,7 @@ mark {
|
|
|
2224
2235
|
}
|
|
2225
2236
|
}
|
|
2226
2237
|
.tntd-cascader-checkbox {
|
|
2227
|
-
font-feature-settings:
|
|
2238
|
+
font-feature-settings: 'tnum', 'tnum';
|
|
2228
2239
|
box-sizing: border-box;
|
|
2229
2240
|
color: rgba(0, 0, 0, 0.85);
|
|
2230
2241
|
cursor: pointer;
|
|
@@ -2250,7 +2261,7 @@ mark {
|
|
|
2250
2261
|
animation-fill-mode: backwards;
|
|
2251
2262
|
border: 1px solid #126bfb;
|
|
2252
2263
|
border-radius: 2px;
|
|
2253
|
-
content:
|
|
2264
|
+
content: '';
|
|
2254
2265
|
height: 100%;
|
|
2255
2266
|
left: 0;
|
|
2256
2267
|
position: absolute;
|
|
@@ -2280,7 +2291,7 @@ mark {
|
|
|
2280
2291
|
border: 1px solid #fff;
|
|
2281
2292
|
border-left: 0;
|
|
2282
2293
|
border-top: 0;
|
|
2283
|
-
content:
|
|
2294
|
+
content: ' ';
|
|
2284
2295
|
display: table;
|
|
2285
2296
|
height: 7px;
|
|
2286
2297
|
left: 21.5%;
|
|
@@ -2307,7 +2318,7 @@ mark {
|
|
|
2307
2318
|
border: 1px solid #fff;
|
|
2308
2319
|
border-left: 0;
|
|
2309
2320
|
border-top: 0;
|
|
2310
|
-
content:
|
|
2321
|
+
content: ' ';
|
|
2311
2322
|
display: table;
|
|
2312
2323
|
opacity: 1;
|
|
2313
2324
|
position: absolute;
|
|
@@ -2321,7 +2332,8 @@ mark {
|
|
|
2321
2332
|
.tntd-cascader-checkbox-disabled {
|
|
2322
2333
|
cursor: not-allowed;
|
|
2323
2334
|
}
|
|
2324
|
-
.tntd-cascader-checkbox-disabled.tntd-cascader-checkbox-checked
|
|
2335
|
+
.tntd-cascader-checkbox-disabled.tntd-cascader-checkbox-checked
|
|
2336
|
+
.tntd-cascader-checkbox-inner:after {
|
|
2325
2337
|
animation-name: none;
|
|
2326
2338
|
border-color: rgba(0, 0, 0, 0.25);
|
|
2327
2339
|
}
|
|
@@ -2347,7 +2359,7 @@ mark {
|
|
|
2347
2359
|
visibility: hidden;
|
|
2348
2360
|
}
|
|
2349
2361
|
.tntd-cascader-checkbox-wrapper {
|
|
2350
|
-
font-feature-settings:
|
|
2362
|
+
font-feature-settings: 'tnum', 'tnum';
|
|
2351
2363
|
align-items: baseline;
|
|
2352
2364
|
box-sizing: border-box;
|
|
2353
2365
|
color: rgba(0, 0, 0, 0.85);
|
|
@@ -2362,7 +2374,7 @@ mark {
|
|
|
2362
2374
|
padding: 0;
|
|
2363
2375
|
}
|
|
2364
2376
|
.tntd-cascader-checkbox-wrapper:after {
|
|
2365
|
-
content:
|
|
2377
|
+
content: '\a0';
|
|
2366
2378
|
display: inline-block;
|
|
2367
2379
|
overflow: hidden;
|
|
2368
2380
|
width: 0;
|
|
@@ -2373,7 +2385,7 @@ mark {
|
|
|
2373
2385
|
.tntd-cascader-checkbox-wrapper + .tntd-cascader-checkbox-wrapper {
|
|
2374
2386
|
margin-left: 8px;
|
|
2375
2387
|
}
|
|
2376
|
-
.tntd-cascader-checkbox-wrapper.tntd-cascader-checkbox-wrapper-in-form-item input[type=checkbox] {
|
|
2388
|
+
.tntd-cascader-checkbox-wrapper.tntd-cascader-checkbox-wrapper-in-form-item input[type='checkbox'] {
|
|
2377
2389
|
height: 14px;
|
|
2378
2390
|
width: 14px;
|
|
2379
2391
|
}
|
|
@@ -2382,7 +2394,7 @@ mark {
|
|
|
2382
2394
|
padding-right: 8px;
|
|
2383
2395
|
}
|
|
2384
2396
|
.tntd-cascader-checkbox-group {
|
|
2385
|
-
font-feature-settings:
|
|
2397
|
+
font-feature-settings: 'tnum', 'tnum';
|
|
2386
2398
|
box-sizing: border-box;
|
|
2387
2399
|
color: rgba(0, 0, 0, 0.85);
|
|
2388
2400
|
display: inline-block;
|
|
@@ -2409,7 +2421,7 @@ mark {
|
|
|
2409
2421
|
.tntd-cascader-checkbox-indeterminate .tntd-cascader-checkbox-inner:after {
|
|
2410
2422
|
background-color: #126bfb;
|
|
2411
2423
|
border: 0;
|
|
2412
|
-
content:
|
|
2424
|
+
content: ' ';
|
|
2413
2425
|
height: 8px;
|
|
2414
2426
|
left: 50%;
|
|
2415
2427
|
opacity: 1;
|
|
@@ -2417,7 +2429,8 @@ mark {
|
|
|
2417
2429
|
transform: translate(-50%, -50%) scale(1);
|
|
2418
2430
|
width: 8px;
|
|
2419
2431
|
}
|
|
2420
|
-
.tntd-cascader-checkbox-indeterminate.tntd-cascader-checkbox-disabled
|
|
2432
|
+
.tntd-cascader-checkbox-indeterminate.tntd-cascader-checkbox-disabled
|
|
2433
|
+
.tntd-cascader-checkbox-inner:after {
|
|
2421
2434
|
background-color: rgba(0, 0, 0, 0.25);
|
|
2422
2435
|
border-color: rgba(0, 0, 0, 0.25);
|
|
2423
2436
|
}
|
|
@@ -2492,7 +2505,8 @@ mark {
|
|
|
2492
2505
|
font-size: 10px;
|
|
2493
2506
|
margin-left: 4px;
|
|
2494
2507
|
}
|
|
2495
|
-
.tntd-cascader-menu-item-disabled.tntd-cascader-menu-item-expand
|
|
2508
|
+
.tntd-cascader-menu-item-disabled.tntd-cascader-menu-item-expand
|
|
2509
|
+
.tntd-cascader-menu-item-expand-icon,
|
|
2496
2510
|
.tntd-cascader-menu-item-disabled.tntd-cascader-menu-item-loading-icon {
|
|
2497
2511
|
color: rgba(0, 0, 0, 0.25);
|
|
2498
2512
|
}
|
|
@@ -2639,7 +2653,7 @@ mark {
|
|
|
2639
2653
|
.tntd-select-single .tntd-select-selector .tntd-select-selection-item:after,
|
|
2640
2654
|
.tntd-select-single .tntd-select-selector .tntd-select-selection-placeholder:after,
|
|
2641
2655
|
.tntd-select-single .tntd-select-selector:after {
|
|
2642
|
-
content:
|
|
2656
|
+
content: '\a0';
|
|
2643
2657
|
display: inline-block;
|
|
2644
2658
|
visibility: hidden;
|
|
2645
2659
|
width: 0;
|
|
@@ -2659,7 +2673,9 @@ mark {
|
|
|
2659
2673
|
padding: 0 11px;
|
|
2660
2674
|
width: 100%;
|
|
2661
2675
|
}
|
|
2662
|
-
.tntd-select-single:not(.tntd-select-customize-input)
|
|
2676
|
+
.tntd-select-single:not(.tntd-select-customize-input)
|
|
2677
|
+
.tntd-select-selector
|
|
2678
|
+
.tntd-select-selection-search-input {
|
|
2663
2679
|
height: 32px;
|
|
2664
2680
|
}
|
|
2665
2681
|
.tntd-select-single:not(.tntd-select-customize-input) .tntd-select-selector:after {
|
|
@@ -2668,39 +2684,55 @@ mark {
|
|
|
2668
2684
|
.tntd-select-single.tntd-select-customize-input .tntd-select-selector:after {
|
|
2669
2685
|
display: none;
|
|
2670
2686
|
}
|
|
2671
|
-
.tntd-select-single.tntd-select-customize-input
|
|
2687
|
+
.tntd-select-single.tntd-select-customize-input
|
|
2688
|
+
.tntd-select-selector
|
|
2689
|
+
.tntd-select-selection-search {
|
|
2672
2690
|
position: static;
|
|
2673
2691
|
width: 100%;
|
|
2674
2692
|
}
|
|
2675
|
-
.tntd-select-single.tntd-select-customize-input
|
|
2693
|
+
.tntd-select-single.tntd-select-customize-input
|
|
2694
|
+
.tntd-select-selector
|
|
2695
|
+
.tntd-select-selection-placeholder {
|
|
2676
2696
|
left: 0;
|
|
2677
2697
|
padding: 0 11px;
|
|
2678
2698
|
position: absolute;
|
|
2679
2699
|
right: 0;
|
|
2680
2700
|
}
|
|
2681
|
-
.tntd-select-single.tntd-select-customize-input
|
|
2701
|
+
.tntd-select-single.tntd-select-customize-input
|
|
2702
|
+
.tntd-select-selector
|
|
2703
|
+
.tntd-select-selection-placeholder:after {
|
|
2682
2704
|
display: none;
|
|
2683
2705
|
}
|
|
2684
2706
|
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input) .tntd-select-selector {
|
|
2685
2707
|
height: 40px;
|
|
2686
2708
|
}
|
|
2687
|
-
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input)
|
|
2688
|
-
.tntd-select-
|
|
2709
|
+
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input)
|
|
2710
|
+
.tntd-select-selector
|
|
2711
|
+
.tntd-select-selection-item,
|
|
2712
|
+
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input)
|
|
2713
|
+
.tntd-select-selector
|
|
2714
|
+
.tntd-select-selection-placeholder,
|
|
2689
2715
|
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input) .tntd-select-selector:after {
|
|
2690
2716
|
line-height: 38px;
|
|
2691
2717
|
}
|
|
2692
|
-
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input):not(.tntd-select-customize-input)
|
|
2718
|
+
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input):not(.tntd-select-customize-input)
|
|
2719
|
+
.tntd-select-selection-search-input {
|
|
2693
2720
|
height: 38px;
|
|
2694
2721
|
}
|
|
2695
2722
|
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selector {
|
|
2696
2723
|
height: 24px;
|
|
2697
2724
|
}
|
|
2698
|
-
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input)
|
|
2699
|
-
.tntd-select-
|
|
2725
|
+
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input)
|
|
2726
|
+
.tntd-select-selector
|
|
2727
|
+
.tntd-select-selection-item,
|
|
2728
|
+
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input)
|
|
2729
|
+
.tntd-select-selector
|
|
2730
|
+
.tntd-select-selection-placeholder,
|
|
2700
2731
|
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selector:after {
|
|
2701
2732
|
line-height: 22px;
|
|
2702
2733
|
}
|
|
2703
|
-
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input):not(.tntd-select-customize-input)
|
|
2734
|
+
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input):not(.tntd-select-customize-input)
|
|
2735
|
+
.tntd-select-selection-search-input {
|
|
2704
2736
|
height: 22px;
|
|
2705
2737
|
}
|
|
2706
2738
|
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selection-search {
|
|
@@ -2710,11 +2742,14 @@ mark {
|
|
|
2710
2742
|
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selector {
|
|
2711
2743
|
padding: 0 7px;
|
|
2712
2744
|
}
|
|
2713
|
-
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
2745
|
+
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
2746
|
+
.tntd-select-selection-search {
|
|
2714
2747
|
right: 28px;
|
|
2715
2748
|
}
|
|
2716
|
-
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
2717
|
-
.tntd-select-
|
|
2749
|
+
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
2750
|
+
.tntd-select-selection-item,
|
|
2751
|
+
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
2752
|
+
.tntd-select-selection-placeholder {
|
|
2718
2753
|
padding-right: 21px;
|
|
2719
2754
|
}
|
|
2720
2755
|
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input) .tntd-select-selector {
|
|
@@ -2746,7 +2781,7 @@ mark {
|
|
|
2746
2781
|
cursor: not-allowed;
|
|
2747
2782
|
}
|
|
2748
2783
|
.tntd-select-multiple .tntd-select-selector:after {
|
|
2749
|
-
content:
|
|
2784
|
+
content: '\a0';
|
|
2750
2785
|
display: inline-block;
|
|
2751
2786
|
line-height: 22px;
|
|
2752
2787
|
margin: 1px 0;
|
|
@@ -2823,7 +2858,10 @@ mark {
|
|
|
2823
2858
|
.tntd-select-multiple .tntd-select-selection-item-remove:before {
|
|
2824
2859
|
display: none;
|
|
2825
2860
|
}
|
|
2826
|
-
.tntd-select-multiple
|
|
2861
|
+
.tntd-select-multiple
|
|
2862
|
+
.tntd-select-selection-item-remove
|
|
2863
|
+
.tntd-select-multiple
|
|
2864
|
+
.tntd-select-selection-item-remove-icon {
|
|
2827
2865
|
display: block;
|
|
2828
2866
|
}
|
|
2829
2867
|
.tntd-select-multiple .tntd-select-selection-item-remove > .anticon {
|
|
@@ -2832,7 +2870,10 @@ mark {
|
|
|
2832
2870
|
.tntd-select-multiple .tntd-select-selection-item-remove:hover {
|
|
2833
2871
|
color: rgba(0, 0, 0, 0.75);
|
|
2834
2872
|
}
|
|
2835
|
-
.tntd-select-multiple
|
|
2873
|
+
.tntd-select-multiple
|
|
2874
|
+
.tntd-select-selection-overflow-item
|
|
2875
|
+
+ .tntd-select-selection-overflow-item
|
|
2876
|
+
.tntd-select-selection-search {
|
|
2836
2877
|
-webkit-margin-start: 0;
|
|
2837
2878
|
margin-inline-start: 0;
|
|
2838
2879
|
}
|
|
@@ -2844,7 +2885,8 @@ mark {
|
|
|
2844
2885
|
}
|
|
2845
2886
|
.tntd-select-multiple .tntd-select-selection-search-input,
|
|
2846
2887
|
.tntd-select-multiple .tntd-select-selection-search-mirror {
|
|
2847
|
-
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
|
|
2888
|
+
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
|
|
2889
|
+
sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
2848
2890
|
height: 24px;
|
|
2849
2891
|
line-height: 24px;
|
|
2850
2892
|
transition: all 0.3s;
|
|
@@ -2914,23 +2956,29 @@ mark {
|
|
|
2914
2956
|
.tntd-select-disabled .tntd-select-selection-item-remove {
|
|
2915
2957
|
display: none;
|
|
2916
2958
|
}
|
|
2917
|
-
.tntd-select-status-error.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer)
|
|
2959
|
+
.tntd-select-status-error.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer)
|
|
2960
|
+
.tntd-select-selector {
|
|
2918
2961
|
background-color: #fff;
|
|
2919
2962
|
border-color: #ef4444 !important;
|
|
2920
2963
|
}
|
|
2921
|
-
.tntd-select-status-error.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-focused
|
|
2922
|
-
.tntd-select-
|
|
2964
|
+
.tntd-select-status-error.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-focused
|
|
2965
|
+
.tntd-select-selector,
|
|
2966
|
+
.tntd-select-status-error.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-open
|
|
2967
|
+
.tntd-select-selector {
|
|
2923
2968
|
border-color: #ef4444;
|
|
2924
2969
|
border-right-width: 1px;
|
|
2925
2970
|
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
|
|
2926
2971
|
outline: 0;
|
|
2927
2972
|
}
|
|
2928
|
-
.tntd-select-status-warning.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer)
|
|
2973
|
+
.tntd-select-status-warning.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer)
|
|
2974
|
+
.tntd-select-selector {
|
|
2929
2975
|
background-color: #fff;
|
|
2930
2976
|
border-color: #f7b035 !important;
|
|
2931
2977
|
}
|
|
2932
|
-
.tntd-select-status-warning.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-focused
|
|
2933
|
-
.tntd-select-
|
|
2978
|
+
.tntd-select-status-warning.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-focused
|
|
2979
|
+
.tntd-select-selector,
|
|
2980
|
+
.tntd-select-status-warning.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-open
|
|
2981
|
+
.tntd-select-selector {
|
|
2934
2982
|
border-color: #f7b035;
|
|
2935
2983
|
border-right-width: 1px;
|
|
2936
2984
|
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
|
|
@@ -2949,7 +2997,7 @@ mark {
|
|
|
2949
2997
|
padding-right: 42px;
|
|
2950
2998
|
}
|
|
2951
2999
|
.tntd-select {
|
|
2952
|
-
font-feature-settings:
|
|
3000
|
+
font-feature-settings: 'tnum', 'tnum';
|
|
2953
3001
|
box-sizing: border-box;
|
|
2954
3002
|
color: rgba(0, 0, 0, 0.85);
|
|
2955
3003
|
cursor: pointer;
|
|
@@ -2990,7 +3038,8 @@ mark {
|
|
|
2990
3038
|
.tntd-select-show-search.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector input {
|
|
2991
3039
|
cursor: auto;
|
|
2992
3040
|
}
|
|
2993
|
-
.tntd-select-focused:not(.tntd-select-disabled).tntd-select:not(.tntd-select-customize-input)
|
|
3041
|
+
.tntd-select-focused:not(.tntd-select-disabled).tntd-select:not(.tntd-select-customize-input)
|
|
3042
|
+
.tntd-select-selector {
|
|
2994
3043
|
border-color: #126bfb;
|
|
2995
3044
|
border-right-width: 1px;
|
|
2996
3045
|
outline: 0;
|
|
@@ -3000,13 +3049,16 @@ mark {
|
|
|
3000
3049
|
color: rgba(0, 0, 0, 0.25);
|
|
3001
3050
|
cursor: not-allowed;
|
|
3002
3051
|
}
|
|
3003
|
-
.tntd-select-multiple.tntd-select-disabled.tntd-select:not(.tntd-select-customize-input)
|
|
3052
|
+
.tntd-select-multiple.tntd-select-disabled.tntd-select:not(.tntd-select-customize-input)
|
|
3053
|
+
.tntd-select-selector {
|
|
3004
3054
|
background: #f1f2f5;
|
|
3005
3055
|
}
|
|
3006
3056
|
.tntd-select-disabled.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector input {
|
|
3007
3057
|
cursor: not-allowed;
|
|
3008
3058
|
}
|
|
3009
|
-
.tntd-select:not(.tntd-select-customize-input)
|
|
3059
|
+
.tntd-select:not(.tntd-select-customize-input)
|
|
3060
|
+
.tntd-select-selector
|
|
3061
|
+
.tntd-select-selection-search-input {
|
|
3010
3062
|
-webkit-appearance: none;
|
|
3011
3063
|
-moz-appearance: none;
|
|
3012
3064
|
appearance: none;
|
|
@@ -3016,7 +3068,9 @@ mark {
|
|
|
3016
3068
|
outline: none;
|
|
3017
3069
|
padding: 0;
|
|
3018
3070
|
}
|
|
3019
|
-
.tntd-select:not(.tntd-select-customize-input)
|
|
3071
|
+
.tntd-select:not(.tntd-select-customize-input)
|
|
3072
|
+
.tntd-select-selector
|
|
3073
|
+
.tntd-select-selection-search-input::-webkit-search-cancel-button {
|
|
3020
3074
|
-webkit-appearance: none;
|
|
3021
3075
|
display: none;
|
|
3022
3076
|
}
|
|
@@ -3135,10 +3189,11 @@ mark {
|
|
|
3135
3189
|
opacity: 1;
|
|
3136
3190
|
}
|
|
3137
3191
|
.tntd-select-dropdown {
|
|
3138
|
-
font-feature-settings:
|
|
3192
|
+
font-feature-settings: 'tnum', 'tnum';
|
|
3139
3193
|
background-color: #fff;
|
|
3140
3194
|
border-radius: 2px;
|
|
3141
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
3195
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
3196
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
3142
3197
|
box-sizing: border-box;
|
|
3143
3198
|
color: rgba(0, 0, 0, 0.85);
|
|
3144
3199
|
font-size: 14px;
|
|
@@ -3220,7 +3275,8 @@ mark {
|
|
|
3220
3275
|
color: rgba(0, 0, 0, 0.85);
|
|
3221
3276
|
font-weight: 600;
|
|
3222
3277
|
}
|
|
3223
|
-
.tntd-select-item-option-selected:not(.tntd-select-item-option-disabled)
|
|
3278
|
+
.tntd-select-item-option-selected:not(.tntd-select-item-option-disabled)
|
|
3279
|
+
.tntd-select-item-option-state {
|
|
3224
3280
|
color: #126bfb;
|
|
3225
3281
|
}
|
|
3226
3282
|
.tntd-select-item-option-disabled {
|
|
@@ -3260,19 +3316,24 @@ mark {
|
|
|
3260
3316
|
.tntd-select-compact-item[disabled] > * {
|
|
3261
3317
|
z-index: 0;
|
|
3262
3318
|
}
|
|
3263
|
-
.tntd-select-compact-item:not(.tntd-select-compact-first-item):not(.tntd-select-compact-last-item).tntd-select
|
|
3319
|
+
.tntd-select-compact-item:not(.tntd-select-compact-first-item):not(.tntd-select-compact-last-item).tntd-select
|
|
3320
|
+
> .tntd-select-selector {
|
|
3264
3321
|
border-radius: 0;
|
|
3265
3322
|
}
|
|
3266
|
-
.tntd-select-compact-item.tntd-select-compact-first-item.tntd-select:not(.tntd-select-compact-last-item):not(.tntd-select-compact-item-rtl)
|
|
3323
|
+
.tntd-select-compact-item.tntd-select-compact-first-item.tntd-select:not(.tntd-select-compact-last-item):not(.tntd-select-compact-item-rtl)
|
|
3324
|
+
> .tntd-select-selector {
|
|
3267
3325
|
border-bottom-right-radius: 0;
|
|
3268
3326
|
border-top-right-radius: 0;
|
|
3269
3327
|
}
|
|
3270
|
-
.tntd-select-compact-item.tntd-select-compact-last-item.tntd-select:not(.tntd-select-compact-first-item):not(.tntd-select-compact-item-rtl)
|
|
3271
|
-
|
|
3328
|
+
.tntd-select-compact-item.tntd-select-compact-last-item.tntd-select:not(.tntd-select-compact-first-item):not(.tntd-select-compact-item-rtl)
|
|
3329
|
+
> .tntd-select-selector,
|
|
3330
|
+
.tntd-select-compact-item.tntd-select.tntd-select-compact-first-item.tntd-select-compact-item-rtl:not(.tntd-select-compact-last-item)
|
|
3331
|
+
> .tntd-select-selector {
|
|
3272
3332
|
border-bottom-left-radius: 0;
|
|
3273
3333
|
border-top-left-radius: 0;
|
|
3274
3334
|
}
|
|
3275
|
-
.tntd-select-compact-item.tntd-select.tntd-select-compact-last-item.tntd-select-compact-item-rtl:not(.tntd-select-compact-first-item)
|
|
3335
|
+
.tntd-select-compact-item.tntd-select.tntd-select-compact-last-item.tntd-select-compact-item-rtl:not(.tntd-select-compact-first-item)
|
|
3336
|
+
> .tntd-select-selector {
|
|
3276
3337
|
border-bottom-right-radius: 0;
|
|
3277
3338
|
border-top-right-radius: 0;
|
|
3278
3339
|
}
|
|
@@ -3330,11 +3391,14 @@ mark {
|
|
|
3330
3391
|
padding-left: 18px;
|
|
3331
3392
|
padding-right: 0;
|
|
3332
3393
|
}
|
|
3333
|
-
.tntd-select-rtl.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
3394
|
+
.tntd-select-rtl.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
3395
|
+
.tntd-select-selection-search {
|
|
3334
3396
|
right: 6px;
|
|
3335
3397
|
}
|
|
3336
|
-
.tntd-select-rtl.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
3337
|
-
.tntd-select-
|
|
3398
|
+
.tntd-select-rtl.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
3399
|
+
.tntd-select-selection-item,
|
|
3400
|
+
.tntd-select-rtl.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow
|
|
3401
|
+
.tntd-select-selection-placeholder {
|
|
3338
3402
|
padding-left: 21px;
|
|
3339
3403
|
padding-right: 0;
|
|
3340
3404
|
}
|
|
@@ -3551,7 +3615,7 @@ mark {
|
|
|
3551
3615
|
}
|
|
3552
3616
|
.tnt-cascader-tag .array-icon {
|
|
3553
3617
|
margin: 0 2px;
|
|
3554
|
-
color: #
|
|
3618
|
+
color: #07c790;
|
|
3555
3619
|
font-size: 14px;
|
|
3556
3620
|
}
|
|
3557
3621
|
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
@@ -3567,7 +3631,7 @@ mark {
|
|
|
3567
3631
|
width: 0 !important;
|
|
3568
3632
|
}
|
|
3569
3633
|
.monaco-scroll-container > .tntd-cascader {
|
|
3570
|
-
height: 0
|
|
3634
|
+
height: 0;
|
|
3571
3635
|
width: 0;
|
|
3572
3636
|
opacity: 0;
|
|
3573
3637
|
}
|
|
@@ -3587,9 +3651,11 @@ mark {
|
|
|
3587
3651
|
width: auto;
|
|
3588
3652
|
}
|
|
3589
3653
|
.monaco-formula-drop-cascader.tntd-cascader-dropdown .tntd-cascader-menu .rc-virtual-list {
|
|
3590
|
-
width: auto
|
|
3654
|
+
width: auto;
|
|
3591
3655
|
}
|
|
3592
|
-
.monaco-formula-drop-cascader:not(.more-levels)
|
|
3656
|
+
.monaco-formula-drop-cascader:not(.more-levels)
|
|
3657
|
+
.tntd-cascader-menus
|
|
3658
|
+
.tntd-cascader-menu:only-child {
|
|
3593
3659
|
width: 280px !important;
|
|
3594
3660
|
}
|
|
3595
3661
|
.monaco-formula-drop-cascader .tntd-cascader-menus {
|
|
@@ -3608,4 +3674,3 @@ mark {
|
|
|
3608
3674
|
/* stylelint-disable no-duplicate-selectors */
|
|
3609
3675
|
/* stylelint-disable */
|
|
3610
3676
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
3611
|
-
|