rk-web-core 0.7.57 → 0.7.58

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.7.57",
4
+ "version": "0.7.58",
5
5
  "author": "",
6
6
  "main": "rk-web-core.js",
7
7
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  "vuex": "^3.4.0",
17
17
  "vue-router": "3.5.1",
18
18
  "axios": "^0.21.1",
19
- "rk-web-map": "^0.0.56"
19
+ "rk-web-map": "^0.0.57"
20
20
  },
21
21
  "browserslist": [
22
22
  "> 1%",
@@ -1 +0,0 @@
1
- (window.webpackJsonprk_web_core=window.webpackJsonprk_web_core||[]).push([[1],{296:function(n,t,e){var r={"./App.vue":299};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=296},297:function(n,t,e){"use strict";e.r(t);var r=e(298),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},298:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"app",data:function(){return{}}}},299:function(n,t,e){"use strict";e.r(t);var r=e(301),o=e(297);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);var u=e(300),a=Object(u.a)(o.default,r.a,r.b,!1,null,null,null);t.default=a.exports},300: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}))},301: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,512 +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
- }
170
- .rk-web-core-logo-basic-inner {
171
- background: linear-gradient(180deg, rgba(95, 131, 255, 0.6), rgba(57, 195, 255, 0.75));
172
- }
173
- .rk-web-core-logo-dark-inner {
174
- background: linear-gradient(0deg, #038bff, rgba(3, 139, 255, 0.4) 40%, rgba(3, 139, 255, 0));
175
- box-shadow: 0px 6px 12px 0px #1c61b1;
176
- }
177
- .rk-web-core-logo-inner {
178
- height: 100%;
179
- padding: 0 3vw 0 1vw;
180
- border-bottom-right-radius: 70px;
181
- transition: all 300ms;
182
- display: flex;
183
- justify-content: flex-start;
184
- align-items: center;
185
- }
186
- .rk-web-core-logo-inner img {
187
- width: 2.3vw;
188
- object-fit: cover;
189
- transition: all 300ms;
190
- user-select: none;
191
- -webkit-user-drag: none;
192
- }
193
- .rk-web-core-logo-title {
194
- transition: all 300ms;
195
- font-weight: 500;
196
- color: #ffffff;
197
- font-size: 1.5vw;
198
- user-select: none;
199
- letter-spacing: 2px;
200
- text-shadow: 0 0 6px 0 #0479b7;
201
- margin-left: 16px;
202
- margin-right: 8px;
203
- overflow: hidden;
204
- text-overflow: ellipsis;
205
- white-space: nowrap;
206
- }
207
-
208
- * {
209
- margin: 0;
210
- }
211
- .rk-web-core-full-layout {
212
- height: 100%;
213
- }
214
- .maptalks {
215
- position: relative;
216
- height: 100%;
217
- }
218
- .sk-chase-box {
219
- height: 100%;
220
- }
221
- .rk-web-core-slider {
222
- background: #ffffff;
223
- box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
224
- }
225
- .rk-web-core-slider .ant-menu-item-selected {
226
- background: #f1f3f6;
227
- color: #0f6eff !important;
228
- }
229
- .rk-web-core-slider .ant-menu-item-selected::after {
230
- border-right-color: #0f6eff !important;
231
- }
232
- .rk-web-core-slider .ant-menu-item-selected .rk-web-core-normal-icon {
233
- fill: #0f6eff;
234
- }
235
- .rk-web-core-slider .ant-menu-item,
236
- .rk-web-core-slider .ant-menu-submenu-title {
237
- display: flex;
238
- justify-content: flex-start;
239
- align-items: center;
240
- font-weight: 700;
241
- color: #212b5d;
242
- height: 46px;
243
- line-height: 46px;
244
- }
245
- .rk-web-core-slider .ant-menu-item::after,
246
- .rk-web-core-slider .ant-menu-submenu-title::after {
247
- left: 0;
248
- right: auto;
249
- }
250
- .rk-web-core-slider-dark {
251
- height: 100%;
252
- background: rgba(8, 24, 51, 0.9);
253
- }
254
- .rk-web-core-slider-dark .ant-menu-dark {
255
- background: transparent;
256
- }
257
- .rk-web-core-slider-dark .ant-menu-item,
258
- .rk-web-core-slider-dark .ant-menu-submenu-title {
259
- display: flex;
260
- justify-content: flex-start;
261
- align-items: center;
262
- font-weight: 700;
263
- color: rgba(255, 255, 255, 0.8);
264
- height: 46px;
265
- line-height: 46px;
266
- }
267
- .rk-web-core-slider-dark .ant-menu-item::after,
268
- .rk-web-core-slider-dark .ant-menu-submenu-title::after {
269
- left: 0;
270
- right: auto;
271
- }
272
- .rk-web-core-slider-dark .rk-web-core-normal-icon {
273
- fill: rgba(255, 255, 255, 0.8);
274
- }
275
- .rk-web-core-slider-dark .ant-menu-item-selected {
276
- background: rgba(15, 110, 255, 0.4) !important;
277
- color: #fff !important;
278
- }
279
- .rk-web-core-slider-dark .ant-menu-item-selected::after {
280
- border-right-color: #0f6eff !important;
281
- border-right-width: 2px !important;
282
- }
283
- .rk-web-core-slider-dark .ant-menu-item-selected::before {
284
- content: '';
285
- border-left: 2px solid #0f6eff !important;
286
- position: absolute;
287
- top: 0;
288
- bottom: 0;
289
- left: 0;
290
- }
291
- .rk-web-core-slider-dark .ant-menu-item-selected .rk-web-core-normal-icon {
292
- fill: #fff;
293
- }
294
- .rk-web-core-slider .ant-menu-inline {
295
- border: none !important;
296
- }
297
- .rk-web-core-normal-icon {
298
- width: 14px;
299
- height: 14px;
300
- font-size: 14px;
301
- margin-right: 18px;
302
- }
303
- .icon {
304
- font-size: 14px;
305
- margin-right: 14px;
306
- }
307
-
308
- * {
309
- margin: 0;
310
- }
311
- .rk-web-core-full-layout {
312
- height: 100%;
313
- }
314
- .maptalks {
315
- position: relative;
316
- height: 100%;
317
- }
318
- .sk-chase-box {
319
- height: 100%;
320
- }
321
- .rk-web-core-app-external-link {
322
- font-size: 14px;
323
- font-weight: 400;
324
- color: #333333;
325
- cursor: pointer;
326
- height: 30px;
327
- display: flex;
328
- justify-content: center;
329
- align-items: center;
330
- }
331
- .rk-web-core-app-external-link-dark {
332
- color: #ffffff;
333
- }
334
- .rk-web-core-app-external-link-sub {
335
- color: #0F6EFF;
336
- }
337
- .rk-web-core-app-external-link .anticon-caret-down {
338
- margin-left: 4px;
339
- }
340
- .rk-web-core-app-external-link .anticon-caret-down svg {
341
- width: 10px;
342
- height: 10px;
343
- fill: #84919A;
344
- }
345
- .rk-web-core-app-external-wrapper {
346
- position: relative;
347
- margin: 0;
348
- padding: 4px 0;
349
- text-align: left;
350
- list-style-type: none;
351
- background-clip: padding-box;
352
- outline: none;
353
- }
354
- .rk-web-core-app-external-list {
355
- margin-bottom: 10px;
356
- background: #ffffff;
357
- border: 1px solid #e5e5e5;
358
- border-radius: 4px;
359
- box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.08);
360
- }
361
- .rk-web-core-app-external-cell {
362
- clear: both;
363
- margin: 0;
364
- padding: 6px 12px;
365
- color: rgba(0, 0, 0, 0.85);
366
- font-weight: 400;
367
- font-size: 14px;
368
- line-height: 22px;
369
- white-space: nowrap;
370
- cursor: pointer;
371
- transition: all 0.3s;
372
- border-bottom: 1px solid #f0f0f0;
373
- }
374
- .rk-web-core-app-external-cell:hover {
375
- transition: all 0.3s;
376
- color: #ffffff;
377
- background-color: #f5f5f5;
378
- }
379
- .rk-web-core-app-external-cell:last-child {
380
- border: none;
381
- }
382
- .rk-web-core-app-external-active {
383
- color: #ffffff;
384
- background-color: #f5f5f5;
385
- }
386
- .rk-web-core-app-external-btn {
387
- background: #ffffff;
388
- border: 1px solid #e5e5e5;
389
- border-radius: 4px;
390
- box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.08);
391
- padding: 6px 12px;
392
- color: rgba(0, 0, 0, 0.85);
393
- font-weight: 400;
394
- font-size: 14px;
395
- line-height: 22px;
396
- white-space: nowrap;
397
- cursor: pointer;
398
- transition: all 0.3s;
399
- }
400
- .rk-web-core-app-external-btn:active {
401
- color: #ffffff;
402
- background-color: #f5f5f5;
403
- }
404
-
405
- * {
406
- margin: 0;
407
- }
408
- .rk-web-core-full-layout {
409
- height: 100%;
410
- }
411
- .maptalks {
412
- position: relative;
413
- height: 100%;
414
- }
415
- .sk-chase-box {
416
- height: 100%;
417
- }
418
- .rk-web-core-header-info-group {
419
- display: flex;
420
- justify-content: flex-start;
421
- align-items: center;
422
- gap: 20px;
423
- margin-left: 20px;
424
- }
425
- .rk-web-core-header-info-group-time {
426
- height: 100%;
427
- display: flex;
428
- justify-content: center;
429
- align-items: flex-end;
430
- flex-direction: column;
431
- }
432
- .rk-web-core-header-info-group-time span {
433
- font-size: 20px;
434
- font-weight: 600;
435
- line-height: 18px;
436
- }
437
- .rk-web-core-header-info-group-time small {
438
- line-height: 1;
439
- font-size: 12px;
440
- }
441
- .rk-web-core-header-info-group-weather {
442
- display: flex;
443
- justify-content: flex-start;
444
- align-items: center;
445
- }
446
- .rk-web-core-header-info-group-weather img {
447
- height: 30px;
448
- object-fit: cover;
449
- }
450
- .rk-web-core-header-info-group-weather span {
451
- font-size: 20px;
452
- font-weight: 600;
453
- }
454
- .rk-web-core-header-info-group-wind {
455
- display: flex;
456
- justify-content: flex-start;
457
- align-items: center;
458
- }
459
- .rk-web-core-header-info-group-wind .rk-web-core-normal-icon {
460
- fill: #00FFD8 !important;
461
- width: 28px;
462
- height: 28px;
463
- margin-right: 0;
464
- }
465
- .rk-web-core-header-info-group-wind-img {
466
- display: flex;
467
- justify-content: center;
468
- align-items: center;
469
- }
470
- .rk-web-core-header-info-group-wind-info {
471
- display: flex;
472
- justify-content: center;
473
- align-items: flex-end;
474
- flex-direction: column;
475
- }
476
- .rk-web-core-header-info-group-wind-info span:first-child {
477
- line-height: 26px;
478
- font-size: 20px;
479
- font-weight: 700;
480
- text-align: center;
481
- }
482
- .rk-web-core-header-info-group-wind-info span:last-child {
483
- line-height: 20px;
484
- font-size: 12px;
485
- font-weight: 400;
486
- }
487
- .rk-web-core-header-info-group-dark span,
488
- .rk-web-core-header-info-group-dark small {
489
- color: #ffffff;
490
- }
491
-
492
- .rk-map {
493
- width: 100%;
494
- height: 100%;
495
- position: relative;
496
- overflow: hidden;
497
- }
498
- .rk-map-spin {
499
- width: 100%;
500
- height: 100%;
501
- position: absolute;
502
- top: 0;
503
- left: 0;
504
- right: 0;
505
- bottom: 0;
506
- z-index: 99;
507
- }
508
- .rk-map-core {
509
- width: 100%;
510
- height: 100%;
511
- }
512
-