@progress/kendo-vue-editor 3.7.4-dev.202212020747 → 3.7.4-dev.202301091431
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/README.md +1 -1
- package/dist/cdn/js/kendo-vue-editor.js +1 -1
- package/dist/es/Editor.js +16 -3
- package/dist/es/config/toolsSettings.d.ts +4 -0
- package/dist/es/dialogs/FindReplace.js +170 -147
- package/dist/es/messages/main.d.ts +4 -0
- package/dist/es/messages/main.js +12 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tools/applyColor.js +6 -3
- package/dist/esm/Editor.js +16 -3
- package/dist/esm/config/toolsSettings.d.ts +4 -0
- package/dist/esm/dialogs/FindReplace.js +170 -147
- package/dist/esm/messages/main.d.ts +4 -0
- package/dist/esm/messages/main.js +12 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/tools/applyColor.js +6 -3
- package/dist/npm/Editor.js +16 -3
- package/dist/npm/config/toolsSettings.d.ts +4 -0
- package/dist/npm/dialogs/FindReplace.js +170 -147
- package/dist/npm/messages/main.d.ts +4 -0
- package/dist/npm/messages/main.js +12 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tools/applyColor.js +6 -3
- package/package.json +16 -14
package/dist/npm/Editor.js
CHANGED
|
@@ -392,15 +392,26 @@ var EditorVue2 = {
|
|
|
392
392
|
};
|
|
393
393
|
var renderTool = function renderTool(currentTool, _index) {
|
|
394
394
|
var ct = exports.allTools[currentTool] || currentTool;
|
|
395
|
+
var getAriaLabel = function getAriaLabel() {
|
|
396
|
+
var ariaLabel;
|
|
397
|
+
if (currentTool === 'ForeColor') {
|
|
398
|
+
ariaLabel = ls.toLanguageString(main_2.keys.foregroundColorAriaLabel, main_2.messages[main_2.keys.foregroundColorAriaLabel]);
|
|
399
|
+
} else if (currentTool === 'BackColor') {
|
|
400
|
+
ariaLabel = ls.toLanguageString(main_2.keys.backgroundColor, main_2.messages[main_2.keys.backgroundColor]);
|
|
401
|
+
}
|
|
402
|
+
return ariaLabel;
|
|
403
|
+
};
|
|
395
404
|
if (exports.allTools[currentTool]) {
|
|
396
405
|
toolindex++;
|
|
397
|
-
var toolProps = __assign({
|
|
406
|
+
var toolProps = __assign(__assign({
|
|
398
407
|
view: view,
|
|
399
408
|
dir: this.$props.dir,
|
|
400
409
|
key: toolindex,
|
|
401
410
|
updateGuid: this.updateGuid,
|
|
402
411
|
settings: exports.allTools[currentTool].props
|
|
403
|
-
}, exports.allTools[currentTool].props)
|
|
412
|
+
}, exports.allTools[currentTool].props), {
|
|
413
|
+
ariaLabel: getAriaLabel()
|
|
414
|
+
});
|
|
404
415
|
return h(this.v3 ? markRaw(exports.allTools[currentTool].comp) : exports.allTools[currentTool].comp, this.v3 ? toolProps : {
|
|
405
416
|
props: toolProps
|
|
406
417
|
});
|
|
@@ -445,7 +456,7 @@ var EditorVue2 = {
|
|
|
445
456
|
}, this);
|
|
446
457
|
return h("div", {
|
|
447
458
|
"class": (0, kendo_vue_common_1.classNames)('k-widget k-editor', {
|
|
448
|
-
'k-
|
|
459
|
+
'k-resizable': this.$props.resizable
|
|
449
460
|
}),
|
|
450
461
|
dir: this.$props.dir,
|
|
451
462
|
attrs: this.v3 ? undefined : {
|
|
@@ -454,6 +465,7 @@ var EditorVue2 = {
|
|
|
454
465
|
}, [buttons.length > 0 &&
|
|
455
466
|
// @ts-ignore function children
|
|
456
467
|
h(kendo_vue_buttons_1.Toolbar, {
|
|
468
|
+
"class": 'k-editor-toolbar',
|
|
457
469
|
keyboardNavigation: this.$props.keyboardNavigation,
|
|
458
470
|
attrs: this.v3 ? undefined : {
|
|
459
471
|
keyboardNavigation: this.$props.keyboardNavigation
|
|
@@ -550,6 +562,7 @@ var EditorVue2 = {
|
|
|
550
562
|
this.contentElement = iframeDocument_1.createElement('div');
|
|
551
563
|
iframeDocument_1.body.appendChild(this.contentElement);
|
|
552
564
|
this.contentElement.classList.add('k-content');
|
|
565
|
+
this.contentElement.setAttribute('role', 'main');
|
|
553
566
|
}
|
|
554
567
|
var dom = this.contentElement;
|
|
555
568
|
if (!dom) {
|
|
@@ -158,6 +158,10 @@ export declare namespace EditorToolsSettings {
|
|
|
158
158
|
* The dir of the applied command.
|
|
159
159
|
*/
|
|
160
160
|
dir?: String;
|
|
161
|
+
/**
|
|
162
|
+
* The ariaLabel of the applied command.
|
|
163
|
+
*/
|
|
164
|
+
ariaLabel?: String;
|
|
161
165
|
}
|
|
162
166
|
/**
|
|
163
167
|
* The setting of the IndentAction tool.
|
|
@@ -10,6 +10,7 @@ var allVue = Vue;
|
|
|
10
10
|
var gh = allVue.h;
|
|
11
11
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
12
12
|
var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
|
|
13
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
13
14
|
var kendo_vue_dialogs_1 = require("@progress/kendo-vue-dialogs");
|
|
14
15
|
var kendo_vue_layout_1 = require("@progress/kendo-vue-layout");
|
|
15
16
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
@@ -17,6 +18,7 @@ var main_1 = require("../messages/main");
|
|
|
17
18
|
var toolsSettings_1 = require("./../config/toolsSettings");
|
|
18
19
|
var utils_1 = require("./../tools/utils");
|
|
19
20
|
var kendo_editor_common_1 = require("@progress/kendo-editor-common");
|
|
21
|
+
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
20
22
|
var enter = 13,
|
|
21
23
|
esc = 27;
|
|
22
24
|
var settings = toolsSettings_1.EditorToolsSettings.findAndReplace;
|
|
@@ -120,7 +122,7 @@ var FindAndReplaceDialogVue2 = {
|
|
|
120
122
|
},
|
|
121
123
|
// @ts-ignore
|
|
122
124
|
render: function render(createElement) {
|
|
123
|
-
var
|
|
125
|
+
var _this2 = this;
|
|
124
126
|
var h = gh || createElement;
|
|
125
127
|
var localization = (0, kendo_vue_intl_1.provideLocalizationService)(this);
|
|
126
128
|
var _a = this.settings.messages,
|
|
@@ -238,6 +240,7 @@ var FindAndReplaceDialogVue2 = {
|
|
|
238
240
|
"class": "k-checkbox-label"
|
|
239
241
|
}, [localization.toLanguageString(findReplaceUseRegExp, main_1.messages[findReplaceUseRegExp])])])]);
|
|
240
242
|
var navigation = function navigation(findWhatRef) {
|
|
243
|
+
var _this = this;
|
|
241
244
|
var isRtl = this.$props.dir === 'rtl';
|
|
242
245
|
var prevButton =
|
|
243
246
|
// @ts-ignore function children
|
|
@@ -253,11 +256,21 @@ var FindAndReplaceDialogVue2 = {
|
|
|
253
256
|
"click": this.onFindPrev
|
|
254
257
|
}
|
|
255
258
|
}, this.v3 ? function () {
|
|
256
|
-
return [h(
|
|
257
|
-
|
|
259
|
+
return [h(kendo_vue_common_1.Icon, {
|
|
260
|
+
name: "chevron-".concat(isRtl ? 'right' : 'left'),
|
|
261
|
+
attrs: _this.v3 ? undefined : {
|
|
262
|
+
name: "chevron-".concat(isRtl ? 'right' : 'left'),
|
|
263
|
+
icon: isRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon
|
|
264
|
+
},
|
|
265
|
+
icon: isRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon
|
|
258
266
|
}), localization.toLanguageString(findReplacePrevMatch, main_1.messages[findReplacePrevMatch])];
|
|
259
|
-
} : [h(
|
|
260
|
-
|
|
267
|
+
} : [h(kendo_vue_common_1.Icon, {
|
|
268
|
+
name: "chevron-".concat(isRtl ? 'right' : 'left'),
|
|
269
|
+
attrs: _this.v3 ? undefined : {
|
|
270
|
+
name: "chevron-".concat(isRtl ? 'right' : 'left'),
|
|
271
|
+
icon: isRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon
|
|
272
|
+
},
|
|
273
|
+
icon: isRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon
|
|
261
274
|
}), localization.toLanguageString(findReplacePrevMatch, main_1.messages[findReplacePrevMatch])]);
|
|
262
275
|
var nextButton =
|
|
263
276
|
// @ts-ignore function children
|
|
@@ -273,11 +286,21 @@ var FindAndReplaceDialogVue2 = {
|
|
|
273
286
|
"click": this.onFindNext
|
|
274
287
|
}
|
|
275
288
|
}, this.v3 ? function () {
|
|
276
|
-
return [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h(
|
|
277
|
-
|
|
289
|
+
return [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h(kendo_vue_common_1.Icon, {
|
|
290
|
+
name: "chevron-".concat(isRtl ? 'left' : 'right'),
|
|
291
|
+
attrs: _this.v3 ? undefined : {
|
|
292
|
+
name: "chevron-".concat(isRtl ? 'left' : 'right'),
|
|
293
|
+
icon: isRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon
|
|
294
|
+
},
|
|
295
|
+
icon: isRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon
|
|
278
296
|
})];
|
|
279
|
-
} : [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h(
|
|
280
|
-
|
|
297
|
+
} : [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h(kendo_vue_common_1.Icon, {
|
|
298
|
+
name: "chevron-".concat(isRtl ? 'left' : 'right'),
|
|
299
|
+
attrs: _this.v3 ? undefined : {
|
|
300
|
+
name: "chevron-".concat(isRtl ? 'left' : 'right'),
|
|
301
|
+
icon: isRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon
|
|
302
|
+
},
|
|
303
|
+
icon: isRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon
|
|
281
304
|
})]);
|
|
282
305
|
return h("div", {
|
|
283
306
|
"class": "k-matches-container"
|
|
@@ -394,327 +417,327 @@ var FindAndReplaceDialogVue2 = {
|
|
|
394
417
|
return [
|
|
395
418
|
// @ts-ignore function children
|
|
396
419
|
h(kendo_vue_layout_1.TabStrip, {
|
|
397
|
-
dir:
|
|
398
|
-
attrs:
|
|
399
|
-
dir:
|
|
400
|
-
selected:
|
|
420
|
+
dir: _this2.$props.dir,
|
|
421
|
+
attrs: _this2.v3 ? undefined : {
|
|
422
|
+
dir: _this2.$props.dir,
|
|
423
|
+
selected: _this2.selectedTab,
|
|
401
424
|
animation: false
|
|
402
425
|
},
|
|
403
|
-
selected:
|
|
426
|
+
selected: _this2.selectedTab,
|
|
404
427
|
"class": "k-editor-find-replace",
|
|
405
|
-
onSelect:
|
|
406
|
-
on:
|
|
407
|
-
"select":
|
|
428
|
+
onSelect: _this2.onTabSelect,
|
|
429
|
+
on: _this2.v3 ? undefined : {
|
|
430
|
+
"select": _this2.onTabSelect
|
|
408
431
|
},
|
|
409
432
|
animation: false
|
|
410
|
-
},
|
|
433
|
+
}, _this2.v3 ? function () {
|
|
411
434
|
return [
|
|
412
435
|
// @ts-ignore function children
|
|
413
436
|
h(kendo_vue_layout_1.TabStripTab, {
|
|
414
437
|
title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind]),
|
|
415
|
-
attrs:
|
|
438
|
+
attrs: _this2.v3 ? undefined : {
|
|
416
439
|
title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind])
|
|
417
440
|
}
|
|
418
|
-
},
|
|
441
|
+
}, _this2.v3 ? function () {
|
|
419
442
|
return [h("div", {
|
|
420
443
|
"class": "k-edit-form-container"
|
|
421
|
-
}, [findWhatLabel.call(
|
|
444
|
+
}, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
|
|
422
445
|
} : [h("div", {
|
|
423
446
|
"class": "k-edit-form-container"
|
|
424
|
-
}, [findWhatLabel.call(
|
|
447
|
+
}, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]),
|
|
425
448
|
// @ts-ignore function children
|
|
426
449
|
h(kendo_vue_layout_1.TabStripTab, {
|
|
427
450
|
title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace]),
|
|
428
|
-
attrs:
|
|
451
|
+
attrs: _this2.v3 ? undefined : {
|
|
429
452
|
title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace])
|
|
430
453
|
}
|
|
431
|
-
},
|
|
454
|
+
}, _this2.v3 ? function () {
|
|
432
455
|
return [h("div", {
|
|
433
456
|
"class": "k-edit-form-container"
|
|
434
|
-
}, [findWhatLabel.call(
|
|
457
|
+
}, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
|
|
435
458
|
"class": "k-actions k-hstack k-justify-content-end"
|
|
436
459
|
}, [
|
|
437
460
|
// @ts-ignore function children
|
|
438
461
|
h(kendo_vue_buttons_1.Button, {
|
|
439
462
|
disabled: !Boolean(nextMatch),
|
|
440
|
-
attrs:
|
|
463
|
+
attrs: _this2.v3 ? undefined : {
|
|
441
464
|
disabled: !Boolean(nextMatch)
|
|
442
465
|
},
|
|
443
|
-
onClick:
|
|
444
|
-
on:
|
|
445
|
-
"click":
|
|
466
|
+
onClick: _this2.onReplace,
|
|
467
|
+
on: _this2.v3 ? undefined : {
|
|
468
|
+
"click": _this2.onReplace
|
|
446
469
|
}
|
|
447
|
-
},
|
|
470
|
+
}, _this2.v3 ? function () {
|
|
448
471
|
return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
|
|
449
472
|
} : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]),
|
|
450
473
|
// @ts-ignore function children
|
|
451
474
|
h(kendo_vue_buttons_1.Button, {
|
|
452
475
|
disabled: !Boolean(nextMatch),
|
|
453
|
-
attrs:
|
|
476
|
+
attrs: _this2.v3 ? undefined : {
|
|
454
477
|
disabled: !Boolean(nextMatch)
|
|
455
478
|
},
|
|
456
|
-
onClick:
|
|
457
|
-
on:
|
|
458
|
-
"click":
|
|
479
|
+
onClick: _this2.onReplaceAll,
|
|
480
|
+
on: _this2.v3 ? undefined : {
|
|
481
|
+
"click": _this2.onReplaceAll
|
|
459
482
|
}
|
|
460
|
-
},
|
|
483
|
+
}, _this2.v3 ? function () {
|
|
461
484
|
return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
|
|
462
|
-
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(
|
|
485
|
+
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')];
|
|
463
486
|
} : [h("div", {
|
|
464
487
|
"class": "k-edit-form-container"
|
|
465
|
-
}, [findWhatLabel.call(
|
|
488
|
+
}, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
|
|
466
489
|
"class": "k-actions k-hstack k-justify-content-end"
|
|
467
490
|
}, [h(kendo_vue_buttons_1.Button, {
|
|
468
491
|
disabled: !Boolean(nextMatch),
|
|
469
|
-
attrs:
|
|
492
|
+
attrs: _this2.v3 ? undefined : {
|
|
470
493
|
disabled: !Boolean(nextMatch)
|
|
471
494
|
},
|
|
472
|
-
onClick:
|
|
473
|
-
on:
|
|
474
|
-
"click":
|
|
495
|
+
onClick: _this2.onReplace,
|
|
496
|
+
on: _this2.v3 ? undefined : {
|
|
497
|
+
"click": _this2.onReplace
|
|
475
498
|
}
|
|
476
|
-
},
|
|
499
|
+
}, _this2.v3 ? function () {
|
|
477
500
|
return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
|
|
478
501
|
} : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
|
|
479
502
|
disabled: !Boolean(nextMatch),
|
|
480
|
-
attrs:
|
|
503
|
+
attrs: _this2.v3 ? undefined : {
|
|
481
504
|
disabled: !Boolean(nextMatch)
|
|
482
505
|
},
|
|
483
|
-
onClick:
|
|
484
|
-
on:
|
|
485
|
-
"click":
|
|
506
|
+
onClick: _this2.onReplaceAll,
|
|
507
|
+
on: _this2.v3 ? undefined : {
|
|
508
|
+
"click": _this2.onReplaceAll
|
|
486
509
|
}
|
|
487
|
-
},
|
|
510
|
+
}, _this2.v3 ? function () {
|
|
488
511
|
return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
|
|
489
|
-
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(
|
|
512
|
+
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')])];
|
|
490
513
|
} : [h(kendo_vue_layout_1.TabStripTab, {
|
|
491
514
|
title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind]),
|
|
492
|
-
attrs:
|
|
515
|
+
attrs: _this2.v3 ? undefined : {
|
|
493
516
|
title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind])
|
|
494
517
|
}
|
|
495
|
-
},
|
|
518
|
+
}, _this2.v3 ? function () {
|
|
496
519
|
return [h("div", {
|
|
497
520
|
"class": "k-edit-form-container"
|
|
498
|
-
}, [findWhatLabel.call(
|
|
521
|
+
}, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
|
|
499
522
|
} : [h("div", {
|
|
500
523
|
"class": "k-edit-form-container"
|
|
501
|
-
}, [findWhatLabel.call(
|
|
524
|
+
}, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
|
|
502
525
|
title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace]),
|
|
503
|
-
attrs:
|
|
526
|
+
attrs: _this2.v3 ? undefined : {
|
|
504
527
|
title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace])
|
|
505
528
|
}
|
|
506
|
-
},
|
|
529
|
+
}, _this2.v3 ? function () {
|
|
507
530
|
return [h("div", {
|
|
508
531
|
"class": "k-edit-form-container"
|
|
509
|
-
}, [findWhatLabel.call(
|
|
532
|
+
}, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
|
|
510
533
|
"class": "k-actions k-hstack k-justify-content-end"
|
|
511
534
|
}, [h(kendo_vue_buttons_1.Button, {
|
|
512
535
|
disabled: !Boolean(nextMatch),
|
|
513
|
-
attrs:
|
|
536
|
+
attrs: _this2.v3 ? undefined : {
|
|
514
537
|
disabled: !Boolean(nextMatch)
|
|
515
538
|
},
|
|
516
|
-
onClick:
|
|
517
|
-
on:
|
|
518
|
-
"click":
|
|
539
|
+
onClick: _this2.onReplace,
|
|
540
|
+
on: _this2.v3 ? undefined : {
|
|
541
|
+
"click": _this2.onReplace
|
|
519
542
|
}
|
|
520
|
-
},
|
|
543
|
+
}, _this2.v3 ? function () {
|
|
521
544
|
return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
|
|
522
545
|
} : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
|
|
523
546
|
disabled: !Boolean(nextMatch),
|
|
524
|
-
attrs:
|
|
547
|
+
attrs: _this2.v3 ? undefined : {
|
|
525
548
|
disabled: !Boolean(nextMatch)
|
|
526
549
|
},
|
|
527
|
-
onClick:
|
|
528
|
-
on:
|
|
529
|
-
"click":
|
|
550
|
+
onClick: _this2.onReplaceAll,
|
|
551
|
+
on: _this2.v3 ? undefined : {
|
|
552
|
+
"click": _this2.onReplaceAll
|
|
530
553
|
}
|
|
531
|
-
},
|
|
554
|
+
}, _this2.v3 ? function () {
|
|
532
555
|
return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
|
|
533
|
-
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(
|
|
556
|
+
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')];
|
|
534
557
|
} : [h("div", {
|
|
535
558
|
"class": "k-edit-form-container"
|
|
536
|
-
}, [findWhatLabel.call(
|
|
559
|
+
}, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
|
|
537
560
|
"class": "k-actions k-hstack k-justify-content-end"
|
|
538
561
|
}, [h(kendo_vue_buttons_1.Button, {
|
|
539
562
|
disabled: !Boolean(nextMatch),
|
|
540
|
-
attrs:
|
|
563
|
+
attrs: _this2.v3 ? undefined : {
|
|
541
564
|
disabled: !Boolean(nextMatch)
|
|
542
565
|
},
|
|
543
|
-
onClick:
|
|
544
|
-
on:
|
|
545
|
-
"click":
|
|
566
|
+
onClick: _this2.onReplace,
|
|
567
|
+
on: _this2.v3 ? undefined : {
|
|
568
|
+
"click": _this2.onReplace
|
|
546
569
|
}
|
|
547
|
-
},
|
|
570
|
+
}, _this2.v3 ? function () {
|
|
548
571
|
return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
|
|
549
572
|
} : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
|
|
550
573
|
disabled: !Boolean(nextMatch),
|
|
551
|
-
attrs:
|
|
574
|
+
attrs: _this2.v3 ? undefined : {
|
|
552
575
|
disabled: !Boolean(nextMatch)
|
|
553
576
|
},
|
|
554
|
-
onClick:
|
|
555
|
-
on:
|
|
556
|
-
"click":
|
|
577
|
+
onClick: _this2.onReplaceAll,
|
|
578
|
+
on: _this2.v3 ? undefined : {
|
|
579
|
+
"click": _this2.onReplaceAll
|
|
557
580
|
}
|
|
558
|
-
},
|
|
581
|
+
}, _this2.v3 ? function () {
|
|
559
582
|
return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
|
|
560
|
-
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(
|
|
583
|
+
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')])])];
|
|
561
584
|
} : [h(kendo_vue_layout_1.TabStrip, {
|
|
562
|
-
dir:
|
|
563
|
-
attrs:
|
|
564
|
-
dir:
|
|
565
|
-
selected:
|
|
585
|
+
dir: _this2.$props.dir,
|
|
586
|
+
attrs: _this2.v3 ? undefined : {
|
|
587
|
+
dir: _this2.$props.dir,
|
|
588
|
+
selected: _this2.selectedTab,
|
|
566
589
|
animation: false
|
|
567
590
|
},
|
|
568
|
-
selected:
|
|
591
|
+
selected: _this2.selectedTab,
|
|
569
592
|
"class": "k-editor-find-replace",
|
|
570
|
-
onSelect:
|
|
571
|
-
on:
|
|
572
|
-
"select":
|
|
593
|
+
onSelect: _this2.onTabSelect,
|
|
594
|
+
on: _this2.v3 ? undefined : {
|
|
595
|
+
"select": _this2.onTabSelect
|
|
573
596
|
},
|
|
574
597
|
animation: false
|
|
575
|
-
},
|
|
598
|
+
}, _this2.v3 ? function () {
|
|
576
599
|
return [h(kendo_vue_layout_1.TabStripTab, {
|
|
577
600
|
title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind]),
|
|
578
|
-
attrs:
|
|
601
|
+
attrs: _this2.v3 ? undefined : {
|
|
579
602
|
title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind])
|
|
580
603
|
}
|
|
581
|
-
},
|
|
604
|
+
}, _this2.v3 ? function () {
|
|
582
605
|
return [h("div", {
|
|
583
606
|
"class": "k-edit-form-container"
|
|
584
|
-
}, [findWhatLabel.call(
|
|
607
|
+
}, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
|
|
585
608
|
} : [h("div", {
|
|
586
609
|
"class": "k-edit-form-container"
|
|
587
|
-
}, [findWhatLabel.call(
|
|
610
|
+
}, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
|
|
588
611
|
title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace]),
|
|
589
|
-
attrs:
|
|
612
|
+
attrs: _this2.v3 ? undefined : {
|
|
590
613
|
title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace])
|
|
591
614
|
}
|
|
592
|
-
},
|
|
615
|
+
}, _this2.v3 ? function () {
|
|
593
616
|
return [h("div", {
|
|
594
617
|
"class": "k-edit-form-container"
|
|
595
|
-
}, [findWhatLabel.call(
|
|
618
|
+
}, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
|
|
596
619
|
"class": "k-actions k-hstack k-justify-content-end"
|
|
597
620
|
}, [h(kendo_vue_buttons_1.Button, {
|
|
598
621
|
disabled: !Boolean(nextMatch),
|
|
599
|
-
attrs:
|
|
622
|
+
attrs: _this2.v3 ? undefined : {
|
|
600
623
|
disabled: !Boolean(nextMatch)
|
|
601
624
|
},
|
|
602
|
-
onClick:
|
|
603
|
-
on:
|
|
604
|
-
"click":
|
|
625
|
+
onClick: _this2.onReplace,
|
|
626
|
+
on: _this2.v3 ? undefined : {
|
|
627
|
+
"click": _this2.onReplace
|
|
605
628
|
}
|
|
606
|
-
},
|
|
629
|
+
}, _this2.v3 ? function () {
|
|
607
630
|
return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
|
|
608
631
|
} : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
|
|
609
632
|
disabled: !Boolean(nextMatch),
|
|
610
|
-
attrs:
|
|
633
|
+
attrs: _this2.v3 ? undefined : {
|
|
611
634
|
disabled: !Boolean(nextMatch)
|
|
612
635
|
},
|
|
613
|
-
onClick:
|
|
614
|
-
on:
|
|
615
|
-
"click":
|
|
636
|
+
onClick: _this2.onReplaceAll,
|
|
637
|
+
on: _this2.v3 ? undefined : {
|
|
638
|
+
"click": _this2.onReplaceAll
|
|
616
639
|
}
|
|
617
|
-
},
|
|
640
|
+
}, _this2.v3 ? function () {
|
|
618
641
|
return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
|
|
619
|
-
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(
|
|
642
|
+
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')];
|
|
620
643
|
} : [h("div", {
|
|
621
644
|
"class": "k-edit-form-container"
|
|
622
|
-
}, [findWhatLabel.call(
|
|
645
|
+
}, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
|
|
623
646
|
"class": "k-actions k-hstack k-justify-content-end"
|
|
624
647
|
}, [h(kendo_vue_buttons_1.Button, {
|
|
625
648
|
disabled: !Boolean(nextMatch),
|
|
626
|
-
attrs:
|
|
649
|
+
attrs: _this2.v3 ? undefined : {
|
|
627
650
|
disabled: !Boolean(nextMatch)
|
|
628
651
|
},
|
|
629
|
-
onClick:
|
|
630
|
-
on:
|
|
631
|
-
"click":
|
|
652
|
+
onClick: _this2.onReplace,
|
|
653
|
+
on: _this2.v3 ? undefined : {
|
|
654
|
+
"click": _this2.onReplace
|
|
632
655
|
}
|
|
633
|
-
},
|
|
656
|
+
}, _this2.v3 ? function () {
|
|
634
657
|
return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
|
|
635
658
|
} : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
|
|
636
659
|
disabled: !Boolean(nextMatch),
|
|
637
|
-
attrs:
|
|
660
|
+
attrs: _this2.v3 ? undefined : {
|
|
638
661
|
disabled: !Boolean(nextMatch)
|
|
639
662
|
},
|
|
640
|
-
onClick:
|
|
641
|
-
on:
|
|
642
|
-
"click":
|
|
663
|
+
onClick: _this2.onReplaceAll,
|
|
664
|
+
on: _this2.v3 ? undefined : {
|
|
665
|
+
"click": _this2.onReplaceAll
|
|
643
666
|
}
|
|
644
|
-
},
|
|
667
|
+
}, _this2.v3 ? function () {
|
|
645
668
|
return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
|
|
646
|
-
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(
|
|
669
|
+
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')])];
|
|
647
670
|
} : [h(kendo_vue_layout_1.TabStripTab, {
|
|
648
671
|
title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind]),
|
|
649
|
-
attrs:
|
|
672
|
+
attrs: _this2.v3 ? undefined : {
|
|
650
673
|
title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind])
|
|
651
674
|
}
|
|
652
|
-
},
|
|
675
|
+
}, _this2.v3 ? function () {
|
|
653
676
|
return [h("div", {
|
|
654
677
|
"class": "k-edit-form-container"
|
|
655
|
-
}, [findWhatLabel.call(
|
|
678
|
+
}, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
|
|
656
679
|
} : [h("div", {
|
|
657
680
|
"class": "k-edit-form-container"
|
|
658
|
-
}, [findWhatLabel.call(
|
|
681
|
+
}, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
|
|
659
682
|
title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace]),
|
|
660
|
-
attrs:
|
|
683
|
+
attrs: _this2.v3 ? undefined : {
|
|
661
684
|
title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace])
|
|
662
685
|
}
|
|
663
|
-
},
|
|
686
|
+
}, _this2.v3 ? function () {
|
|
664
687
|
return [h("div", {
|
|
665
688
|
"class": "k-edit-form-container"
|
|
666
|
-
}, [findWhatLabel.call(
|
|
689
|
+
}, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
|
|
667
690
|
"class": "k-actions k-hstack k-justify-content-end"
|
|
668
691
|
}, [h(kendo_vue_buttons_1.Button, {
|
|
669
692
|
disabled: !Boolean(nextMatch),
|
|
670
|
-
attrs:
|
|
693
|
+
attrs: _this2.v3 ? undefined : {
|
|
671
694
|
disabled: !Boolean(nextMatch)
|
|
672
695
|
},
|
|
673
|
-
onClick:
|
|
674
|
-
on:
|
|
675
|
-
"click":
|
|
696
|
+
onClick: _this2.onReplace,
|
|
697
|
+
on: _this2.v3 ? undefined : {
|
|
698
|
+
"click": _this2.onReplace
|
|
676
699
|
}
|
|
677
|
-
},
|
|
700
|
+
}, _this2.v3 ? function () {
|
|
678
701
|
return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
|
|
679
702
|
} : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
|
|
680
703
|
disabled: !Boolean(nextMatch),
|
|
681
|
-
attrs:
|
|
704
|
+
attrs: _this2.v3 ? undefined : {
|
|
682
705
|
disabled: !Boolean(nextMatch)
|
|
683
706
|
},
|
|
684
|
-
onClick:
|
|
685
|
-
on:
|
|
686
|
-
"click":
|
|
707
|
+
onClick: _this2.onReplaceAll,
|
|
708
|
+
on: _this2.v3 ? undefined : {
|
|
709
|
+
"click": _this2.onReplaceAll
|
|
687
710
|
}
|
|
688
|
-
},
|
|
711
|
+
}, _this2.v3 ? function () {
|
|
689
712
|
return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
|
|
690
|
-
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(
|
|
713
|
+
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')];
|
|
691
714
|
} : [h("div", {
|
|
692
715
|
"class": "k-edit-form-container"
|
|
693
|
-
}, [findWhatLabel.call(
|
|
716
|
+
}, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
|
|
694
717
|
"class": "k-actions k-hstack k-justify-content-end"
|
|
695
718
|
}, [h(kendo_vue_buttons_1.Button, {
|
|
696
719
|
disabled: !Boolean(nextMatch),
|
|
697
|
-
attrs:
|
|
720
|
+
attrs: _this2.v3 ? undefined : {
|
|
698
721
|
disabled: !Boolean(nextMatch)
|
|
699
722
|
},
|
|
700
|
-
onClick:
|
|
701
|
-
on:
|
|
702
|
-
"click":
|
|
723
|
+
onClick: _this2.onReplace,
|
|
724
|
+
on: _this2.v3 ? undefined : {
|
|
725
|
+
"click": _this2.onReplace
|
|
703
726
|
}
|
|
704
|
-
},
|
|
727
|
+
}, _this2.v3 ? function () {
|
|
705
728
|
return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
|
|
706
729
|
} : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
|
|
707
730
|
disabled: !Boolean(nextMatch),
|
|
708
|
-
attrs:
|
|
731
|
+
attrs: _this2.v3 ? undefined : {
|
|
709
732
|
disabled: !Boolean(nextMatch)
|
|
710
733
|
},
|
|
711
|
-
onClick:
|
|
712
|
-
on:
|
|
713
|
-
"click":
|
|
734
|
+
onClick: _this2.onReplaceAll,
|
|
735
|
+
on: _this2.v3 ? undefined : {
|
|
736
|
+
"click": _this2.onReplaceAll
|
|
714
737
|
}
|
|
715
|
-
},
|
|
738
|
+
}, _this2.v3 ? function () {
|
|
716
739
|
return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
|
|
717
|
-
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(
|
|
740
|
+
} : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')])])])
|
|
718
741
|
);
|
|
719
742
|
// document.body);
|
|
720
743
|
},
|
|
@@ -28,6 +28,8 @@ export declare const messages: {
|
|
|
28
28
|
"editor.pdf": string;
|
|
29
29
|
"editor.foregroundColor": string;
|
|
30
30
|
"editor.backgroundColor": string;
|
|
31
|
+
"editor.foregroundColorAriaLabel": string;
|
|
32
|
+
"editor.backgroundColorAriaLabel": string;
|
|
31
33
|
"editor.createTable": string;
|
|
32
34
|
"editor.insertTableHint": string;
|
|
33
35
|
"editor.addRowBefore": string;
|
|
@@ -112,6 +114,8 @@ export declare const keys: {
|
|
|
112
114
|
pdf: string;
|
|
113
115
|
foregroundColor: string;
|
|
114
116
|
backgroundColor: string;
|
|
117
|
+
foregroundColorAriaLabel: string;
|
|
118
|
+
backgroundColorAriaLabel: string;
|
|
115
119
|
createTable: string;
|
|
116
120
|
createTableHint: string;
|
|
117
121
|
addRowBefore: string;
|