rk-web-core 0.10.66 → 0.10.69

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 +1 @@
1
- (window.webpackJsonprk_web_core=window.webpackJsonprk_web_core||[]).push([[1],{318:function(n,t,e){var r={"./App.vue":321};function o(n){var t=i(n);return e(t)}function i(n){if(!e.o(r,n)){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}return r[n]}o.keys=function(){return Object.keys(r)},o.resolve=i,n.exports=o,o.id=318},319:function(n,t,e){"use strict";e.r(t);var r=e(320),o=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(i);t.default=o.a},320:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"app",data:function(){return{}}}},321:function(n,t,e){"use strict";e.r(t);var r=e(323),o=e(319);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);var u=e(322),a=Object(u.a)(o.default,r.a,r.b,!1,null,null,null);t.default=a.exports},322:function(n,t,e){"use strict";function r(n,t,e,r,o,i,u,a){var s,c="function"==typeof n?n.options:n;if(t&&(c.render=t,c.staticRenderFns=e,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),u?(s=function(n){(n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),o&&o.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(u)},c._ssrRegister=s):o&&(s=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(c.functional){c._injectStyles=s;var f=c.render;c.render=function(n,t){return s.call(t),f(n,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:n,options:c}}e.d(t,"a",(function(){return r}))},323:function(n,t,e){"use strict";e.d(t,"a",(function(){return r})),e.d(t,"b",(function(){return o}));var r=function(){var n=this.$createElement;return(this._self._c||n)("div",{attrs:{id:"app"}})},o=[]}}]);
1
+ (window.webpackJsonprk_web_core=window.webpackJsonprk_web_core||[]).push([[1],{337:function(n,t,e){var r={"./App.vue":340};function o(n){var t=i(n);return e(t)}function i(n){if(!e.o(r,n)){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}return r[n]}o.keys=function(){return Object.keys(r)},o.resolve=i,n.exports=o,o.id=337},338:function(n,t,e){"use strict";e.r(t);var r=e(339),o=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(i);t.default=o.a},339:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"app",data:function(){return{}}}},340:function(n,t,e){"use strict";e.r(t);var r=e(342),o=e(338);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);var u=e(341),a=Object(u.a)(o.default,r.a,r.b,!1,null,null,null);t.default=a.exports},341:function(n,t,e){"use strict";function r(n,t,e,r,o,i,u,a){var s,c="function"==typeof n?n.options:n;if(t&&(c.render=t,c.staticRenderFns=e,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),u?(s=function(n){(n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),o&&o.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(u)},c._ssrRegister=s):o&&(s=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(c.functional){c._injectStyles=s;var f=c.render;c.render=function(n,t){return s.call(t),f(n,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:n,options:c}}e.d(t,"a",(function(){return r}))},342:function(n,t,e){"use strict";e.d(t,"a",(function(){return r})),e.d(t,"b",(function(){return o}));var r=function(){var n=this.$createElement;return(this._self._c||n)("div",{attrs:{id:"app"}})},o=[]}}]);
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.66",
4
+ "version": "0.10.69",
5
5
  "author": "",
6
6
  "main": "rk-web-core.js",
7
7
  "scripts": {
package/rk-web-core.css CHANGED
@@ -67,6 +67,9 @@
67
67
  * {
68
68
  margin: 0;
69
69
  }
70
+ html {
71
+ --antd-wave-shadow-color-o: rgba(15, 110, 255, 0.2);
72
+ }
70
73
  .rk-web-core {
71
74
  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;
72
75
  }
@@ -84,6 +87,9 @@
84
87
  * {
85
88
  margin: 0;
86
89
  }
90
+ html {
91
+ --antd-wave-shadow-color-o: rgba(15, 110, 255, 0.2);
92
+ }
87
93
  .rk-web-core {
88
94
  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;
89
95
  }
@@ -143,10 +149,158 @@
143
149
  width: 100%;
144
150
  margin-top: 70px;
145
151
  }
152
+ .rk-web-core-drawer .ant-drawer-content-wrapper {
153
+ width: 300px !important;
154
+ }
155
+ .rk-web-core-skin {
156
+ user-select: none;
157
+ }
158
+ .rk-web-core-skin-item {
159
+ margin-bottom: 30px;
160
+ position: relative;
161
+ padding-bottom: 20px;
162
+ }
163
+ .rk-web-core-skin-item::after {
164
+ content: '';
165
+ height: 1px;
166
+ width: 100%;
167
+ position: absolute;
168
+ bottom: 0;
169
+ left: 0;
170
+ right: 0;
171
+ background: rgba(204, 204, 204, 0.4);
172
+ }
173
+ .rk-web-core-skin-item:last-child:after {
174
+ background: transparent;
175
+ }
176
+ .rk-web-core-skin-item-header {
177
+ display: flex;
178
+ justify-content: space-between;
179
+ align-items: center;
180
+ margin-top: 6px;
181
+ }
182
+ .rk-web-core-skin-item-header-left {
183
+ font-weight: bold;
184
+ font-size: 16px;
185
+ line-height: 22px;
186
+ text-align: left;
187
+ color: #333;
188
+ }
189
+ .rk-web-core-skin-item-header-right {
190
+ width: 22px;
191
+ height: 22px;
192
+ display: flex;
193
+ justify-content: center;
194
+ align-items: center;
195
+ cursor: pointer;
196
+ }
197
+ .rk-web-core-skin-item-header-right svg {
198
+ fill: #CCCCCC;
199
+ width: 20px;
200
+ height: 20px;
201
+ }
202
+ .rk-web-core-skin-style {
203
+ display: flex;
204
+ justify-content: space-between;
205
+ align-items: center;
206
+ margin-top: 20px;
207
+ }
208
+ .rk-web-core-skin-style-item {
209
+ display: flex;
210
+ justify-content: space-between;
211
+ align-items: center;
212
+ flex-direction: column;
213
+ align-items: flex-start;
214
+ cursor: pointer;
215
+ }
216
+ .rk-web-core-skin-style-item-icon {
217
+ position: relative;
218
+ width: 99px;
219
+ height: 69px;
220
+ overflow: hidden;
221
+ box-shadow: 0 3px 6px -4px #000000;
222
+ }
223
+ .rk-web-core-skin-style-item-icon svg {
224
+ border-radius: 4px;
225
+ }
226
+ .rk-web-core-skin-style-item span {
227
+ font-weight: 400;
228
+ font-size: 14px;
229
+ color: #333;
230
+ padding-left: 2px;
231
+ margin-top: 6px;
232
+ }
233
+ .rk-web-core-skin-style-mask {
234
+ display: flex;
235
+ justify-content: space-between;
236
+ align-items: center;
237
+ position: absolute;
238
+ top: 0;
239
+ left: 0;
240
+ right: 0;
241
+ bottom: 0;
242
+ border-radius: 4px;
243
+ background: rgba(0, 0, 0, 0.06);
244
+ justify-content: center;
245
+ }
246
+ .rk-web-core-skin-active {
247
+ transition: all 300ms;
248
+ }
249
+ .rk-web-core-skin-active .anticon-check {
250
+ color: var(--antd-wave-shadow-color);
251
+ }
252
+ .rk-web-core-skin-active span {
253
+ color: var(--antd-wave-shadow-color);
254
+ }
255
+ .rk-web-core-skin-color {
256
+ display: grid;
257
+ grid-template-columns: repeat(5, 1fr);
258
+ margin-top: 20px;
259
+ gap: 10px;
260
+ }
261
+ .rk-web-core-skin-color-item {
262
+ padding: 2px;
263
+ width: 40px;
264
+ border: 1px solid #ddd;
265
+ border-radius: 4px;
266
+ cursor: pointer;
267
+ display: flex;
268
+ justify-content: space-between;
269
+ align-items: center;
270
+ justify-content: center;
271
+ position: relative;
272
+ }
273
+ .rk-web-core-skin-color-item span {
274
+ display: inline-block;
275
+ width: 36px;
276
+ height: 14px;
277
+ border-radius: 4px;
278
+ }
279
+ .rk-web-core-skin-color-mask {
280
+ display: flex;
281
+ justify-content: space-between;
282
+ align-items: center;
283
+ position: absolute;
284
+ top: 0;
285
+ left: 0;
286
+ right: 0;
287
+ bottom: 0;
288
+ border-radius: 4px;
289
+ background: rgba(0, 0, 0, 0.06);
290
+ justify-content: center;
291
+ }
292
+ .rk-web-core-skin-color-mask svg {
293
+ fill: #CCCCCC;
294
+ width: 12px;
295
+ height: 12px;
296
+ }
146
297
 
147
298
  * {
148
299
  margin: 0;
149
300
  }
301
+ html {
302
+ --antd-wave-shadow-color-o: rgba(15, 110, 255, 0.2);
303
+ }
150
304
  .rk-web-core {
151
305
  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;
152
306
  }
@@ -160,8 +314,25 @@
160
314
  .sk-chase-box {
161
315
  height: 100%;
162
316
  }
317
+ .rk-web-core-layout-theme-dark .rk-web-core-header-light-inner {
318
+ background: #062846;
319
+ }
320
+ .rk-web-core-layout-theme-dark .rk-web-core-header-light-inner span,
321
+ .rk-web-core-layout-theme-dark .rk-web-core-header-light-inner small {
322
+ color: #ffffff;
323
+ }
324
+ .rk-web-core-layout-theme-dark .rk-web-core-header-right-nav-item {
325
+ color: #ffffff;
326
+ }
327
+ .rk-web-core-layout-theme-dark .rk-web-core-header-info-group-skin svg {
328
+ fill: #ffffff;
329
+ }
163
330
  .rk-web-core-header {
164
331
  height: 70px;
332
+ user-select: none;
333
+ }
334
+ .rk-web-core-header #navCanvas {
335
+ bottom: 0;
165
336
  }
166
337
  .rk-web-core-header-inner {
167
338
  display: flex;
@@ -188,7 +359,7 @@
188
359
  justify-content: space-between;
189
360
  align-items: center;
190
361
  flex: 1;
191
- padding: 0 20px 0 2vw;
362
+ padding: 0 20px 0 1vw;
192
363
  box-sizing: border-box;
193
364
  height: 100%;
194
365
  }
@@ -202,6 +373,7 @@
202
373
  cursor: pointer;
203
374
  transition: all 300ms;
204
375
  flex: 1;
376
+ position: relative;
205
377
  }
206
378
  .rk-web-core-header-right-nav-item {
207
379
  text-align: center;
@@ -213,7 +385,7 @@
213
385
  .rk-web-core-header-right-nav-active {
214
386
  font-size: 16px;
215
387
  font-weight: 700;
216
- color: #0f6eff;
388
+ color: var(--antd-wave-shadow-color) !important;
217
389
  }
218
390
  .rk-web-core-header-right-extra {
219
391
  display: flex;
@@ -249,6 +421,9 @@
249
421
  * {
250
422
  margin: 0;
251
423
  }
424
+ html {
425
+ --antd-wave-shadow-color-o: rgba(15, 110, 255, 0.2);
426
+ }
252
427
  .rk-web-core {
253
428
  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;
254
429
  }
@@ -316,6 +491,9 @@
316
491
  * {
317
492
  margin: 0;
318
493
  }
494
+ html {
495
+ --antd-wave-shadow-color-o: rgba(15, 110, 255, 0.2);
496
+ }
319
497
  .rk-web-core {
320
498
  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;
321
499
  }
@@ -333,6 +511,7 @@
333
511
  background: #ffffff;
334
512
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
335
513
  overflow: hidden;
514
+ user-select: none;
336
515
  }
337
516
  .rk-web-core-slider .ant-menu-sub li span {
338
517
  margin-left: var(--left);
@@ -368,17 +547,23 @@
368
547
  }
369
548
  .rk-web-core-slider-inner-footer span:hover svg,
370
549
  .rk-web-core-slider-inner-footer span:active svg {
371
- fill: #0F6EFF;
550
+ fill: var(--antd-wave-shadow-color);
551
+ }
552
+ .rk-web-core-slider .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before {
553
+ background: var(--antd-wave-shadow-color) !important;
554
+ }
555
+ .rk-web-core-slider .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after {
556
+ background: var(--antd-wave-shadow-color) !important;
372
557
  }
373
558
  .rk-web-core-slider .ant-menu-item-selected {
374
- background: #f1f3f6;
375
- color: #0f6eff !important;
559
+ background-color: var(--antd-wave-shadow-color-o) !important;
560
+ color: var(--antd-wave-shadow-color) !important;
376
561
  }
377
562
  .rk-web-core-slider .ant-menu-item-selected::after {
378
- border-right-color: #0f6eff !important;
563
+ border-right-color: var(--antd-wave-shadow-color) !important;
379
564
  }
380
565
  .rk-web-core-slider .ant-menu-item-selected .rk-web-core-normal-icon {
381
- fill: #0f6eff;
566
+ fill: var(--antd-wave-shadow-color);
382
567
  }
383
568
  .rk-web-core-slider .el-scrollbar {
384
569
  height: 100%;
@@ -430,16 +615,15 @@
430
615
  fill: rgba(255, 255, 255, 0.8);
431
616
  }
432
617
  .rk-web-core-slider-dark .ant-menu-item-selected {
433
- background: rgba(15, 110, 255, 0.4) !important;
434
618
  color: #fff !important;
435
619
  }
436
620
  .rk-web-core-slider-dark .ant-menu-item-selected::after {
437
- border-right-color: #0f6eff !important;
621
+ border-right-color: var(--antd-wave-shadow-color) !important;
438
622
  border-right-width: 2px !important;
439
623
  }
440
624
  .rk-web-core-slider-dark .ant-menu-item-selected::before {
441
625
  content: '';
442
- border-left: 2px solid #0f6eff !important;
626
+ border-left: 2px solid var(--antd-wave-shadow-color) !important;
443
627
  position: absolute;
444
628
  top: 0;
445
629
  bottom: 0;
@@ -458,10 +642,31 @@
458
642
  font-size: 14px;
459
643
  margin-right: 14px;
460
644
  }
645
+ .rk-web-core-layout-theme-dark .rk-web-core-slider {
646
+ background: #062846;
647
+ }
648
+ .rk-web-core-layout-theme-dark .rk-web-core-slider .ant-menu {
649
+ background: transparent;
650
+ }
651
+ .rk-web-core-layout-theme-dark .rk-web-core-slider .ant-menu-item {
652
+ color: rgba(255, 255, 255, 0.7);
653
+ }
654
+ .rk-web-core-layout-theme-dark .rk-web-core-slider .ant-menu-submenu-title {
655
+ color: #ffffff;
656
+ }
657
+ .rk-web-core-layout-theme-dark .rk-web-core-slider .ant-menu-submenu-arrow::after {
658
+ background-image: none;
659
+ }
660
+ .rk-web-core-layout-theme-dark .rk-web-core-slider .ant-menu-submenu-arrow::before {
661
+ background-image: none;
662
+ }
461
663
 
462
664
  * {
463
665
  margin: 0;
464
666
  }
667
+ html {
668
+ --antd-wave-shadow-color-o: rgba(15, 110, 255, 0.2);
669
+ }
465
670
  .rk-web-core {
466
671
  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;
467
672
  }
@@ -492,7 +697,7 @@
492
697
  color: #ffffff;
493
698
  }
494
699
  .rk-web-core-app-external-link-sub {
495
- color: #0F6EFF;
700
+ color: var(--antd-wave-shadow-color) !important;
496
701
  white-space: nowrap;
497
702
  }
498
703
  .rk-web-core-app-external-link .anticon-caret-down {
@@ -535,12 +740,12 @@
535
740
  .rk-web-core-app-external-cell:hover {
536
741
  transition: all 300ms;
537
742
  color: #ffffff;
538
- background-color: #0f6eff;
743
+ background-color: var(--antd-wave-shadow-color);
539
744
  }
540
745
  .rk-web-core-app-external-active {
541
746
  transition: all 300ms;
542
747
  color: #ffffff;
543
- background-color: #0f6eff;
748
+ background-color: var(--antd-wave-shadow-color);
544
749
  }
545
750
  .rk-web-core-app-external-btn {
546
751
  background: #ffffff;
@@ -561,7 +766,7 @@
561
766
  background-color: #f5f5f5;
562
767
  }
563
768
  .rk-web-core-app-external-btn:hover {
564
- color: #0f6eff;
769
+ color: var(--antd-wave-shadow-color);
565
770
  }
566
771
  .rk-web-core-app-external-btn span {
567
772
  margin-left: 2px;
@@ -570,6 +775,9 @@
570
775
  * {
571
776
  margin: 0;
572
777
  }
778
+ html {
779
+ --antd-wave-shadow-color-o: rgba(15, 110, 255, 0.2);
780
+ }
573
781
  .rk-web-core {
574
782
  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;
575
783
  }
@@ -587,8 +795,8 @@
587
795
  display: flex;
588
796
  justify-content: flex-start;
589
797
  align-items: center;
590
- gap: 14px;
591
- margin-left: 14px;
798
+ gap: 10px;
799
+ margin-left: 10px;
592
800
  }
593
801
  .rk-web-core-header-info-group-time {
594
802
  height: 100%;
@@ -607,6 +815,23 @@
607
815
  line-height: 1;
608
816
  font-size: 12px;
609
817
  }
818
+ .rk-web-core-header-info-group-skin {
819
+ width: 30px;
820
+ height: 30px;
821
+ display: flex;
822
+ justify-content: center;
823
+ align-items: center;
824
+ cursor: pointer;
825
+ }
826
+ .rk-web-core-header-info-group-skin svg {
827
+ width: 18px;
828
+ height: 18px;
829
+ fill: #333;
830
+ }
831
+ .rk-web-core-header-info-group-skin:hover,
832
+ .rk-web-core-header-info-group-skin:active {
833
+ fill: var(--antd-wave-shadow-color);
834
+ }
610
835
  .rk-web-core-header-info-group-weather {
611
836
  display: flex;
612
837
  justify-content: flex-start;
@@ -661,6 +886,9 @@
661
886
  .rk-web-core-header-info-group-dark small {
662
887
  color: #ffffff;
663
888
  }
889
+ .rk-web-core-header-info-group-dark .rk-web-core-header-info-group-skin svg {
890
+ fill: #ffffff;
891
+ }
664
892
 
665
893
  .rk-map {
666
894
  width: 100%;
@@ -795,6 +1023,9 @@
795
1023
  * {
796
1024
  margin: 0;
797
1025
  }
1026
+ html {
1027
+ --antd-wave-shadow-color-o: rgba(15, 110, 255, 0.2);
1028
+ }
798
1029
  .rk-web-core {
799
1030
  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;
800
1031
  }