dashboard-shell-shell 3.0.5-test.51 → 3.0.5-test.55

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.
Files changed (46) hide show
  1. package/assets/iconsNew/demo.css +539 -0
  2. package/assets/iconsNew/demo.css:Zone.Identifier +0 -0
  3. package/assets/iconsNew/demo_index.html +303 -0
  4. package/assets/iconsNew/demo_index.html:Zone.Identifier +0 -0
  5. package/assets/iconsNew/iconfont.css +43 -0
  6. package/assets/iconsNew/iconfont.css:Zone.Identifier +0 -0
  7. package/assets/iconsNew/iconfont.js +1 -0
  8. package/assets/iconsNew/iconfont.js:Zone.Identifier +0 -0
  9. package/assets/iconsNew/iconfont.json +44 -0
  10. package/assets/iconsNew/iconfont.json:Zone.Identifier +0 -0
  11. package/assets/iconsNew/iconfont.ttf +0 -0
  12. package/assets/iconsNew/iconfont.ttf:Zone.Identifier +0 -0
  13. package/assets/iconsNew/iconfont.woff +0 -0
  14. package/assets/iconsNew/iconfont.woff2 +0 -0
  15. package/assets/iconsNew/iconfont.woff2:Zone.Identifier +0 -0
  16. package/assets/iconsNew/iconfont.woff:Zone.Identifier +0 -0
  17. package/assets/styles/app.scss +1 -0
  18. package/assets/styles/base/_helpers.scss +1 -1
  19. package/assets/translations/zh-hans.yaml +3 -1
  20. package/components/form/SecretSelector.vue +24 -23
  21. package/components/nav/Group.vue +2 -1
  22. package/config/product/uiplugins.js +13 -10
  23. package/edit/logging-flow/index.vue +1 -2
  24. package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +3 -3
  25. package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +19 -19
  26. package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +23 -23
  27. package/edit/logging.banzaicloud.io.output/providers/datadog.vue +19 -19
  28. package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +14 -14
  29. package/edit/logging.banzaicloud.io.output/providers/forward.vue +12 -12
  30. package/edit/logging.banzaicloud.io.output/providers/gcs.vue +23 -23
  31. package/edit/logging.banzaicloud.io.output/providers/gelf.vue +6 -6
  32. package/edit/logging.banzaicloud.io.output/providers/kafka.vue +10 -10
  33. package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +8 -8
  34. package/edit/logging.banzaicloud.io.output/providers/logdna.vue +17 -17
  35. package/edit/logging.banzaicloud.io.output/providers/logz.vue +7 -7
  36. package/edit/logging.banzaicloud.io.output/providers/loki.vue +12 -12
  37. package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +3 -3
  38. package/edit/logging.banzaicloud.io.output/providers/opensearch.vue +14 -14
  39. package/edit/logging.banzaicloud.io.output/providers/redis.vue +6 -6
  40. package/edit/logging.banzaicloud.io.output/providers/s3.vue +23 -23
  41. package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +13 -13
  42. package/edit/logging.banzaicloud.io.output/providers/sumologic.vue +2 -2
  43. package/edit/logging.banzaicloud.io.output/providers/syslog.vue +54 -54
  44. package/package.json +1 -1
  45. package/scripts/publish-shell.sh +1 -1
  46. package/utils/errorTranslate.json +20 -0
@@ -0,0 +1,303 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8"/>
5
+ <title>iconfont Demo</title>
6
+ <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg" type="image/x-icon"/>
7
+ <link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg"/>
8
+ <link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
9
+ <link rel="stylesheet" href="demo.css">
10
+ <link rel="stylesheet" href="iconfont.css">
11
+ <script src="iconfont.js"></script>
12
+ <!-- jQuery -->
13
+ <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js"></script>
14
+ <!-- 代码高亮 -->
15
+ <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/a3f714d0-08e6-11e9-8a15-ebf944d7534c.js"></script>
16
+ <style>
17
+ .main .logo {
18
+ margin-top: 0;
19
+ height: auto;
20
+ }
21
+
22
+ .main .logo a {
23
+ display: flex;
24
+ align-items: center;
25
+ }
26
+
27
+ .main .logo .sub-title {
28
+ margin-left: 0.5em;
29
+ font-size: 22px;
30
+ color: #fff;
31
+ background: linear-gradient(-45deg, #3967FF, #B500FE);
32
+ -webkit-background-clip: text;
33
+ -webkit-text-fill-color: transparent;
34
+ }
35
+ </style>
36
+ </head>
37
+ <body>
38
+ <div class="main">
39
+ <h1 class="logo"><a href="https://www.iconfont.cn/" title="iconfont 首页" target="_blank">
40
+ <img width="200" src="https://img.alicdn.com/imgextra/i3/O1CN01Mn65HV1FfSEzR6DKv_!!6000000000514-55-tps-228-59.svg">
41
+
42
+ </a></h1>
43
+ <div class="nav-tabs">
44
+ <ul id="tabs" class="dib-box">
45
+ <li class="dib active"><span>Unicode</span></li>
46
+ <li class="dib"><span>Font class</span></li>
47
+ <li class="dib"><span>Symbol</span></li>
48
+ </ul>
49
+
50
+ <a href="https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=5059012" target="_blank" class="nav-more">查看项目</a>
51
+
52
+ </div>
53
+ <div class="tab-container">
54
+ <div class="content unicode" style="display: block;">
55
+ <ul class="icon_lists dib-box">
56
+
57
+ <li class="dib">
58
+ <span class="icon iconfont">&#xe606;</span>
59
+ <div class="name">flow</div>
60
+ <div class="code-name">&amp;#xe606;</div>
61
+ </li>
62
+
63
+ <li class="dib">
64
+ <span class="icon iconfont">&#xe607;</span>
65
+ <div class="name">Logging</div>
66
+ <div class="code-name">&amp;#xe607;</div>
67
+ </li>
68
+
69
+ <li class="dib">
70
+ <span class="icon iconfont">&#xe603;</span>
71
+ <div class="name">clusterFlow</div>
72
+ <div class="code-name">&amp;#xe603;</div>
73
+ </li>
74
+
75
+ <li class="dib">
76
+ <span class="icon iconfont">&#xe604;</span>
77
+ <div class="name">outputs</div>
78
+ <div class="code-name">&amp;#xe604;</div>
79
+ </li>
80
+
81
+ <li class="dib">
82
+ <span class="icon iconfont">&#xe605;</span>
83
+ <div class="name">clusterOutputs</div>
84
+ <div class="code-name">&amp;#xe605;</div>
85
+ </li>
86
+
87
+ </ul>
88
+ <div class="article markdown">
89
+ <h2 id="unicode-">Unicode 引用</h2>
90
+ <hr>
91
+
92
+ <p>Unicode 是字体在网页端最原始的应用方式,特点是:</p>
93
+ <ul>
94
+ <li>支持按字体的方式去动态调整图标大小,颜色等等。</li>
95
+ <li>默认情况下不支持多色,直接添加多色图标会自动去色。</li>
96
+ </ul>
97
+ <blockquote>
98
+ <p>注意:新版 iconfont 支持两种方式引用多色图标:SVG symbol 引用方式和彩色字体图标模式。(使用彩色字体图标需要在「编辑项目」中开启「彩色」选项后并重新生成。)</p>
99
+ </blockquote>
100
+ <p>Unicode 使用步骤如下:</p>
101
+ <h3 id="-font-face">第一步:拷贝项目下面生成的 <code>@font-face</code></h3>
102
+ <pre><code class="language-css"
103
+ >@font-face {
104
+ font-family: 'iconfont';
105
+ src: url('iconfont.woff2?t=1762424772425') format('woff2'),
106
+ url('iconfont.woff?t=1762424772425') format('woff'),
107
+ url('iconfont.ttf?t=1762424772425') format('truetype');
108
+ }
109
+ </code></pre>
110
+ <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
111
+ <pre><code class="language-css"
112
+ >.iconfont {
113
+ font-family: "iconfont" !important;
114
+ font-size: 16px;
115
+ font-style: normal;
116
+ -webkit-font-smoothing: antialiased;
117
+ -moz-osx-font-smoothing: grayscale;
118
+ }
119
+ </code></pre>
120
+ <h3 id="-">第三步:挑选相应图标并获取字体编码,应用于页面</h3>
121
+ <pre>
122
+ <code class="language-html"
123
+ >&lt;span class="iconfont"&gt;&amp;#x33;&lt;/span&gt;
124
+ </code></pre>
125
+ <blockquote>
126
+ <p>"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。</p>
127
+ </blockquote>
128
+ </div>
129
+ </div>
130
+ <div class="content font-class">
131
+ <ul class="icon_lists dib-box">
132
+
133
+ <li class="dib">
134
+ <span class="icon iconfont icon-flow"></span>
135
+ <div class="name">
136
+ flow
137
+ </div>
138
+ <div class="code-name">.icon-flow
139
+ </div>
140
+ </li>
141
+
142
+ <li class="dib">
143
+ <span class="icon iconfont icon-Logging"></span>
144
+ <div class="name">
145
+ Logging
146
+ </div>
147
+ <div class="code-name">.icon-Logging
148
+ </div>
149
+ </li>
150
+
151
+ <li class="dib">
152
+ <span class="icon iconfont icon-clusterFlow"></span>
153
+ <div class="name">
154
+ clusterFlow
155
+ </div>
156
+ <div class="code-name">.icon-clusterFlow
157
+ </div>
158
+ </li>
159
+
160
+ <li class="dib">
161
+ <span class="icon iconfont icon-outputs"></span>
162
+ <div class="name">
163
+ outputs
164
+ </div>
165
+ <div class="code-name">.icon-outputs
166
+ </div>
167
+ </li>
168
+
169
+ <li class="dib">
170
+ <span class="icon iconfont icon-clusterOutputs"></span>
171
+ <div class="name">
172
+ clusterOutputs
173
+ </div>
174
+ <div class="code-name">.icon-clusterOutputs
175
+ </div>
176
+ </li>
177
+
178
+ </ul>
179
+ <div class="article markdown">
180
+ <h2 id="font-class-">font-class 引用</h2>
181
+ <hr>
182
+
183
+ <p>font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。</p>
184
+ <p>与 Unicode 使用方式相比,具有如下特点:</p>
185
+ <ul>
186
+ <li>相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。</li>
187
+ <li>因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。</li>
188
+ </ul>
189
+ <p>使用步骤如下:</p>
190
+ <h3 id="-fontclass-">第一步:引入项目下面生成的 fontclass 代码:</h3>
191
+ <pre><code class="language-html">&lt;link rel="stylesheet" href="./iconfont.css"&gt;
192
+ </code></pre>
193
+ <h3 id="-">第二步:挑选相应图标并获取类名,应用于页面:</h3>
194
+ <pre><code class="language-html">&lt;span class="iconfont icon-xxx"&gt;&lt;/span&gt;
195
+ </code></pre>
196
+ <blockquote>
197
+ <p>"
198
+ iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。</p>
199
+ </blockquote>
200
+ </div>
201
+ </div>
202
+ <div class="content symbol">
203
+ <ul class="icon_lists dib-box">
204
+
205
+ <li class="dib">
206
+ <svg class="icon svg-icon" aria-hidden="true">
207
+ <use xlink:href="#icon-flow"></use>
208
+ </svg>
209
+ <div class="name">flow</div>
210
+ <div class="code-name">#icon-flow</div>
211
+ </li>
212
+
213
+ <li class="dib">
214
+ <svg class="icon svg-icon" aria-hidden="true">
215
+ <use xlink:href="#icon-Logging"></use>
216
+ </svg>
217
+ <div class="name">Logging</div>
218
+ <div class="code-name">#icon-Logging</div>
219
+ </li>
220
+
221
+ <li class="dib">
222
+ <svg class="icon svg-icon" aria-hidden="true">
223
+ <use xlink:href="#icon-clusterFlow"></use>
224
+ </svg>
225
+ <div class="name">clusterFlow</div>
226
+ <div class="code-name">#icon-clusterFlow</div>
227
+ </li>
228
+
229
+ <li class="dib">
230
+ <svg class="icon svg-icon" aria-hidden="true">
231
+ <use xlink:href="#icon-outputs"></use>
232
+ </svg>
233
+ <div class="name">outputs</div>
234
+ <div class="code-name">#icon-outputs</div>
235
+ </li>
236
+
237
+ <li class="dib">
238
+ <svg class="icon svg-icon" aria-hidden="true">
239
+ <use xlink:href="#icon-clusterOutputs"></use>
240
+ </svg>
241
+ <div class="name">clusterOutputs</div>
242
+ <div class="code-name">#icon-clusterOutputs</div>
243
+ </li>
244
+
245
+ </ul>
246
+ <div class="article markdown">
247
+ <h2 id="symbol-">Symbol 引用</h2>
248
+ <hr>
249
+
250
+ <p>这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
251
+ 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:</p>
252
+ <ul>
253
+ <li>支持多色图标了,不再受单色限制。</li>
254
+ <li>通过一些技巧,支持像字体那样,通过 <code>font-size</code>, <code>color</code> 来调整样式。</li>
255
+ <li>兼容性较差,支持 IE9+,及现代浏览器。</li>
256
+ <li>浏览器渲染 SVG 的性能一般,还不如 png。</li>
257
+ </ul>
258
+ <p>使用步骤如下:</p>
259
+ <h3 id="-symbol-">第一步:引入项目下面生成的 symbol 代码:</h3>
260
+ <pre><code class="language-html">&lt;script src="./iconfont.js"&gt;&lt;/script&gt;
261
+ </code></pre>
262
+ <h3 id="-css-">第二步:加入通用 CSS 代码(引入一次就行):</h3>
263
+ <pre><code class="language-html">&lt;style&gt;
264
+ .icon {
265
+ width: 1em;
266
+ height: 1em;
267
+ vertical-align: -0.15em;
268
+ fill: currentColor;
269
+ overflow: hidden;
270
+ }
271
+ &lt;/style&gt;
272
+ </code></pre>
273
+ <h3 id="-">第三步:挑选相应图标并获取类名,应用于页面:</h3>
274
+ <pre><code class="language-html">&lt;svg class="icon" aria-hidden="true"&gt;
275
+ &lt;use xlink:href="#icon-xxx"&gt;&lt;/use&gt;
276
+ &lt;/svg&gt;
277
+ </code></pre>
278
+ </div>
279
+ </div>
280
+
281
+ </div>
282
+ </div>
283
+ <script>
284
+ $(document).ready(function () {
285
+ $('.tab-container .content:first').show()
286
+
287
+ $('#tabs li').click(function (e) {
288
+ var tabContent = $('.tab-container .content')
289
+ var index = $(this).index()
290
+
291
+ if ($(this).hasClass('active')) {
292
+ return
293
+ } else {
294
+ $('#tabs li').removeClass('active')
295
+ $(this).addClass('active')
296
+
297
+ tabContent.hide().eq(index).fadeIn()
298
+ }
299
+ })
300
+ })
301
+ </script>
302
+ </body>
303
+ </html>
@@ -0,0 +1,43 @@
1
+ @font-face {
2
+ font-family: "iconfont"; /* Project id 5059012 */
3
+ src: url('iconfont.woff2?t=1762414013778') format('woff2'),
4
+ url('iconfont.woff?t=1762414013778') format('woff'),
5
+ url('iconfont.ttf?t=1762414013778') format('truetype');
6
+ }
7
+
8
+ .iconfont {
9
+ font-family: "iconfont" !important;
10
+ font-size: 32px;
11
+ width: 32px !important;
12
+ margin-top: -9px;
13
+ font-style: normal;
14
+ -webkit-font-smoothing: antialiased;
15
+ -moz-osx-font-smoothing: grayscale;
16
+ }
17
+
18
+ .icon-new-flows:before {
19
+ content: "\e606";
20
+ }
21
+
22
+ .icon-new-Logging:before {
23
+ content: "\e607";
24
+ }
25
+
26
+ .icon-new-clusterFlow:before {
27
+ content: "\e603";
28
+ }
29
+
30
+ .icon-new-outputs:before {
31
+ content: "\e604";
32
+ }
33
+
34
+ .icon-new-clusterOutputs:before {
35
+ content: "\e605";
36
+ }
37
+
38
+ /* 第二套 iconfont 通用规则 */
39
+ .icon-new-:before,
40
+ [class^="icon-new-"]:before,
41
+ [class*=" icon-new-"]:before {
42
+ font-family: "iconfont" !important;
43
+ }
@@ -0,0 +1 @@
1
+ window._iconfont_svg_string_5059012='<svg><symbol id="icon-flow" viewBox="0 0 1160 1024"><path d="M62.57056 362.08v-18.688a15.584 15.584 0 1 0-31.168 0v18.688a46.112 46.112 0 0 0 0 87.232v236.8a15.584 15.584 0 0 0 31.168 0v-236.8a46.112 46.112 0 0 0 0-87.232zM187.17856 580.16v-236.8a15.584 15.584 0 1 0-31.168 0v236.8a46.112 46.112 0 0 0 0 87.232v18.688a15.584 15.584 0 1 0 31.168 0v-18.688a46.112 46.112 0 0 0 0-87.232z m155.776-174.464a44 44 0 0 0-31.168-43.616v-18.688a15.584 15.584 0 1 0-31.168 0v18.688a46.112 46.112 0 0 0 0 87.232v236.8a15.584 15.584 0 0 0 31.168 0v-236.8a44 44 0 0 0 31.2-43.616z" fill="#A8ABB2" ></path></symbol><symbol id="icon-Logging" viewBox="0 0 1024 1024"><path d="M345.79232 287.968H15.10432A15.296 15.296 0 0 0 0.00032 303.392v402.176a15.264 15.264 0 0 0 15.104 15.424h330.688a15.264 15.264 0 0 0 15.104-15.424V303.392a15.264 15.264 0 0 0-15.104-15.424z m-19.2 381.856a12.512 12.512 0 0 1-12.224 12.8H46.88032a12.512 12.512 0 0 1-12.224-12.8V335.968a12.544 12.544 0 0 1 12.224-12.8h267.488a12.512 12.512 0 0 1 12.224 12.8V669.76z m0 0L187.77632 398.08h-93.44a18.144 18.144 0 0 0 0 36.096h93.44a18.144 18.144 0 0 0 0-36.096z m0 0l99.808 88.032H233.15232a18.144 18.144 0 0 0 0 36.096h193.248a18.144 18.144 0 0 0 0-36.096z m0 0l-40.576 88.032H133.31232a18.112 18.112 0 0 0 0 36.096h152.704a18.112 18.112 0 0 0 0-36.096z m0 0" fill="#A8ABB2" ></path></symbol><symbol id="icon-clusterFlow" viewBox="0 0 1030 1024"><path d="M6.368 663.968v-237.44h24.96v237.472h-24.96z m312.416-37.44V313.952h24.96v312.448h-24.96z m-199.936 0V276.576h24.96v349.92h-24.96z m99.968 74.88V364.032h24.96v337.44h-24.96z" fill="#A8ABB2" ></path></symbol><symbol id="icon-outputs" viewBox="0 0 1024 1024"><path d="M190.68832 568.768a14.656 14.656 0 0 0-14.656 14.656v44a14.688 14.688 0 1 0 29.344 0v-44.032a14.656 14.656 0 0 0-14.688-14.624z m-81.92-147.648a5.856 5.856 0 0 0 4.16 1.728h63.104v101.92a14.688 14.688 0 1 0 29.344 0v-101.92h64a5.856 5.856 0 0 0 4.16-10.016l-78.272-78.272a5.856 5.856 0 0 0-8.288 0l-78.272 78.272a5.856 5.856 0 0 0 0 8.288z" fill="#A8ABB2" ></path><path d="M365.02432 360.896l-79.84-39.456a14.688 14.688 0 0 0-13.024 26.304L352.00032 387.232v230.4l-161.344 67.616-161.344-67.616v-230.4l79.84-39.456a14.656 14.656 0 1 0-12.992-26.304l-80 39.456a29.184 29.184 0 0 0-16.16 26.304v230.4a29.216 29.216 0 0 0 17.984 27.04l167.04 69.984a14.624 14.624 0 0 0 11.36 0l167.008-69.984a29.248 29.248 0 0 0 17.984-27.072v-230.368a29.184 29.184 0 0 0-16.352-26.336z" fill="#A8ABB2" ></path></symbol><symbol id="icon-clusterOutputs" viewBox="0 0 1030 1024"><path d="M351.648 423.584a9.92 9.92 0 0 0-9.888 9.888v221.024a8.864 8.864 0 0 1-8.864 8.832H35.008a8.896 8.896 0 0 1-8.736-8.832v-265.28a8.896 8.896 0 0 1 8.832-8.864h237.888l-23.648 23.872a9.952 9.952 0 0 0 7.104 16.928 9.824 9.824 0 0 0 7.104-2.912l47.296-47.648-47.488-47.616a9.824 9.824 0 0 0-13.92 0 10.048 10.048 0 0 0 0 14.208l23.648 23.648h-238.08a28.8 28.8 0 0 0-28.608 28.8v264.832a28.8 28.8 0 0 0 28.608 28.8h297.92a28.8 28.8 0 0 0 28.64-28.8v-220.992a9.92 9.92 0 0 0-9.92-9.92z" fill="#A8ABB2" ></path><path d="M179.936 437.408v177.376a9.92 9.92 0 1 0 19.776 0v-177.376a9.888 9.888 0 1 0-19.776 0z m88.832 104.256v73.408a9.888 9.888 0 1 0 19.776 0v-73.408a9.888 9.888 0 1 0-19.776 0z m-167.936-42.624a9.92 9.92 0 0 0-9.888 9.952v106.08a9.92 9.92 0 1 0 19.776 0v-106.176a9.92 9.92 0 0 0-9.856-9.888z" fill="#A8ABB2" ></path></symbol></svg>',(a=>{var t=(e=(e=document.getElementsByTagName("script"))[e.length-1]).getAttribute("data-injectcss"),e=e.getAttribute("data-disable-injectsvg");if(!e){var n,o,i,l,v,d=function(t,e){e.parentNode.insertBefore(t,e)};if(t&&!a.__iconfont__svg__cssinject__){a.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}n=function(){var t,e=document.createElement("div");e.innerHTML=a._iconfont_svg_string_5059012,(e=e.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",e=e,(t=document.body).firstChild?d(e,t.firstChild):t.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(n,0):(o=function(){document.removeEventListener("DOMContentLoaded",o,!1),n()},document.addEventListener("DOMContentLoaded",o,!1)):document.attachEvent&&(i=n,l=a.document,v=!1,c(),l.onreadystatechange=function(){"complete"==l.readyState&&(l.onreadystatechange=null,s())})}function s(){v||(v=!0,i())}function c(){try{l.documentElement.doScroll("left")}catch(t){return void setTimeout(c,50)}s()}})(window);
@@ -0,0 +1,44 @@
1
+ {
2
+ "id": "5059012",
3
+ "name": "logging",
4
+ "font_family": "iconfont",
5
+ "css_prefix_text": "icon-",
6
+ "description": "",
7
+ "glyphs": [
8
+ {
9
+ "icon_id": "46007411",
10
+ "name": "flow",
11
+ "font_class": "flow",
12
+ "unicode": "e606",
13
+ "unicode_decimal": 58886
14
+ },
15
+ {
16
+ "icon_id": "46007409",
17
+ "name": "Logging",
18
+ "font_class": "Logging",
19
+ "unicode": "e607",
20
+ "unicode_decimal": 58887
21
+ },
22
+ {
23
+ "icon_id": "46007413",
24
+ "name": "clusterFlow",
25
+ "font_class": "clusterFlow",
26
+ "unicode": "e603",
27
+ "unicode_decimal": 58883
28
+ },
29
+ {
30
+ "icon_id": "46007412",
31
+ "name": "outputs",
32
+ "font_class": "outputs",
33
+ "unicode": "e604",
34
+ "unicode_decimal": 58884
35
+ },
36
+ {
37
+ "icon_id": "46007410",
38
+ "name": "clusterOutputs",
39
+ "font_class": "clusterOutputs",
40
+ "unicode": "e605",
41
+ "unicode_decimal": 58885
42
+ }
43
+ ]
44
+ }
Binary file
Binary file
Binary file
@@ -36,4 +36,5 @@
36
36
 
37
37
  @import './all.scss';
38
38
  @import '../icons/iconfont.css';
39
+ @import '../iconsNew/iconfont.css';
39
40
 
@@ -30,7 +30,7 @@ $spacing-property-map: (
30
30
  }
31
31
 
32
32
  .spacer {
33
- padding: 40px 0 0 0;
33
+ padding: 20px 0 0 0;
34
34
  }
35
35
 
36
36
  .spacer-small {
@@ -3129,6 +3129,8 @@ logging:
3129
3129
  path: 路径
3130
3130
  overwriteExistingPath: 覆盖现有路径
3131
3131
  output:
3132
+ output:
3133
+ label: 输出
3132
3134
  buffer:
3133
3135
  label: 输出缓冲
3134
3136
  selectOutputs: 选择输出
@@ -3152,7 +3154,7 @@ logging:
3152
3154
  azurestorage: Azure Storage
3153
3155
  cloudwatch: Cloudwatch
3154
3156
  datadog: Datadog
3155
- file: 文件
3157
+ file: File
3156
3158
  gcs: GCS
3157
3159
  kinesisStream: Kinesis Stream
3158
3160
  logdna: LogDNA
@@ -210,31 +210,32 @@ export default {
210
210
  <template>
211
211
  <div
212
212
  class="secret-selector"
213
- :class="{'show-key-selector': showKeySelector}"
214
213
  >
215
- <div class="input-container">
214
+ <div :class="{'row': showKeySelector}" class="input-container">
216
215
  <!-- key by namespace to ensure label select current page is recreated on ns change -->
217
- <ResourceLabeledSelect
218
- :key="namespace"
219
- v-model:value="name"
220
- :disabled="!isView && disabled"
221
- :label="secretNameLabel"
222
- :mode="mode"
223
- :resource-type="SECRET"
224
- :in-store="inStore"
225
- :paginated-resource-settings="paginateSecretsSetting"
226
- :all-resources-settings="allSecretsSettings"
227
- />
228
- <LabeledSelect
229
- v-if="showKeySelector"
230
- :key="namespace"
231
- v-model:value="key"
232
- class="col span-6"
233
- :disabled="isKeyDisabled"
234
- :options="keys"
235
- :label="keyNameLabel"
236
- :mode="mode"
237
- />
216
+ <div :class="{'col span-6': showKeySelector}">
217
+ <ResourceLabeledSelect
218
+ :key="namespace"
219
+ v-model:value="name"
220
+ :disabled="!isView && disabled"
221
+ :label="secretNameLabel"
222
+ :mode="mode"
223
+ :resource-type="SECRET"
224
+ :in-store="inStore"
225
+ :paginated-resource-settings="paginateSecretsSetting"
226
+ :all-resources-settings="allSecretsSettings"
227
+ />
228
+ </div>
229
+ <div v-if="showKeySelector" class="col span-6">
230
+ <LabeledSelect
231
+ :key="namespace"
232
+ v-model:value="key"
233
+ :disabled="isKeyDisabled"
234
+ :options="keys"
235
+ :label="keyNameLabel"
236
+ :mode="mode"
237
+ />
238
+ </div>
238
239
  </div>
239
240
  </div>
240
241
  </template>
@@ -58,7 +58,8 @@ export default {
58
58
  '网络管理': 'icon-networks',
59
59
  '镜像管理': 'icon-imagelist',
60
60
  '资源管理': 'icon-sorcetype',
61
- '运维管理': 'icon-monitoringandlogging'
61
+ '运维管理': 'icon-monitoringandlogging',
62
+ '日志管理': 'icon-new-Logging'
62
63
  }
63
64
 
64
65
 
@@ -5,14 +5,17 @@ export const NAME = 'uiplugins';
5
5
  export function init(store) {
6
6
  const { product } = DSL(store, NAME);
7
7
 
8
- // Add a product for UI Plugins - will appear in the top-level menu
9
- product({
10
- ifHave: IF_HAVE.ADMIN, // Only admins can see the UI Plugin Custom Resource by default
11
- inStore: 'management',
12
- icon: 'extension',
13
- removable: false,
14
- showClusterSwitcher: false,
15
- category: 'configuration',
16
- weight: 50,
17
- });
8
+ if (sessionStorage.getItem('TOPLEVELPERMISSIONS') && sessionStorage.getItem('TOPLEVELPERMISSIONS') === 'superadmin') {
9
+ // Add a product for UI Plugins - will appear in the top-level menu
10
+ product({
11
+ ifHave: IF_HAVE.ADMIN, // Only admins can see the UI Plugin Custom Resource by default
12
+ inStore: 'management',
13
+ icon: 'extension',
14
+ removable: false,
15
+ showClusterSwitcher: false,
16
+ category: 'configuration',
17
+ weight: 50,
18
+ });
19
+ }
20
+
18
21
  }
@@ -418,10 +418,9 @@ export default {
418
418
  class="mt-0"
419
419
  :label="t('logging.flow.matches.banner')"
420
420
  />
421
- <div v-if="isHarvester">
421
+ <div class="mb-20" v-if="isHarvester">
422
422
  <LabeledSelect
423
423
  v-model:value="loggingType"
424
- class="mb-20"
425
424
  :options="flowTypeOptions"
426
425
  :mode="mode"
427
426
  :disabled="!isCreate"
@@ -50,8 +50,8 @@ export default {
50
50
  <h3>{{ t('logging.output.sections.access') }}</h3>
51
51
  </div>
52
52
  </div>
53
- <div class="row mb-10">
54
- <div class="col span-6">
53
+ <div>
54
+ <div>
55
55
  <SecretSelector
56
56
  v-model:value="value.endpoint.access_key_id"
57
57
  :mode="mode"
@@ -61,7 +61,7 @@ export default {
61
61
  :show-key-selector="true"
62
62
  />
63
63
  </div>
64
- <div class="col span-6">
64
+ <div>
65
65
  <SecretSelector
66
66
  v-model:value="value.endpoint.secret_access_key"
67
67
  :mode="mode"