@ckeditor/ckeditor5-list-multi-level 48.3.1 → 48.4.0-alpha.0
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 _0x5524e9,Plugin as _0x550cfe}from'@ckeditor/ckeditor5-core';import{Matcher as _0x590009,ViewUpcastWriter as _0x43f5bd}from'@ckeditor/ckeditor5-engine';import{ListEditing as _0x11dcf1,_isFirstBlockOfListItem as _0x2957b1}from'@ckeditor/ckeditor5-list';import{FocusTracker as _0x479f38,KeystrokeHandler as _0x29562b,createElement as _0x10e3ca,first as _0x33f0c7,global as _0x81c27a,uid as _0x555968}from'@ckeditor/ckeditor5-utils';import{IconMultiLevelList as _0x40c0ec}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x271f7f,CollapsibleView as _0x68fd24,FocusCycler as _0x28f65c,LabeledFieldView as _0x1284b2,MenuBarMenuListItemButtonView as _0x1fc389,SplitButtonView as _0x1c7b89,View as _0x29c20c,ViewCollection as _0x3814d3,addKeyboardHandlingForGrid as _0x5808f7,createDropdown as _0x15b376,createLabeledInputNumber as _0x19c9f0}from'@ckeditor/ckeditor5-ui';var S=class extends _0x5524e9{defaultListMarkerStyle;_listDefinitions;_listUtils;constructor(_0x138e04,_0x5d2556,_0x57339e){super(_0x138e04),this['defaultListMarkerStyle']=_0x5d2556,this['_listDefinitions']=_0x57339e,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}execute(_0x51aea5={}){const _0x9cc76f=this['editor']['model'],_0x5de89c=_0x51aea5['listMarkerStyle']||this['defaultListMarkerStyle'];_0x9cc76f['change'](()=>{const _0x280b53=this['_getListTypeFromListMarkerStyle'](_0x5de89c);if(!_0x280b53)return;const _0xe93262=_0x280b53+'List';this['editor']['execute'](_0xe93262,{'additionalAttributes':{'listMarkerStyle':_0x5de89c}});});}_getValue(){const _0xd6ded8=_0x33f0c7(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0xd6ded8)?_0xd6ded8['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x4a8a35=this['editor'],_0x194273=_0x4a8a35['commands']['get']('customNumberedList'),_0x563f0b=_0x4a8a35['commands']['get']('customBulletedList');return _0x194273['isEnabled']||_0x563f0b['isEnabled'];}_getListTypeFromListMarkerStyle(_0x4807a5){const _0x2141cb=this['_listDefinitions']['find'](_0x29b871=>_0x29b871['listMarkerStyle']==_0x4807a5);return _0x2141cb?_0x2141cb['listType']:null;}},x=class extends _0x550cfe{_listDefinitions;static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x11dcf1];}constructor(_0x3edbcf){super(_0x3edbcf);const _0x404982=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x170e7e=>_0x170e7e+'.'}]},..._0x404982];}init(){const _0x55ea78=this['editor'],_0x1a094a=_0x55ea78['model'],_0x39b66c=_0x55ea78['editing']['view'],_0x293a53=_0x55ea78['plugins']['get'](_0x11dcf1);_0x55ea78['commands']['add']('multiLevelList',new S(_0x55ea78,'legal',this['_listDefinitions'])),_0x1a094a['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x1a094a['schema']['addAttributeCheck']((_0x3ee274,_0x28c24a)=>{const _0x5b42bf=_0x3ee274['last'];if('listMarker'==_0x28c24a||'listMarkerStyle'==_0x28c24a)return!(!_0x5b42bf['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x953a4f=>_0x953a4f['listType']==_0x5b42bf['getAttribute']('listType')))&&void 0x0;});for(const _0x252611 of this['_listDefinitions'])_0x55ea78['conversion']['for']('upcast')['add'](_0x3827e0=>{_0x3827e0['on']('element:'+('customNumbered'==_0x252611['listType']?'ol':'ul'),_(_0x252611,_0x1a094a['schema']),{'priority':'low'});}),_0x293a53['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x3d44d2,_0x45edf5,_0x1693d9){_0x45edf5==_0x252611['listMarkerStyle']?(_0x3d44d2['addClass'](['multi-level-list',_0x252611['className']],_0x1693d9),_0x3d44d2['setStyle']('list-style-type','none',_0x1693d9)):(_0x3d44d2['removeClass'](['multi-level-list',_0x252611['className']],_0x1693d9),_0x3d44d2['removeStyle']('list-style-type',_0x1693d9));}}),_0x293a53['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x13fe3e,_0x5ce28a,{dataPipeline:_0x34eb92}){if(!_0x5ce28a['hasAttribute']('listMarker'))return null;if(_0x5ce28a['getAttribute']('listType')!=_0x252611['listType']||_0x5ce28a['getAttribute']('listMarkerStyle')!=_0x252611['listMarkerStyle'])return null;const _0x3a842c=String(_0x5ce28a['getAttribute']('listMarker')),_0x197227=this['canInjectMarkerIntoElement'](_0x5ce28a);return _0x13fe3e['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x34eb92&&{'contenteditable':'false','data-multi-level-list-marker':_0x3a842c}},function(_0x45ab7f){const _0x42b2ed=this['toDomElement'](_0x45ab7f);return _0x197227?(_0x42b2ed['appendChild'](_0x10e3ca(_0x45ab7f,'span',{},_0x34eb92?_0x45ab7f['createTextNode'](_0x3a842c):[])),_0x42b2ed['appendChild'](_0x45ab7f['createTextNode']('\u00a0'))):_0x34eb92&&_0x42b2ed['appendChild'](_0x45ab7f['createTextNode'](_0x3a842c)),_0x42b2ed;});},'canInjectMarkerIntoElement':_0x27979e=>_0x1a094a['schema']['checkChild'](_0x27979e,'$text')&&_0x1a094a['schema']['checkChild'](_0x27979e,'$inlineObject')&&!_0x1a094a['schema']['isLimit'](_0x27979e)&&_0x27979e['getAttribute']('listType')==_0x252611['listType']&&_0x27979e['getAttribute']('listMarkerStyle')==_0x252611['listMarkerStyle']});_0x55ea78['conversion']['for']('upcast')['add'](_0x2da09f=>{_0x2da09f['on']('element:span',function(_0x32ae79){return(_0x1f6c13,_0x186b7d,{writer:_0x4762bb,consumable:_0x3cba78})=>{const _0x47a0e7=_0x186b7d['modelCursor'],_0x366b15=_0x47a0e7['parent'],_0x42877a=_0x186b7d['viewItem'];if(_0x3cba78['consume'](_0x42877a,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x47a0e7['isAtStart']&&_0x366b15['hasAttribute']('listType')&&_0x42877a['childCount']>0x0){const _0xa70307=_0x32ae79['createRangeIn'](_0x42877a);let _0x497eb5='';for(const _0x2fe052 of _0xa70307['getItems']())_0x2fe052['is']('$textProxy')?(_0x497eb5+=_0x2fe052['data']['trim'](),_0x3cba78['consume'](_0x2fe052['textNode'])):_0x3cba78['consume'](_0x2fe052,{'name':!0x0});_0x4762bb['setAttribute']('listMarker',_0x497eb5['trim'](),_0x366b15);}};}(_0x39b66c));}),_0x293a53['on']('postFixer',(_0x3f56e5,{listNodes:_0x4cb245,writer:_0x591acb})=>{const _0x28449b=[];for(const {node:_0x378491,previousNodeInList:_0x4219f1}of _0x4cb245){const _0x661914=_0x378491['getAttribute']('listType'),_0x44204a=_0x378491['getAttribute']('listMarkerStyle')||('customNumbered'==_0x661914?'legal':void 0x0),_0x18d4e9=this['_listDefinitions']['find'](_0x4fcee6=>_0x4fcee6['listType']==_0x661914&&_0x4fcee6['listMarkerStyle']==_0x44204a);if('customNumbered'!=_0x661914&&'customBulleted'!=_0x661914&&(_0x378491['hasAttribute']('listMarker')&&(_0x591acb['removeAttribute']('listMarker',_0x378491),_0x3f56e5['return']=!0x0),_0x378491['hasAttribute']('listMarkerStyle')&&(_0x591acb['removeAttribute']('listMarkerStyle',_0x378491),_0x3f56e5['return']=!0x0)),!_0x18d4e9){'customBulleted'!=_0x661914||_0x44204a||(_0x591acb['setAttribute']('listType','bulleted',_0x378491),_0x3f56e5['return']=!0x0);continue;}_0x378491['hasAttribute']('listMarkerStyle')||(_0x591acb['setAttribute']('listMarkerStyle',_0x44204a,_0x378491),_0x3f56e5['return']=!0x0);const _0x1338d4=_0x378491['getAttribute']('listIndent');if(_0x4219f1&&_0x4219f1['getAttribute']('listItemId')==_0x378491['getAttribute']('listItemId'))continue;if(_0x28449b['length']=_0x1338d4+0x1,_0x55ea78['config']['get']('list.enableSkipLevelLists')){for(let _0x154c22=0x0;_0x154c22<_0x1338d4;_0x154c22++)void 0x0===_0x28449b[_0x154c22]&&(_0x28449b[_0x154c22]=0x1);}_0x4219f1||_0x28449b[_0x1338d4]?_0x4219f1&&_0x4219f1['getAttribute']('listType')!=_0x18d4e9['listType']?_0x28449b[_0x1338d4]=0x1:_0x28449b[_0x1338d4]++:_0x28449b[_0x1338d4]=_0x378491['getAttribute']('listStart')||0x1;const _0x2e4f16=E(_0x1338d4,_0x18d4e9,_0x28449b);_0x378491['getAttribute']('listMarker')!=_0x2e4f16&&(_0x591acb['setAttribute']('listMarker',_0x2e4f16,_0x378491),_0x3f56e5['return']=!0x0);}}),_0x293a53['on']('checkElement',(_0x3b2d57,{modelElement:_0x11a77f,viewElement:_0x2573d4})=>{const _0x2976e8=_0x11a77f['getAttribute']('listType');if('customNumbered'!=_0x2976e8&&'customBulleted'!=_0x2976e8)return;if(_0x1a094a['schema']['checkChild'](_0x11a77f,'$text'))return;const _0x5205a8=_0x2957b1(_0x11a77f);let _0x1ce307=!0x1;const _0x412135=_0x39b66c['createPositionBefore'](_0x2573d4)['getWalker']({'direction':'backward'});for(const {item:_0x213474}of _0x412135)if(_0x213474['is']('element')){if(_0x55ea78['editing']['mapper']['toModelElement'](_0x213474))break;if(_0x213474['getCustomProperty']('listItemMarker')){_0x1ce307=!0x0;break;}}_0x1ce307!=_0x5205a8&&(_0x3b2d57['return']=!0x0,_0x3b2d57['stop']());});const _0x32cc7f=_0x55ea78['editing']['view']['document'];this['listenTo'](_0x32cc7f,'clipboardOutput',(_0x10e08d,_0x3dc499)=>{const _0x39e5f7=new _0x590009({'name':'span','classes':'multi-level-list__marker'}),_0x4653af=new _0x590009({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x3fe384=new _0x43f5bd(_0x3dc499['content']['document']),_0x342c95=[];for(const _0x271567 of _0x3fe384['createRangeIn'](_0x3dc499['content'])['getItems']())_0x271567['is']('element')&&_0x39e5f7['match'](_0x271567)&&_0x342c95['push'](_0x271567),_0x271567['is']('element')&&_0x4653af['match'](_0x271567)&&_0x3fe384['removeStyle']('list-style-type',_0x271567);for(const _0x2a19cf of _0x342c95)_0x3fe384['remove'](_0x2a19cf);});}afterInit(){!async function(_0x5cdd08){const _0x5068a5='un0NFQUoX1evzk3yMEfwl7TxbDrisOZaWtKq52P98dchBVpjS4mYLC6gJIHGRA',_0xc282b2=0x79128,_0x5dcd29=window['Date']['now'](),_0x2760d2=_0x5cdd08['editor'],_0x20b9d0=new window['Promise'](_0x73866c=>{_0x2760d2['once']('ready',_0x73866c);}),_0x3e533b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x489034=_0x2760d2['config']['get']('licenseKey');async function _0x477f6a(){let _0x50d7a6,_0x2b2558=null,_0xffb083=null;try{return'GPL'==_0x489034?'NotAllowed':(_0x50d7a6=_0xe107c9(),_0x50d7a6?(_0x50d7a6['usageEndpoint']&&(_0xffb083=_0x148acd(_0x50d7a6['usageEndpoint'],_0x50d7a6['jti'])),await _0x9753d3()?_0x53d06d()?_0x255e9b()?'Expired':_0x436b3e()?('evaluation'==_0x50d7a6['licenseType']&&(_0x2b2558=_0x4a8f35('EvaluationLimit')),await _0x528b7d()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x255e9b(){const _0x283126=['evaluation','trial']['includes'](_0x50d7a6['licenseType'])?_0x5dcd29/0x3e8:0xe10*_0xc282b2;return _0x50d7a6['exp']<_0x283126;}function _0x53d06d(){const _0x30159f=_0x50d7a6['features'];return!!_0x30159f&&(!!_0x30159f['includes']('*')||!!_0x30159f['includes']('MLL'));}function _0x436b3e(){const _0x24cbb3=_0x50d7a6['licensedHosts'];if(!_0x24cbb3||0x0==_0x24cbb3['length'])return!0x0;const {hostname:_0x1f60ba}=new URL(window['location']['href']);if(_0x24cbb3['includes'](_0x1f60ba))return!0x0;const _0x16bb74=_0x1f60ba['split']('.');return _0x24cbb3['filter'](_0x4dd224=>_0x4dd224['includes']('*'))['map'](_0x505fd9=>_0x505fd9['split']('.'))['filter'](_0x1922fe=>_0x1922fe['length']<=_0x16bb74['length'])['map'](_0x415458=>Array(_0x16bb74['length']-_0x415458['length'])['fill']('*'===_0x415458[0x0]?'*':'')['concat'](_0x415458))['some'](_0x397eff=>_0x16bb74['every']((_0x35c2a4,_0x42533c)=>_0x397eff[_0x42533c]===_0x35c2a4||'*'===_0x397eff[_0x42533c]));}function _0x528b7d(){return _0x2b2558&&_0xffb083?new window['Promise']((_0x409bbb,_0x4485be)=>{_0x2b2558['then'](_0x409bbb,_0x4485be),_0xffb083['then'](_0x321447=>{'Valid'!=_0x321447&&_0x409bbb(_0x321447);},_0x4485be);}):_0x2b2558||_0xffb083||'Valid';}}function _0x148acd(_0x167506,_0x4dceb7){return new window['Promise'](_0x116e83=>{if(_0x540b75())return _0x116e83('Valid');_0x339dd6(),_0x2760d2['decorate']('_sendUsageRequest');let _0x425cad=!0x1;const _0xb1bae2=_0x555968();function _0x3c0ef4(_0x18ea6c){return!!_0x18ea6c&&('object'==typeof _0x18ea6c||'function'==typeof _0x18ea6c)&&'function'==typeof _0x18ea6c['then']&&'function'==typeof _0x18ea6c['catch'];}function _0x578cb7(_0x2f75a3){_0x2808f8(_0x2f75a3)['then'](_0x1ce9ef=>_0x1ce9ef&&'ok'==_0x1ce9ef['status']?_0x522d2f(_0x489387(_0xb1bae2+_0x4dceb7))!=_0x1ce9ef['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x353bc4=>(_0x272bcf(),_0x353bc4),()=>{const _0x2c4284=_0x3d67aa();return null==_0x2c4284?(_0x272bcf(),'Valid'):_0x5dcd29-_0x2c4284>0x240c8400?'UsageLimit':'Valid';})['then'](_0x116e83)['catch'](()=>{_0x116e83('UsageLimit');});const _0x475be2=0x36ee80;function _0x272bcf(){const _0x51cbbb='llct-'+_0x522d2f(_0x489387(_0x167506)),_0xa3d26b=_0x28f5f7(_0x522d2f(window['Math']['ceil'](_0x5dcd29/_0x475be2)));window['localStorage']['setItem'](_0x51cbbb,_0xa3d26b);}function _0x3d67aa(){const _0x2e1873='llct-'+_0x522d2f(_0x489387(_0x167506)),_0x32b66a=window['localStorage']['getItem'](_0x2e1873);return _0x32b66a?window['parseInt'](_0x28f5f7(_0x32b66a),0x10)*_0x475be2:null;}function _0x2808f8(_0xaeba96){return new window['Promise']((_0x1268ab,_0x26a855)=>{_0xaeba96['then'](_0x1268ab,_0x26a855),window['setTimeout'](_0x26a855,0x1d4c0);});}}_0x2760d2['on']('_sendUsageRequest',(_0x52b371,_0xc9d715)=>{if(_0xc9d715[0x0]!=_0x167506)return _0x116e83('UsageLimit');_0xc9d715[0x1]={..._0xc9d715[0x1],'requestId':_0xb1bae2};},{'priority':'high'}),_0x2760d2['on']('_sendUsageRequest',_0x3d9e61=>{_0x3c0ef4(_0x3d9e61['return'])&&(_0x425cad=!0x0,_0x578cb7(_0x3d9e61['return']));},{'priority':'low'}),_0x20b9d0['then'](()=>{_0x425cad||_0x116e83('UsageLimit');});});function _0x540b75(){return'auto'==_0x2760d2['editing']['view']['_overlayModeHint'];}function _0x339dd6(){_0x2760d2['editing']['view']['_overlayModeHint']='auto';}}function _0x4a8f35(_0x47e392){const _0x3f57bd=[new window['Promise'](_0x4b2f73=>setTimeout(_0x4b2f73,0x93ecc)),_0x20b9d0['then'](()=>new window['Promise'](_0x196847=>{let _0x4ce3ee=0x0;_0x2760d2['model']['on']('applyOperation',(_0x138d4a,_0x48ad98)=>{_0x48ad98[0x0]['isDocumentOperation']&&_0x4ce3ee++,0x5e8==_0x4ce3ee&&(_0x196847(),_0x138d4a['off']());});}))];return window['Promise']['race'](_0x3f57bd)['then'](()=>_0x47e392);}async function _0x352fd4(){await _0x20b9d0,_0x2760d2['model']['change']=_0x1ecf83,_0x2760d2['model']['enqueueChange']=_0x1ecf83,_0x2760d2['enableReadOnlyMode']('model');}function _0x4ece6b(_0x51d3f1){const _0x383f46=_0x3a0f70();_0x2760d2[_0x383f46]='multiLevelListLicenseKey'+_0x51d3f1,'Valid'!=_0x51d3f1&&_0x352fd4();}function _0x3a0f70(){const _0x5155c5=window['String'](window['performance']['now']())['replace']('.','');let _0x494f37='u';for(let _0x23316c=0x0;_0x23316c<_0x5155c5['length'];_0x23316c+=0x2){let _0x579e01=window['parseInt'](_0x5155c5['substring'](_0x23316c,_0x23316c+0x2));_0x579e01>=0x3e&&(_0x579e01-=0x3e),_0x494f37+=_0x5068a5[_0x579e01];}return _0x494f37;}function _0xe107c9(){const _0x564ad4=_0x489034['split']('.');if(0x3!=_0x564ad4['length'])return null;return _0x2126cf(_0x564ad4[0x1]);function _0x2126cf(_0x52fdd3){const _0x4ebe5e=_0x84107(_0x52fdd3);return _0x4ebe5e&&_0x4a73b7()?_0x4ebe5e:null;function _0x4a73b7(){const _0x494735=_0x4ebe5e['jti'],_0x3ea97d=window['parseInt'](_0x494735['substring'](_0x494735['length']-0x8),0x10),_0x29b0b1={..._0x4ebe5e,'jti':_0x494735['substring'](0x0,_0x494735['length']-0x8)};return delete _0x29b0b1['vc'],_0x489387(_0x29b0b1)==_0x3ea97d;}}}async function _0x9753d3(){let _0x2d9c36=!0x0;try{const [_0x5cd397,_0x447212,_0x121216]=_0x489034['split']('.');return _0x5b72c7(_0x5cd397),await _0x51b736(_0x5cd397,_0x447212,_0x121216),_0x2d9c36;}catch{return!0x1;}function _0x5b72c7(_0x285865){const _0x59d070=_0x84107(_0x285865);_0x59d070&&'ES256'==_0x59d070['alg']||(_0x2d9c36=!0x1);}async function _0x51b736(_0x4bb5d8,_0x1e4be7,_0x5c064e){const _0x4d5860=window['Uint8Array']['from'](_0x20334f(_0x5c064e),_0x4d0692=>_0x4d0692['charCodeAt'](0x0)),_0x310b80=new window['TextEncoder']()['encode'](_0x4bb5d8+'.'+_0x1e4be7),_0x473802=window['crypto']['subtle'];if(!_0x473802)return;const _0x5c195d=await _0x473802['importKey']('jwk',_0x3e533b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x473802['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5c195d,_0x4d5860,_0x310b80)||(_0x2d9c36=!0x1);}}function _0x84107(_0x24f538){return _0x24f538['startsWith']('ey')?JSON['parse'](_0x20334f(_0x24f538)):null;}function _0x20334f(_0xa04c9d){return window['atob'](_0xa04c9d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x489387(_0x34d9fa){let _0x975009=0x1505;function _0x13ac87(_0x3ad41e){for(let _0x379768=0x0;_0x379768<_0x3ad41e['length'];_0x379768++){const _0x5a3967=_0x3ad41e['charCodeAt'](_0x379768);_0x975009=(_0x975009<<0x5)+_0x975009+_0x5a3967,_0x975009&=_0x975009;}}function _0x3bdd46(_0x13cbe1){Array['isArray'](_0x13cbe1)?_0x13cbe1['forEach'](_0x3bdd46):_0x13cbe1&&'object'==typeof _0x13cbe1?Object['entries'](_0x13cbe1)['sort']()['forEach'](([_0x23a890,_0x34db91])=>{_0x13ac87(_0x23a890),_0x3bdd46(_0x34db91);}):_0x13ac87(window['String'](_0x13cbe1));}return _0x3bdd46(_0x34d9fa),_0x975009>>>0x0;}function _0x522d2f(_0x44727f){return _0x44727f['toString'](0x10)['padStart'](0x8,'0');}function _0x28f5f7(_0x2d0d44){return _0x2d0d44['split']('')['reverse']()['join']('');}function _0x1ecf83(){}_0x4ece6b(await _0x477f6a());}(this);}};function E(_0x460e9d,_0x594c44,_0x4b5d37){let _0x1134d1=_0x594c44['listMarkers'][_0x460e9d%_0x594c44['listMarkers']['length']];if(void 0x0===_0x1134d1['showMarkerPath']||_0x1134d1['showMarkerPath'])return _0x4b5d37['slice'](0x0,_0x460e9d+0x1)['map']((_0x5d1cbd,_0x6f67f4)=>(_0x1134d1=_0x594c44['listMarkers'][_0x6f67f4%_0x594c44['listMarkers']['length']],N(_0x1134d1['marker'],_0x5d1cbd)))['join']('');{const _0x5a1afb=_0x4b5d37[_0x4b5d37['length']-0x1];return N(_0x1134d1['marker'],_0x5a1afb);}}function N(_0x3f257f,_0x8b8969){return'function'==typeof _0x3f257f?_0x3f257f(_0x8b8969):_0x3f257f;}function _(_0x5ce562,_0x3449e5){return(_0xfa981a,_0x4ada77,_0x25218a)=>{const _0xdb2cd7=_0x4ada77['viewItem'];if(_0x4ada77['modelRange']||Object['assign'](_0x4ada77,_0x25218a['convertChildren'](_0x4ada77['viewItem'],_0x4ada77['modelCursor'])),!_0x25218a['consumable']['test'](_0xdb2cd7,{'classes':_0x5ce562['className']}))return;const _0x19dfbf=Array['from'](_0x4ada77['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x1ef089=>_0x3449e5['checkAttribute'](_0x1ef089,'listItemId'));if(!_0x19dfbf['length'])return;_0x25218a['consumable']['consume'](_0xdb2cd7,{'classes':_0x5ce562['className']}),_0x25218a['consumable']['consume'](_0xdb2cd7,{'classes':'multi-level-list'}),_0x25218a['consumable']['consume'](_0xdb2cd7,{'styles':'list-style-type'});const _0xafcca1=_0x19dfbf[0x0]['getAttribute']('listIndent');for(const _0x51c5ec of _0x19dfbf)_0x51c5ec['getAttribute']('listIndent')==_0xafcca1&&(_0x25218a['writer']['setAttribute']('listType',_0x5ce562['listType'],_0x51c5ec),_0x25218a['writer']['setAttribute']('listMarkerStyle',_0x5ce562['listMarkerStyle'],_0x51c5ec));};}function A(_0x25867e,_0x5b580c){const _0x1f57d1=_0x25867e['t'],t=_0x25867e['t'];switch(_0x5b580c){case'Start\x20at':return _0x1f57d1('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x1f57d1('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x1f57d1('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x1f57d1('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 _0x5b580c;}}var V=class extends _0x29c20c{['children'];stylesView=null;additionalPropertiesCollapsibleView=null;startIndexFieldView=null;['focusTracker']=new _0x479f38();keystrokes=new _0x29562b();['focusables']=new _0x3814d3();['focusCycler'];constructor(_0x46163a,{enabledProperties:_0x33932c,styleButtonViews:_0x3ab32f,styleGridAriaLabel:_0x1bfde4}){super(_0x46163a);const _0x4ad524=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x28f65c({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x33932c['styles']?(this['stylesView']=this['_createStylesView'](_0x3ab32f,_0x1bfde4),this['children']['add'](this['stylesView'])):_0x4ad524['push']('ck-multi-level-list-properties_without-styles'),_0x33932c['startIndex']&&(this['_addListPropertyViews'](_0x33932c),_0x4ad524['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x4ad524},'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 _0x70e646 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x70e646['element']);_0x5808f7({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x81c27a['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 _0x2de65a=_0x4612b0=>_0x4612b0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2de65a),this['keystrokes']['set']('arrowleft',_0x2de65a),this['keystrokes']['set']('arrowup',_0x2de65a),this['keystrokes']['set']('arrowdown',_0x2de65a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_createStylesView(_0x15fee3,_0x4faff4){const _0x33585b=new _0x29c20c(this['locale']);return _0x33585b['children']=_0x33585b['createCollection'](),_0x33585b['children']['addMany'](_0x15fee3),_0x33585b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4faff4,'class':['ck','ck-multi-level-list-styles']},'children':_0x33585b['children']}),_0x33585b['children']['delegate']('execute')['to'](this),_0x33585b['focus']=function(){this['children']['first']['focus']();},_0x33585b['focusTracker']=new _0x479f38(),_0x33585b['keystrokes']=new _0x29562b(),_0x33585b['render'](),_0x33585b['keystrokes']['listenTo'](_0x33585b['element']),_0x33585b;}_addListPropertyViews(_0x397881){const _0x2bcc13=[];_0x397881['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x2bcc13['push'](this['startIndexFieldView'])),_0x397881['styles']?(this['additionalPropertiesCollapsibleView']=new _0x68fd24(this['locale'],_0x2bcc13),this['additionalPropertiesCollapsibleView']['set']({'label':A(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x2bcc13,'isEnabled',(..._0x4d3b79)=>_0x4d3b79['some'](_0x1af5fc=>_0x1af5fc)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0xf9fcde,_0x1c0813,_0x164bc0)=>{_0x164bc0||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x2bcc13);}_createStartIndexField(){const _0x2a65f9=new _0x1284b2(this['locale'],_0x19c9f0);return _0x2a65f9['set']({'label':A(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x2a65f9['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2a65f9['fieldView']['on']('input',()=>{const _0x39212e=_0x2a65f9['fieldView']['element'],_0x8425be=_0x39212e['valueAsNumber'];Number['isNaN'](_0x8425be)?_0x2a65f9['errorText']=A(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x39212e['checkValidity']()?this['fire']('listStart',{'startIndex':_0x8425be}):_0x2a65f9['errorText']=A(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x2a65f9;}},K=class extends _0x550cfe{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x30809b=this['editor'];_0x30809b['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x1fab13,parentCommandName:_0x579bb1,buttonLabel:_0x1a3645,buttonIcon:_0x30a001,styleGridAriaLabel:_0x22683a,styleDefinitions:_0x12285b}){const _0x5e1ff8=_0x1fab13['commands']['get'](_0x579bb1),_0x5224cb=_0x1fab13['config']['get']('list.properties')||{},_0x555387=_0x1fab13['plugins']['has']('ListProperties'),_0x8e4f0b=_0x5224cb['startIndex'];return _0x555387&&_0x8e4f0b?_0x52df36=>{const _0x3697c1=_0x15b376(_0x52df36,_0x1c7b89),_0x2dec12=_0x3697c1['buttonView'];return _0x3697c1['bind']('isEnabled')['to'](_0x5e1ff8),_0x3697c1['class']='ck-list-styles-dropdown',_0x2dec12['on']('execute',()=>{_0x1fab13['execute'](_0x579bb1),_0x1fab13['editing']['view']['focus']();}),_0x2dec12['set']({'label':_0x1a3645,'icon':_0x30a001,'tooltip':!0x0,'isToggleable':!0x0}),_0x2dec12['bind']('isOn')['to'](_0x5e1ff8,'value',_0x20cea6=>!!_0x20cea6),_0x3697c1['once']('change:isOpen',()=>{const _0x5cef60=function({editor:_0xc22d80,dropdownView:_0x12f867,styleDefinitions:_0x31c183,styleGridAriaLabel:_0x259dcd}){const _0x312f34=_0xc22d80['locale'],_0x30a4bb=_0xc22d80['config']['get']('list.properties'),_0x200d09=null;_0x30a4bb['reversed']=!0x1,_0x31c183['length']||(_0x30a4bb['styles']=!0x1);const _0x2e6d02=new V(_0x312f34,{'styleGridAriaLabel':_0x259dcd,'enabledProperties':_0x30a4bb,'styleButtonViews':_0x200d09});if(_0x30a4bb['startIndex']){const _0x411f12=_0xc22d80['commands']['get']('listStart');_0x2e6d02['startIndexFieldView']['bind']('isEnabled')['to'](_0x411f12),_0x2e6d02['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x411f12),_0x2e6d02['on']('listStart',(_0x9e1518,_0x2a7878)=>_0xc22d80['execute']('listStart',_0x2a7878));}return _0x2e6d02['delegate']('execute')['to'](_0x12f867),_0x2e6d02;}({'editor':_0x1fab13,'dropdownView':_0x3697c1,'parentCommandName':_0x579bb1,'styleGridAriaLabel':_0x22683a,'styleDefinitions':_0x12285b});_0x3697c1['panelView']['children']['add'](_0x5cef60);}),_0x3697c1['on']('execute',()=>{_0x1fab13['editing']['view']['focus']();}),_0x3697c1;}:_0x18a7b4=>{const _0xb4647f=new _0x271f7f(_0x18a7b4);return _0xb4647f['set']({'label':_0x1a3645,'icon':_0x30a001,'tooltip':!0x0,'isToggleable':!0x0}),_0xb4647f['bind']('isOn')['to'](_0x5e1ff8,'value',_0x293437=>!!_0x293437),_0xb4647f['on']('execute',()=>{_0x1fab13['execute'](_0x579bb1),_0x1fab13['editing']['view']['focus']();}),_0xb4647f;};}({'editor':_0x30809b,'parentCommandName':'multiLevelList','buttonLabel':A(_0x30809b['locale'],'Multi-level\x20List'),'buttonIcon':_0x40c0ec,'styleGridAriaLabel':A(_0x30809b['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x30809b['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x3b2138=_0x30809b['commands']['get']('multiLevelList'),_0x37cc66=new _0x1fc389(_0x30809b['locale']);return _0x37cc66['set']({'label':A(_0x30809b['locale'],'Multi-level\x20List'),'icon':_0x40c0ec}),_0x37cc66['bind']('isEnabled')['to'](_0x3b2138),_0x37cc66['bind']('isOn')['to'](_0x3b2138,'value',_0x4bc19a=>!!_0x4bc19a),_0x37cc66['on']('execute',()=>{_0x30809b['execute']('multiLevelList'),_0x30809b['editing']['view']['focus']();}),_0x37cc66;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x54160b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x579624;for(const _0x323c22 in _0x54160b){const _0x55f8b5=_0x323c22,_0x3b624f=_0x54160b[_0x55f8b5];if('multiLevelListLicenseKeyValid'==_0x3b624f||'multiLevelListLicenseKeyInvalid'==_0x3b624f||'multiLevelListLicenseKeyExpired'==_0x3b624f||'multiLevelListLicenseKeyDomainLimit'==_0x3b624f||'multiLevelListLicenseKeyNotAllowed'==_0x3b624f||'multiLevelListLicenseKeyEvaluationLimit'==_0x3b624f||'multiLevelListLicenseKeyUsageLimit'==_0x3b624f){delete _0x54160b[_0x55f8b5],_0x579624=_0x3b624f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x579624&&_0x54160b['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x579624&&_0x54160b['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x579624&&_0x54160b['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x579624&&_0x54160b['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x579624&&_0x54160b['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x579624&&_0x54160b['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},P=class extends _0x550cfe{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':_0x32594b=>0x1!=_0x32594b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a75b2=>{const {af:{dictionary:_0x1b4a98,getPluralForm:_0x3d3802}}={'af':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x1a7a7b=>0x1!=_0x1a7a7b}};_0x2a75b2['af']||={'dictionary':{},'getPluralForm':null},_0x2a75b2['af']['dictionary']=Object['assign'](_0x2a75b2['af']['dictionary'],_0x1b4a98),_0x2a75b2['af']['getPluralForm']=_0x3d3802;})(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':_0x169b25=>0x0==_0x169b25?0x0:0x1==_0x169b25?0x1:0x2==_0x169b25?0x2:_0x169b25%0x64>=0x3&&_0x169b25%0x64<=0xa?0x3:_0x169b25%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x176374=>{const {ar:{dictionary:_0x6b3661,getPluralForm:_0x442cf8}}={'ar':{'dictionary':{'Multi-level\x20List':'قائمة\x20متعددة\x20المستويات','Multi-level\x20list\x20styles\x20toolbar':'شريط\x20الأدوات\x20لأنماط\x20القائمة\x20متعددة\x20المستويات'},'getPluralForm':_0x1f7982=>0x0==_0x1f7982?0x0:0x1==_0x1f7982?0x1:0x2==_0x1f7982?0x2:_0x1f7982%0x64>=0x3&&_0x1f7982%0x64<=0xa?0x3:_0x1f7982%0x64>=0xb?0x4:0x5}};_0x176374['ar']||={'dictionary':{},'getPluralForm':null},_0x176374['ar']['dictionary']=Object['assign'](_0x176374['ar']['dictionary'],_0x6b3661),_0x176374['ar']['getPluralForm']=_0x442cf8;})(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':_0x3be90b=>0x1!=_0x3be90b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1890c3=>{const {ast:{dictionary:_0x165c2e,getPluralForm:_0x56814f}}={'ast':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0xff3e61=>0x1!=_0xff3e61}};_0x1890c3['ast']||={'dictionary':{},'getPluralForm':null},_0x1890c3['ast']['dictionary']=Object['assign'](_0x1890c3['ast']['dictionary'],_0x165c2e),_0x1890c3['ast']['getPluralForm']=_0x56814f;})(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':_0x1b37d8=>0x1!=_0x1b37d8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4205f6=>{const {az:{dictionary:_0x841de8,getPluralForm:_0x2a6da2}}={'az':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x505b43=>0x1!=_0x505b43}};_0x4205f6['az']||={'dictionary':{},'getPluralForm':null},_0x4205f6['az']['dictionary']=Object['assign'](_0x4205f6['az']['dictionary'],_0x841de8),_0x4205f6['az']['getPluralForm']=_0x2a6da2;})(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':_0xa5e71a=>_0xa5e71a%0xa==0x1&&_0xa5e71a%0x64!=0xb?0x0:_0xa5e71a%0xa>=0x2&&_0xa5e71a%0xa<=0x4&&(_0xa5e71a%0x64<0xa||_0xa5e71a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11cd4a=>{const {be:{dictionary:_0x582689,getPluralForm:_0x523808}}={'be':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x193fcd=>_0x193fcd%0xa==0x1&&_0x193fcd%0x64!=0xb?0x0:_0x193fcd%0xa>=0x2&&_0x193fcd%0xa<=0x4&&(_0x193fcd%0x64<0xa||_0x193fcd%0x64>=0x14)?0x1:0x2}};_0x11cd4a['be']||={'dictionary':{},'getPluralForm':null},_0x11cd4a['be']['dictionary']=Object['assign'](_0x11cd4a['be']['dictionary'],_0x582689),_0x11cd4a['be']['getPluralForm']=_0x523808;})(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':_0x4b987d=>0x1!=_0x4b987d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3513de=>{const {bg:{dictionary:_0x261d50,getPluralForm:_0x16a28c}}={'bg':{'dictionary':{'Multi-level\x20List':'Многостепенен\x20списък','Multi-level\x20list\x20styles\x20toolbar':'Лента\x20със\x20списък\x20със\x20стилове\x20на\x20много\x20нива'},'getPluralForm':_0x545fad=>0x1!=_0x545fad}};_0x3513de['bg']||={'dictionary':{},'getPluralForm':null},_0x3513de['bg']['dictionary']=Object['assign'](_0x3513de['bg']['dictionary'],_0x261d50),_0x3513de['bg']['getPluralForm']=_0x16a28c;})(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':_0x3b76bd=>0x1!=_0x3b76bd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bf4e4=>{const {bn:{dictionary:_0x175148,getPluralForm:_0x205e56}}={'bn':{'dictionary':{'Multi-level\x20List':'মাল্টি-লেভেল\x20লিস্ট','Multi-level\x20list\x20styles\x20toolbar':'মাল্টি-লেভেল\x20লিস্ট\x20স্টাইল\x20টুলবার'},'getPluralForm':_0x1811fe=>0x1!=_0x1811fe}};_0x5bf4e4['bn']||={'dictionary':{},'getPluralForm':null},_0x5bf4e4['bn']['dictionary']=Object['assign'](_0x5bf4e4['bn']['dictionary'],_0x175148),_0x5bf4e4['bn']['getPluralForm']=_0x205e56;})(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':_0xe396de=>_0xe396de%0xa==0x1&&_0xe396de%0x64!=0xb?0x0:_0xe396de%0xa>=0x2&&_0xe396de%0xa<=0x4&&(_0xe396de%0x64<0xa||_0xe396de%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x58c5af=>{const {bs:{dictionary:_0x114f8f,getPluralForm:_0x46b572}}={'bs':{'dictionary':{'Multi-level\x20List':'','Multi-level\x20list\x20styles\x20toolbar':''},'getPluralForm':_0x52fec9=>_0x52fec9%0xa==0x1&&_0x52fec9%0x64!=0xb?0x0:_0x52fec9%0xa>=0x2&&_0x52fec9%0xa<=0x4&&(_0x52fec9%0x64<0xa||_0x52fec9%0x64>=0x14)?0x1:0x2}};_0x58c5af['bs']||={'dictionary':{},'getPluralForm':null},_0x58c5af['bs']['dictionary']=Object['assign'](_0x58c5af['bs']['dictionary'],_0x114f8f),_0x58c5af['bs']['getPluralForm']=_0x46b572;})(window['CKEDITOR_TRANSLATIONS']||={});
|