@progress/kendo-angular-pdfviewer 17.0.0-develop.3 → 17.0.0-develop.31
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 +33 -18
- package/{esm2020 → esm2022}/loader/loader.component.mjs +8 -9
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +7 -6
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/localization/messages.mjs +171 -0
- package/{esm2020 → esm2022}/models/events.mjs +16 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pdfviewer.component.mjs +144 -118
- package/{esm2020 → esm2022}/pdfviewer.module.mjs +8 -8
- package/{esm2020 → esm2022}/toolbar/input-wrapper.component.mjs +9 -6
- package/{esm2020 → esm2022}/toolbar/search.component.mjs +24 -19
- package/{esm2020 → esm2022}/toolbar/toolbar-combobox.directive.mjs +17 -14
- package/{esm2020 → esm2022}/toolbar/toolbar-focusable.directive.mjs +6 -3
- package/{esm2020 → esm2022}/toolbar/toolbar-navigation.service.mjs +6 -5
- package/{esm2020 → esm2022}/toolbar/toolbar.component.mjs +98 -50
- package/{fesm2020 → fesm2022}/progress-kendo-angular-pdfviewer.mjs +459 -253
- package/loader/loader.component.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/models/toolbar-tool.d.ts +1 -1
- package/package.json +21 -27
- package/pdfviewer.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +2 -2
- package/toolbar/input-wrapper.component.d.ts +1 -1
- package/toolbar/search.component.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +2 -2
- package/esm2020/localization/messages.mjs +0 -71
- package/fesm2015/progress-kendo-angular-pdfviewer.mjs +0 -2022
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/models/loader-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/models/pdfviewer-context.mjs +0 -0
- /package/{esm2020 → esm2022}/models/toolbar-tool.mjs +0 -0
- /package/{esm2020 → esm2022}/models/zoom-level.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-pdfviewer.mjs +0 -0
- /package/{esm2020 → esm2022}/util.mjs +0 -0
@@ -22,53 +22,55 @@ import * as i2 from "./toolbar-navigation.service";
|
|
22
22
|
* @hidden
|
23
23
|
*/
|
24
24
|
export class ToolbarComponent {
|
25
|
+
localization;
|
26
|
+
navigationService;
|
27
|
+
toolbarClasses = true;
|
28
|
+
toolbarSizeClass = true;
|
29
|
+
fileSelectEl;
|
30
|
+
zoomLevel = {
|
31
|
+
text: '125%',
|
32
|
+
displayValue: '125%',
|
33
|
+
value: 1.25
|
34
|
+
};
|
35
|
+
calculatedComboBoxValue = {
|
36
|
+
text: 'Fit to width',
|
37
|
+
displayValue: null,
|
38
|
+
value: null
|
39
|
+
};
|
40
|
+
skip = 0;
|
41
|
+
pageSize = 1;
|
42
|
+
total;
|
43
|
+
zoomInDisabled;
|
44
|
+
zoomOutDisabled;
|
45
|
+
disabledTools;
|
46
|
+
zoomLevelChooserValue;
|
47
|
+
zoomOptionsData;
|
48
|
+
pagesContainerId;
|
49
|
+
tools;
|
50
|
+
fileSelect = new EventEmitter();
|
51
|
+
fileSelectStart = new EventEmitter();
|
52
|
+
fileSelectError = new EventEmitter();
|
53
|
+
download = new EventEmitter();
|
54
|
+
selectionEnabled = new EventEmitter();
|
55
|
+
panningEnabled = new EventEmitter();
|
56
|
+
pageChange = new EventEmitter();
|
57
|
+
zoomIn = new EventEmitter();
|
58
|
+
zoomOut = new EventEmitter();
|
59
|
+
zoomLevelChange = new EventEmitter();
|
60
|
+
print = new EventEmitter();
|
61
|
+
search = new EventEmitter();
|
62
|
+
zoomInIcon = zoomInIcon;
|
63
|
+
zoomOutIcon = zoomOutIcon;
|
64
|
+
handIcon = handIcon;
|
65
|
+
pointerIcon = pointerIcon;
|
66
|
+
searchIcon = searchIcon;
|
67
|
+
folderOpenIcon = folderOpenIcon;
|
68
|
+
downloadIcon = downloadIcon;
|
69
|
+
printIcon = printIcon;
|
70
|
+
pagerType = 'input';
|
25
71
|
constructor(localization, navigationService) {
|
26
72
|
this.localization = localization;
|
27
73
|
this.navigationService = navigationService;
|
28
|
-
this.toolbarClass = true;
|
29
|
-
this.toolbarSizeClass = true;
|
30
|
-
this.zoomLevel = {
|
31
|
-
text: '125%',
|
32
|
-
displayValue: '125%',
|
33
|
-
value: 1.25
|
34
|
-
};
|
35
|
-
this.calculatedComboBoxValue = {
|
36
|
-
text: 'Fit to width',
|
37
|
-
displayValue: null,
|
38
|
-
value: null
|
39
|
-
};
|
40
|
-
this.skip = 0;
|
41
|
-
this.pageSize = 1;
|
42
|
-
this.fileSelect = new EventEmitter();
|
43
|
-
this.fileSelectStart = new EventEmitter();
|
44
|
-
this.fileSelectError = new EventEmitter();
|
45
|
-
this.download = new EventEmitter();
|
46
|
-
this.selectionEnabled = new EventEmitter();
|
47
|
-
this.panningEnabled = new EventEmitter();
|
48
|
-
this.pageChange = new EventEmitter();
|
49
|
-
this.zoomIn = new EventEmitter();
|
50
|
-
this.zoomOut = new EventEmitter();
|
51
|
-
this.zoomLevelChange = new EventEmitter();
|
52
|
-
this.print = new EventEmitter();
|
53
|
-
this.search = new EventEmitter();
|
54
|
-
this.zoomInIcon = zoomInIcon;
|
55
|
-
this.zoomOutIcon = zoomOutIcon;
|
56
|
-
this.handIcon = handIcon;
|
57
|
-
this.pointerIcon = pointerIcon;
|
58
|
-
this.searchIcon = searchIcon;
|
59
|
-
this.folderOpenIcon = folderOpenIcon;
|
60
|
-
this.downloadIcon = downloadIcon;
|
61
|
-
this.printIcon = printIcon;
|
62
|
-
this.pagerType = 'input';
|
63
|
-
this.valueNormalizer = (text) => text.pipe(map((value) => {
|
64
|
-
const parsedValue = parseFloat(value);
|
65
|
-
const newValue = Number.isNaN(parsedValue) ? 1 : parsedValue / 100;
|
66
|
-
return {
|
67
|
-
value: newValue,
|
68
|
-
displayValue: `${Math.round(newValue * 100)}%`,
|
69
|
-
text: `${Math.round(newValue * 100)}%`
|
70
|
-
};
|
71
|
-
}));
|
72
74
|
}
|
73
75
|
messageFor(key) {
|
74
76
|
return this.localization.get(key);
|
@@ -94,9 +96,17 @@ export class ToolbarComponent {
|
|
94
96
|
focus() {
|
95
97
|
this.navigationService.focusableTools[this.navigationService.currentFocusIndex].activate();
|
96
98
|
}
|
97
|
-
|
98
|
-
|
99
|
-
|
99
|
+
valueNormalizer = (text) => text.pipe(map((value) => {
|
100
|
+
const parsedValue = parseFloat(value);
|
101
|
+
const newValue = Number.isNaN(parsedValue) ? 1 : parsedValue / 100;
|
102
|
+
return {
|
103
|
+
value: newValue,
|
104
|
+
displayValue: `${Math.round(newValue * 100)}%`,
|
105
|
+
text: `${Math.round(newValue * 100)}%`
|
106
|
+
};
|
107
|
+
}));
|
108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ToolbarNavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
109
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarComponent, isStandalone: true, selector: "[kendoPDFViewerToolbar]", inputs: { zoomLevel: "zoomLevel", calculatedComboBoxValue: "calculatedComboBoxValue", skip: "skip", pageSize: "pageSize", total: "total", zoomInDisabled: "zoomInDisabled", zoomOutDisabled: "zoomOutDisabled", disabledTools: "disabledTools", zoomLevelChooserValue: "zoomLevelChooserValue", zoomOptionsData: "zoomOptionsData", pagesContainerId: "pagesContainerId", tools: "tools" }, outputs: { fileSelect: "fileSelect", fileSelectStart: "fileSelectStart", fileSelectError: "fileSelectError", download: "download", selectionEnabled: "selectionEnabled", panningEnabled: "panningEnabled", pageChange: "pageChange", zoomIn: "zoomIn", zoomOut: "zoomOut", zoomLevelChange: "zoomLevelChange", print: "print", search: "search" }, host: { properties: { "class.k-toolbar": "this.toolbarClasses", "class.k-toolbar-flat": "this.toolbarClasses", "class.k-toolbar-md": "this.toolbarSizeClass" } }, providers: [ToolbarNavigationService], viewQueries: [{ propertyName: "fileSelectEl", first: true, predicate: ["fileSelectEl"], descendants: true }], ngImport: i0, template: `
|
100
110
|
<ng-container *ngFor="let tool of tools">
|
101
111
|
<ng-container [ngSwitch]="tool">
|
102
112
|
<kendo-toolbar-input-wrapper
|
@@ -133,10 +143,12 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
133
143
|
<kendo-buttongroup
|
134
144
|
*ngSwitchCase="'zoomInOut'"
|
135
145
|
[attr.aria-controls]="pagesContainerId"
|
146
|
+
class="k-button-group-flat k-toolbar-button-group"
|
136
147
|
[navigable]="false">
|
137
148
|
<button
|
138
149
|
type="button"
|
139
150
|
kendoButton
|
151
|
+
fillMode="flat"
|
140
152
|
kendoPDFViewerToolbarFocusable
|
141
153
|
icon="zoom-out"
|
142
154
|
[disabled]="disabledTools || zoomOutDisabled"
|
@@ -147,6 +159,7 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
147
159
|
<button
|
148
160
|
type="button"
|
149
161
|
kendoButton
|
162
|
+
fillMode="flat"
|
150
163
|
kendoPDFViewerToolbarFocusable
|
151
164
|
icon="zoom-in"
|
152
165
|
[disabled]="disabledTools || zoomInDisabled"
|
@@ -162,6 +175,8 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
162
175
|
<kendo-combobox
|
163
176
|
#combobox
|
164
177
|
kendoPDFViewerComboBox
|
178
|
+
class="k-toolbar-combobox"
|
179
|
+
fillMode="flat"
|
165
180
|
[attr.aria-controls]="pagesContainerId"
|
166
181
|
[tabindex]="-1"
|
167
182
|
[data]="zoomOptionsData"
|
@@ -183,11 +198,13 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
183
198
|
*ngSwitchCase="'selection'"
|
184
199
|
[attr.aria-controls]="pagesContainerId"
|
185
200
|
[navigable]="false"
|
201
|
+
class="k-button-group-flat k-toolbar-button-group"
|
186
202
|
selection="single">
|
187
203
|
<button
|
188
204
|
type="button"
|
189
205
|
kendoButton
|
190
206
|
kendoPDFViewerToolbarFocusable
|
207
|
+
fillMode="flat"
|
191
208
|
icon="pointer"
|
192
209
|
[toggleable]="true"
|
193
210
|
[svgIcon]="pointerIcon"
|
@@ -198,6 +215,7 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
198
215
|
type="button"
|
199
216
|
kendoButton
|
200
217
|
kendoPDFViewerToolbarFocusable
|
218
|
+
fillMode="flat"
|
201
219
|
icon="hand"
|
202
220
|
[svgIcon]="handIcon"
|
203
221
|
[toggleable]="true"
|
@@ -211,6 +229,8 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
211
229
|
type="button"
|
212
230
|
kendoPDFViewerToolbarFocusable
|
213
231
|
kendoButton
|
232
|
+
class="k-toolbar-button"
|
233
|
+
fillMode="flat"
|
214
234
|
icon="search"
|
215
235
|
[disabled]="disabledTools"
|
216
236
|
[attr.title]="messageFor('searchTitle')"
|
@@ -221,8 +241,11 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
221
241
|
<button
|
222
242
|
*ngSwitchCase="'open'"
|
223
243
|
type="button"
|
244
|
+
fillMode="flat"
|
224
245
|
kendoPDFViewerToolbarFocusable
|
225
246
|
kendoButton
|
247
|
+
class="k-toolbar-button"
|
248
|
+
fillMode="flat"
|
226
249
|
icon="folder-open"
|
227
250
|
[svgIcon]="folderOpenIcon"
|
228
251
|
[attr.title]="messageFor('openTitle')"
|
@@ -233,8 +256,10 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
233
256
|
<button
|
234
257
|
*ngSwitchCase="'download'"
|
235
258
|
type="button"
|
259
|
+
fillMode="flat"
|
236
260
|
kendoPDFViewerToolbarFocusable
|
237
261
|
kendoButton
|
262
|
+
class="k-toolbar-button"
|
238
263
|
icon="download"
|
239
264
|
[svgIcon]="downloadIcon"
|
240
265
|
[disabled]="disabledTools"
|
@@ -244,8 +269,10 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
244
269
|
<button
|
245
270
|
*ngSwitchCase="'print'"
|
246
271
|
type="button"
|
272
|
+
fillMode="flat"
|
247
273
|
kendoPDFViewerToolbarFocusable
|
248
274
|
kendoButton
|
275
|
+
class="k-toolbar-button"
|
249
276
|
icon="print"
|
250
277
|
[svgIcon]="printIcon"
|
251
278
|
[disabled]="disabledTools"
|
@@ -262,8 +289,9 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
262
289
|
aria-hidden="true"
|
263
290
|
accept=".pdf, .PDF"
|
264
291
|
(change)="onFileSelect($event)" />
|
265
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ToolbarInputWrapperComponent, selector: "kendo-toolbar-input-wrapper", inputs: ["toolbarTool"] }, { kind: "directive", type: ToolbarFocusableDirective, selector: "[kendoPDFViewerToolbarFocusable]" }, { kind: "component", type: PagerComponent, selector: "kendo-datapager", inputs: ["total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size"], outputs: ["pageChange", "pageSizeChange"], exportAs: ["kendoDataPager"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-datapager-messages" }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
266
|
-
|
292
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ToolbarInputWrapperComponent, selector: "kendo-toolbar-input-wrapper", inputs: ["toolbarTool"] }, { kind: "directive", type: ToolbarFocusableDirective, selector: "[kendoPDFViewerToolbarFocusable]" }, { kind: "component", type: PagerComponent, selector: "kendo-datapager", inputs: ["total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size"], outputs: ["pageChange", "pageSizeChange"], exportAs: ["kendoDataPager"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-datapager-messages" }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "directive", type: ToolbarComboBoxDirective, selector: "[kendoPDFViewerComboBox]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
293
|
+
}
|
294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, decorators: [{
|
267
295
|
type: Component,
|
268
296
|
args: [{
|
269
297
|
selector: '[kendoPDFViewerToolbar]',
|
@@ -305,10 +333,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
305
333
|
<kendo-buttongroup
|
306
334
|
*ngSwitchCase="'zoomInOut'"
|
307
335
|
[attr.aria-controls]="pagesContainerId"
|
336
|
+
class="k-button-group-flat k-toolbar-button-group"
|
308
337
|
[navigable]="false">
|
309
338
|
<button
|
310
339
|
type="button"
|
311
340
|
kendoButton
|
341
|
+
fillMode="flat"
|
312
342
|
kendoPDFViewerToolbarFocusable
|
313
343
|
icon="zoom-out"
|
314
344
|
[disabled]="disabledTools || zoomOutDisabled"
|
@@ -319,6 +349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
319
349
|
<button
|
320
350
|
type="button"
|
321
351
|
kendoButton
|
352
|
+
fillMode="flat"
|
322
353
|
kendoPDFViewerToolbarFocusable
|
323
354
|
icon="zoom-in"
|
324
355
|
[disabled]="disabledTools || zoomInDisabled"
|
@@ -334,6 +365,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
334
365
|
<kendo-combobox
|
335
366
|
#combobox
|
336
367
|
kendoPDFViewerComboBox
|
368
|
+
class="k-toolbar-combobox"
|
369
|
+
fillMode="flat"
|
337
370
|
[attr.aria-controls]="pagesContainerId"
|
338
371
|
[tabindex]="-1"
|
339
372
|
[data]="zoomOptionsData"
|
@@ -355,11 +388,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
355
388
|
*ngSwitchCase="'selection'"
|
356
389
|
[attr.aria-controls]="pagesContainerId"
|
357
390
|
[navigable]="false"
|
391
|
+
class="k-button-group-flat k-toolbar-button-group"
|
358
392
|
selection="single">
|
359
393
|
<button
|
360
394
|
type="button"
|
361
395
|
kendoButton
|
362
396
|
kendoPDFViewerToolbarFocusable
|
397
|
+
fillMode="flat"
|
363
398
|
icon="pointer"
|
364
399
|
[toggleable]="true"
|
365
400
|
[svgIcon]="pointerIcon"
|
@@ -370,6 +405,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
370
405
|
type="button"
|
371
406
|
kendoButton
|
372
407
|
kendoPDFViewerToolbarFocusable
|
408
|
+
fillMode="flat"
|
373
409
|
icon="hand"
|
374
410
|
[svgIcon]="handIcon"
|
375
411
|
[toggleable]="true"
|
@@ -383,6 +419,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
383
419
|
type="button"
|
384
420
|
kendoPDFViewerToolbarFocusable
|
385
421
|
kendoButton
|
422
|
+
class="k-toolbar-button"
|
423
|
+
fillMode="flat"
|
386
424
|
icon="search"
|
387
425
|
[disabled]="disabledTools"
|
388
426
|
[attr.title]="messageFor('searchTitle')"
|
@@ -393,8 +431,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
393
431
|
<button
|
394
432
|
*ngSwitchCase="'open'"
|
395
433
|
type="button"
|
434
|
+
fillMode="flat"
|
396
435
|
kendoPDFViewerToolbarFocusable
|
397
436
|
kendoButton
|
437
|
+
class="k-toolbar-button"
|
438
|
+
fillMode="flat"
|
398
439
|
icon="folder-open"
|
399
440
|
[svgIcon]="folderOpenIcon"
|
400
441
|
[attr.title]="messageFor('openTitle')"
|
@@ -405,8 +446,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
405
446
|
<button
|
406
447
|
*ngSwitchCase="'download'"
|
407
448
|
type="button"
|
449
|
+
fillMode="flat"
|
408
450
|
kendoPDFViewerToolbarFocusable
|
409
451
|
kendoButton
|
452
|
+
class="k-toolbar-button"
|
410
453
|
icon="download"
|
411
454
|
[svgIcon]="downloadIcon"
|
412
455
|
[disabled]="disabledTools"
|
@@ -416,8 +459,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
416
459
|
<button
|
417
460
|
*ngSwitchCase="'print'"
|
418
461
|
type="button"
|
462
|
+
fillMode="flat"
|
419
463
|
kendoPDFViewerToolbarFocusable
|
420
464
|
kendoButton
|
465
|
+
class="k-toolbar-button"
|
421
466
|
icon="print"
|
422
467
|
[svgIcon]="printIcon"
|
423
468
|
[disabled]="disabledTools"
|
@@ -438,9 +483,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
438
483
|
standalone: true,
|
439
484
|
imports: [NgFor, NgSwitch, NgSwitchCase, ToolbarInputWrapperComponent, ToolbarFocusableDirective, PagerComponent, CustomMessagesComponent, ButtonGroupComponent, ButtonComponent, ComboBoxComponent, ToolbarComboBoxDirective, ItemTemplateDirective, NgIf]
|
440
485
|
}]
|
441
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.ToolbarNavigationService }]; }, propDecorators: {
|
486
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.ToolbarNavigationService }]; }, propDecorators: { toolbarClasses: [{
|
442
487
|
type: HostBinding,
|
443
488
|
args: ['class.k-toolbar']
|
489
|
+
}, {
|
490
|
+
type: HostBinding,
|
491
|
+
args: ['class.k-toolbar-flat']
|
444
492
|
}], toolbarSizeClass: [{
|
445
493
|
type: HostBinding,
|
446
494
|
args: ['class.k-toolbar-md']
|