@ckeditor/ckeditor5-list-multi-level 48.3.1 → 48.4.0-alpha.1
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/dist/index-content.css +41 -41
- package/dist/index-editor.css +19 -19
- package/dist/index.css +33 -33
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/multilevellist.d.ts +0 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/multilevellistview.d.ts +0 -5
- package/package.json +8 -8
package/dist/index-content.css
CHANGED
|
@@ -2,77 +2,77 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
.ck-content .multi-level-list{
|
|
6
|
-
list-style:none;
|
|
5
|
+
.ck-content .multi-level-list {
|
|
6
|
+
list-style: none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.ck-content .multi-level-list li{
|
|
10
|
-
position:relative;
|
|
9
|
+
.ck-content .multi-level-list li {
|
|
10
|
+
position: relative;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.ck-content .multi-level-list li .multi-level-list__marker{
|
|
14
|
-
pointer-events:none;
|
|
13
|
+
.ck-content .multi-level-list li .multi-level-list__marker {
|
|
14
|
+
pointer-events: none;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.ck-content .multi-level-list li .multi-level-list__marker::selection{
|
|
18
|
-
background-color
|
|
17
|
+
.ck-content .multi-level-list li .multi-level-list__marker::selection {
|
|
18
|
+
background-color: #0000;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.ck-content .multi-level-list li .multi-level-list__marker:not(:has(span)){
|
|
22
|
-
padding-inline-end:5px;
|
|
23
|
-
position:absolute;
|
|
24
|
-
transform:translate(-100%);
|
|
21
|
+
.ck-content .multi-level-list li .multi-level-list__marker:not(:has(span)) {
|
|
22
|
+
padding-inline-end: 5px;
|
|
23
|
+
position: absolute;
|
|
24
|
+
transform: translate(-100%);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.ck-content .multi-level-list li .multi-level-list__marker:has(span){
|
|
28
|
-
text-wrap:nowrap;
|
|
29
|
-
width:0;
|
|
30
|
-
display:inline-block;
|
|
31
|
-
position:relative;
|
|
27
|
+
.ck-content .multi-level-list li .multi-level-list__marker:has(span) {
|
|
28
|
+
text-wrap: nowrap;
|
|
29
|
+
width: 0;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
position: relative;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.ck-content .multi-level-list li .multi-level-list__marker:has(span):before, .ck-content .multi-level-list li .multi-level-list__marker:has(span) > span{
|
|
35
|
-
padding-inline-end:5px;
|
|
36
|
-
position:absolute;
|
|
37
|
-
transform:translate(-100%);
|
|
34
|
+
.ck-content .multi-level-list li .multi-level-list__marker:has(span):before, .ck-content .multi-level-list li .multi-level-list__marker:has(span) > span {
|
|
35
|
+
padding-inline-end: 5px;
|
|
36
|
+
position: absolute;
|
|
37
|
+
transform: translate(-100%);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.ck-content .multi-level-list li.ck-list-marker-bold > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-bold > * > .multi-level-list__marker{
|
|
41
|
-
font-weight:bold;
|
|
40
|
+
.ck-content .multi-level-list li.ck-list-marker-bold > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-bold > * > .multi-level-list__marker {
|
|
41
|
+
font-weight: bold;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.ck-content .multi-level-list li.ck-list-marker-italic > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-italic > * > .multi-level-list__marker{
|
|
45
|
-
font-style:italic;
|
|
44
|
+
.ck-content .multi-level-list li.ck-list-marker-italic > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-italic > * > .multi-level-list__marker {
|
|
45
|
+
font-style: italic;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.ck-content .multi-level-list li.ck-list-marker-color > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-color > * > .multi-level-list__marker{
|
|
49
|
-
color:var(--ck-content-list-marker-color);
|
|
48
|
+
.ck-content .multi-level-list li.ck-list-marker-color > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-color > * > .multi-level-list__marker {
|
|
49
|
+
color: var(--ck-content-list-marker-color);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.ck-content .multi-level-list li.ck-list-marker-font-family > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-family > * > .multi-level-list__marker{
|
|
53
|
-
font-family:var(--ck-content-list-marker-font-family);
|
|
52
|
+
.ck-content .multi-level-list li.ck-list-marker-font-family > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-family > * > .multi-level-list__marker {
|
|
53
|
+
font-family: var(--ck-content-list-marker-font-family);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.ck-content .multi-level-list li.ck-list-marker-font-size > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size > * > .multi-level-list__marker{
|
|
57
|
-
font-size:var(--ck-content-list-marker-font-size);
|
|
56
|
+
.ck-content .multi-level-list li.ck-list-marker-font-size > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size > * > .multi-level-list__marker {
|
|
57
|
+
font-size: var(--ck-content-list-marker-font-size);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.ck-content .multi-level-list li.ck-list-marker-font-size-tiny > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size-tiny > * > .multi-level-list__marker{
|
|
61
|
-
font-size:var(--ck-content-font-size-tiny);
|
|
60
|
+
.ck-content .multi-level-list li.ck-list-marker-font-size-tiny > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size-tiny > * > .multi-level-list__marker {
|
|
61
|
+
font-size: var(--ck-content-font-size-tiny);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.ck-content .multi-level-list li.ck-list-marker-font-size-small > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size-small > * > .multi-level-list__marker{
|
|
65
|
-
font-size:var(--ck-content-font-size-small);
|
|
64
|
+
.ck-content .multi-level-list li.ck-list-marker-font-size-small > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size-small > * > .multi-level-list__marker {
|
|
65
|
+
font-size: var(--ck-content-font-size-small);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.ck-content .multi-level-list li.ck-list-marker-font-size-big > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size-big > * > .multi-level-list__marker{
|
|
69
|
-
font-size:var(--ck-content-font-size-big);
|
|
68
|
+
.ck-content .multi-level-list li.ck-list-marker-font-size-big > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size-big > * > .multi-level-list__marker {
|
|
69
|
+
font-size: var(--ck-content-font-size-big);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.ck-content .multi-level-list li.ck-list-marker-font-size-huge > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size-huge > * > .multi-level-list__marker{
|
|
73
|
-
font-size:var(--ck-content-font-size-huge);
|
|
72
|
+
.ck-content .multi-level-list li.ck-list-marker-font-size-huge > .multi-level-list__marker, .ck-content .multi-level-list li.ck-list-marker-font-size-huge > * > .multi-level-list__marker {
|
|
73
|
+
font-size: var(--ck-content-font-size-huge);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker:not(:has(span)), .ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker:before, .ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker > span{
|
|
77
|
-
transform:translate(100%);
|
|
76
|
+
.ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker:not(:has(span)), .ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker:before, .ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker > span {
|
|
77
|
+
transform: translate(100%);
|
|
78
78
|
}
|
package/dist/index-editor.css
CHANGED
|
@@ -2,39 +2,39 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
.ck-editor__editable .multi-level-list li .multi-level-list__marker:before{
|
|
6
|
-
content:attr(data-multi-level-list-marker);
|
|
5
|
+
.ck-editor__editable .multi-level-list li .multi-level-list__marker:before {
|
|
6
|
+
content: attr(data-multi-level-list-marker);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles{
|
|
10
|
-
padding:var(--ck-spacing-large);
|
|
9
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles {
|
|
10
|
+
padding: var(--ck-spacing-large);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > *{
|
|
14
|
-
min-width:14em;
|
|
13
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * {
|
|
14
|
+
min-width: 14em;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * + *{
|
|
18
|
-
margin-top:var(--ck-spacing-standard);
|
|
17
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * + * {
|
|
18
|
+
margin-top: var(--ck-spacing-standard);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-multi-level-list-styles{
|
|
22
|
-
grid-template-columns:repeat(4, auto);
|
|
21
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-multi-level-list-styles {
|
|
22
|
+
grid-template-columns: repeat(4, auto);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible{
|
|
26
|
-
border-top:1px solid var(--ck-color-base-border);
|
|
25
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible {
|
|
26
|
+
border-top: 1px solid var(--ck-color-base-border);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > *{
|
|
30
|
-
width:100%;
|
|
29
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * {
|
|
30
|
+
width: 100%;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * + *{
|
|
34
|
-
margin-top:var(--ck-spacing-standard);
|
|
33
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * + * {
|
|
34
|
+
margin-top: var(--ck-spacing-standard);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.ck.ck-multi-level-list-properties .ck.ck-multi-level-list-properties__start-index .ck-input{
|
|
38
|
-
width:100%;
|
|
39
|
-
min-width:auto;
|
|
37
|
+
.ck.ck-multi-level-list-properties .ck.ck-multi-level-list-properties__start-index .ck-input {
|
|
38
|
+
width: 100%;
|
|
39
|
+
min-width: auto;
|
|
40
40
|
}
|
package/dist/index.css
CHANGED
|
@@ -6,6 +6,39 @@
|
|
|
6
6
|
content: attr(data-multi-level-list-marker);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles {
|
|
10
|
+
padding: var(--ck-spacing-large);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * {
|
|
14
|
+
min-width: 14em;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * + * {
|
|
18
|
+
margin-top: var(--ck-spacing-standard);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-multi-level-list-styles {
|
|
22
|
+
grid-template-columns: repeat(4, auto);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible {
|
|
26
|
+
border-top: 1px solid var(--ck-color-base-border);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * {
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * + * {
|
|
34
|
+
margin-top: var(--ck-spacing-standard);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ck.ck-multi-level-list-properties .ck.ck-multi-level-list-properties__start-index .ck-input {
|
|
38
|
+
width: 100%;
|
|
39
|
+
min-width: auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
9
42
|
.ck-content .multi-level-list {
|
|
10
43
|
list-style: none;
|
|
11
44
|
}
|
|
@@ -80,36 +113,3 @@
|
|
|
80
113
|
.ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker:not(:has(span)), .ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker:before, .ck-content[dir="rtl"] .multi-level-list li .multi-level-list__marker > span {
|
|
81
114
|
transform: translate(100%);
|
|
82
115
|
}
|
|
83
|
-
|
|
84
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles {
|
|
85
|
-
padding: var(--ck-spacing-large);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * {
|
|
89
|
-
min-width: 14em;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_without-styles > * + * {
|
|
93
|
-
margin-top: var(--ck-spacing-standard);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-multi-level-list-styles {
|
|
97
|
-
grid-template-columns: repeat(4, auto);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible {
|
|
101
|
-
border-top: 1px solid var(--ck-color-base-border);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * {
|
|
105
|
-
width: 100%;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.ck.ck-multi-level-list-properties.ck-multi-level-list-properties_with-multi-level-properties > .ck-collapsible > .ck-collapsible__children > * + * {
|
|
109
|
-
margin-top: var(--ck-spacing-standard);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.ck.ck-multi-level-list-properties .ck.ck-multi-level-list-properties__start-index .ck-input {
|
|
113
|
-
width: 100%;
|
|
114
|
-
min-width: auto;
|
|
115
|
-
}
|
package/dist/index.d.ts
CHANGED
|
@@ -10,4 +10,6 @@ export { MultiLevelListCommand } from "./multilevellistcommand.js";
|
|
|
10
10
|
export { MultiLevelListEditing } from "./multilevellistediting.js";
|
|
11
11
|
export { MultiLevelListUI } from "./multilevellistui.js";
|
|
12
12
|
export type { MultiLevelListDefinition, MultiLevelListMarkerDefinition, MultiLevelListMarkerPattern, MultiLevelListConfig } from "./multilevellist.js";
|
|
13
|
+
import "../theme/index-editor.css";
|
|
14
|
+
import "../theme/index-content.css";
|
|
13
15
|
import "./augmentation.js";
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x5cc062,Plugin as _0x4ca3e0}from'@ckeditor/ckeditor5-core';import{Matcher as _0x3da92f,ViewUpcastWriter as _0x144ddc}from'@ckeditor/ckeditor5-engine';import{ListEditing as _0x5a0f80,_isFirstBlockOfListItem as _0x488762}from'@ckeditor/ckeditor5-list';import{FocusTracker as _0xbf2e36,KeystrokeHandler as _0x4ede08,createElement as _0x304692,first as _0x12c5bf,global as _0x390449,uid as _0x5ba4e5}from'@ckeditor/ckeditor5-utils';import{IconMultiLevelList as _0x5b8225}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x7986db,CollapsibleView as _0x5ba8ae,FocusCycler as _0xbcdabd,LabeledFieldView as _0x5bdf2e,MenuBarMenuListItemButtonView as _0x5143f8,SplitButtonView as _0x3bdd7d,View as _0x5b0335,ViewCollection as _0x102ca1,addKeyboardHandlingForGrid as _0x3b4d80,createDropdown as _0x32cf71,createLabeledInputNumber as _0x335990}from'@ckeditor/ckeditor5-ui';var S=class extends _0x5cc062{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x18828e,_0x1094d8,_0x46cc4d){super(_0x18828e),this['defaultListMarkerStyle']=_0x1094d8,this['_listDefinitions']=_0x46cc4d,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x14659f={}){const _0x25ea35=this['editor']['model'],_0x18bb8e=_0x14659f['listMarkerStyle']||this['defaultListMarkerStyle'];_0x25ea35['change'](()=>{const _0x3b0f6b=this['_getListTypeFromListMarkerStyle'](_0x18bb8e);if(!_0x3b0f6b)return;const _0x1b9260=_0x3b0f6b+'List';this['editor']['execute'](_0x1b9260,{'additionalAttributes':{'listMarkerStyle':_0x18bb8e}});});}['_getValue'](){const _0x4b8eca=_0x12c5bf(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x4b8eca)?_0x4b8eca['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x2442ac=this['editor'],_0x11cbd7=_0x2442ac['commands']['get']('customNumberedList'),_0x4c35c8=_0x2442ac['commands']['get']('customBulletedList');return _0x11cbd7['isEnabled']||_0x4c35c8['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x53f5e3){const _0xa8ebf4=this['_listDefinitions']['find'](_0x593549=>_0x593549['listMarkerStyle']==_0x53f5e3);return _0xa8ebf4?_0xa8ebf4['listType']:null;}},x=class extends _0x4ca3e0{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5a0f80];}constructor(_0xca3229){super(_0xca3229);const _0x32fe97=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x17ba65=>_0x17ba65+'.'}]},..._0x32fe97];}['init'](){const _0x501191=this['editor'],_0x5291d=_0x501191['model'],_0x2ed0a9=_0x501191['editing']['view'],_0x26127d=_0x501191['plugins']['get'](_0x5a0f80);_0x501191['commands']['add']('multiLevelList',new S(_0x501191,'legal',this['_listDefinitions'])),_0x5291d['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x5291d['schema']['addAttributeCheck']((_0x4a68a8,_0x257550)=>{const _0x5acf7d=_0x4a68a8['last'];if('listMarker'==_0x257550||'listMarkerStyle'==_0x257550)return!(!_0x5acf7d['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x12bc22=>_0x12bc22['listType']==_0x5acf7d['getAttribute']('listType')))&&void 0x0;});for(const _0x3a27ae of this['_listDefinitions'])_0x501191['conversion']['for']('upcast')['add'](_0x379b3b=>{_0x379b3b['on']('element:'+('customNumbered'==_0x3a27ae['listType']?'ol':'ul'),_(_0x3a27ae,_0x5291d['schema']),{'priority':'low'});}),_0x26127d['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x524496,_0x5c1f3b,_0x4ccb62){_0x5c1f3b==_0x3a27ae['listMarkerStyle']?(_0x524496['addClass'](['multi-level-list',_0x3a27ae['className']],_0x4ccb62),_0x524496['setStyle']('list-style-type','none',_0x4ccb62)):(_0x524496['removeClass'](['multi-level-list',_0x3a27ae['className']],_0x4ccb62),_0x524496['removeStyle']('list-style-type',_0x4ccb62));}}),_0x26127d['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x518a0d,_0x550ed4,{dataPipeline:_0x5d02f2}){if(!_0x550ed4['hasAttribute']('listMarker'))return null;if(_0x550ed4['getAttribute']('listType')!=_0x3a27ae['listType']||_0x550ed4['getAttribute']('listMarkerStyle')!=_0x3a27ae['listMarkerStyle'])return null;const _0x33b0a3=String(_0x550ed4['getAttribute']('listMarker')),_0x408f73=this['canInjectMarkerIntoElement'](_0x550ed4);return _0x518a0d['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x5d02f2&&{'contenteditable':'false','data-multi-level-list-marker':_0x33b0a3}},function(_0x1b915e){const _0x48079c=this['toDomElement'](_0x1b915e);return _0x408f73?(_0x48079c['appendChild'](_0x304692(_0x1b915e,'span',{},_0x5d02f2?_0x1b915e['createTextNode'](_0x33b0a3):[])),_0x48079c['appendChild'](_0x1b915e['createTextNode']('\u00a0'))):_0x5d02f2&&_0x48079c['appendChild'](_0x1b915e['createTextNode'](_0x33b0a3)),_0x48079c;});},'canInjectMarkerIntoElement':_0x5d0e43=>_0x5291d['schema']['checkChild'](_0x5d0e43,'$text')&&_0x5291d['schema']['checkChild'](_0x5d0e43,'$inlineObject')&&!_0x5291d['schema']['isLimit'](_0x5d0e43)&&_0x5d0e43['getAttribute']('listType')==_0x3a27ae['listType']&&_0x5d0e43['getAttribute']('listMarkerStyle')==_0x3a27ae['listMarkerStyle']});_0x501191['conversion']['for']('upcast')['add'](_0x717902=>{_0x717902['on']('element:span',function(_0x3f7b0a){return(_0x1d1a3f,_0x1bb9b7,{writer:_0x59a88e,consumable:_0x59a542})=>{const _0x104eee=_0x1bb9b7['modelCursor'],_0x1662d9=_0x104eee['parent'],_0x5783b0=_0x1bb9b7['viewItem'];if(_0x59a542['consume'](_0x5783b0,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x104eee['isAtStart']&&_0x1662d9['hasAttribute']('listType')&&_0x5783b0['childCount']>0x0){const _0x4ee881=_0x3f7b0a['createRangeIn'](_0x5783b0);let _0x21ec17='';for(const _0x54fe12 of _0x4ee881['getItems']())_0x54fe12['is']('$textProxy')?(_0x21ec17+=_0x54fe12['data']['trim'](),_0x59a542['consume'](_0x54fe12['textNode'])):_0x59a542['consume'](_0x54fe12,{'name':!0x0});_0x59a88e['setAttribute']('listMarker',_0x21ec17['trim'](),_0x1662d9);}};}(_0x2ed0a9));}),_0x26127d['on']('postFixer',(_0x511841,{listNodes:_0x3952e2,writer:_0x166e39})=>{const _0x4dfb1d=[];for(const {node:_0x1e8469,previousNodeInList:_0x52d30d}of _0x3952e2){const _0x213fa1=_0x1e8469['getAttribute']('listType'),_0x51be96=_0x1e8469['getAttribute']('listMarkerStyle')||('customNumbered'==_0x213fa1?'legal':void 0x0),_0x233e17=this['_listDefinitions']['find'](_0x6e554c=>_0x6e554c['listType']==_0x213fa1&&_0x6e554c['listMarkerStyle']==_0x51be96);if('customNumbered'!=_0x213fa1&&'customBulleted'!=_0x213fa1&&(_0x1e8469['hasAttribute']('listMarker')&&(_0x166e39['removeAttribute']('listMarker',_0x1e8469),_0x511841['return']=!0x0),_0x1e8469['hasAttribute']('listMarkerStyle')&&(_0x166e39['removeAttribute']('listMarkerStyle',_0x1e8469),_0x511841['return']=!0x0)),!_0x233e17){'customBulleted'!=_0x213fa1||_0x51be96||(_0x166e39['setAttribute']('listType','bulleted',_0x1e8469),_0x511841['return']=!0x0);continue;}_0x1e8469['hasAttribute']('listMarkerStyle')||(_0x166e39['setAttribute']('listMarkerStyle',_0x51be96,_0x1e8469),_0x511841['return']=!0x0);const _0xdaf5d=_0x1e8469['getAttribute']('listIndent');if(_0x52d30d&&_0x52d30d['getAttribute']('listItemId')==_0x1e8469['getAttribute']('listItemId'))continue;if(_0x4dfb1d['length']=_0xdaf5d+0x1,_0x501191['config']['get']('list.enableSkipLevelLists')){for(let _0x48af84=0x0;_0x48af84<_0xdaf5d;_0x48af84++)void 0x0===_0x4dfb1d[_0x48af84]&&(_0x4dfb1d[_0x48af84]=0x1);}_0x52d30d||_0x4dfb1d[_0xdaf5d]?_0x52d30d&&_0x52d30d['getAttribute']('listType')!=_0x233e17['listType']?_0x4dfb1d[_0xdaf5d]=0x1:_0x4dfb1d[_0xdaf5d]++:_0x4dfb1d[_0xdaf5d]=_0x1e8469['getAttribute']('listStart')||0x1;const _0x3232bb=E(_0xdaf5d,_0x233e17,_0x4dfb1d);_0x1e8469['getAttribute']('listMarker')!=_0x3232bb&&(_0x166e39['setAttribute']('listMarker',_0x3232bb,_0x1e8469),_0x511841['return']=!0x0);}}),_0x26127d['on']('checkElement',(_0x5d6fc5,{modelElement:_0x382175,viewElement:_0x230e5d})=>{const _0x1f1978=_0x382175['getAttribute']('listType');if('customNumbered'!=_0x1f1978&&'customBulleted'!=_0x1f1978)return;if(_0x5291d['schema']['checkChild'](_0x382175,'$text'))return;const _0x3265da=_0x488762(_0x382175);let _0x45f920=!0x1;const _0xc641f6=_0x2ed0a9['createPositionBefore'](_0x230e5d)['getWalker']({'direction':'backward'});for(const {item:_0xf995b5}of _0xc641f6)if(_0xf995b5['is']('element')){if(_0x501191['editing']['mapper']['toModelElement'](_0xf995b5))break;if(_0xf995b5['getCustomProperty']('listItemMarker')){_0x45f920=!0x0;break;}}_0x45f920!=_0x3265da&&(_0x5d6fc5['return']=!0x0,_0x5d6fc5['stop']());});const _0x39bb0c=_0x501191['editing']['view']['document'];this['listenTo'](_0x39bb0c,'clipboardOutput',(_0x49d9bc,_0x4e3671)=>{const _0x1a9403=new _0x3da92f({'name':'span','classes':'multi-level-list__marker'}),_0x49ac87=new _0x3da92f({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x1aa9e0=new _0x144ddc(_0x4e3671['content']['document']),_0x1766ee=[];for(const _0x295541 of _0x1aa9e0['createRangeIn'](_0x4e3671['content'])['getItems']())_0x295541['is']('element')&&_0x1a9403['match'](_0x295541)&&_0x1766ee['push'](_0x295541),_0x295541['is']('element')&&_0x49ac87['match'](_0x295541)&&_0x1aa9e0['removeStyle']('list-style-type',_0x295541);for(const _0x480bb3 of _0x1766ee)_0x1aa9e0['remove'](_0x480bb3);});}['afterInit'](){!async function(_0x2fc323){const _0x50965d='un0NFQUoX1evzk3yMEfwl7TxbDrisOZaWtKq52P98dchBVpjS4mYLC6gJIHGRA',_0x1b6259=0x78fc0,_0x3bf804=window['Date']['now'](),_0x4a9f56=_0x2fc323['editor'],_0x3af97e=new window['Promise'](_0x298ab9=>{_0x4a9f56['once']('ready',_0x298ab9);}),_0x1d174a={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4473b1=_0x4a9f56['config']['get']('licenseKey');async function _0x1db2a0(){let _0x20e71b,_0x104438=null,_0xd017b0=null;try{return'GPL'==_0x4473b1?'NotAllowed':(_0x20e71b=_0x55e277(),_0x20e71b?(_0x20e71b['usageEndpoint']&&(_0xd017b0=_0x2de2a9(_0x20e71b['usageEndpoint'],_0x20e71b['jti'])),await _0x2247e7()?_0x2133b3()?_0x3c2c17()?'Expired':_0x1a356c()?('evaluation'==_0x20e71b['licenseType']&&(_0x104438=_0x5e27cb('EvaluationLimit')),await _0x17438e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3c2c17(){const _0x170ac4=['evaluation','trial']['includes'](_0x20e71b['licenseType'])?_0x3bf804/0x3e8:0xe10*_0x1b6259;return _0x20e71b['exp']<_0x170ac4;}function _0x2133b3(){const _0x134910=_0x20e71b['features'];return!!_0x134910&&(!!_0x134910['includes']('*')||!!_0x134910['includes']('MLL'));}function _0x1a356c(){const _0xc5b881=_0x20e71b['licensedHosts'];if(!_0xc5b881||0x0==_0xc5b881['length'])return!0x0;const {hostname:_0x481f35}=new URL(window['location']['href']);if(_0xc5b881['includes'](_0x481f35))return!0x0;const _0x419bcd=_0x481f35['split']('.');return _0xc5b881['filter'](_0x21d7fb=>_0x21d7fb['includes']('*'))['map'](_0x3dba7c=>_0x3dba7c['split']('.'))['filter'](_0x2448eb=>_0x2448eb['length']<=_0x419bcd['length'])['map'](_0x1f3590=>Array(_0x419bcd['length']-_0x1f3590['length'])['fill']('*'===_0x1f3590[0x0]?'*':'')['concat'](_0x1f3590))['some'](_0x1f000a=>_0x419bcd['every']((_0x4bf0f4,_0x48c6e5)=>_0x1f000a[_0x48c6e5]===_0x4bf0f4||'*'===_0x1f000a[_0x48c6e5]));}function _0x17438e(){return _0x104438&&_0xd017b0?new window['Promise']((_0x3d7f2b,_0x48ca43)=>{_0x104438['then'](_0x3d7f2b,_0x48ca43),_0xd017b0['then'](_0x2248f6=>{'Valid'!=_0x2248f6&&_0x3d7f2b(_0x2248f6);},_0x48ca43);}):_0x104438||_0xd017b0||'Valid';}}function _0x2de2a9(_0x15a557,_0x42c1f5){return new window['Promise'](_0x5f4755=>{if(_0x12928f())return _0x5f4755('Valid');_0x401de7(),_0x4a9f56['decorate']('_sendUsageRequest');let _0xf8e260=!0x1;const _0x3c97ad=_0x5ba4e5();function _0x477ead(_0x5ef814){return!!_0x5ef814&&('object'==typeof _0x5ef814||'function'==typeof _0x5ef814)&&'function'==typeof _0x5ef814['then']&&'function'==typeof _0x5ef814['catch'];}function _0x38e46b(_0x3eee81){_0x30acc8(_0x3eee81)['then'](_0x2f81f0=>_0x2f81f0&&'ok'==_0x2f81f0['status']?_0x34be18(_0x3ec368(_0x3c97ad+_0x42c1f5))!=_0x2f81f0['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3ff5e9=>(_0x3b0cdb(),_0x3ff5e9),()=>{const _0x4ab27b=_0x2225d9();return null==_0x4ab27b?(_0x3b0cdb(),'Valid'):_0x3bf804-_0x4ab27b>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5f4755)['catch'](()=>{_0x5f4755('UsageLimit');});const _0x21c7e7=0x36ee80;function _0x3b0cdb(){const _0x59ae32='llct-'+_0x34be18(_0x3ec368(_0x15a557)),_0xbfd5fb=_0x29825e(_0x34be18(window['Math']['ceil'](_0x3bf804/_0x21c7e7)));window['localStorage']['setItem'](_0x59ae32,_0xbfd5fb);}function _0x2225d9(){const _0x149dd2='llct-'+_0x34be18(_0x3ec368(_0x15a557)),_0x36d047=window['localStorage']['getItem'](_0x149dd2);return _0x36d047?window['parseInt'](_0x29825e(_0x36d047),0x10)*_0x21c7e7:null;}function _0x30acc8(_0x333041){return new window['Promise']((_0x1e31c7,_0x1fa157)=>{_0x333041['then'](_0x1e31c7,_0x1fa157),window['setTimeout'](_0x1fa157,0x1d4c0);});}}_0x4a9f56['on']('_sendUsageRequest',(_0x20f8fa,_0x566168)=>{if(_0x566168[0x0]!=_0x15a557)return _0x5f4755('UsageLimit');_0x566168[0x1]={..._0x566168[0x1],'requestId':_0x3c97ad};},{'priority':'high'}),_0x4a9f56['on']('_sendUsageRequest',_0x2430e6=>{_0x477ead(_0x2430e6['return'])&&(_0xf8e260=!0x0,_0x38e46b(_0x2430e6['return']));},{'priority':'low'}),_0x3af97e['then'](()=>{_0xf8e260||_0x5f4755('UsageLimit');});});function _0x12928f(){return'auto'==_0x4a9f56['editing']['view']['_overlayModeHint'];}function _0x401de7(){_0x4a9f56['editing']['view']['_overlayModeHint']='auto';}}function _0x5e27cb(_0xf5d81b){const _0x38a9f1=[new window['Promise'](_0x3c5346=>setTimeout(_0x3c5346,0x93ecc)),_0x3af97e['then'](()=>new window['Promise'](_0x3a2d88=>{let _0x49dce0=0x0;_0x4a9f56['model']['on']('applyOperation',(_0x483e44,_0x4525f4)=>{_0x4525f4[0x0]['isDocumentOperation']&&_0x49dce0++,0x5e8==_0x49dce0&&(_0x3a2d88(),_0x483e44['off']());});}))];return window['Promise']['race'](_0x38a9f1)['then'](()=>_0xf5d81b);}async function _0x5c2553(){await _0x3af97e,_0x4a9f56['model']['change']=_0x22abe8,_0x4a9f56['model']['enqueueChange']=_0x22abe8,_0x4a9f56['enableReadOnlyMode']('model');}function _0x660e28(_0x20d2f4){const _0x3958c2=_0x128cc8();_0x4a9f56[_0x3958c2]='multiLevelListLicenseKey'+_0x20d2f4,'Valid'!=_0x20d2f4&&_0x5c2553();}function _0x128cc8(){const _0xa29b6e=window['String'](window['performance']['now']())['replace']('.','');let _0x396b7b='u';for(let _0x2cde39=0x0;_0x2cde39<_0xa29b6e['length'];_0x2cde39+=0x2){let _0x3cb417=window['parseInt'](_0xa29b6e['substring'](_0x2cde39,_0x2cde39+0x2));_0x3cb417>=0x3e&&(_0x3cb417-=0x3e),_0x396b7b+=_0x50965d[_0x3cb417];}return _0x396b7b;}function _0x55e277(){const _0x316790=_0x4473b1['split']('.');if(0x3!=_0x316790['length'])return null;return _0x383be4(_0x316790[0x1]);function _0x383be4(_0x4b65ee){const _0x382042=_0x2b15a6(_0x4b65ee);return _0x382042&&_0x173468()?_0x382042:null;function _0x173468(){const _0x5bb59f=_0x382042['jti'],_0x3f05ea=window['parseInt'](_0x5bb59f['substring'](_0x5bb59f['length']-0x8),0x10),_0x204d1c={..._0x382042,'jti':_0x5bb59f['substring'](0x0,_0x5bb59f['length']-0x8)};return delete _0x204d1c['vc'],_0x3ec368(_0x204d1c)==_0x3f05ea;}}}async function _0x2247e7(){let _0x44a0a8=!0x0;try{const [_0x58ec1a,_0x280a88,_0x9e104f]=_0x4473b1['split']('.');return _0x3713b9(_0x58ec1a),await _0x1d8835(_0x58ec1a,_0x280a88,_0x9e104f),_0x44a0a8;}catch{return!0x1;}function _0x3713b9(_0x3a43a2){const _0x25519c=_0x2b15a6(_0x3a43a2);_0x25519c&&'ES256'==_0x25519c['alg']||(_0x44a0a8=!0x1);}async function _0x1d8835(_0x262dfa,_0x48598f,_0x4b8bd5){const _0x4515a8=window['Uint8Array']['from'](_0x3037df(_0x4b8bd5),_0x349b2f=>_0x349b2f['charCodeAt'](0x0)),_0x143756=new window['TextEncoder']()['encode'](_0x262dfa+'.'+_0x48598f),_0x4d4c96=window['crypto']['subtle'];if(!_0x4d4c96)return;const _0x2794a9=await _0x4d4c96['importKey']('jwk',_0x1d174a,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4d4c96['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2794a9,_0x4515a8,_0x143756)||(_0x44a0a8=!0x1);}}function _0x2b15a6(_0x54b602){return _0x54b602['startsWith']('ey')?JSON['parse'](_0x3037df(_0x54b602)):null;}function _0x3037df(_0x249b80){return window['atob'](_0x249b80['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3ec368(_0x15aea9){let _0x3b68e2=0x1505;function _0xbd276(_0x5abc62){for(let _0x4bfb70=0x0;_0x4bfb70<_0x5abc62['length'];_0x4bfb70++){const _0x127e84=_0x5abc62['charCodeAt'](_0x4bfb70);_0x3b68e2=(_0x3b68e2<<0x5)+_0x3b68e2+_0x127e84,_0x3b68e2&=_0x3b68e2;}}function _0x26ad3b(_0x1c42a9){Array['isArray'](_0x1c42a9)?_0x1c42a9['forEach'](_0x26ad3b):_0x1c42a9&&'object'==typeof _0x1c42a9?Object['entries'](_0x1c42a9)['sort']()['forEach'](([_0x4f0ec6,_0x2c3649])=>{_0xbd276(_0x4f0ec6),_0x26ad3b(_0x2c3649);}):_0xbd276(window['String'](_0x1c42a9));}return _0x26ad3b(_0x15aea9),_0x3b68e2>>>0x0;}function _0x34be18(_0x4a79f4){return _0x4a79f4['toString'](0x10)['padStart'](0x8,'0');}function _0x29825e(_0x569295){return _0x569295['split']('')['reverse']()['join']('');}function _0x22abe8(){}_0x660e28(await _0x1db2a0());}(this);}};function E(_0x3d40ef,_0x3d1ab0,_0x15d334){let _0x4bd063=_0x3d1ab0['listMarkers'][_0x3d40ef%_0x3d1ab0['listMarkers']['length']];if(void 0x0===_0x4bd063['showMarkerPath']||_0x4bd063['showMarkerPath'])return _0x15d334['slice'](0x0,_0x3d40ef+0x1)['map']((_0x2c825f,_0x158665)=>(_0x4bd063=_0x3d1ab0['listMarkers'][_0x158665%_0x3d1ab0['listMarkers']['length']],N(_0x4bd063['marker'],_0x2c825f)))['join']('');{const _0x38f689=_0x15d334[_0x15d334['length']-0x1];return N(_0x4bd063['marker'],_0x38f689);}}function N(_0x305bf2,_0x29d76e){return'function'==typeof _0x305bf2?_0x305bf2(_0x29d76e):_0x305bf2;}function _(_0x5ea5cb,_0x2e2782){return(_0x460aba,_0x3df307,_0x5a60e7)=>{const _0x59d461=_0x3df307['viewItem'];if(_0x3df307['modelRange']||Object['assign'](_0x3df307,_0x5a60e7['convertChildren'](_0x3df307['viewItem'],_0x3df307['modelCursor'])),!_0x5a60e7['consumable']['test'](_0x59d461,{'classes':_0x5ea5cb['className']}))return;const _0x2f653c=Array['from'](_0x3df307['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x4e324f=>_0x2e2782['checkAttribute'](_0x4e324f,'listItemId'));if(!_0x2f653c['length'])return;_0x5a60e7['consumable']['consume'](_0x59d461,{'classes':_0x5ea5cb['className']}),_0x5a60e7['consumable']['consume'](_0x59d461,{'classes':'multi-level-list'}),_0x5a60e7['consumable']['consume'](_0x59d461,{'styles':'list-style-type'});const _0x3d70f0=_0x2f653c[0x0]['getAttribute']('listIndent');for(const _0x27563c of _0x2f653c)_0x27563c['getAttribute']('listIndent')==_0x3d70f0&&(_0x5a60e7['writer']['setAttribute']('listType',_0x5ea5cb['listType'],_0x27563c),_0x5a60e7['writer']['setAttribute']('listMarkerStyle',_0x5ea5cb['listMarkerStyle'],_0x27563c));};}function A(_0x3a5c14,_0x514278){const _0x2ff078=_0x3a5c14['t'],t=_0x3a5c14['t'];switch(_0x514278){case'Start\x20at':return _0x2ff078('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x2ff078('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x2ff078('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x2ff078('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x514278;}}var V=class extends _0x5b0335{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0xbf2e36();['keystrokes']=new _0x4ede08();['focusables']=new _0x102ca1();['focusCycler'];constructor(_0x332088,{enabledProperties:_0x100932,styleButtonViews:_0x205599,styleGridAriaLabel:_0x5627ac}){super(_0x332088);const _0x545934=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0xbcdabd({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x100932['styles']?(this['stylesView']=this['_createStylesView'](_0x205599,_0x5627ac),this['children']['add'](this['stylesView'])):_0x545934['push']('ck-multi-level-list-properties_without-styles'),_0x100932['startIndex']&&(this['_addListPropertyViews'](_0x100932),_0x545934['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x545934},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x1a0547 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1a0547['element']);_0x3b4d80({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x390449['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0xae74cb=_0x2a5018=>_0x2a5018['stopPropagation']();this['keystrokes']['set']('arrowright',_0xae74cb),this['keystrokes']['set']('arrowleft',_0xae74cb),this['keystrokes']['set']('arrowup',_0xae74cb),this['keystrokes']['set']('arrowdown',_0xae74cb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x4eb9fa,_0x5c305d){const _0x37de61=new _0x5b0335(this['locale']);return _0x37de61['children']=_0x37de61['createCollection'](),_0x37de61['children']['addMany'](_0x4eb9fa),_0x37de61['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5c305d,'class':['ck','ck-multi-level-list-styles']},'children':_0x37de61['children']}),_0x37de61['children']['delegate']('execute')['to'](this),_0x37de61['focus']=function(){this['children']['first']['focus']();},_0x37de61['focusTracker']=new _0xbf2e36(),_0x37de61['keystrokes']=new _0x4ede08(),_0x37de61['render'](),_0x37de61['keystrokes']['listenTo'](_0x37de61['element']),_0x37de61;}['_addListPropertyViews'](_0x35e7da){const _0x384b91=[];_0x35e7da['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x384b91['push'](this['startIndexFieldView'])),_0x35e7da['styles']?(this['additionalPropertiesCollapsibleView']=new _0x5ba8ae(this['locale'],_0x384b91),this['additionalPropertiesCollapsibleView']['set']({'label':A(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x384b91,'isEnabled',(..._0x3ac5db)=>_0x3ac5db['some'](_0x3bfe4b=>_0x3bfe4b)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x30c684,_0x467bf7,_0x4d56b0)=>{_0x4d56b0||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x384b91);}['_createStartIndexField'](){const _0x20ced3=new _0x5bdf2e(this['locale'],_0x335990);return _0x20ced3['set']({'label':A(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x20ced3['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x20ced3['fieldView']['on']('input',()=>{const _0xb8638c=_0x20ced3['fieldView']['element'],_0x210bff=_0xb8638c['valueAsNumber'];Number['isNaN'](_0x210bff)?_0x20ced3['errorText']=A(this['locale'],'Invalid\x20start\x20index\x20value.'):_0xb8638c['checkValidity']()?this['fire']('listStart',{'startIndex':_0x210bff}):_0x20ced3['errorText']=A(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x20ced3;}},K=class extends _0x4ca3e0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x11db5b=this['editor'];_0x11db5b['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x4d4868,parentCommandName:_0x165a53,buttonLabel:_0x3441dc,buttonIcon:_0x184cb2,styleGridAriaLabel:_0x1e1370,styleDefinitions:_0x563ab9}){const _0x7198d8=_0x4d4868['commands']['get'](_0x165a53),_0x56d46c=_0x4d4868['config']['get']('list.properties')||{},_0x11cc9c=_0x4d4868['plugins']['has']('ListProperties'),_0x25feac=_0x56d46c['startIndex'];return _0x11cc9c&&_0x25feac?_0x188696=>{const _0x57c47f=_0x32cf71(_0x188696,_0x3bdd7d),_0x4a6045=_0x57c47f['buttonView'];return _0x57c47f['bind']('isEnabled')['to'](_0x7198d8),_0x57c47f['class']='ck-list-styles-dropdown',_0x4a6045['on']('execute',()=>{_0x4d4868['execute'](_0x165a53),_0x4d4868['editing']['view']['focus']();}),_0x4a6045['set']({'label':_0x3441dc,'icon':_0x184cb2,'tooltip':!0x0,'isToggleable':!0x0}),_0x4a6045['bind']('isOn')['to'](_0x7198d8,'value',_0x478581=>!!_0x478581),_0x57c47f['once']('change:isOpen',()=>{const _0x44811f=function({editor:_0x41c876,dropdownView:_0x3590f2,styleDefinitions:_0x885579,styleGridAriaLabel:_0x80980a}){const _0x34ee71=_0x41c876['locale'],_0xa2a9a=_0x41c876['config']['get']('list.properties'),_0x4d6993=null;_0xa2a9a['reversed']=!0x1,_0x885579['length']||(_0xa2a9a['styles']=!0x1);const _0x24f3de=new V(_0x34ee71,{'styleGridAriaLabel':_0x80980a,'enabledProperties':_0xa2a9a,'styleButtonViews':_0x4d6993});if(_0xa2a9a['startIndex']){const _0x3dd229=_0x41c876['commands']['get']('listStart');_0x24f3de['startIndexFieldView']['bind']('isEnabled')['to'](_0x3dd229),_0x24f3de['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3dd229),_0x24f3de['on']('listStart',(_0x4b695e,_0x40b2bf)=>_0x41c876['execute']('listStart',_0x40b2bf));}return _0x24f3de['delegate']('execute')['to'](_0x3590f2),_0x24f3de;}({'editor':_0x4d4868,'dropdownView':_0x57c47f,'parentCommandName':_0x165a53,'styleGridAriaLabel':_0x1e1370,'styleDefinitions':_0x563ab9});_0x57c47f['panelView']['children']['add'](_0x44811f);}),_0x57c47f['on']('execute',()=>{_0x4d4868['editing']['view']['focus']();}),_0x57c47f;}:_0x14a1d6=>{const _0x4f6107=new _0x7986db(_0x14a1d6);return _0x4f6107['set']({'label':_0x3441dc,'icon':_0x184cb2,'tooltip':!0x0,'isToggleable':!0x0}),_0x4f6107['bind']('isOn')['to'](_0x7198d8,'value',_0x5a7f8c=>!!_0x5a7f8c),_0x4f6107['on']('execute',()=>{_0x4d4868['execute'](_0x165a53),_0x4d4868['editing']['view']['focus']();}),_0x4f6107;};}({'editor':_0x11db5b,'parentCommandName':'multiLevelList','buttonLabel':A(_0x11db5b['locale'],'Multi-level\x20List'),'buttonIcon':_0x5b8225,'styleGridAriaLabel':A(_0x11db5b['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x11db5b['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x35ef6d=_0x11db5b['commands']['get']('multiLevelList'),_0x5e0aa8=new _0x5143f8(_0x11db5b['locale']);return _0x5e0aa8['set']({'label':A(_0x11db5b['locale'],'Multi-level\x20List'),'icon':_0x5b8225}),_0x5e0aa8['bind']('isEnabled')['to'](_0x35ef6d),_0x5e0aa8['bind']('isOn')['to'](_0x35ef6d,'value',_0x35a4f0=>!!_0x35a4f0),_0x5e0aa8['on']('execute',()=>{_0x11db5b['execute']('multiLevelList'),_0x11db5b['editing']['view']['focus']();}),_0x5e0aa8;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e03bd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29400b;for(const _0x126979 in _0x5e03bd){const _0x2d4dfb=_0x126979,_0x11d426=_0x5e03bd[_0x2d4dfb];if('multiLevelListLicenseKeyValid'==_0x11d426||'multiLevelListLicenseKeyInvalid'==_0x11d426||'multiLevelListLicenseKeyExpired'==_0x11d426||'multiLevelListLicenseKeyDomainLimit'==_0x11d426||'multiLevelListLicenseKeyNotAllowed'==_0x11d426||'multiLevelListLicenseKeyEvaluationLimit'==_0x11d426||'multiLevelListLicenseKeyUsageLimit'==_0x11d426){delete _0x5e03bd[_0x2d4dfb],_0x29400b=_0x11d426,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x29400b&&_0x5e03bd['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x29400b&&_0x5e03bd['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x29400b&&_0x5e03bd['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x29400b&&_0x5e03bd['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x29400b&&_0x5e03bd['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x29400b&&_0x5e03bd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},P=class extends _0x4ca3e0{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[x,K];}};export{P as MultiLevelList,S as MultiLevelListCommand,x as MultiLevelListEditing,K as MultiLevelListUI};
|
|
23
|
+
import{Command as _0x2d510b,Plugin as _0xb1fe27}from'@ckeditor/ckeditor5-core';import{Matcher as _0x3f670d,ViewUpcastWriter as _0x14262f}from'@ckeditor/ckeditor5-engine';import{ListEditing as _0x472553,_isFirstBlockOfListItem as _0x2dd665}from'@ckeditor/ckeditor5-list';import{FocusTracker as _0x22d7df,KeystrokeHandler as _0x4d2471,createElement as _0x447985,first as _0x5a05fd,global as _0x3200ce,uid as _0x112da5}from'@ckeditor/ckeditor5-utils';import{IconMultiLevelList as _0x4df05f}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x23b738,CollapsibleView as _0x332824,FocusCycler as _0x16113e,LabeledFieldView as _0x326c3b,MenuBarMenuListItemButtonView as _0x2bbce8,SplitButtonView as _0x57a64d,View as _0x145c46,ViewCollection as _0x333c34,addKeyboardHandlingForGrid as _0x5d54b,createDropdown as _0x358f90,createLabeledInputNumber as _0x8ced57}from'@ckeditor/ckeditor5-ui';var S=class extends _0x2d510b{defaultListMarkerStyle;_listDefinitions;_listUtils;constructor(_0x42561a,_0x18cb45,_0x4ab84d){super(_0x42561a),this['defaultListMarkerStyle']=_0x18cb45,this['_listDefinitions']=_0x4ab84d,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}execute(_0x4a231f={}){const _0x14b9dd=this['editor']['model'],_0x164620=_0x4a231f['listMarkerStyle']||this['defaultListMarkerStyle'];_0x14b9dd['change'](()=>{const _0xe0b63c=this['_getListTypeFromListMarkerStyle'](_0x164620);if(!_0xe0b63c)return;const _0x4f4026=_0xe0b63c+'List';this['editor']['execute'](_0x4f4026,{'additionalAttributes':{'listMarkerStyle':_0x164620}});});}_getValue(){const _0x158c73=_0x5a05fd(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x158c73)?_0x158c73['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x482f88=this['editor'],_0x3459c8=_0x482f88['commands']['get']('customNumberedList'),_0x8e28e1=_0x482f88['commands']['get']('customBulletedList');return _0x3459c8['isEnabled']||_0x8e28e1['isEnabled'];}_getListTypeFromListMarkerStyle(_0x46a80f){const _0x1f536b=this['_listDefinitions']['find'](_0xea7885=>_0xea7885['listMarkerStyle']==_0x46a80f);return _0x1f536b?_0x1f536b['listType']:null;}},x=class extends _0xb1fe27{_listDefinitions;static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x472553];}constructor(_0x526ff5){super(_0x526ff5);const _0xdee5d0=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0xce7eac=>_0xce7eac+'.'}]},..._0xdee5d0];}init(){const _0x5586d7=this['editor'],_0x5e68b4=_0x5586d7['model'],_0x4316bd=_0x5586d7['editing']['view'],_0xd53b51=_0x5586d7['plugins']['get'](_0x472553);_0x5586d7['commands']['add']('multiLevelList',new S(_0x5586d7,'legal',this['_listDefinitions'])),_0x5e68b4['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x5e68b4['schema']['addAttributeCheck']((_0x4841bb,_0x58e2ae)=>{const _0x29fff6=_0x4841bb['last'];if('listMarker'==_0x58e2ae||'listMarkerStyle'==_0x58e2ae)return!(!_0x29fff6['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x2c5fda=>_0x2c5fda['listType']==_0x29fff6['getAttribute']('listType')))&&void 0x0;});for(const _0x5a9b09 of this['_listDefinitions'])_0x5586d7['conversion']['for']('upcast')['add'](_0x2feeec=>{_0x2feeec['on']('element:'+('customNumbered'==_0x5a9b09['listType']?'ol':'ul'),_(_0x5a9b09,_0x5e68b4['schema']),{'priority':'low'});}),_0xd53b51['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x435599,_0xac82a8,_0x5d37c0){_0xac82a8==_0x5a9b09['listMarkerStyle']?(_0x435599['addClass'](['multi-level-list',_0x5a9b09['className']],_0x5d37c0),_0x435599['setStyle']('list-style-type','none',_0x5d37c0)):(_0x435599['removeClass'](['multi-level-list',_0x5a9b09['className']],_0x5d37c0),_0x435599['removeStyle']('list-style-type',_0x5d37c0));}}),_0xd53b51['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x480797,_0x25f546,{dataPipeline:_0x2e2c77}){if(!_0x25f546['hasAttribute']('listMarker'))return null;if(_0x25f546['getAttribute']('listType')!=_0x5a9b09['listType']||_0x25f546['getAttribute']('listMarkerStyle')!=_0x5a9b09['listMarkerStyle'])return null;const _0x101908=String(_0x25f546['getAttribute']('listMarker')),_0x43b1a8=this['canInjectMarkerIntoElement'](_0x25f546);return _0x480797['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x2e2c77&&{'contenteditable':'false','data-multi-level-list-marker':_0x101908}},function(_0x1c1d46){const _0x477360=this['toDomElement'](_0x1c1d46);return _0x43b1a8?(_0x477360['appendChild'](_0x447985(_0x1c1d46,'span',{},_0x2e2c77?_0x1c1d46['createTextNode'](_0x101908):[])),_0x477360['appendChild'](_0x1c1d46['createTextNode']('\u00a0'))):_0x2e2c77&&_0x477360['appendChild'](_0x1c1d46['createTextNode'](_0x101908)),_0x477360;});},'canInjectMarkerIntoElement':_0x10d602=>_0x5e68b4['schema']['checkChild'](_0x10d602,'$text')&&_0x5e68b4['schema']['checkChild'](_0x10d602,'$inlineObject')&&!_0x5e68b4['schema']['isLimit'](_0x10d602)&&_0x10d602['getAttribute']('listType')==_0x5a9b09['listType']&&_0x10d602['getAttribute']('listMarkerStyle')==_0x5a9b09['listMarkerStyle']});_0x5586d7['conversion']['for']('upcast')['add'](_0x1a3eed=>{_0x1a3eed['on']('element:span',function(_0x5f013b){return(_0xfdcfb2,_0x268b18,{writer:_0x1d4ecf,consumable:_0x272437})=>{const _0x5e324f=_0x268b18['modelCursor'],_0x3a5324=_0x5e324f['parent'],_0x354091=_0x268b18['viewItem'];if(_0x272437['consume'](_0x354091,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x5e324f['isAtStart']&&_0x3a5324['hasAttribute']('listType')&&_0x354091['childCount']>0x0){const _0x355448=_0x5f013b['createRangeIn'](_0x354091);let _0x2c0831='';for(const _0x565983 of _0x355448['getItems']())_0x565983['is']('$textProxy')?(_0x2c0831+=_0x565983['data']['trim'](),_0x272437['consume'](_0x565983['textNode'])):_0x272437['consume'](_0x565983,{'name':!0x0});_0x1d4ecf['setAttribute']('listMarker',_0x2c0831['trim'](),_0x3a5324);}};}(_0x4316bd));}),_0xd53b51['on']('postFixer',(_0x57bf0f,{listNodes:_0x15c0c0,writer:_0x22c012})=>{const _0xaa4d0e=[];for(const {node:_0x1ae164,previousNodeInList:_0x129dbb}of _0x15c0c0){const _0x3abc23=_0x1ae164['getAttribute']('listType'),_0x5917b3=_0x1ae164['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3abc23?'legal':void 0x0),_0x416705=this['_listDefinitions']['find'](_0x42348e=>_0x42348e['listType']==_0x3abc23&&_0x42348e['listMarkerStyle']==_0x5917b3);if('customNumbered'!=_0x3abc23&&'customBulleted'!=_0x3abc23&&(_0x1ae164['hasAttribute']('listMarker')&&(_0x22c012['removeAttribute']('listMarker',_0x1ae164),_0x57bf0f['return']=!0x0),_0x1ae164['hasAttribute']('listMarkerStyle')&&(_0x22c012['removeAttribute']('listMarkerStyle',_0x1ae164),_0x57bf0f['return']=!0x0)),!_0x416705){'customBulleted'!=_0x3abc23||_0x5917b3||(_0x22c012['setAttribute']('listType','bulleted',_0x1ae164),_0x57bf0f['return']=!0x0);continue;}_0x1ae164['hasAttribute']('listMarkerStyle')||(_0x22c012['setAttribute']('listMarkerStyle',_0x5917b3,_0x1ae164),_0x57bf0f['return']=!0x0);const _0xef8c1=_0x1ae164['getAttribute']('listIndent');if(_0x129dbb&&_0x129dbb['getAttribute']('listItemId')==_0x1ae164['getAttribute']('listItemId'))continue;if(_0xaa4d0e['length']=_0xef8c1+0x1,_0x5586d7['config']['get']('list.enableSkipLevelLists')){for(let _0x4c922d=0x0;_0x4c922d<_0xef8c1;_0x4c922d++)void 0x0===_0xaa4d0e[_0x4c922d]&&(_0xaa4d0e[_0x4c922d]=0x1);}_0x129dbb||_0xaa4d0e[_0xef8c1]?_0x129dbb&&_0x129dbb['getAttribute']('listType')!=_0x416705['listType']?_0xaa4d0e[_0xef8c1]=0x1:_0xaa4d0e[_0xef8c1]++:_0xaa4d0e[_0xef8c1]=_0x1ae164['getAttribute']('listStart')||0x1;const _0x3e69d4=E(_0xef8c1,_0x416705,_0xaa4d0e);_0x1ae164['getAttribute']('listMarker')!=_0x3e69d4&&(_0x22c012['setAttribute']('listMarker',_0x3e69d4,_0x1ae164),_0x57bf0f['return']=!0x0);}}),_0xd53b51['on']('checkElement',(_0x381217,{modelElement:_0x1156f8,viewElement:_0x36899d})=>{const _0x4f3851=_0x1156f8['getAttribute']('listType');if('customNumbered'!=_0x4f3851&&'customBulleted'!=_0x4f3851)return;if(_0x5e68b4['schema']['checkChild'](_0x1156f8,'$text'))return;const _0x5093a4=_0x2dd665(_0x1156f8);let _0xf24ccf=!0x1;const _0x15d25e=_0x4316bd['createPositionBefore'](_0x36899d)['getWalker']({'direction':'backward'});for(const {item:_0x3af340}of _0x15d25e)if(_0x3af340['is']('element')){if(_0x5586d7['editing']['mapper']['toModelElement'](_0x3af340))break;if(_0x3af340['getCustomProperty']('listItemMarker')){_0xf24ccf=!0x0;break;}}_0xf24ccf!=_0x5093a4&&(_0x381217['return']=!0x0,_0x381217['stop']());});const _0x315219=_0x5586d7['editing']['view']['document'];this['listenTo'](_0x315219,'clipboardOutput',(_0x2c3d45,_0x55f23f)=>{const _0xcee81c=new _0x3f670d({'name':'span','classes':'multi-level-list__marker'}),_0x34c790=new _0x3f670d({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x4cffc=new _0x14262f(_0x55f23f['content']['document']),_0x4331ce=[];for(const _0x42ccab of _0x4cffc['createRangeIn'](_0x55f23f['content'])['getItems']())_0x42ccab['is']('element')&&_0xcee81c['match'](_0x42ccab)&&_0x4331ce['push'](_0x42ccab),_0x42ccab['is']('element')&&_0x34c790['match'](_0x42ccab)&&_0x4cffc['removeStyle']('list-style-type',_0x42ccab);for(const _0x31f737 of _0x4331ce)_0x4cffc['remove'](_0x31f737);});}afterInit(){!async function(_0x709def){const _0x5b255d='un0NFQUoX1evzk3yMEfwl7TxbDrisOZaWtKq52P98dchBVpjS4mYLC6gJIHGRA',_0xe08dbb=0x79140,_0x53b7c6=window['Date']['now'](),_0x571c6c=_0x709def['editor'],_0x5e9f8d=new window['Promise'](_0x1f0554=>{_0x571c6c['once']('ready',_0x1f0554);}),_0x4b6dd6={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4e40d3=_0x571c6c['config']['get']('licenseKey');async function _0x1ec7f8(){let _0x521d4c,_0x283e10=null,_0x123cf7=null;try{return'GPL'==_0x4e40d3?'NotAllowed':(_0x521d4c=_0x1253d0(),_0x521d4c?(_0x521d4c['usageEndpoint']&&(_0x123cf7=_0x3611c5(_0x521d4c['usageEndpoint'],_0x521d4c['jti'])),await _0x40258c()?_0x103b79()?_0x56ca88()?'Expired':_0x3fdef8()?('evaluation'==_0x521d4c['licenseType']&&(_0x283e10=_0x407fc7('EvaluationLimit')),await _0xe855fb()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x56ca88(){const _0x34516c=['evaluation','trial']['includes'](_0x521d4c['licenseType'])?_0x53b7c6/0x3e8:0xe10*_0xe08dbb;return _0x521d4c['exp']<_0x34516c;}function _0x103b79(){const _0xe8464e=_0x521d4c['features'];return!!_0xe8464e&&(!!_0xe8464e['includes']('*')||!!_0xe8464e['includes']('MLL'));}function _0x3fdef8(){const _0x5b2da0=_0x521d4c['licensedHosts'];if(!_0x5b2da0||0x0==_0x5b2da0['length'])return!0x0;const {hostname:_0x6b1037}=new URL(window['location']['href']);if(_0x5b2da0['includes'](_0x6b1037))return!0x0;const _0x36a20b=_0x6b1037['split']('.');return _0x5b2da0['filter'](_0x122c41=>_0x122c41['includes']('*'))['map'](_0x132112=>_0x132112['split']('.'))['filter'](_0x3c546b=>_0x3c546b['length']<=_0x36a20b['length'])['map'](_0x17ed36=>Array(_0x36a20b['length']-_0x17ed36['length'])['fill']('*'===_0x17ed36[0x0]?'*':'')['concat'](_0x17ed36))['some'](_0x331306=>_0x36a20b['every']((_0x2cdb2e,_0x59ed8b)=>_0x331306[_0x59ed8b]===_0x2cdb2e||'*'===_0x331306[_0x59ed8b]));}function _0xe855fb(){return _0x283e10&&_0x123cf7?new window['Promise']((_0x55319a,_0x1f62a0)=>{_0x283e10['then'](_0x55319a,_0x1f62a0),_0x123cf7['then'](_0x393eae=>{'Valid'!=_0x393eae&&_0x55319a(_0x393eae);},_0x1f62a0);}):_0x283e10||_0x123cf7||'Valid';}}function _0x3611c5(_0x362b06,_0x5066c9){return new window['Promise'](_0x19d5c2=>{if(_0x32f717())return _0x19d5c2('Valid');_0x1795ba(),_0x571c6c['decorate']('_sendUsageRequest');let _0x317fc1=!0x1;const _0xecbc96=_0x112da5();function _0x95c733(_0x383e8c){return!!_0x383e8c&&('object'==typeof _0x383e8c||'function'==typeof _0x383e8c)&&'function'==typeof _0x383e8c['then']&&'function'==typeof _0x383e8c['catch'];}function _0x1b1475(_0xf96aa4){_0x3bda83(_0xf96aa4)['then'](_0x5ebd65=>_0x5ebd65&&'ok'==_0x5ebd65['status']?_0x583b0d(_0x18217f(_0xecbc96+_0x5066c9))!=_0x5ebd65['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x22db0f=>(_0x506278(),_0x22db0f),()=>{const _0x779776=_0x4aedf4();return null==_0x779776?(_0x506278(),'Valid'):_0x53b7c6-_0x779776>0x240c8400?'UsageLimit':'Valid';})['then'](_0x19d5c2)['catch'](()=>{_0x19d5c2('UsageLimit');});const _0x4c04e4=0x36ee80;function _0x506278(){const _0x4060e5='llct-'+_0x583b0d(_0x18217f(_0x362b06)),_0x41565d=_0x5da331(_0x583b0d(window['Math']['ceil'](_0x53b7c6/_0x4c04e4)));window['localStorage']['setItem'](_0x4060e5,_0x41565d);}function _0x4aedf4(){const _0x275fd3='llct-'+_0x583b0d(_0x18217f(_0x362b06)),_0x41109c=window['localStorage']['getItem'](_0x275fd3);return _0x41109c?window['parseInt'](_0x5da331(_0x41109c),0x10)*_0x4c04e4:null;}function _0x3bda83(_0x4a16df){return new window['Promise']((_0x5a956a,_0x5212ad)=>{_0x4a16df['then'](_0x5a956a,_0x5212ad),window['setTimeout'](_0x5212ad,0x1d4c0);});}}_0x571c6c['on']('_sendUsageRequest',(_0x35ed72,_0x4b1430)=>{if(_0x4b1430[0x0]!=_0x362b06)return _0x19d5c2('UsageLimit');_0x4b1430[0x1]={..._0x4b1430[0x1],'requestId':_0xecbc96};},{'priority':'high'}),_0x571c6c['on']('_sendUsageRequest',_0x1a8f3e=>{_0x95c733(_0x1a8f3e['return'])&&(_0x317fc1=!0x0,_0x1b1475(_0x1a8f3e['return']));},{'priority':'low'}),_0x5e9f8d['then'](()=>{_0x317fc1||_0x19d5c2('UsageLimit');});});function _0x32f717(){return'auto'==_0x571c6c['editing']['view']['_overlayModeHint'];}function _0x1795ba(){_0x571c6c['editing']['view']['_overlayModeHint']='auto';}}function _0x407fc7(_0x3709fe){const _0x55b0aa=[new window['Promise'](_0x160e6a=>setTimeout(_0x160e6a,0x93ecc)),_0x5e9f8d['then'](()=>new window['Promise'](_0x1e9a92=>{let _0x18c78c=0x0;_0x571c6c['model']['on']('applyOperation',(_0x288c49,_0x4ebf9f)=>{_0x4ebf9f[0x0]['isDocumentOperation']&&_0x18c78c++,0x5e8==_0x18c78c&&(_0x1e9a92(),_0x288c49['off']());});}))];return window['Promise']['race'](_0x55b0aa)['then'](()=>_0x3709fe);}async function _0xf08e28(){await _0x5e9f8d,_0x571c6c['model']['change']=_0x82d18d,_0x571c6c['model']['enqueueChange']=_0x82d18d,_0x571c6c['enableReadOnlyMode']('model');}function _0x232ad9(_0x56309f){const _0x482452=_0x12284b();_0x571c6c[_0x482452]='multiLevelListLicenseKey'+_0x56309f,'Valid'!=_0x56309f&&_0xf08e28();}function _0x12284b(){const _0x52b452=window['String'](window['performance']['now']())['replace']('.','');let _0x41b71f='u';for(let _0x49276a=0x0;_0x49276a<_0x52b452['length'];_0x49276a+=0x2){let _0x59d5a2=window['parseInt'](_0x52b452['substring'](_0x49276a,_0x49276a+0x2));_0x59d5a2>=0x3e&&(_0x59d5a2-=0x3e),_0x41b71f+=_0x5b255d[_0x59d5a2];}return _0x41b71f;}function _0x1253d0(){const _0x567438=_0x4e40d3['split']('.');if(0x3!=_0x567438['length'])return null;return _0x1e7fe0(_0x567438[0x1]);function _0x1e7fe0(_0x56b5d5){const _0x56684a=_0x3e900a(_0x56b5d5);return _0x56684a&&_0x495d72()?_0x56684a:null;function _0x495d72(){const _0x1b2120=_0x56684a['jti'],_0x2e75d7=window['parseInt'](_0x1b2120['substring'](_0x1b2120['length']-0x8),0x10),_0x58cae8={..._0x56684a,'jti':_0x1b2120['substring'](0x0,_0x1b2120['length']-0x8)};return delete _0x58cae8['vc'],_0x18217f(_0x58cae8)==_0x2e75d7;}}}async function _0x40258c(){let _0x2b8eef=!0x0;try{const [_0x105b6f,_0x3bd875,_0x1b1a59]=_0x4e40d3['split']('.');return _0x11e02f(_0x105b6f),await _0x10cea7(_0x105b6f,_0x3bd875,_0x1b1a59),_0x2b8eef;}catch{return!0x1;}function _0x11e02f(_0xad0a43){const _0x1da049=_0x3e900a(_0xad0a43);_0x1da049&&'ES256'==_0x1da049['alg']||(_0x2b8eef=!0x1);}async function _0x10cea7(_0x2bbc8a,_0x256718,_0x45f8d6){const _0x368f8c=window['Uint8Array']['from'](_0x310cb5(_0x45f8d6),_0x5f1a38=>_0x5f1a38['charCodeAt'](0x0)),_0x2eb9b4=new window['TextEncoder']()['encode'](_0x2bbc8a+'.'+_0x256718),_0x3a4401=window['crypto']['subtle'];if(!_0x3a4401)return;const _0x3db911=await _0x3a4401['importKey']('jwk',_0x4b6dd6,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3a4401['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3db911,_0x368f8c,_0x2eb9b4)||(_0x2b8eef=!0x1);}}function _0x3e900a(_0x35ebb3){return _0x35ebb3['startsWith']('ey')?JSON['parse'](_0x310cb5(_0x35ebb3)):null;}function _0x310cb5(_0x5199dc){return window['atob'](_0x5199dc['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x18217f(_0x463e13){let _0x3f2fe6=0x1505;function _0x579636(_0x10c0e4){for(let _0x3a3b71=0x0;_0x3a3b71<_0x10c0e4['length'];_0x3a3b71++){const _0x3ae62a=_0x10c0e4['charCodeAt'](_0x3a3b71);_0x3f2fe6=(_0x3f2fe6<<0x5)+_0x3f2fe6+_0x3ae62a,_0x3f2fe6&=_0x3f2fe6;}}function _0x29786e(_0x1a778b){Array['isArray'](_0x1a778b)?_0x1a778b['forEach'](_0x29786e):_0x1a778b&&'object'==typeof _0x1a778b?Object['entries'](_0x1a778b)['sort']()['forEach'](([_0x1edac0,_0x19df98])=>{_0x579636(_0x1edac0),_0x29786e(_0x19df98);}):_0x579636(window['String'](_0x1a778b));}return _0x29786e(_0x463e13),_0x3f2fe6>>>0x0;}function _0x583b0d(_0x417ff0){return _0x417ff0['toString'](0x10)['padStart'](0x8,'0');}function _0x5da331(_0x3cfa1b){return _0x3cfa1b['split']('')['reverse']()['join']('');}function _0x82d18d(){}_0x232ad9(await _0x1ec7f8());}(this);}};function E(_0x5a8ce9,_0x5b7d6d,_0x577c7f){let _0x5d3da0=_0x5b7d6d['listMarkers'][_0x5a8ce9%_0x5b7d6d['listMarkers']['length']];if(void 0x0===_0x5d3da0['showMarkerPath']||_0x5d3da0['showMarkerPath'])return _0x577c7f['slice'](0x0,_0x5a8ce9+0x1)['map']((_0x3611e8,_0x5da26a)=>(_0x5d3da0=_0x5b7d6d['listMarkers'][_0x5da26a%_0x5b7d6d['listMarkers']['length']],N(_0x5d3da0['marker'],_0x3611e8)))['join']('');{const _0x128ac1=_0x577c7f[_0x577c7f['length']-0x1];return N(_0x5d3da0['marker'],_0x128ac1);}}function N(_0x22b185,_0x45fb64){return'function'==typeof _0x22b185?_0x22b185(_0x45fb64):_0x22b185;}function _(_0x283928,_0x3266f9){return(_0x47df68,_0x39bc54,_0x3e1099)=>{const _0x310548=_0x39bc54['viewItem'];if(_0x39bc54['modelRange']||Object['assign'](_0x39bc54,_0x3e1099['convertChildren'](_0x39bc54['viewItem'],_0x39bc54['modelCursor'])),!_0x3e1099['consumable']['test'](_0x310548,{'classes':_0x283928['className']}))return;const _0x2de40f=Array['from'](_0x39bc54['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x3075e8=>_0x3266f9['checkAttribute'](_0x3075e8,'listItemId'));if(!_0x2de40f['length'])return;_0x3e1099['consumable']['consume'](_0x310548,{'classes':_0x283928['className']}),_0x3e1099['consumable']['consume'](_0x310548,{'classes':'multi-level-list'}),_0x3e1099['consumable']['consume'](_0x310548,{'styles':'list-style-type'});const _0x5d9eca=_0x2de40f[0x0]['getAttribute']('listIndent');for(const _0x28ca4a of _0x2de40f)_0x28ca4a['getAttribute']('listIndent')==_0x5d9eca&&(_0x3e1099['writer']['setAttribute']('listType',_0x283928['listType'],_0x28ca4a),_0x3e1099['writer']['setAttribute']('listMarkerStyle',_0x283928['listMarkerStyle'],_0x28ca4a));};}function A(_0x4d96bd,_0x26ea82){const _0x4fd7e6=_0x4d96bd['t'],t=_0x4d96bd['t'];switch(_0x26ea82){case'Start\x20at':return _0x4fd7e6('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x4fd7e6('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x4fd7e6('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x4fd7e6('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x26ea82;}}var V=class extends _0x145c46{['children'];stylesView=null;additionalPropertiesCollapsibleView=null;startIndexFieldView=null;['focusTracker']=new _0x22d7df();keystrokes=new _0x4d2471();['focusables']=new _0x333c34();['focusCycler'];constructor(_0x1923fc,{enabledProperties:_0x740413,styleButtonViews:_0x2f72f2,styleGridAriaLabel:_0x52762a}){super(_0x1923fc);const _0x4d4955=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x16113e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x740413['styles']?(this['stylesView']=this['_createStylesView'](_0x2f72f2,_0x52762a),this['children']['add'](this['stylesView'])):_0x4d4955['push']('ck-multi-level-list-properties_without-styles'),_0x740413['startIndex']&&(this['_addListPropertyViews'](_0x740413),_0x4d4955['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x4d4955},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x855fc5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x855fc5['element']);_0x5d54b({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x3200ce['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2ac558=_0x39a18b=>_0x39a18b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2ac558),this['keystrokes']['set']('arrowleft',_0x2ac558),this['keystrokes']['set']('arrowup',_0x2ac558),this['keystrokes']['set']('arrowdown',_0x2ac558);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_createStylesView(_0x535a72,_0x33abed){const _0x2ef96b=new _0x145c46(this['locale']);return _0x2ef96b['children']=_0x2ef96b['createCollection'](),_0x2ef96b['children']['addMany'](_0x535a72),_0x2ef96b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x33abed,'class':['ck','ck-multi-level-list-styles']},'children':_0x2ef96b['children']}),_0x2ef96b['children']['delegate']('execute')['to'](this),_0x2ef96b['focus']=function(){this['children']['first']['focus']();},_0x2ef96b['focusTracker']=new _0x22d7df(),_0x2ef96b['keystrokes']=new _0x4d2471(),_0x2ef96b['render'](),_0x2ef96b['keystrokes']['listenTo'](_0x2ef96b['element']),_0x2ef96b;}_addListPropertyViews(_0x328437){const _0x41b291=[];_0x328437['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x41b291['push'](this['startIndexFieldView'])),_0x328437['styles']?(this['additionalPropertiesCollapsibleView']=new _0x332824(this['locale'],_0x41b291),this['additionalPropertiesCollapsibleView']['set']({'label':A(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x41b291,'isEnabled',(..._0x2cc63c)=>_0x2cc63c['some'](_0x179f50=>_0x179f50)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x3cb7c0,_0x2106de,_0x2a7dce)=>{_0x2a7dce||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x41b291);}_createStartIndexField(){const _0x2fa8be=new _0x326c3b(this['locale'],_0x8ced57);return _0x2fa8be['set']({'label':A(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x2fa8be['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2fa8be['fieldView']['on']('input',()=>{const _0x416873=_0x2fa8be['fieldView']['element'],_0x2aa8a4=_0x416873['valueAsNumber'];Number['isNaN'](_0x2aa8a4)?_0x2fa8be['errorText']=A(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x416873['checkValidity']()?this['fire']('listStart',{'startIndex':_0x2aa8a4}):_0x2fa8be['errorText']=A(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x2fa8be;}},K=class extends _0xb1fe27{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x580448=this['editor'];_0x580448['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x53a3ff,parentCommandName:_0x561cea,buttonLabel:_0x55ea3e,buttonIcon:_0x452c53,styleGridAriaLabel:_0x56cfa2,styleDefinitions:_0x19a926}){const _0x18646b=_0x53a3ff['commands']['get'](_0x561cea),_0x43f0f2=_0x53a3ff['config']['get']('list.properties')||{},_0x47e789=_0x53a3ff['plugins']['has']('ListProperties'),_0x182a4f=_0x43f0f2['startIndex'];return _0x47e789&&_0x182a4f?_0x1b3a46=>{const _0x15baab=_0x358f90(_0x1b3a46,_0x57a64d),_0x2c9ef2=_0x15baab['buttonView'];return _0x15baab['bind']('isEnabled')['to'](_0x18646b),_0x15baab['class']='ck-list-styles-dropdown',_0x2c9ef2['on']('execute',()=>{_0x53a3ff['execute'](_0x561cea),_0x53a3ff['editing']['view']['focus']();}),_0x2c9ef2['set']({'label':_0x55ea3e,'icon':_0x452c53,'tooltip':!0x0,'isToggleable':!0x0}),_0x2c9ef2['bind']('isOn')['to'](_0x18646b,'value',_0x3e687f=>!!_0x3e687f),_0x15baab['once']('change:isOpen',()=>{const _0x151bb5=function({editor:_0x46c653,dropdownView:_0x4db31e,styleDefinitions:_0x247921,styleGridAriaLabel:_0x47f66d}){const _0x39dc2a=_0x46c653['locale'],_0x1c4655=_0x46c653['config']['get']('list.properties'),_0x40bb4e=null;_0x1c4655['reversed']=!0x1,_0x247921['length']||(_0x1c4655['styles']=!0x1);const _0xab0b5f=new V(_0x39dc2a,{'styleGridAriaLabel':_0x47f66d,'enabledProperties':_0x1c4655,'styleButtonViews':_0x40bb4e});if(_0x1c4655['startIndex']){const _0x4a011e=_0x46c653['commands']['get']('listStart');_0xab0b5f['startIndexFieldView']['bind']('isEnabled')['to'](_0x4a011e),_0xab0b5f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4a011e),_0xab0b5f['on']('listStart',(_0x381d67,_0x2d734e)=>_0x46c653['execute']('listStart',_0x2d734e));}return _0xab0b5f['delegate']('execute')['to'](_0x4db31e),_0xab0b5f;}({'editor':_0x53a3ff,'dropdownView':_0x15baab,'parentCommandName':_0x561cea,'styleGridAriaLabel':_0x56cfa2,'styleDefinitions':_0x19a926});_0x15baab['panelView']['children']['add'](_0x151bb5);}),_0x15baab['on']('execute',()=>{_0x53a3ff['editing']['view']['focus']();}),_0x15baab;}:_0x1f301d=>{const _0x1ea7a4=new _0x23b738(_0x1f301d);return _0x1ea7a4['set']({'label':_0x55ea3e,'icon':_0x452c53,'tooltip':!0x0,'isToggleable':!0x0}),_0x1ea7a4['bind']('isOn')['to'](_0x18646b,'value',_0x26e331=>!!_0x26e331),_0x1ea7a4['on']('execute',()=>{_0x53a3ff['execute'](_0x561cea),_0x53a3ff['editing']['view']['focus']();}),_0x1ea7a4;};}({'editor':_0x580448,'parentCommandName':'multiLevelList','buttonLabel':A(_0x580448['locale'],'Multi-level\x20List'),'buttonIcon':_0x4df05f,'styleGridAriaLabel':A(_0x580448['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x580448['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x39f9a6=_0x580448['commands']['get']('multiLevelList'),_0x5beed1=new _0x2bbce8(_0x580448['locale']);return _0x5beed1['set']({'label':A(_0x580448['locale'],'Multi-level\x20List'),'icon':_0x4df05f}),_0x5beed1['bind']('isEnabled')['to'](_0x39f9a6),_0x5beed1['bind']('isOn')['to'](_0x39f9a6,'value',_0x10fbfe=>!!_0x10fbfe),_0x5beed1['on']('execute',()=>{_0x580448['execute']('multiLevelList'),_0x580448['editing']['view']['focus']();}),_0x5beed1;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f7735=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x35983a;for(const _0x502c93 in _0x4f7735){const _0x108e5f=_0x502c93,_0x1387d6=_0x4f7735[_0x108e5f];if('multiLevelListLicenseKeyValid'==_0x1387d6||'multiLevelListLicenseKeyInvalid'==_0x1387d6||'multiLevelListLicenseKeyExpired'==_0x1387d6||'multiLevelListLicenseKeyDomainLimit'==_0x1387d6||'multiLevelListLicenseKeyNotAllowed'==_0x1387d6||'multiLevelListLicenseKeyEvaluationLimit'==_0x1387d6||'multiLevelListLicenseKeyUsageLimit'==_0x1387d6){delete _0x4f7735[_0x108e5f],_0x35983a=_0x1387d6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x35983a&&_0x4f7735['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x35983a&&_0x4f7735['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x35983a&&_0x4f7735['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x35983a&&_0x4f7735['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x35983a&&_0x4f7735['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x35983a&&_0x4f7735['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},P=class extends _0xb1fe27{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[x,K];}};export{P as MultiLevelList,S as MultiLevelListCommand,x as MultiLevelListEditing,K as MultiLevelListUI};
|
package/dist/multilevellist.d.ts
CHANGED
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
10
10
|
import { MultiLevelListEditing } from "./multilevellistediting.js";
|
|
11
11
|
import { MultiLevelListUI } from "./multilevellistui.js";
|
|
12
|
-
import "../theme/multilevellist.css";
|
|
13
12
|
/**
|
|
14
13
|
* The Multi-level List feature.
|
|
15
14
|
*
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x545695=>0x1!=_0x545695}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10c156=>{const {af:{dictionary:_0x1c0afa,getPluralForm:_0x45b057}}={'af':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x11dd91=>0x1!=_0x11dd91}};_0x10c156['af']||={'dictionary':{},'getPluralForm':null},_0x10c156['af']['dictionary']=Object['assign'](_0x10c156['af']['dictionary'],_0x1c0afa),_0x10c156['af']['getPluralForm']=_0x45b057;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Multi-level\x20List':'قائمة\x20متعددة\x20المستويات','Multi-level\x20list\x20styles\x20toolbar':'شريط\x20الأدوات\x20لأنماط\x20القائمة\x20متعددة\x20المستويات'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Multi-level\x20List':'قائمة\x20متعددة\x20المستويات','Multi-level\x20list\x20styles\x20toolbar':'شريط\x20الأدوات\x20لأنماط\x20القائمة\x20متعددة\x20المستويات'},'getPluralForm':_0xda8dde=>0x0==_0xda8dde?0x0:0x1==_0xda8dde?0x1:0x2==_0xda8dde?0x2:_0xda8dde%0x64>=0x3&&_0xda8dde%0x64<=0xa?0x3:_0xda8dde%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4dd38b=>{const {ar:{dictionary:_0x1fb1b8,getPluralForm:_0x259045}}={'ar':{'dictionary':{'Multi-level\x20List':'قائمة\x20متعددة\x20المستويات','Multi-level\x20list\x20styles\x20toolbar':'شريط\x20الأدوات\x20لأنماط\x20القائمة\x20متعددة\x20المستويات'},'getPluralForm':_0x466bc0=>0x0==_0x466bc0?0x0:0x1==_0x466bc0?0x1:0x2==_0x466bc0?0x2:_0x466bc0%0x64>=0x3&&_0x466bc0%0x64<=0xa?0x3:_0x466bc0%0x64>=0xb?0x4:0x5}};_0x4dd38b['ar']||={'dictionary':{},'getPluralForm':null},_0x4dd38b['ar']['dictionary']=Object['assign'](_0x4dd38b['ar']['dictionary'],_0x1fb1b8),_0x4dd38b['ar']['getPluralForm']=_0x259045;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x493bde=>0x1!=_0x493bde}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28377d=>{const {ast:{dictionary:_0x49b7e7,getPluralForm:_0x1c98aa}}={'ast':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x58cab2=>0x1!=_0x58cab2}};_0x28377d['ast']||={'dictionary':{},'getPluralForm':null},_0x28377d['ast']['dictionary']=Object['assign'](_0x28377d['ast']['dictionary'],_0x49b7e7),_0x28377d['ast']['getPluralForm']=_0x1c98aa;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x32fa14=>0x1!=_0x32fa14}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x72826e=>{const {az:{dictionary:_0x177c52,getPluralForm:_0xf68bbe}}={'az':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0xbe6c56=>0x1!=_0xbe6c56}};_0x72826e['az']||={'dictionary':{},'getPluralForm':null},_0x72826e['az']['dictionary']=Object['assign'](_0x72826e['az']['dictionary'],_0x177c52),_0x72826e['az']['getPluralForm']=_0xf68bbe;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x4836ce=>_0x4836ce%0xa==0x1&&_0x4836ce%0x64!=0xb?0x0:_0x4836ce%0xa>=0x2&&_0x4836ce%0xa<=0x4&&(_0x4836ce%0x64<0xa||_0x4836ce%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa0717f=>{const {be:{dictionary:_0x5c906e,getPluralForm:_0x4da08e}}={'be':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x4913e4=>_0x4913e4%0xa==0x1&&_0x4913e4%0x64!=0xb?0x0:_0x4913e4%0xa>=0x2&&_0x4913e4%0xa<=0x4&&(_0x4913e4%0x64<0xa||_0x4913e4%0x64>=0x14)?0x1:0x2}};_0xa0717f['be']||={'dictionary':{},'getPluralForm':null},_0xa0717f['be']['dictionary']=Object['assign'](_0xa0717f['be']['dictionary'],_0x5c906e),_0xa0717f['be']['getPluralForm']=_0x4da08e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Multi-level\x20List':'Многостепенен\x20списък','Multi-level\x20list\x20styles\x20toolbar':'Лента\x20със\x20списък\x20със\x20стилове\x20на\x20много\x20нива'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Multi-level\x20List':'Многостепенен\x20списък','Multi-level\x20list\x20styles\x20toolbar':'Лента\x20със\x20списък\x20със\x20стилове\x20на\x20много\x20нива'},'getPluralForm':_0x5478a2=>0x1!=_0x5478a2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x158b57=>{const {bg:{dictionary:_0x1ad357,getPluralForm:_0x545d16}}={'bg':{'dictionary':{'Multi-level\x20List':'Многостепенен\x20списък','Multi-level\x20list\x20styles\x20toolbar':'Лента\x20със\x20списък\x20със\x20стилове\x20на\x20много\x20нива'},'getPluralForm':_0x1f891e=>0x1!=_0x1f891e}};_0x158b57['bg']||={'dictionary':{},'getPluralForm':null},_0x158b57['bg']['dictionary']=Object['assign'](_0x158b57['bg']['dictionary'],_0x1ad357),_0x158b57['bg']['getPluralForm']=_0x545d16;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Multi-level\x20List':'মাল্টি-লেভেল\x20লিস্ট','Multi-level\x20list\x20styles\x20toolbar':'মাল্টি-লেভেল\x20লিস্ট\x20স্টাইল\x20টুলবার'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Multi-level\x20List':'মাল্টি-লেভেল\x20লিস্ট','Multi-level\x20list\x20styles\x20toolbar':'মাল্টি-লেভেল\x20লিস্ট\x20স্টাইল\x20টুলবার'},'getPluralForm':_0x4b43c6=>0x1!=_0x4b43c6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x412e20=>{const {bn:{dictionary:_0x2dadf5,getPluralForm:_0x4f091e}}={'bn':{'dictionary':{'Multi-level\x20List':'মাল্টি-লেভেল\x20লিস্ট','Multi-level\x20list\x20styles\x20toolbar':'মাল্টি-লেভেল\x20লিস্ট\x20স্টাইল\x20টুলবার'},'getPluralForm':_0x1dec82=>0x1!=_0x1dec82}};_0x412e20['bn']||={'dictionary':{},'getPluralForm':null},_0x412e20['bn']['dictionary']=Object['assign'](_0x412e20['bn']['dictionary'],_0x2dadf5),_0x412e20['bn']['getPluralForm']=_0x4f091e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0xb29a2=>_0xb29a2%0xa==0x1&&_0xb29a2%0x64!=0xb?0x0:_0xb29a2%0xa>=0x2&&_0xb29a2%0xa<=0x4&&(_0xb29a2%0x64<0xa||_0xb29a2%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x522aaa=>{const {bs:{dictionary:_0x38edf8,getPluralForm:_0x12ff9e}}={'bs':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x267315=>_0x267315%0xa==0x1&&_0x267315%0x64!=0xb?0x0:_0x267315%0xa>=0x2&&_0x267315%0xa<=0x4&&(_0x267315%0x64<0xa||_0x267315%0x64>=0x14)?0x1:0x2}};_0x522aaa['bs']||={'dictionary':{},'getPluralForm':null},_0x522aaa['bs']['dictionary']=Object['assign'](_0x522aaa['bs']['dictionary'],_0x38edf8),_0x522aaa['bs']['getPluralForm']=_0x12ff9e;})(window['CKEDITOR_TRANSLATIONS']||={});
|