rk-web-core 0.9.25 → 0.9.26

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.9.25",
4
+ "version": "0.9.26",
5
5
  "author": "",
6
6
  "main": "rk-web-core.js",
7
7
  "scripts": {
@@ -1 +0,0 @@
1
- (window.webpackJsonprk_web_core=window.webpackJsonprk_web_core||[]).push([[1],{239:function(n,t,e){var r={"./App.vue":242};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=239},240:function(n,t,e){"use strict";e.r(t);var r=e(241),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},241:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"app",data:function(){return{}}}},242:function(n,t,e){"use strict";e.r(t);var r=e(244),o=e(240);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);var u=e(243),a=Object(u.a)(o.default,r.a,r.b,!1,null,null,null);t.default=a.exports},243: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}))},244: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/index.html DELETED
@@ -1 +0,0 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><title>rk-web-core</title><link href="./rk-web-core.css" rel="stylesheet"></head><body><div id="app"></div><script src="./rk-web-core.js"></script></body></html>
package/rk-web-core.css DELETED
@@ -1,521 +0,0 @@
1
- * {
2
- margin: 0;
3
- }
4
- .rk-web-core-full-layout {
5
- height: 100%;
6
- }
7
- .maptalks {
8
- position: relative;
9
- height: 100%;
10
- }
11
- .sk-chase-box {
12
- height: 100%;
13
- }
14
-
15
- * {
16
- margin: 0;
17
- }
18
- .rk-web-core-full-layout {
19
- height: 100%;
20
- }
21
- .maptalks {
22
- position: relative;
23
- height: 100%;
24
- }
25
- .sk-chase-box {
26
- height: 100%;
27
- }
28
- .rk-web-core-basic-layout {
29
- height: 100%;
30
- }
31
- .rk-web-core-basic-layout-light {
32
- background: #f1f3f6;
33
- }
34
- .rk-web-core-fullHeader-layout .rk-web-core-logo {
35
- width: 250px;
36
- }
37
- .rk-web-core-admin-layout .rk-web-core-logo {
38
- height: 70px;
39
- }
40
- .rk-web-core-admin-layout .rk-web-core-slider {
41
- box-shadow: none;
42
- }
43
- .rk-web-core-admin-layout .rk-web-core-logo-inner {
44
- border-radius: inherit;
45
- padding-right: 0;
46
- }
47
- .rk-web-core-admin-layout .rk-web-core-logo-title {
48
- font-size: 1.2vw;
49
- }
50
- .rk-web-core-layout {
51
- height: 100%;
52
- }
53
- .rk-web-core-layout-content {
54
- height: 100%;
55
- display: flex;
56
- }
57
-
58
- * {
59
- margin: 0;
60
- }
61
- .rk-web-core-full-layout {
62
- height: 100%;
63
- }
64
- .maptalks {
65
- position: relative;
66
- height: 100%;
67
- }
68
- .sk-chase-box {
69
- height: 100%;
70
- }
71
- .rk-web-core-header {
72
- height: 70px;
73
- }
74
- .rk-web-core-header-inner {
75
- display: flex;
76
- justify-content: space-between;
77
- align-items: center;
78
- height: 100%;
79
- }
80
- .rk-web-core-header-light {
81
- background: #f1f3f6;
82
- padding: 0;
83
- width: 100%;
84
- }
85
- .rk-web-core-header-light-inner {
86
- background: linear-gradient(180deg, rgba(95, 131, 255, 0.34), rgba(241, 243, 246, 0));
87
- }
88
- .rk-web-core-header-light-header .rk-web-core-header-inner {
89
- justify-content: flex-end;
90
- padding-right: 20px;
91
- box-sizing: border-box;
92
- }
93
- .rk-web-core-header-right {
94
- display: flex;
95
- justify-content: space-between;
96
- align-items: center;
97
- flex: 1;
98
- padding: 0 20px 0 2vw;
99
- box-sizing: border-box;
100
- height: 100%;
101
- }
102
- .rk-web-core-header-right::-moz-viewport-scroll {
103
- width: 0;
104
- }
105
- .rk-web-core-header-right-nav {
106
- display: flex;
107
- justify-content: flex-start;
108
- align-items: center;
109
- cursor: pointer;
110
- transition: all 300ms;
111
- }
112
- .rk-web-core-header-right-nav-item {
113
- min-width: 120px;
114
- text-align: center;
115
- font-size: 16px;
116
- font-weight: 400;
117
- color: #000000;
118
- padding: 0 20px;
119
- }
120
- .rk-web-core-header-right-nav-active {
121
- font-size: 16px;
122
- font-weight: 700;
123
- color: #0f6eff;
124
- }
125
- .rk-web-core-header-right-extra {
126
- display: flex;
127
- justify-content: flex-end;
128
- align-items: center;
129
- gap: 20px;
130
- }
131
- .rk-web-core-header-dark {
132
- background: transparent;
133
- padding: 0;
134
- position: relative;
135
- }
136
- .rk-web-core-header-dark-inner {
137
- background: linear-gradient(180deg, rgba(2, 32, 74, 0.1), rgba(2, 32, 74, 0.2));
138
- }
139
- .rk-web-core-header-dark-nav-item {
140
- color: rgba(255, 255, 255, 0.5);
141
- }
142
- .rk-web-core-header-dark-nav-active {
143
- color: #fff;
144
- }
145
- .rk-web-core-header-fixed {
146
- position: fixed;
147
- top: 0;
148
- left: 0;
149
- right: 0;
150
- z-index: 9;
151
- }
152
-
153
- * {
154
- margin: 0;
155
- }
156
- .rk-web-core-full-layout {
157
- height: 100%;
158
- }
159
- .maptalks {
160
- position: relative;
161
- height: 100%;
162
- }
163
- .sk-chase-box {
164
- height: 100%;
165
- }
166
- .rk-web-core-logo {
167
- height: 100%;
168
- cursor: pointer;
169
- position: relative;
170
- }
171
- .rk-web-core-logo-basic-inner {
172
- background: linear-gradient(180deg, rgba(95, 131, 255, 0.6), rgba(57, 195, 255, 0.75));
173
- }
174
- .rk-web-core-logo-dark-inner {
175
- background: linear-gradient(0deg, #038bff, rgba(3, 139, 255, 0.4) 40%, rgba(3, 139, 255, 0));
176
- box-shadow: 0px 6px 12px 0px #1c61b1;
177
- }
178
- .rk-web-core-logo-inner {
179
- height: 100%;
180
- padding: 0 3vw 0 1vw;
181
- border-bottom-right-radius: 70px;
182
- transition: all 300ms;
183
- display: flex;
184
- justify-content: flex-start;
185
- align-items: center;
186
- }
187
- .rk-web-core-logo-inner img {
188
- width: 2.3vw;
189
- object-fit: cover;
190
- transition: all 300ms;
191
- user-select: none;
192
- -webkit-user-drag: none;
193
- }
194
- .rk-web-core-logo-title {
195
- transition: all 300ms;
196
- font-weight: 500;
197
- color: #ffffff;
198
- font-size: 1.5vw;
199
- user-select: none;
200
- letter-spacing: 2px;
201
- text-shadow: 0 0 6px 0 #0479b7;
202
- margin-left: 16px;
203
- margin-right: 8px;
204
- overflow: hidden;
205
- text-overflow: ellipsis;
206
- white-space: nowrap;
207
- }
208
- .rk-web-core-logo-mark-inner {
209
- position: absolute;
210
- top: 0;
211
- right: 0;
212
- bottom: 0;
213
- left: 0;
214
- z-index: 1;
215
- }
216
-
217
- * {
218
- margin: 0;
219
- }
220
- .rk-web-core-full-layout {
221
- height: 100%;
222
- }
223
- .maptalks {
224
- position: relative;
225
- height: 100%;
226
- }
227
- .sk-chase-box {
228
- height: 100%;
229
- }
230
- .rk-web-core-slider {
231
- background: #ffffff;
232
- box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
233
- }
234
- .rk-web-core-slider .ant-menu-item-selected {
235
- background: #f1f3f6;
236
- color: #0f6eff !important;
237
- }
238
- .rk-web-core-slider .ant-menu-item-selected::after {
239
- border-right-color: #0f6eff !important;
240
- }
241
- .rk-web-core-slider .ant-menu-item-selected .rk-web-core-normal-icon {
242
- fill: #0f6eff;
243
- }
244
- .rk-web-core-slider .ant-menu-item,
245
- .rk-web-core-slider .ant-menu-submenu-title {
246
- display: flex;
247
- justify-content: flex-start;
248
- align-items: center;
249
- font-weight: 700;
250
- color: #212b5d;
251
- height: 46px;
252
- line-height: 46px;
253
- }
254
- .rk-web-core-slider .ant-menu-item::after,
255
- .rk-web-core-slider .ant-menu-submenu-title::after {
256
- left: 0;
257
- right: auto;
258
- }
259
- .rk-web-core-slider-dark {
260
- height: 100%;
261
- background: rgba(8, 24, 51, 0.9);
262
- }
263
- .rk-web-core-slider-dark .ant-menu-dark {
264
- background: transparent;
265
- }
266
- .rk-web-core-slider-dark .ant-menu-item,
267
- .rk-web-core-slider-dark .ant-menu-submenu-title {
268
- display: flex;
269
- justify-content: flex-start;
270
- align-items: center;
271
- font-weight: 700;
272
- color: rgba(255, 255, 255, 0.8);
273
- height: 46px;
274
- line-height: 46px;
275
- }
276
- .rk-web-core-slider-dark .ant-menu-item::after,
277
- .rk-web-core-slider-dark .ant-menu-submenu-title::after {
278
- left: 0;
279
- right: auto;
280
- }
281
- .rk-web-core-slider-dark .rk-web-core-normal-icon {
282
- fill: rgba(255, 255, 255, 0.8);
283
- }
284
- .rk-web-core-slider-dark .ant-menu-item-selected {
285
- background: rgba(15, 110, 255, 0.4) !important;
286
- color: #fff !important;
287
- }
288
- .rk-web-core-slider-dark .ant-menu-item-selected::after {
289
- border-right-color: #0f6eff !important;
290
- border-right-width: 2px !important;
291
- }
292
- .rk-web-core-slider-dark .ant-menu-item-selected::before {
293
- content: '';
294
- border-left: 2px solid #0f6eff !important;
295
- position: absolute;
296
- top: 0;
297
- bottom: 0;
298
- left: 0;
299
- }
300
- .rk-web-core-slider-dark .ant-menu-item-selected .rk-web-core-normal-icon {
301
- fill: #fff;
302
- }
303
- .rk-web-core-slider .ant-menu-inline {
304
- border: none !important;
305
- }
306
- .rk-web-core-normal-icon {
307
- width: 14px;
308
- height: 14px;
309
- font-size: 14px;
310
- margin-right: 18px;
311
- }
312
- .icon {
313
- font-size: 14px;
314
- margin-right: 14px;
315
- }
316
-
317
- * {
318
- margin: 0;
319
- }
320
- .rk-web-core-full-layout {
321
- height: 100%;
322
- }
323
- .maptalks {
324
- position: relative;
325
- height: 100%;
326
- }
327
- .sk-chase-box {
328
- height: 100%;
329
- }
330
- .rk-web-core-app-external-link {
331
- font-size: 14px;
332
- font-weight: 400;
333
- color: #333333;
334
- cursor: pointer;
335
- height: 30px;
336
- display: flex;
337
- justify-content: center;
338
- align-items: center;
339
- }
340
- .rk-web-core-app-external-link-dark {
341
- color: #ffffff;
342
- }
343
- .rk-web-core-app-external-link-sub {
344
- color: #0F6EFF;
345
- }
346
- .rk-web-core-app-external-link .anticon-caret-down {
347
- margin-left: 4px;
348
- }
349
- .rk-web-core-app-external-link .anticon-caret-down svg {
350
- width: 10px;
351
- height: 10px;
352
- fill: #84919A;
353
- }
354
- .rk-web-core-app-external-wrapper {
355
- position: relative;
356
- margin: 0;
357
- padding: 4px 0;
358
- text-align: left;
359
- list-style-type: none;
360
- background-clip: padding-box;
361
- outline: none;
362
- }
363
- .rk-web-core-app-external-list {
364
- margin-bottom: 10px;
365
- background: #ffffff;
366
- border: 1px solid #e5e5e5;
367
- border-radius: 4px;
368
- box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.08);
369
- }
370
- .rk-web-core-app-external-cell {
371
- clear: both;
372
- margin: 0;
373
- padding: 6px 12px;
374
- color: rgba(0, 0, 0, 0.85);
375
- font-weight: 400;
376
- font-size: 14px;
377
- line-height: 22px;
378
- white-space: nowrap;
379
- cursor: pointer;
380
- transition: all 0.3s;
381
- border-bottom: 1px solid #f0f0f0;
382
- }
383
- .rk-web-core-app-external-cell:hover {
384
- transition: all 0.3s;
385
- color: #ffffff;
386
- background-color: #f5f5f5;
387
- }
388
- .rk-web-core-app-external-cell:last-child {
389
- border: none;
390
- }
391
- .rk-web-core-app-external-active {
392
- color: #ffffff;
393
- background-color: #f5f5f5;
394
- }
395
- .rk-web-core-app-external-btn {
396
- background: #ffffff;
397
- border: 1px solid #e5e5e5;
398
- border-radius: 4px;
399
- box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.08);
400
- padding: 6px 12px;
401
- color: rgba(0, 0, 0, 0.85);
402
- font-weight: 400;
403
- font-size: 14px;
404
- line-height: 22px;
405
- white-space: nowrap;
406
- cursor: pointer;
407
- transition: all 0.3s;
408
- }
409
- .rk-web-core-app-external-btn:active {
410
- color: #ffffff;
411
- background-color: #f5f5f5;
412
- }
413
-
414
- * {
415
- margin: 0;
416
- }
417
- .rk-web-core-full-layout {
418
- height: 100%;
419
- }
420
- .maptalks {
421
- position: relative;
422
- height: 100%;
423
- }
424
- .sk-chase-box {
425
- height: 100%;
426
- }
427
- .rk-web-core-header-info-group {
428
- display: flex;
429
- justify-content: flex-start;
430
- align-items: center;
431
- gap: 20px;
432
- margin-left: 20px;
433
- }
434
- .rk-web-core-header-info-group-time {
435
- height: 100%;
436
- display: flex;
437
- justify-content: center;
438
- align-items: flex-end;
439
- flex-direction: column;
440
- }
441
- .rk-web-core-header-info-group-time span {
442
- font-size: 20px;
443
- font-weight: 600;
444
- line-height: 18px;
445
- }
446
- .rk-web-core-header-info-group-time small {
447
- line-height: 1;
448
- font-size: 12px;
449
- }
450
- .rk-web-core-header-info-group-weather {
451
- display: flex;
452
- justify-content: flex-start;
453
- align-items: center;
454
- }
455
- .rk-web-core-header-info-group-weather img {
456
- height: 30px;
457
- object-fit: cover;
458
- }
459
- .rk-web-core-header-info-group-weather span {
460
- font-size: 20px;
461
- font-weight: 600;
462
- }
463
- .rk-web-core-header-info-group-wind {
464
- display: flex;
465
- justify-content: flex-start;
466
- align-items: center;
467
- }
468
- .rk-web-core-header-info-group-wind .rk-web-core-normal-icon {
469
- fill: #00FFD8 !important;
470
- width: 28px;
471
- height: 28px;
472
- margin-right: 0;
473
- }
474
- .rk-web-core-header-info-group-wind-img {
475
- display: flex;
476
- justify-content: center;
477
- align-items: center;
478
- }
479
- .rk-web-core-header-info-group-wind-info {
480
- display: flex;
481
- justify-content: center;
482
- align-items: flex-end;
483
- flex-direction: column;
484
- }
485
- .rk-web-core-header-info-group-wind-info span:first-child {
486
- line-height: 26px;
487
- font-size: 20px;
488
- font-weight: 700;
489
- text-align: center;
490
- }
491
- .rk-web-core-header-info-group-wind-info span:last-child {
492
- line-height: 20px;
493
- font-size: 12px;
494
- font-weight: 400;
495
- }
496
- .rk-web-core-header-info-group-dark span,
497
- .rk-web-core-header-info-group-dark small {
498
- color: #ffffff;
499
- }
500
-
501
- .rk-map {
502
- width: 100%;
503
- height: 100%;
504
- position: relative;
505
- overflow: hidden;
506
- }
507
- .rk-map-spin {
508
- width: 100%;
509
- height: 100%;
510
- position: absolute;
511
- top: 0;
512
- left: 0;
513
- right: 0;
514
- bottom: 0;
515
- z-index: 99;
516
- }
517
- .rk-map-core {
518
- width: 100%;
519
- height: 100%;
520
- }
521
-