@ckeditor/ckeditor5-revision-history 39.0.1 → 40.0.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/LICENSE.md +6 -6
- package/README.md +11 -11
- package/build/revision-history.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/lang/translations/af.po +1 -0
- package/lang/translations/ar.po +1 -0
- package/lang/translations/az.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/bs.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de-ch.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en-gb.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es-co.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fa.po +1 -0
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/jv.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/ku.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/ne.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +1 -0
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sr-latn.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tk.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/tt.po +1 -0
- package/lang/translations/ug.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/ur.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- package/package.json +6 -10
- package/src/augmentation.d.ts +29 -29
- package/src/changeitem.d.ts +58 -58
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.d.ts +27 -27
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.d.ts +28 -28
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.d.ts +43 -43
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +15 -15
- package/src/revision.d.ts +153 -153
- package/src/revision.js +1 -1
- package/src/revisiondiff.d.ts +24 -24
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +99 -99
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryadapter.d.ts +64 -64
- package/src/revisionhistoryconfig.d.ts +60 -60
- package/src/revisionsrepository.d.ts +52 -52
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +81 -81
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +25 -25
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +10 -10
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +5 -5
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +5 -5
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +95 -95
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.d.ts +21 -21
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.d.ts +34 -34
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.d.ts +5 -5
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +81 -81
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.d.ts +26 -26
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.d.ts +44 -44
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +5 -5
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +29 -29
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.d.ts +44 -44
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.d.ts +9 -9
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.d.ts +22 -22
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.d.ts +40 -40
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +26 -26
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.d.ts +28 -28
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.d.ts +11 -11
- package/src/utils/common-translations.js +1 -1
- package/theme/changesnavigation.css +9 -0
- package/theme/revision/revision.css +9 -0
- package/theme/revision/revisionactions.css +11 -0
- package/theme/revision/revisionauthor.css +9 -0
- package/theme/revision/revisionname.css +9 -0
- package/theme/revision/subrevision.css +9 -0
- package/theme/revision/subrevisioncollapser.css +9 -0
- package/theme/revisionhistorysaverevisionform.css +5 -1
- package/theme/revisionssidebar/revisionssidebar.css +9 -0
- package/theme/revisionssidebar/revisionssidebarheader.css +9 -0
- package/theme/revisionssidebar/revisionssidebartimeperiod.css +9 -0
- package/theme/revisionviewer.css +9 -0
- package/theme/revisionviewerloadingoverlay.css +9 -0
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module revision-history/ui/revision/revisionview
|
|
7
|
-
*/
|
|
8
|
-
import type { BaseEvent, Locale } from 'ckeditor5/src/utils';
|
|
9
|
-
import { View, type DropdownView } from 'ckeditor5/src/ui';
|
|
10
|
-
import RevisionNameView from './revisionnameview';
|
|
11
|
-
import '../../../theme/revision/revision.css';
|
|
12
|
-
import type Revision from '../../revision';
|
|
13
|
-
import type { RevisionAction } from '../revisionssidebar/revisionssidebar';
|
|
14
|
-
declare const RevisionView_base: import("ckeditor5/src/utils").Mixed<typeof View, import("@ckeditor/ckeditor5-collaboration-core/src/utils/confirmmixin").ConfirmApi>;
|
|
15
|
-
/**
|
|
16
|
-
* TODO
|
|
17
|
-
*/
|
|
18
|
-
export default class RevisionView extends RevisionView_base {
|
|
19
|
-
id: string;
|
|
20
|
-
revisionNameView: RevisionNameView;
|
|
21
|
-
/**
|
|
22
|
-
* It holds the revision actions drop-down view if actions are provided,
|
|
23
|
-
* or just empty text otherwise.
|
|
24
|
-
*/
|
|
25
|
-
revisionActionsView: DropdownView | '';
|
|
26
|
-
/**
|
|
27
|
-
* @observable
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
* @observable
|
|
32
|
-
*/
|
|
33
|
-
createdAt: Date;
|
|
34
|
-
/**
|
|
35
|
-
* @observable
|
|
36
|
-
*/
|
|
37
|
-
isSelected: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* @observable
|
|
40
|
-
*/
|
|
41
|
-
isHighlighted: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* @observable
|
|
44
|
-
*/
|
|
45
|
-
isActionsDropdownOpen: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* @observable
|
|
48
|
-
*/
|
|
49
|
-
isReady: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* @observable
|
|
52
|
-
*/
|
|
53
|
-
isEnabled: boolean;
|
|
54
|
-
constructor(locale: Locale, revision: Revision, revisionActions: Array<RevisionAction>);
|
|
55
|
-
/**
|
|
56
|
-
* @inheritDoc
|
|
57
|
-
*/
|
|
58
|
-
render(): void;
|
|
59
|
-
/**
|
|
60
|
-
* TODO
|
|
61
|
-
*/
|
|
62
|
-
select(): void;
|
|
63
|
-
/**
|
|
64
|
-
* TODO
|
|
65
|
-
*/
|
|
66
|
-
deselect(): void;
|
|
67
|
-
/**
|
|
68
|
-
* TODO
|
|
69
|
-
*/
|
|
70
|
-
highlight(): void;
|
|
71
|
-
/**
|
|
72
|
-
* TODO
|
|
73
|
-
*/
|
|
74
|
-
unhighlight(): void;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* @eventName setName | revisionSetName
|
|
78
|
-
*/
|
|
79
|
-
export interface RevisionSetNameEvent extends BaseEvent {
|
|
80
|
-
name: 'setName' | 'revisionSetName';
|
|
81
|
-
args: [{
|
|
82
|
-
id: string;
|
|
83
|
-
name: string;
|
|
84
|
-
}];
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* @eventName select | revisionSelected
|
|
88
|
-
*/
|
|
89
|
-
export interface RevisionSelectedEvent extends BaseEvent {
|
|
90
|
-
name: 'select' | 'revisionSelected';
|
|
91
|
-
args: [{
|
|
92
|
-
id: string;
|
|
93
|
-
}];
|
|
94
|
-
}
|
|
95
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionview
|
|
7
|
+
*/
|
|
8
|
+
import type { BaseEvent, Locale } from 'ckeditor5/src/utils';
|
|
9
|
+
import { View, type DropdownView } from 'ckeditor5/src/ui';
|
|
10
|
+
import RevisionNameView from './revisionnameview';
|
|
11
|
+
import '../../../theme/revision/revision.css';
|
|
12
|
+
import type Revision from '../../revision';
|
|
13
|
+
import type { RevisionAction } from '../revisionssidebar/revisionssidebar';
|
|
14
|
+
declare const RevisionView_base: import("ckeditor5/src/utils").Mixed<typeof View, import("@ckeditor/ckeditor5-collaboration-core/src/utils/confirmmixin").ConfirmApi>;
|
|
15
|
+
/**
|
|
16
|
+
* TODO
|
|
17
|
+
*/
|
|
18
|
+
export default class RevisionView extends RevisionView_base {
|
|
19
|
+
id: string;
|
|
20
|
+
revisionNameView: RevisionNameView;
|
|
21
|
+
/**
|
|
22
|
+
* It holds the revision actions drop-down view if actions are provided,
|
|
23
|
+
* or just empty text otherwise.
|
|
24
|
+
*/
|
|
25
|
+
revisionActionsView: DropdownView | '';
|
|
26
|
+
/**
|
|
27
|
+
* @observable
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* @observable
|
|
32
|
+
*/
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
/**
|
|
35
|
+
* @observable
|
|
36
|
+
*/
|
|
37
|
+
isSelected: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @observable
|
|
40
|
+
*/
|
|
41
|
+
isHighlighted: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @observable
|
|
44
|
+
*/
|
|
45
|
+
isActionsDropdownOpen: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @observable
|
|
48
|
+
*/
|
|
49
|
+
isReady: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* @observable
|
|
52
|
+
*/
|
|
53
|
+
isEnabled: boolean;
|
|
54
|
+
constructor(locale: Locale, revision: Revision, revisionActions: Array<RevisionAction>);
|
|
55
|
+
/**
|
|
56
|
+
* @inheritDoc
|
|
57
|
+
*/
|
|
58
|
+
render(): void;
|
|
59
|
+
/**
|
|
60
|
+
* TODO
|
|
61
|
+
*/
|
|
62
|
+
select(): void;
|
|
63
|
+
/**
|
|
64
|
+
* TODO
|
|
65
|
+
*/
|
|
66
|
+
deselect(): void;
|
|
67
|
+
/**
|
|
68
|
+
* TODO
|
|
69
|
+
*/
|
|
70
|
+
highlight(): void;
|
|
71
|
+
/**
|
|
72
|
+
* TODO
|
|
73
|
+
*/
|
|
74
|
+
unhighlight(): void;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @eventName setName | revisionSetName
|
|
78
|
+
*/
|
|
79
|
+
export interface RevisionSetNameEvent extends BaseEvent {
|
|
80
|
+
name: 'setName' | 'revisionSetName';
|
|
81
|
+
args: [{
|
|
82
|
+
id: string;
|
|
83
|
+
name: string;
|
|
84
|
+
}];
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @eventName select | revisionSelected
|
|
88
|
+
*/
|
|
89
|
+
export interface RevisionSelectedEvent extends BaseEvent {
|
|
90
|
+
name: 'select' | 'revisionSelected';
|
|
91
|
+
args: [{
|
|
92
|
+
id: string;
|
|
93
|
+
}];
|
|
94
|
+
}
|
|
95
|
+
export {};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b9a=['revisionNameView','render','filter','unshift','bindTemplate','ck-revision-history-sidebar__revision__controls-wrapper','map','ck-revision-history-sidebar__revision-wrapper','_revision','creator','listenTo','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','change','fieldView','_createdAtFormatted','select','createdAt','ck-revision-history-sidebar__revision','length','deselect','ck-reset','highlight','ck-revision-history-sidebar__actions_dropdown_open','set','isSelected','unhighlight','isHighlighted','closest','name','element','ck-revision-history-sidebar__revision_selected','setName','value','isConfirm','isEnabled','isActionsDropdownOpen','setTemplate','revisionActionsView','div','span','bind','ck-revision-history-sidebar__revision-authors','.ck-thread__remove-confirm','ck-revision-history-sidebar__revision_highlighted','isReady','extendTemplate','ck-revision-history-sidebar__revision__date','srcElement','from','fire'];(function(_0x322284,_0x3b9a91){const _0x5820f7=function(_0x510af9){while(--_0x510af9){_0x322284['push'](_0x322284['shift']());}};_0x5820f7(++_0x3b9a91);}(_0x3b9a,0x136));const _0x5820=function(_0x322284,_0x3b9a91){_0x322284=_0x322284-0x0;let _0x5820f7=_0x3b9a[_0x322284];return _0x5820f7;};import{View as _0x2b9830,createLabeledInputText as _0x234e9e}from'ckeditor5/src/ui';import{ConfirmMixin as _0x29388a}from'ckeditor5-collaboration/src/collaboration-core';import _0x5310e6 from'./revisionnameview';import _0x3a3c63 from'./revisionauthorview';import{dateToPrettyFormat as _0x496ca4}from'./utils';import{createActionsDropdownView as _0x20014a}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class hi extends _0x29388a(_0x2b9830){constructor(_0x2422fa,_0x1fd044,_0x4d5f27){super(_0x2422fa);const _0x687a6f=this[_0x5820('0x2c')],_0x32cc34=function(_0x61a727,_0x402020){const _0xbd5ccc=Array[_0x5820('0x26')](_0x402020['authors'])[_0x5820('0x2a')](_0x4949b3=>_0x4949b3!=_0x402020['creator']);return _0x402020[_0x5820('0x31')]&&_0xbd5ccc[_0x5820('0x2b')](_0x402020['creator']),_0xbd5ccc[_0x5820('0x2e')](_0x120116=>new _0x3a3c63(_0x61a727,_0x120116,_0x120116==_0x402020[_0x5820('0x31')]));}(_0x2422fa,_0x1fd044);this['id']=_0x1fd044['id'],this[_0x5820('0x30')]=_0x1fd044,this[_0x5820('0x1e')](_0x5820('0x12'),_0x5820('0x6'))['to'](_0x1fd044),this[_0x5820('0x1e')](_0x5820('0x4'))['to'](this,_0x5820('0x6'),_0x4bdb4e=>_0x4bdb4e?_0x496ca4(_0x2422fa['uiLanguage'],_0x4bdb4e):void 0x0),this[_0x5820('0xd')]('isSelected',!0x1),this[_0x5820('0xd')](_0x5820('0x10'),!0x1),this['set'](_0x5820('0x19'),!0x1),this[_0x5820('0xd')](_0x5820('0x22'),!0x1),this[_0x5820('0xd')](_0x5820('0x18'),!0x1),this[_0x5820('0x28')]=new _0x5310e6(_0x2422fa,_0x234e9e),this[_0x5820('0x28')]['fieldView'][_0x5820('0x23')]({'attributes':{'maxlength':'220'}}),this[_0x5820('0x28')][_0x5820('0x3')][_0x5820('0x1e')]('value','placeholder')['to'](this,_0x5820('0x12'),_0x5820('0x4')),this['revisionNameView'][_0x5820('0x1e')]('isEnabled')['to'](this,_0x5820('0xe'),this,_0x5820('0x18'),(_0x90ad20,_0x56b41b)=>_0x90ad20&&_0x56b41b),this[_0x5820('0x1b')]=_0x4d5f27&&_0x4d5f27[_0x5820('0x8')]?_0x20014a(this,_0x4d5f27):'',this['revisionActionsView']&&this[_0x5820('0x1b')][_0x5820('0x1e')](_0x5820('0x18'))['to'](this),this[_0x5820('0x1a')]({'tag':'div','attributes':{'class':['ck',_0x5820('0xa'),_0x5820('0x2f'),_0x687a6f['if'](_0x5820('0x17'),_0x5820('0x1'))]},'children':[{'tag':_0x5820('0x1c'),'attributes':{'class':['ck',_0x5820('0xa'),_0x5820('0x7'),_0x687a6f['if'](_0x5820('0x18'),'ck-disabled',_0x4acf03=>!_0x4acf03),_0x687a6f['if'](_0x5820('0xe'),_0x5820('0x14')),_0x687a6f['if'](_0x5820('0x10'),_0x5820('0x21')),_0x687a6f['if']('isActionsDropdownOpen',_0x5820('0xc'))]},'children':[this[_0x5820('0x28')],{'tag':_0x5820('0x1d'),'attributes':{'class':['ck',_0x5820('0x24')]},'children':[{'text':_0x687a6f['to'](_0x5820('0x4'))}]},{'tag':_0x5820('0x1c'),'attributes':{'class':['ck',_0x5820('0x2d')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x5820('0x1f')]},'children':_0x32cc34}]},this[_0x5820('0x1b')]],'on':{'click':_0x687a6f['to'](_0x1c08bf=>{_0x1c08bf[_0x5820('0x25')][_0x5820('0x11')](_0x5820('0x20'))||this[_0x5820('0x22')]&&this[_0x5820('0x18')]&&this['fire'](_0x5820('0x5'),{'id':this['id']});})}}]});}[_0x5820('0x29')](){super[_0x5820('0x29')]();const _0x5b0e72=this[_0x5820('0x28')][_0x5820('0x3')][_0x5820('0x13')];this[_0x5820('0x0')](_0x5b0e72,_0x5820('0x2'),()=>{this[_0x5820('0x27')](_0x5820('0x15'),{'id':this['id'],'name':_0x5b0e72[_0x5820('0x16')]});});}[_0x5820('0x5')](){this[_0x5820('0xe')]=!0x0;}[_0x5820('0x9')](){this['isSelected']=!0x1;}[_0x5820('0xb')](){this[_0x5820('0x10')]=!0x0;}[_0x5820('0xf')](){this[_0x5820('0x10')]=!0x1;}}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module revision-history/ui/revision/subrevisioncollapserview
|
|
7
|
-
*/
|
|
8
|
-
import { View } from 'ckeditor5/src/ui';
|
|
9
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
-
import '../../../theme/revision/subrevisioncollapser.css';
|
|
11
|
-
export default class SubrevisionCollapserView extends View {
|
|
12
|
-
/**
|
|
13
|
-
* @observable
|
|
14
|
-
*/
|
|
15
|
-
isVisible: boolean;
|
|
16
|
-
constructor(locale: Locale);
|
|
17
|
-
/**
|
|
18
|
-
* TODO
|
|
19
|
-
*/
|
|
20
|
-
toggle(): void;
|
|
21
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/subrevisioncollapserview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
+
import '../../../theme/revision/subrevisioncollapser.css';
|
|
11
|
+
export default class SubrevisionCollapserView extends View {
|
|
12
|
+
/**
|
|
13
|
+
* @observable
|
|
14
|
+
*/
|
|
15
|
+
isVisible: boolean;
|
|
16
|
+
constructor(locale: Locale);
|
|
17
|
+
/**
|
|
18
|
+
* TODO
|
|
19
|
+
*/
|
|
20
|
+
toggle(): void;
|
|
21
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e5e=['bindTemplate','ck-hidden','button','ck-revision-history-sidebar__subrevision-collapser__inner','_isCollapsed','isVisible','click','ck-revision-history-sidebar__subrevision-collapser','true','set','ck-revision-history-sidebar__subrevision-collapser_collapsed','toggle','span'];(function(_0xa4be5e,_0x2e5e10){const _0x5d8f82=function(_0x11cca6){while(--_0x11cca6){_0xa4be5e['push'](_0xa4be5e['shift']());}};_0x5d8f82(++_0x2e5e10);}(_0x2e5e,0x8f));const _0x5d8f=function(_0xa4be5e,_0x2e5e10){_0xa4be5e=_0xa4be5e-0x0;let _0x5d8f82=_0x2e5e[_0xa4be5e];return _0x5d8f82;};import{View as _0x3cc2aa}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class is extends _0x3cc2aa{constructor(_0x79919c){super(_0x79919c);const _0x369a05=this[_0x5d8f('0x0')];this[_0x5d8f('0x9')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this['setTemplate']({'tag':'span','attributes':{'class':['ck',_0x5d8f('0x7'),_0x369a05['if'](_0x5d8f('0x5'),_0x5d8f('0x1'),_0x108b08=>!_0x108b08),_0x369a05['if'](_0x5d8f('0x4'),_0x5d8f('0xa'))],'role':_0x5d8f('0x2'),'aria-pressed':_0x369a05['to']('_isCollapsed',_0x3259e7=>_0x3259e7?'false':_0x5d8f('0x8'))},'children':[{'tag':_0x5d8f('0xc'),'attributes':{'class':['ck',_0x5d8f('0x3')]}}],'on':{'click':_0x369a05['to'](_0x5d8f('0x6'))}});}[_0x5d8f('0xb')](){this[_0x5d8f('0x4')]=!this[_0x5d8f('0x4')];}}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module revision-history/ui/revision/subrevisionview
|
|
7
|
-
*/
|
|
8
|
-
import { View } from 'ckeditor5/src/ui';
|
|
9
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
-
import '../../../theme/revision/subrevision.css';
|
|
11
|
-
import type Revision from '../../revision';
|
|
12
|
-
/**
|
|
13
|
-
* TODO
|
|
14
|
-
*/
|
|
15
|
-
export default class SubrevisionView extends View {
|
|
16
|
-
id: string;
|
|
17
|
-
/**
|
|
18
|
-
* @observable
|
|
19
|
-
*/
|
|
20
|
-
createdAt: Date;
|
|
21
|
-
/**
|
|
22
|
-
* @observable
|
|
23
|
-
*/
|
|
24
|
-
isSelected: boolean;
|
|
25
|
-
constructor(locale: Locale, subRevision: Revision, parentRevisionId: string);
|
|
26
|
-
/**
|
|
27
|
-
* TODO
|
|
28
|
-
*/
|
|
29
|
-
select(): void;
|
|
30
|
-
/**
|
|
31
|
-
* TODO
|
|
32
|
-
*/
|
|
33
|
-
deselect(): void;
|
|
34
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/subrevisionview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
+
import '../../../theme/revision/subrevision.css';
|
|
11
|
+
import type Revision from '../../revision';
|
|
12
|
+
/**
|
|
13
|
+
* TODO
|
|
14
|
+
*/
|
|
15
|
+
export default class SubrevisionView extends View {
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* @observable
|
|
19
|
+
*/
|
|
20
|
+
createdAt: Date;
|
|
21
|
+
/**
|
|
22
|
+
* @observable
|
|
23
|
+
*/
|
|
24
|
+
isSelected: boolean;
|
|
25
|
+
constructor(locale: Locale, subRevision: Revision, parentRevisionId: string);
|
|
26
|
+
/**
|
|
27
|
+
* TODO
|
|
28
|
+
*/
|
|
29
|
+
select(): void;
|
|
30
|
+
/**
|
|
31
|
+
* TODO
|
|
32
|
+
*/
|
|
33
|
+
deselect(): void;
|
|
34
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1070=['isSelected','createdAt','fire','uiLanguage','setTemplate','set','_parentRevisionId','_createdAtFormatted','ck-revision-history-sidebar__subrevision','ck-reset','bind','deselect','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision','select','div','span'];(function(_0x5aaf2f,_0x1070aa){const _0x54446d=function(_0x3b9ae0){while(--_0x3b9ae0){_0x5aaf2f['push'](_0x5aaf2f['shift']());}};_0x54446d(++_0x1070aa);}(_0x1070,0x1e1));const _0x5444=function(_0x5aaf2f,_0x1070aa){_0x5aaf2f=_0x5aaf2f-0x0;let _0x54446d=_0x1070[_0x5aaf2f];return _0x54446d;};import{View as _0x1f0433}from'ckeditor5/src/ui';import _0x229859 from'./revisionauthorview';import{dateToPrettyFormat as _0x2c6796}from'./utils';import'../../../theme/revision/subrevision.css';export default class ki extends _0x1f0433{constructor(_0x409901,_0x10da65,_0x5e3792){super(_0x409901);const _0x55a304=this['bindTemplate'];this['id']=_0x10da65['id'],this[_0x5444('0xf')](_0x5444('0x6'))['to'](_0x10da65),this[_0x5444('0xa')](_0x5444('0x5'),!0x1),this[_0x5444('0xf')](_0x5444('0xc'))['to'](this,_0x5444('0x6'),_0x19835b=>_0x19835b?_0x2c6796(_0x409901[_0x5444('0x8')],_0x19835b):void 0x0),this[_0x5444('0xb')]=_0x5e3792,this[_0x5444('0x9')]({'tag':_0x5444('0x3'),'attributes':{'class':['ck',_0x5444('0xe'),_0x5444('0x1'),_0x5444('0xd'),_0x55a304['if'](_0x5444('0x5'),'ck-revision-history-sidebar__revision_selected')]},'children':[{'tag':_0x5444('0x4'),'attributes':{'class':['ck',_0x5444('0x11')]},'children':[{'text':_0x55a304['to'](_0x5444('0xc'))}]},{'tag':'ul','attributes':{'class':['ck',_0x5444('0x0')]},'children':[new _0x229859(_0x409901,_0x10da65['creator'],!0x0)]}],'on':{'click':_0x55a304['to'](this[_0x5444('0x2')][_0x5444('0xf')](this))}});}[_0x5444('0x2')](){this[_0x5444('0x5')]=!0x0,this[_0x5444('0x7')](_0x5444('0x2'),{'parentId':this[_0x5444('0xb')]});}[_0x5444('0x10')](){this[_0x5444('0x5')]=!0x1;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
export {};
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5a89=['toLocaleTimeString','numeric'];(function(_0x5a6024,_0x5a894c){var _0x977e16=function(_0x2a45cb){while(--_0x2a45cb){_0x5a6024['push'](_0x5a6024['shift']());}};_0x977e16(++_0x5a894c);}(_0x5a89,0x1e0));var _0x977e=function(_0x5a6024,_0x5a894c){_0x5a6024=_0x5a6024-0x0;var _0x977e16=_0x5a89[_0x5a6024];return _0x977e16;};export function dateToPrettyFormat(_0xb316b8,_0x2530c3){return _0x2530c3['toLocaleDateString'](_0xb316b8,{'month':'long','day':_0x977e('0x1')})+',\x20'+_0x2530c3[_0x977e('0x0')](_0xb316b8,{'hour':_0x977e('0x1'),'minute':_0x977e('0x1')});}
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
import { ButtonView, LabeledFieldView, View, type InputTextView } from 'ckeditor5/src/ui';
|
|
6
|
-
import { type BaseEvent, FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils';
|
|
7
|
-
import '../../../theme/revisionhistorysaverevisionform.css';
|
|
8
|
-
import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';
|
|
9
|
-
/**
|
|
10
|
-
* The media form view controller class.
|
|
11
|
-
*
|
|
12
|
-
* See {@link module:media-embed/ui/mediaformview~MediaFormView}.
|
|
13
|
-
*/
|
|
14
|
-
export default class RevisionHistorySaveRevisionFormView extends View {
|
|
15
|
-
/**
|
|
16
|
-
* Tracks information about the DOM focus in the form.
|
|
17
|
-
*/
|
|
18
|
-
readonly focusTracker: FocusTracker;
|
|
19
|
-
/**
|
|
20
|
-
* An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
|
|
21
|
-
*/
|
|
22
|
-
readonly keystrokes: KeystrokeHandler;
|
|
23
|
-
/**
|
|
24
|
-
* The revision name input view.
|
|
25
|
-
*/
|
|
26
|
-
revisionNameInputView: LabeledFieldView<InputTextView>;
|
|
27
|
-
/**
|
|
28
|
-
* The Save button view.
|
|
29
|
-
*/
|
|
30
|
-
saveButtonView: ButtonView;
|
|
31
|
-
/**
|
|
32
|
-
* The Cancel button view.
|
|
33
|
-
*/
|
|
34
|
-
cancelButtonView: ButtonView;
|
|
35
|
-
/**
|
|
36
|
-
* The value of the revision name input.
|
|
37
|
-
*
|
|
38
|
-
* @observable
|
|
39
|
-
*/
|
|
40
|
-
revisionNameInputValue: string;
|
|
41
|
-
constructor(locale: Locale);
|
|
42
|
-
/**
|
|
43
|
-
* @inheritDoc
|
|
44
|
-
*/
|
|
45
|
-
render(): void;
|
|
46
|
-
/**
|
|
47
|
-
* Focuses the fist {@link #_focusables} in the form.
|
|
48
|
-
*/
|
|
49
|
-
focus(): void;
|
|
50
|
-
/**
|
|
51
|
-
* The native DOM `value` of the {@link #revisionNameInputView} element.
|
|
52
|
-
*
|
|
53
|
-
* **Note**: Do not confuse it with the {@link module:ui/inputtext/inputtextview~InputTextView#value}
|
|
54
|
-
* which works one way only and may not represent the actual state of the component in the DOM.
|
|
55
|
-
*/
|
|
56
|
-
get revisionName(): string;
|
|
57
|
-
set revisionName(name: string);
|
|
58
|
-
/**
|
|
59
|
-
* TODO
|
|
60
|
-
*/
|
|
61
|
-
reset(): void;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Fired when the form view is submitted (when one of the children triggered the submit event),
|
|
65
|
-
* e.g. click on {@link #saveButtonView}.
|
|
66
|
-
*
|
|
67
|
-
* @eventName submit
|
|
68
|
-
*/
|
|
69
|
-
export interface SaveRevisionFormSubmitEvent extends BaseEvent {
|
|
70
|
-
name: 'submit';
|
|
71
|
-
args: [];
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Fired when the form view is canceled, e.g. by a click on {@link #cancelButtonView}.
|
|
75
|
-
*
|
|
76
|
-
* @eventName cancel
|
|
77
|
-
*/
|
|
78
|
-
export interface SaveRevisionFormCancelEvent extends BaseEvent {
|
|
79
|
-
name: 'cancel';
|
|
80
|
-
args: [];
|
|
81
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import { ButtonView, LabeledFieldView, View, type InputTextView } from 'ckeditor5/src/ui';
|
|
6
|
+
import { type BaseEvent, FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils';
|
|
7
|
+
import '../../../theme/revisionhistorysaverevisionform.css';
|
|
8
|
+
import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';
|
|
9
|
+
/**
|
|
10
|
+
* The media form view controller class.
|
|
11
|
+
*
|
|
12
|
+
* See {@link module:media-embed/ui/mediaformview~MediaFormView}.
|
|
13
|
+
*/
|
|
14
|
+
export default class RevisionHistorySaveRevisionFormView extends View {
|
|
15
|
+
/**
|
|
16
|
+
* Tracks information about the DOM focus in the form.
|
|
17
|
+
*/
|
|
18
|
+
readonly focusTracker: FocusTracker;
|
|
19
|
+
/**
|
|
20
|
+
* An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
|
|
21
|
+
*/
|
|
22
|
+
readonly keystrokes: KeystrokeHandler;
|
|
23
|
+
/**
|
|
24
|
+
* The revision name input view.
|
|
25
|
+
*/
|
|
26
|
+
revisionNameInputView: LabeledFieldView<InputTextView>;
|
|
27
|
+
/**
|
|
28
|
+
* The Save button view.
|
|
29
|
+
*/
|
|
30
|
+
saveButtonView: ButtonView;
|
|
31
|
+
/**
|
|
32
|
+
* The Cancel button view.
|
|
33
|
+
*/
|
|
34
|
+
cancelButtonView: ButtonView;
|
|
35
|
+
/**
|
|
36
|
+
* The value of the revision name input.
|
|
37
|
+
*
|
|
38
|
+
* @observable
|
|
39
|
+
*/
|
|
40
|
+
revisionNameInputValue: string;
|
|
41
|
+
constructor(locale: Locale);
|
|
42
|
+
/**
|
|
43
|
+
* @inheritDoc
|
|
44
|
+
*/
|
|
45
|
+
render(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Focuses the fist {@link #_focusables} in the form.
|
|
48
|
+
*/
|
|
49
|
+
focus(): void;
|
|
50
|
+
/**
|
|
51
|
+
* The native DOM `value` of the {@link #revisionNameInputView} element.
|
|
52
|
+
*
|
|
53
|
+
* **Note**: Do not confuse it with the {@link module:ui/inputtext/inputtextview~InputTextView#value}
|
|
54
|
+
* which works one way only and may not represent the actual state of the component in the DOM.
|
|
55
|
+
*/
|
|
56
|
+
get revisionName(): string;
|
|
57
|
+
set revisionName(name: string);
|
|
58
|
+
/**
|
|
59
|
+
* TODO
|
|
60
|
+
*/
|
|
61
|
+
reset(): void;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Fired when the form view is submitted (when one of the children triggered the submit event),
|
|
65
|
+
* e.g. click on {@link #saveButtonView}.
|
|
66
|
+
*
|
|
67
|
+
* @eventName submit
|
|
68
|
+
*/
|
|
69
|
+
export interface SaveRevisionFormSubmitEvent extends BaseEvent {
|
|
70
|
+
name: 'submit';
|
|
71
|
+
args: [];
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Fired when the form view is canceled, e.g. by a click on {@link #cancelButtonView}.
|
|
75
|
+
*
|
|
76
|
+
* @eventName cancel
|
|
77
|
+
*/
|
|
78
|
+
export interface SaveRevisionFormCancelEvent extends BaseEvent {
|
|
79
|
+
name: 'cancel';
|
|
80
|
+
args: [];
|
|
81
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5783=['arrowleft','arrowdown','arrowright','Name\x20of\x20the\x20revision\x20(optional)','check','form','cancel','set','locale','value','delegate','Save','cancelButtonView','listenTo','input','label','220','shift\x20+\x20tab','forEach','submit','revisionNameInputValue','revisionNameInputView','_focusables','render','add','setTemplate','ck-button-cancel','tab','focusTracker','fieldView','focus','trim','element','_createButton','focusFirst','keystrokes','_focusCycler','ck-responsive-form','saveButtonView','_createRevisionNameInput'];(function(_0x10df56,_0x57830a){const _0x227428=function(_0x48c137){while(--_0x48c137){_0x10df56['push'](_0x10df56['shift']());}};_0x227428(++_0x57830a);}(_0x5783,0xaa));const _0x2274=function(_0x10df56,_0x57830a){_0x10df56=_0x10df56-0x0;let _0x227428=_0x5783[_0x10df56];return _0x227428;};import{icons as _0x1f6d80}from'ckeditor5/src/core';import{ButtonView as _0x10b52f,FocusCycler as _0x7c98d8,LabeledFieldView as _0x16cd9c,View as _0x3b6412,ViewCollection as _0x3b4389,createLabeledInputText as _0xb10766,injectCssTransitionDisabler as _0x32802c,submitHandler as _0x284b50}from'ckeditor5/src/ui';import{FocusTracker as _0x5af3f4,KeystrokeHandler as _0x3c6e5d}from'ckeditor5/src/utils';import{getTranslation as _0x1b5f70}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class _t extends _0x3b6412{constructor(_0x440da1){super(_0x440da1),this[_0x2274('0x12')]=new _0x5af3f4(),this[_0x2274('0x19')]=new _0x3c6e5d(),this[_0x2274('0x25')]('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](),this[_0x2274('0x1c')]=this[_0x2274('0x17')](_0x1b5f70(_0x440da1,_0x2274('0x1')),_0x1f6d80[_0x2274('0x22')],'ck-button-save'),this[_0x2274('0x1c')]['type']=_0x2274('0x9'),this[_0x2274('0x2')]=this[_0x2274('0x17')](_0x1b5f70(_0x440da1,'Cancel'),_0x1f6d80[_0x2274('0x24')],_0x2274('0x10'),'cancel'),this[_0x2274('0xc')]=new _0x3b4389(),this['_focusCycler']=new _0x7c98d8({'focusables':this['_focusables'],'focusTracker':this[_0x2274('0x12')],'keystrokeHandler':this[_0x2274('0x19')],'actions':{'focusPrevious':_0x2274('0x7'),'focusNext':_0x2274('0x11')}}),this[_0x2274('0xf')]({'tag':_0x2274('0x23'),'attributes':{'class':['ck','ck-revision-history-save-revision-form',_0x2274('0x1b')],'tabindex':'-1'},'children':[this['revisionNameInputView'],this[_0x2274('0x1c')],this[_0x2274('0x2')]]}),_0x32802c(this);}[_0x2274('0xd')](){super[_0x2274('0xd')](),_0x284b50({'view':this}),([this[_0x2274('0xb')],this['saveButtonView'],this[_0x2274('0x2')]][_0x2274('0x8')](_0x2eea70=>{this[_0x2274('0xc')][_0x2274('0xe')](_0x2eea70),this[_0x2274('0x12')][_0x2274('0xe')](_0x2eea70[_0x2274('0x16')]);}),this['keystrokes'][_0x2274('0x3')](this[_0x2274('0x16')]));const _0x184199=_0x28078a=>_0x28078a['stopPropagation']();this[_0x2274('0x19')][_0x2274('0x25')](_0x2274('0x20'),_0x184199),this[_0x2274('0x19')][_0x2274('0x25')](_0x2274('0x1e'),_0x184199),this[_0x2274('0x19')]['set']('arrowup',_0x184199),this['keystrokes']['set'](_0x2274('0x1f'),_0x184199);}[_0x2274('0x14')](){this[_0x2274('0x1a')][_0x2274('0x18')]();}get['revisionName'](){return this[_0x2274('0xb')][_0x2274('0x13')]['element'][_0x2274('0x27')]['trim']();}set['revisionName'](_0x3c60bb){this['revisionNameInputView'][_0x2274('0x13')]['element'][_0x2274('0x27')]=_0x3c60bb[_0x2274('0x15')]();}['reset'](){this[_0x2274('0xb')]['fieldView'][_0x2274('0x16')]['value']='';}[_0x2274('0x1d')](){const _0x691991=new _0x16cd9c(this[_0x2274('0x26')],_0xb10766),_0x5387e4=_0x691991[_0x2274('0x13')];return _0x5387e4['extendTemplate']({'attributes':{'maxlength':_0x2274('0x6')}}),_0x691991[_0x2274('0x5')]=_0x1b5f70(this['locale'],_0x2274('0x21')),_0x5387e4['on'](_0x2274('0x4'),()=>{this[_0x2274('0xa')]=_0x5387e4['element'][_0x2274('0x27')][_0x2274('0x15')]();}),_0x691991;}[_0x2274('0x17')](_0xdb9fe8,_0x153951,_0x236b21,_0xd97b37){const _0x49c370=new _0x10b52f(this['locale']);return _0x49c370[_0x2274('0x25')]({'label':_0xdb9fe8,'icon':_0x153951,'tooltip':!0x0}),_0x49c370['extendTemplate']({'attributes':{'class':_0x236b21}}),_0xd97b37&&_0x49c370[_0x2274('0x0')]('execute')['to'](this,_0xd97b37),_0x49c370;}}
|