eoss-ui 0.4.67 → 0.4.68

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 (74) hide show
  1. package/lib/button-group.js +11 -11
  2. package/lib/button.js +11 -11
  3. package/lib/card.js +2 -2
  4. package/lib/cascader.js +2 -2
  5. package/lib/checkbox-group.js +12 -12
  6. package/lib/clients.js +2 -2
  7. package/lib/data-table-form.js +11 -12
  8. package/lib/data-table.js +11 -12
  9. package/lib/date-picker.js +11 -11
  10. package/lib/dialog.js +13 -16
  11. package/lib/enterprise.js +2 -2
  12. package/lib/eoss-ui.common.js +637 -2744
  13. package/lib/error-page.js +2 -2
  14. package/lib/flow-group.js +17 -15
  15. package/lib/flow-list.js +377 -1358
  16. package/lib/flow.js +20 -36
  17. package/lib/form.js +37 -37
  18. package/lib/handle-user.js +12 -12
  19. package/lib/handler.js +12 -12
  20. package/lib/icons.js +4 -4
  21. package/lib/index.js +1 -1
  22. package/lib/input-number.js +18 -18
  23. package/lib/input.js +43 -43
  24. package/lib/label.js +2 -2
  25. package/lib/login.js +110 -101
  26. package/lib/main.js +83 -72
  27. package/lib/menu.js +5 -2
  28. package/lib/nav.js +11 -11
  29. package/lib/notify.js +4 -4
  30. package/lib/page.js +18 -18
  31. package/lib/pagination.js +2 -2
  32. package/lib/player.js +23 -23
  33. package/lib/qr-code.js +13 -13
  34. package/lib/radio-group.js +12 -12
  35. package/lib/retrial-auth.js +12 -12
  36. package/lib/select-ganged.js +11 -11
  37. package/lib/select.js +14 -14
  38. package/lib/selector-panel.js +66 -56
  39. package/lib/selector.js +14 -14
  40. package/lib/sizer.js +12 -12
  41. package/lib/steps.js +11 -11
  42. package/lib/switch.js +11 -11
  43. package/lib/table-form.js +36 -36
  44. package/lib/tabs-panel.js +2 -2
  45. package/lib/tabs.js +11 -11
  46. package/lib/theme-chalk/index.css +1 -1
  47. package/lib/tips.js +19 -19
  48. package/lib/toolbar.js +2 -2
  49. package/lib/tree-group.js +11 -11
  50. package/lib/tree.js +12 -12
  51. package/lib/upload.js +12 -12
  52. package/lib/wujie.js +11 -11
  53. package/lib/wxlogin.js +11 -11
  54. package/package.json +1 -1
  55. package/packages/flow/src/processForm.vue +0 -3
  56. package/packages/flow-group/src/main.vue +4 -2
  57. package/packages/flow-list/src/main.vue +1 -99
  58. package/packages/main/src/main.vue +56 -39
  59. package/packages/main/src/message.vue +7 -8
  60. package/packages/menu/src/main.vue +3 -0
  61. package/packages/theme-chalk/lib/index.css +1 -1
  62. package/packages/theme-chalk/src/index.scss +0 -1
  63. package/src/index.js +1 -4
  64. package/lib/editor.js +0 -1345
  65. package/lib/theme-chalk/editor.css +0 -1
  66. package/packages/editor/index.js +0 -5
  67. package/packages/editor/src/color.vue +0 -148
  68. package/packages/editor/src/editor.vue +0 -25
  69. package/packages/editor/src/main.vue +0 -114
  70. package/packages/editor/src/minx.js +0 -213
  71. package/packages/editor/src/toolbar.vue +0 -224
  72. package/packages/flow-list/src/flow-table.vue +0 -441
  73. package/packages/theme-chalk/lib/editor.css +0 -1
  74. package/packages/theme-chalk/src/editor.scss +0 -94
@@ -1,224 +0,0 @@
1
- <template>
2
- <div class="es-editor-toolbar">
3
- <template v-for="(items, indexs) in contents">
4
- <div
5
- class="es-editor-toolbar-item"
6
- v-for="(item, index) in items"
7
- :key="indexs + '_' + index"
8
- :class="{
9
- 'es-last': index == items.length - 1 && indexs < contents.length - 1
10
- }"
11
- >
12
- <el-dropdown
13
- v-if="item.dropdown && item.dropdown.length"
14
- placement="bottom"
15
- :trigger="item.trigger"
16
- @command="
17
- (res) => {
18
- handleCommand(item.type, res);
19
- }
20
- "
21
- >
22
- <el-tooltip
23
- v-if="item.tips"
24
- effect="dark"
25
- :content="item.tips"
26
- :placement="item.placement ? item.placement : 'bottom'"
27
- >
28
- <el-button size="small" class="es-icon-right">
29
- <svg v-if="item.path" class="es-icon-svg" viewBox="0 0 1024 1024">
30
- <path v-for="ele in item.path" :key="ele" :d="ele"></path>
31
- </svg>
32
- <span class="es-icon-text" v-else>
33
- {{ item.value }}
34
- </span>
35
- <i class="el-icon-caret-bottom el-icon--right"></i>
36
- </el-button>
37
- </el-tooltip>
38
- <el-button size="small" class="es-icon-right" v-else>
39
- <svg v-if="item.path" class="es-icon-svg" viewBox="0 0 1024 1024">
40
- <path v-for="ele in item.path" :key="ele" :d="ele"></path>
41
- </svg>
42
- <span class="es-icon-text" v-else>
43
- {{ item.value }}
44
- </span>
45
- <i class="el-icon-caret-bottom el-icon--right"></i>
46
- </el-button>
47
- <el-dropdown-menu slot="dropdown">
48
- <el-dropdown-item
49
- class="es-editor-dropdown-item"
50
- v-for="ele in item.dropdown"
51
- :class="{ active: ele == item.value }"
52
- :key="typeof ele == 'string' ? ele : ele.title"
53
- :command="typeof ele == 'string' ? ele : ele.title"
54
- >
55
- <template v-if="typeof ele == 'string'">{{ ele }}</template>
56
- <template v-else>
57
- <svg
58
- v-if="ele.path"
59
- class="es-icon-svg"
60
- viewBox="0 0 1024 1024"
61
- >
62
- <path v-for="path in ele.path" :key="path" :d="path"></path>
63
- </svg>
64
- <span class="title">{{ ele.title }}</span>
65
- </template>
66
- </el-dropdown-item>
67
- </el-dropdown-menu>
68
- </el-dropdown>
69
- <el-tooltip
70
- v-else-if="item.tips"
71
- effect="dark"
72
- :content="item.tips"
73
- placement="bottom"
74
- >
75
- <el-button size="small" :class="{ 'es-icon-right': item.popover }">
76
- <svg
77
- v-if="item.path"
78
- class="es-icon-svg"
79
- :viewBox="item.viewBox ? item.viewBox : '0 0 1024 1024'"
80
- >
81
- <path v-for="ele in item.path" :key="ele" :d="ele"></path>
82
- </svg>
83
- <span class="es-icon-text" v-else>
84
- {{ item.value }}
85
- </span>
86
- <i
87
- v-if="item.popover"
88
- class="el-icon-caret-bottom el-icon--right"
89
- ></i>
90
- </el-button>
91
- </el-tooltip>
92
- <Colors
93
- v-else-if="item.colors"
94
- @select="selectColor"
95
- :tips="item.colors.tips"
96
- :title="item.colors.title"
97
- >
98
- <svg class="es-icon-svg" viewBox="0 0 1024 1024" v-if="item.path">
99
- <path v-for="ele in item.path" :key="ele" :d="ele"></path>
100
- </svg>
101
- </Colors>
102
- </div>
103
- </template>
104
- </div>
105
- </template>
106
- <script>
107
- import Colors from './color.vue';
108
- import mixin from './minx';
109
- export default {
110
- name: 'Toolbars',
111
- components: { Colors },
112
- mixins: [mixin],
113
- props: {
114
- tags: Array,
115
- fontSizes: Array,
116
- fontFamilys: Array,
117
- lineHeights: Array
118
- },
119
- computed: {
120
- _tags() {
121
- let tags = ['h1', 'h2', 'h3', 'h4', 'h5', '正文'];
122
- if (this.tags && this.tags.length) {
123
- return this.tags.includes('正文')
124
- ? this.tags
125
- : this.tags.concat(['正文']);
126
- }
127
- return tags;
128
- },
129
- _fontSizes() {
130
- let fontSizes = [
131
- '默认字号',
132
- '12px',
133
- '13px',
134
- '14px',
135
- '15px',
136
- '16px',
137
- '19px',
138
- '22px',
139
- '24px',
140
- '29px',
141
- '32px',
142
- '40px',
143
- '48px'
144
- ];
145
- if (this.fontSizes && this.fontSizes.length) {
146
- return this.fontSizes.includes('默认字号')
147
- ? this.fontSizes
148
- : ['默认字号'].concat(this.fontSizes);
149
- }
150
- return fontSizes;
151
- },
152
- _fontFamilys() {
153
- let fontFamilys = [
154
- '默认字体',
155
- '黑体',
156
- '仿宋',
157
- '楷体',
158
- '标楷体',
159
- '华文仿宋',
160
- '华文楷体',
161
- '宋体',
162
- '微软雅黑',
163
- 'Arial',
164
- 'Tahoma',
165
- 'Verdana',
166
- 'Times New Roman',
167
- 'Courier New'
168
- ];
169
- if (this.fontFamilys && this.fontFamilys.length) {
170
- let i = this.fontFamilys.findIndex('默认字体');
171
- if (i > -1) {
172
- this.fontFamilys.splice(i, 1);
173
- }
174
- return fontFamilys.concat(this.fontFamilys);
175
- }
176
- return fontFamilys;
177
- },
178
- _lineHeights() {
179
- let lineHeights = ['默认行高', '1', '1.15', '1.5', '2', '2.5', '3'];
180
- if (this.lineHeights && this.lineHeights.length) {
181
- return this.lineHeights.includes('默认行高')
182
- ? this.lineHeights
183
- : ['默认行高'].concat(this.lineHeights);
184
- }
185
- return lineHeights;
186
- }
187
- },
188
- data() {
189
- return {
190
- tag: '正文',
191
- fontSize: '默认字号',
192
- fontFamily: '默认字体',
193
- lineHeight: '默认行高',
194
- outdent: true
195
- };
196
- },
197
- mounted() {
198
- console.log(this.contents);
199
- },
200
- methods: {
201
- handleCommand(type, res) {
202
- switch (type) {
203
- case 'size':
204
- this.fontSize = res;
205
- break;
206
- case 'family':
207
- this.fontFamily = res;
208
- break;
209
- case 'tag2':
210
- break;
211
- default:
212
- this.tag = res;
213
- }
214
- console.log(res);
215
- },
216
- selectColor(res) {
217
- console.log(res);
218
- },
219
- selectBgColor(res) {
220
- typeof console.log(res);
221
- }
222
- }
223
- };
224
- </script>
@@ -1,441 +0,0 @@
1
- <template>
2
- <div style="height:100%">
3
- <es-data-table :toolbar="toolbar" :showFormBtn="false" :data="data" border style="width: 100%">
4
- <el-table-column type="index" align="center" label="序号" width="50">
5
- </el-table-column>
6
- <el-table-column
7
- prop="deptid"
8
- align="center"
9
- label="经办部门"
10
- width="150"
11
- show-overflow-tooltip
12
- >
13
- </el-table-column>
14
- <el-table-column
15
- align="center"
16
- label="步骤"
17
- width="110"
18
- prop="itemname"
19
- show-overflow-tooltip
20
- >
21
- </el-table-column>
22
- <el-table-column align="center" show-overflow-tooltip prop="userName" label="办理人" width="110">
23
- </el-table-column>
24
- <el-table-column
25
- label="状态"
26
- align="center"
27
- width="60"
28
- show-overflow-tooltip
29
- >
30
- <template slot-scope="scope"
31
- ><div
32
- :style="
33
- `${
34
- scope.row.pendstate == 0 || scope.row.pendstate == 3
35
- ? 'color:red'
36
- : scope.row.pendstate == 1
37
- ? 'color:green'
38
- : 'color:deepskyblue'
39
- }`
40
- "
41
- v-html="scope.row.querykeywords"></div
42
- ></template
43
- >
44
- </el-table-column>
45
- <el-table-column align="center" label="办理意见" show-overflow-tooltip>
46
- <template slot-scope="scope"
47
- ><span>{{
48
- scope.row.doresult || scope.row.handleInfo
49
- }}</span></template
50
- >
51
- </el-table-column>
52
- <el-table-column
53
- align="center"
54
- label="验签"
55
- width="70"
56
- show-overflow-tooltip
57
- >
58
- <template slot-scope="scope"
59
- ><span style="color:deepskyblue">{{
60
- scope.row.authTypeStr
61
- }}</span></template
62
- >
63
- </el-table-column>
64
- <el-table-column align="center" label="附件" width="70">
65
- <template slot-scope="scope">
66
- <div class="file" @click="showFile(scope.row.wfpendingid)">
67
- <span
68
- v-show="scope.row.hasAdjunct"
69
- class="iconfont es-icon-fujian"
70
- :style="fileStyle || 'color:red;font-size:20px'"
71
- ></span></div
72
- ></template>
73
- </el-table-column>
74
- <el-table-column width="130" align="center" label="时间">
75
- <template slot-scope="scope">{{ scope.row.doetime | date }}</template>
76
- </el-table-column>
77
- <!-- <el-table-column align="center" prop="itemname" label="提醒" show-overflow-tooltip>
78
- </el-table-column> -->
79
- <el-table-column
80
- align="center"
81
- width="80"
82
- prop="douserid"
83
- label="代办人"
84
- v-if="hasAgent == '1'"
85
- show-overflow-tooltip
86
- >
87
- </el-table-column>
88
- <el-table-column
89
- align="center"
90
- label="催办"
91
- width="60"
92
- show-overflow-tooltip
93
- >
94
- <template slot-scope="scope">
95
- <span
96
- style="color:deepskyblue;cursor: pointer;"
97
- @click="goPress(scope.row.id)"
98
- >{{ scope.row.pressTimes }}</span
99
- >
100
- </template>
101
- </el-table-column>
102
- <el-table-column
103
- align="center"
104
- :width="modify ? '130' : '100'"
105
- label="操作"
106
- >
107
- <template slot-scope="scope">
108
- <el-button v-show="scope.row.canDelete" @click="del(scope.row.id)"
109
- >删除</el-button
110
- >
111
- <el-button
112
- v-show="modify && scope.row.pendstate == 2"
113
- @click="hadelModify(scope.row.id)"
114
- >修改</el-button
115
- >
116
- </template>
117
- </el-table-column>
118
- </es-data-table>
119
- <es-dialog
120
- append-to-body
121
- :close-on-click-modal="false"
122
- title="查看附件"
123
- :visible.sync="showFileList"
124
- v-if="showFileList"
125
- >
126
- <FileList
127
- :ownId="wfpendingid"
128
- :code="adjunctCode"
129
- :deleted="false"
130
- :disabled="true"
131
- @cancel="showFileList = false"
132
- />
133
- </es-dialog>
134
- <es-dialog
135
- append-to-body
136
- :close-on-click-modal="false"
137
- title="查看催办记录"
138
- :visible.sync="showPress"
139
- height="500px"
140
- v-if="showPress"
141
- >
142
- <div style="height:400px" v-loading="pressLoading">
143
- <es-data-table
144
- :data="pressTableList"
145
- :thead="pressThead"
146
- stripe
147
- full
148
- style="width: 100%"
149
- @sort-change="sortChange"
150
- />
151
- <el-pagination
152
- @size-change="handleSizeChange"
153
- @current-change="handleCurrentChange"
154
- :current-page="currentPage"
155
- :page-sizes="[5, 10, 20, 30, 50, 100]"
156
- :page-size="pageSize"
157
- layout="total, sizes, prev, pager, next, jumper"
158
- :total="total"
159
- class="pagination"
160
- >
161
- </el-pagination>
162
- </div>
163
- </es-dialog>
164
- <es-dialog
165
- append-to-body
166
- :close-on-click-modal="false"
167
- title="删除"
168
- :visible.sync="showDel"
169
- height="auto"
170
- class="del-flow"
171
- v-if="showDel"
172
- >
173
- <es-form
174
- v-loading="delLoading"
175
- :model="formData"
176
- :contents="formItemList"
177
- @submit="handleFormSubmit"
178
- >
179
- </es-form>
180
- </es-dialog>
181
- </div>
182
- </template>
183
-
184
- <script>
185
- import util from 'eoss-ui/src/utils/util';
186
- import FileList from '../../flow/src/component/FileList.vue';
187
- import { pressListJson, deleteFlow } from 'eoss-ui/src/config/api';
188
- export default {
189
- name: 'FlowTable',
190
- components: {
191
- [FileList.name]: FileList
192
- },
193
- props: {
194
- data: {
195
- type: Array,
196
- default: () => []
197
- },
198
- adjunctCode: {
199
- type: String,
200
- default: ''
201
- },
202
- fileStyle: {
203
- default: ''
204
- },
205
- modify: {
206
- type: Boolean,
207
- default: false
208
- },
209
- hasAgent: {
210
- type: String,
211
- default: '1'
212
- },
213
- toolbar:{
214
- type:Array,
215
- default:() => []
216
- }
217
- },
218
- filters: {
219
- date(val) {
220
- return util.formatDate(val, 'yyyy-MM-dd HH:mm');
221
- }
222
- },
223
- data() {
224
- return {
225
- showFileList: false,
226
- showPress: false,
227
- showDel: false,
228
- currentPage: 1,
229
- pageSize: 20,
230
- wfpendingid: '',
231
- delLoading: false,
232
- pressLoading: false,
233
- pressTableList: [],
234
- formItemList: [
235
- {
236
- name: 'reason',
237
- label: '删除原因',
238
- type: 'textarea',
239
- placeholder: '请输入删除原因',
240
- rules: {
241
- required: true,
242
- message: '请输入删除原因',
243
- trigger: 'blur'
244
- },
245
- value: '',
246
- rows: 5
247
- },
248
- {
249
- type: 'submit',
250
- skin: 'lay-form-btns',
251
- contents: [
252
- {
253
- type: 'primary',
254
- plain: true,
255
- text: '保存',
256
- event: 'confirm'
257
- }
258
- ]
259
- }
260
- ],
261
- formData: { reason: '' },
262
- historyId: '',
263
- sidx: '',
264
- sord: '',
265
- total: 0,
266
- pressThead: [
267
- {
268
- title: '催办节点',
269
- align: 'center',
270
- sortable: true,
271
- field: 'urge_item'
272
- },
273
- {
274
- title: '催办人名称',
275
- sortable: true,
276
- align: 'center',
277
- field: 'urge_man_name'
278
- },
279
- {
280
- title: '催办时间',
281
- sortable: true,
282
- align: 'center',
283
- field: 'urge_time'
284
- },
285
- {
286
- title: '被催办人名称',
287
- align: 'center',
288
- sortable: true,
289
- field: 'urged_man_name'
290
- }
291
- ]
292
- };
293
- },
294
- methods: {
295
- /**
296
- * handleFormSubmit
297
- * @desc:删除节点点击事件
298
- * @param {Object} formData 点击删除的form数据
299
- * @author liufan
300
- * @date 2022年11月29日
301
- **/
302
- handleFormSubmit(formData) {
303
- this.delLoading = true;
304
- let params = {
305
- url: deleteFlow,
306
- method: 'POST',
307
- data: { id: this.historyId, reason: formData.reason }
308
- };
309
- util
310
- .ajax(params)
311
- .then(res => {
312
- const { status, message } = res;
313
- this.delLoading = false;
314
- if (status === 'success') {
315
- this.$message.success('删除成功');
316
- this.showDel = false;
317
- this.$emit('success');
318
- } else {
319
- this.$message.error(message || '系统错误,请联系管理员!');
320
- }
321
- })
322
- .catch(err => {
323
- this.delLoading = false;
324
- if (err.message && err.message !== 'canceled') {
325
- this.$message.error(err.message);
326
- }
327
- });
328
- },
329
- /**
330
- * del
331
- * @desc:展示删除弹窗
332
- * @param {String} id 当前点击数据id
333
- * @author liufan
334
- * @date 2022年11月29日
335
- **/
336
- del(id) {
337
- this.historyId = id;
338
- this.showDel = true;
339
- },
340
- /**
341
- * hadelModify
342
- * @desc:展示修改弹窗
343
- * @param {String} id 当前点击数据id
344
- * @author liufan
345
- * @date 2022年11月29日
346
- **/
347
- hadelModify(id) {
348
- this.$message.warning('暂未开放,敬请期待!');
349
- },
350
- /**
351
- * handleSizeChange
352
- * @desc:监听每页数据显示数量变化
353
- * @param {String} val 每页展示数量
354
- * @author liufan
355
- * @date 2022年11月29日
356
- **/
357
- handleSizeChange(val) {
358
- this.pageSize = val;
359
- this.getPressList();
360
- },
361
- /**
362
- * handleCurrentChange
363
- * @desc:监听页码变化
364
- * @param {String} val 当前页
365
- * @author liufan
366
- * @date 2022年11月29日
367
- **/
368
- handleCurrentChange(val) {
369
- this.currentPage = val;
370
- this.getPressList();
371
- },
372
- /**
373
- * sortChange
374
- * @desc:监听排序变化
375
- * @param {Object} info 需要排序的字段及排序方式
376
- * @author liufan
377
- * @date 2022年11月29日
378
- **/
379
- sortChange(info) {
380
- let { prop, order } = info;
381
- this.sidx = prop;
382
- this.sord = order.replace('ending', '');
383
- this.getPressList();
384
- },
385
- /**
386
- * getPressList
387
- * @desc:催办列表数据
388
- * @author liufan
389
- * @date 2022年11月29日
390
- **/
391
- getPressList() {
392
- const { historyId, pageSize, sidx, sord, currentPage } = this;
393
- this.pressLoading = true;
394
- let params = {
395
- url: pressListJson,
396
- params: { historyId },
397
- method: 'POST',
398
- data: { page: currentPage, rows: pageSize, sidx, sord,historyId }
399
- };
400
- util
401
- .ajax(params)
402
- .then(res => {
403
- this.pressTableList = res.data;
404
- this.total = res.totalrecords;
405
- this.pressLoading = false;
406
- })
407
- .catch(err => {
408
- this.pressLoading = false;
409
- if (err.message && err.message !== 'canceled') {
410
- this.$message.error(err.message);
411
- }
412
- });
413
- },
414
- /**
415
- * showFile
416
- * @desc:附件查看
417
- * @param {String} ownId 附件id
418
- * @author liufan
419
- * @date 2022年11月29日
420
- **/
421
- showFile(ownId) {
422
- this.wfpendingid = ownId;
423
- this.showFileList = true;
424
- },
425
- /**
426
- * goPress
427
- * @desc:催办列表查看
428
- * @param {String} id 催办列表id
429
- * @author liufan
430
- * @date 2022年11月29日
431
- **/
432
- goPress(id) {
433
- this.historyId = id;
434
- this.showPress = true;
435
- this.getPressList();
436
- }
437
- }
438
- };
439
- </script>
440
-
441
- <style></style>
@@ -1 +0,0 @@
1
- @charset "UTF-8";.es-editor{border:1px solid #d9d9d9}.es-editor .es-editor-toolbar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 4px;-ms-flex-wrap:wrap;flex-wrap:wrap;border-bottom:1px solid #d9d9d9}.es-editor .es-editor-toolbar .es-editor-toolbar-item-box{height:40px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.es-editor .es-editor-toolbar .es-editor-toolbar-item-box+.es-editor-toolbar-item-box .es-editor-toolbar-item:first-child{border-left:1px solid #d9d9d9}.es-editor .es-editor-toolbar .es-editor-toolbar-item{height:40px;padding:4px}.es-editor .es-editor-toolbar .es-editor-toolbar-item.es-last{border-right:1px solid #d9d9d9}.es-editor .es-editor-toolbar .es-editor-toolbar-item .es-icon-text+.el-icon--right{width:auto}.es-editor .es-editor-toolbar .el-button--default{border:0;color:#595959}.es-editor .es-editor-toolbar .el-button--default:hover{color:#333;background-color:#f1f1f1}.es-editor .es-editor-toolbar .el-button--default.es-icon-right{padding-right:3px}.es-editor .es-editor-main{overflow:hidden;padding:0 12px}.es-icon-svg{width:14px;height:14px;fill:#595959;position:relative;top:3px}.es-icon-svg+.el-icon--right{width:auto}.es-editor-color li{border-radius:3px;cursor:pointer;display:inline-block;padding:2px;border:1px solid transparent}.es-editor-color li.active,.es-editor-color li:hover{border-color:#d9d9d9}.es-editor-color li .es-editor-color-block{border:1px solid #d9d9d9;height:17px;width:17px;border-radius:3px}.es-editor-color .es-editor-color-clear{line-height:1.5;margin-bottom:5px;width:100%}.es-editor-dropdown-item:not(.is-disabled).active{background-color:rgba(0,0,0,.04);color:#69c0ff}.es-editor-contents p{margin:12px 0;line-height:1.5}