rk-web-core 0.10.95 → 0.10.98

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rk-web-core",
3
3
  "description": "iep core utils",
4
- "version": "0.10.95",
4
+ "version": "0.10.98",
5
5
  "author": "",
6
6
  "main": "rk-web-core.js",
7
7
  "scripts": {
package/rk-web-core.css CHANGED
@@ -7,9 +7,6 @@ html {
7
7
  .rk-web-core {
8
8
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
9
9
  }
10
- .rk-web-core-full-layout {
11
- height: 100%;
12
- }
13
10
  .maptalks {
14
11
  position: relative;
15
12
  height: 100%;
@@ -195,9 +192,6 @@ html {
195
192
  .rk-web-core {
196
193
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
197
194
  }
198
- .rk-web-core-full-layout {
199
- height: 100%;
200
- }
201
195
  .maptalks {
202
196
  position: relative;
203
197
  height: 100%;
@@ -254,9 +248,6 @@ html {
254
248
  .rk-web-core {
255
249
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
256
250
  }
257
- .rk-web-core-full-layout {
258
- height: 100%;
259
- }
260
251
  .maptalks {
261
252
  position: relative;
262
253
  height: 100%;
@@ -274,9 +265,6 @@ html {
274
265
  .rk-web-core {
275
266
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
276
267
  }
277
- .rk-web-core-full-layout {
278
- height: 100%;
279
- }
280
268
  .maptalks {
281
269
  position: relative;
282
270
  height: 100%;
@@ -487,9 +475,6 @@ html {
487
475
  .rk-web-core {
488
476
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
489
477
  }
490
- .rk-web-core-full-layout {
491
- height: 100%;
492
- }
493
478
  .maptalks {
494
479
  position: relative;
495
480
  height: 100%;
@@ -611,9 +596,6 @@ html {
611
596
  .rk-web-core {
612
597
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
613
598
  }
614
- .rk-web-core-full-layout {
615
- height: 100%;
616
- }
617
599
  .maptalks {
618
600
  position: relative;
619
601
  height: 100%;
@@ -681,9 +663,6 @@ html {
681
663
  .rk-web-core {
682
664
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
683
665
  }
684
- .rk-web-core-full-layout {
685
- height: 100%;
686
- }
687
666
  .maptalks {
688
667
  position: relative;
689
668
  height: 100%;
@@ -696,6 +675,8 @@ html {
696
675
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
697
676
  overflow: hidden;
698
677
  user-select: none;
678
+ transition: all 0.2s;
679
+ width: var(--width);
699
680
  }
700
681
  .rk-web-core-slider .ant-menu-sub li span {
701
682
  margin-left: var(--left);
@@ -703,6 +684,9 @@ html {
703
684
  .rk-web-core-slider-inner {
704
685
  overflow: hidden;
705
686
  height: calc(100vh - 70px);
687
+ display: flex;
688
+ justify-content: space-between;
689
+ flex-direction: column;
706
690
  }
707
691
  .rk-web-core-slider-inner-header {
708
692
  flex: 1;
@@ -733,6 +717,23 @@ html {
733
717
  .rk-web-core-slider-inner-footer span:active svg {
734
718
  fill: var(--antd-wave-shadow-color);
735
719
  }
720
+ .rk-web-core-slider .ant-menu-item .iconfont + span,
721
+ .rk-web-core-slider .ant-menu-submenu-title .iconfont + span {
722
+ opacity: 1;
723
+ transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
724
+ }
725
+ .rk-web-core-slider .ant-menu-inline-collapsed .ant-menu-item-selected::after {
726
+ transform: scaleY(1) !important;
727
+ opacity: 1 !important;
728
+ }
729
+ .rk-web-core-slider .ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .iconfont + span,
730
+ .rk-web-core-slider .ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .iconfont + span,
731
+ .rk-web-core-slider .ant-menu-inline-collapsed > .ant-menu-item .iconfont + span,
732
+ .rk-web-core-slider .ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .iconfont + span {
733
+ display: inline-block;
734
+ max-width: 0;
735
+ opacity: 0;
736
+ }
736
737
  .rk-web-core-slider .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before {
737
738
  background: var(--antd-wave-shadow-color) !important;
738
739
  }
@@ -854,9 +855,6 @@ html {
854
855
  .rk-web-core {
855
856
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
856
857
  }
857
- .rk-web-core-full-layout {
858
- height: 100%;
859
- }
860
858
  .maptalks {
861
859
  position: relative;
862
860
  height: 100%;
@@ -977,9 +975,6 @@ html {
977
975
  .rk-web-core {
978
976
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
979
977
  }
980
- .rk-web-core-full-layout {
981
- height: 100%;
982
- }
983
978
  .maptalks {
984
979
  position: relative;
985
980
  height: 100%;
@@ -1225,9 +1220,6 @@ html {
1225
1220
  .rk-web-core {
1226
1221
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif, microsoft uighur;
1227
1222
  }
1228
- .rk-web-core-full-layout {
1229
- height: 100%;
1230
- }
1231
1223
  .maptalks {
1232
1224
  position: relative;
1233
1225
  height: 100%;