ofd-view 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ofd-view.common.js +177 -904
- package/lib/ofd-view.common.js.map +1 -1
- package/lib/ofd-view.umd.js +177 -904
- package/lib/ofd-view.umd.js.map +1 -1
- package/lib/ofd-view.umd.min.js.map +1 -1
- package/lib/viewer.css +3208 -0
- package/package.json +1 -1
package/lib/ofd-view.umd.js
CHANGED
@@ -1025,892 +1025,157 @@ if (typeof window !== 'undefined') {
|
|
1025
1025
|
// Indicate to webpack that this file can be concatenated
|
1026
1026
|
/* harmony default export */ var setPublicPath = (null);
|
1027
1027
|
|
1028
|
-
;// CONCATENATED MODULE: ./node_modules
|
1029
|
-
var render = function render()
|
1030
|
-
|
1031
|
-
_c = _vm._self._c;
|
1032
|
-
|
1033
|
-
|
1034
|
-
var staticRenderFns = [function () {
|
1035
|
-
var _vm = this,
|
1036
|
-
_c = _vm._self._c;
|
1037
|
-
return _c('div', {
|
1038
|
-
attrs: {
|
1039
|
-
"id": "outerContainer"
|
1040
|
-
}
|
1041
|
-
}, [_c('div', {
|
1042
|
-
attrs: {
|
1043
|
-
"id": "mainContainer"
|
1044
|
-
}
|
1045
|
-
}, [_c('div', {
|
1046
|
-
staticClass: "secondaryToolbar hidden doorHangerRight",
|
1047
|
-
attrs: {
|
1048
|
-
"id": "secondaryToolbar"
|
1049
|
-
}
|
1050
|
-
}, [_c('div', {
|
1051
|
-
attrs: {
|
1052
|
-
"id": "secondaryToolbarButtonContainer"
|
1053
|
-
}
|
1054
|
-
}, [_c('button', {
|
1055
|
-
staticClass: "secondaryToolbarButton openFile visibleLargeView",
|
1056
|
-
attrs: {
|
1057
|
-
"id": "secondaryOpenFile",
|
1058
|
-
"title": "打开文件",
|
1059
|
-
"tabindex": "52",
|
1060
|
-
"data-l10n-id": "open_file"
|
1061
|
-
}
|
1062
|
-
}, [_c('span', {
|
1063
|
-
attrs: {
|
1064
|
-
"data-l10n-id": "open_file_label"
|
1065
|
-
}
|
1066
|
-
}, [_vm._v("打开")])]), _c('button', {
|
1067
|
-
staticClass: "secondaryToolbarButton print visibleMediumView",
|
1068
|
-
attrs: {
|
1069
|
-
"id": "secondaryPrint",
|
1070
|
-
"title": "打印",
|
1071
|
-
"tabindex": "53",
|
1072
|
-
"data-l10n-id": "print"
|
1073
|
-
}
|
1074
|
-
}, [_c('span', {
|
1075
|
-
attrs: {
|
1076
|
-
"data-l10n-id": "print_label"
|
1077
|
-
}
|
1078
|
-
}, [_vm._v("打印")])]), _c('button', {
|
1079
|
-
staticClass: "secondaryToolbarButton documentProperties",
|
1080
|
-
attrs: {
|
1081
|
-
"id": "documentProperties",
|
1082
|
-
"title": "文档属性…",
|
1083
|
-
"tabindex": "69",
|
1084
|
-
"data-l10n-id": "document_properties",
|
1085
|
-
"aria-controls": "documentPropertiesDialog"
|
1086
|
-
}
|
1087
|
-
}, [_c('span', {
|
1088
|
-
attrs: {
|
1089
|
-
"data-l10n-id": "document_properties_label"
|
1090
|
-
}
|
1091
|
-
}, [_vm._v("文档属性…")])])])]), _vm._v(" "), _c('div', {
|
1092
|
-
staticClass: "toolbar"
|
1093
|
-
}, [_c('div', {
|
1094
|
-
attrs: {
|
1095
|
-
"id": "toolbarContainer"
|
1096
|
-
}
|
1097
|
-
}, [_c('div', {
|
1098
|
-
attrs: {
|
1099
|
-
"id": "toolbarViewer"
|
1100
|
-
}
|
1101
|
-
}, [_c('div', {
|
1102
|
-
attrs: {
|
1103
|
-
"id": "toolbarViewerLeft"
|
1104
|
-
}
|
1105
|
-
}, [_c('div', {
|
1106
|
-
staticClass: "splitToolbarButton hiddenSmallView"
|
1107
|
-
}, [_c('button', {
|
1108
|
-
staticClass: "toolbarButton pageUp",
|
1109
|
-
attrs: {
|
1110
|
-
"title": "上一页",
|
1111
|
-
"id": "previous",
|
1112
|
-
"tabindex": "13",
|
1113
|
-
"data-l10n-id": "previous"
|
1114
|
-
}
|
1115
|
-
}, [_c('span', {
|
1116
|
-
attrs: {
|
1117
|
-
"data-l10n-id": "previous_label"
|
1118
|
-
}
|
1119
|
-
}, [_vm._v("上一页")])]), _c('div', {
|
1120
|
-
staticClass: "splitToolbarButtonSeparator"
|
1121
|
-
}), _c('button', {
|
1122
|
-
staticClass: "toolbarButton pageDown",
|
1123
|
-
attrs: {
|
1124
|
-
"title": "下一页",
|
1125
|
-
"id": "next",
|
1126
|
-
"tabindex": "14",
|
1127
|
-
"data-l10n-id": "next"
|
1128
|
-
}
|
1129
|
-
}, [_c('span', {
|
1130
|
-
attrs: {
|
1131
|
-
"data-l10n-id": "next_label"
|
1132
|
-
}
|
1133
|
-
}, [_vm._v("下一页")])])]), _c('input', {
|
1134
|
-
staticClass: "toolbarField pageNumber",
|
1135
|
-
attrs: {
|
1136
|
-
"type": "number",
|
1137
|
-
"id": "pageNumber",
|
1138
|
-
"title": "页面",
|
1139
|
-
"value": "1",
|
1140
|
-
"size": "4",
|
1141
|
-
"min": "1",
|
1142
|
-
"tabindex": "15",
|
1143
|
-
"data-l10n-id": "page",
|
1144
|
-
"autocomplete": "off"
|
1145
|
-
}
|
1146
|
-
}), _c('span', {
|
1147
|
-
staticClass: "toolbarLabel",
|
1148
|
-
attrs: {
|
1149
|
-
"id": "numPages"
|
1150
|
-
}
|
1151
|
-
})]), _c('div', {
|
1152
|
-
attrs: {
|
1153
|
-
"id": "toolbarViewerRight"
|
1154
|
-
}
|
1155
|
-
}, [_c('button', {
|
1156
|
-
staticClass: "toolbarButton openFile hiddenLargeView",
|
1157
|
-
attrs: {
|
1158
|
-
"id": "openFile",
|
1159
|
-
"title": "打开文件",
|
1160
|
-
"tabindex": "32",
|
1161
|
-
"data-l10n-id": "open_file"
|
1162
|
-
}
|
1163
|
-
}, [_c('span', {
|
1164
|
-
attrs: {
|
1165
|
-
"data-l10n-id": "open_file_label"
|
1166
|
-
}
|
1167
|
-
}, [_vm._v("打开")])]), _c('button', {
|
1168
|
-
staticClass: "toolbarButton print hiddenMediumView",
|
1169
|
-
attrs: {
|
1170
|
-
"id": "print",
|
1171
|
-
"title": "打印",
|
1172
|
-
"tabindex": "33",
|
1173
|
-
"data-l10n-id": "print"
|
1174
|
-
}
|
1175
|
-
}, [_c('span', {
|
1176
|
-
attrs: {
|
1177
|
-
"data-l10n-id": "print_label"
|
1178
|
-
}
|
1179
|
-
}, [_vm._v("打印")])]), _c('div', {
|
1180
|
-
staticClass: "verticalToolbarSeparator hiddenSmallView"
|
1181
|
-
}), _c('button', {
|
1182
|
-
staticClass: "toolbarButton",
|
1183
|
-
attrs: {
|
1184
|
-
"id": "secondaryToolbarToggle",
|
1185
|
-
"title": "工具",
|
1186
|
-
"tabindex": "36",
|
1187
|
-
"data-l10n-id": "tools",
|
1188
|
-
"aria-expanded": "false",
|
1189
|
-
"aria-controls": "secondaryToolbar"
|
1190
|
-
}
|
1191
|
-
}, [_c('span', {
|
1192
|
-
attrs: {
|
1193
|
-
"data-l10n-id": "tools_label"
|
1194
|
-
}
|
1195
|
-
}, [_vm._v("工具")])])]), _c('div', {
|
1196
|
-
attrs: {
|
1197
|
-
"id": "toolbarViewerMiddle"
|
1198
|
-
}
|
1199
|
-
}, [_c('div', {
|
1200
|
-
staticClass: "splitToolbarButton"
|
1201
|
-
}, [_c('button', {
|
1202
|
-
staticClass: "toolbarButton zoomOut",
|
1203
|
-
attrs: {
|
1204
|
-
"id": "zoomOut",
|
1205
|
-
"title": "缩小",
|
1206
|
-
"tabindex": "21",
|
1207
|
-
"data-l10n-id": "zoom_out"
|
1208
|
-
}
|
1209
|
-
}, [_c('span', {
|
1210
|
-
attrs: {
|
1211
|
-
"data-l10n-id": "zoom_out_label"
|
1212
|
-
}
|
1213
|
-
}, [_vm._v("缩小")])]), _c('div', {
|
1214
|
-
staticClass: "splitToolbarButtonSeparator"
|
1215
|
-
}), _c('button', {
|
1216
|
-
staticClass: "toolbarButton zoomIn",
|
1217
|
-
attrs: {
|
1218
|
-
"id": "zoomIn",
|
1219
|
-
"title": "放大",
|
1220
|
-
"tabindex": "22",
|
1221
|
-
"data-l10n-id": "zoom_in"
|
1222
|
-
}
|
1223
|
-
}, [_c('span', {
|
1224
|
-
attrs: {
|
1225
|
-
"data-l10n-id": "zoom_in_label"
|
1226
|
-
}
|
1227
|
-
}, [_vm._v("放大")])])]), _c('span', {
|
1228
|
-
staticClass: "dropdownToolbarButton",
|
1229
|
-
attrs: {
|
1230
|
-
"id": "scaleSelectContainer"
|
1231
|
-
}
|
1232
|
-
}, [_c('select', {
|
1233
|
-
attrs: {
|
1234
|
-
"id": "scaleSelect",
|
1235
|
-
"title": "缩放",
|
1236
|
-
"tabindex": "23",
|
1237
|
-
"data-l10n-id": "zoom"
|
1238
|
-
}
|
1239
|
-
}, [_c('option', {
|
1240
|
-
attrs: {
|
1241
|
-
"id": "pageAutoOption",
|
1242
|
-
"title": "",
|
1243
|
-
"value": "auto",
|
1244
|
-
"selected": "selected",
|
1245
|
-
"data-l10n-id": "page_scale_auto"
|
1246
|
-
}
|
1247
|
-
}, [_vm._v("自动缩放")]), _c('option', {
|
1248
|
-
attrs: {
|
1249
|
-
"id": "pageActualOption",
|
1250
|
-
"title": "",
|
1251
|
-
"value": "page-actual",
|
1252
|
-
"data-l10n-id": "page_scale_actual"
|
1253
|
-
}
|
1254
|
-
}, [_vm._v("实际大小")]), _c('option', {
|
1255
|
-
attrs: {
|
1256
|
-
"id": "pageFitOption",
|
1257
|
-
"title": "",
|
1258
|
-
"value": "page-fit",
|
1259
|
-
"data-l10n-id": "page_scale_fit"
|
1260
|
-
}
|
1261
|
-
}, [_vm._v("适合页面")]), _c('option', {
|
1262
|
-
attrs: {
|
1263
|
-
"id": "pageWidthOption",
|
1264
|
-
"title": "",
|
1265
|
-
"value": "page-width",
|
1266
|
-
"data-l10n-id": "page_scale_width"
|
1267
|
-
}
|
1268
|
-
}, [_vm._v("适合页宽")]), _c('option', {
|
1269
|
-
attrs: {
|
1270
|
-
"id": "customScaleOption",
|
1271
|
-
"title": "",
|
1272
|
-
"value": "custom",
|
1273
|
-
"disabled": "disabled",
|
1274
|
-
"hidden": "true"
|
1275
|
-
}
|
1276
|
-
}), _c('option', {
|
1277
|
-
attrs: {
|
1278
|
-
"title": "",
|
1279
|
-
"value": "0.5",
|
1280
|
-
"data-l10n-id": "page_scale_percent",
|
1281
|
-
"data-l10n-args": "{ \"scale\": 50 }"
|
1282
|
-
}
|
1283
|
-
}, [_vm._v("50%")]), _c('option', {
|
1284
|
-
attrs: {
|
1285
|
-
"title": "",
|
1286
|
-
"value": "0.75",
|
1287
|
-
"data-l10n-id": "page_scale_percent",
|
1288
|
-
"data-l10n-args": "{ \"scale\": 75 }"
|
1289
|
-
}
|
1290
|
-
}, [_vm._v("75%")]), _c('option', {
|
1291
|
-
attrs: {
|
1292
|
-
"title": "",
|
1293
|
-
"value": "1",
|
1294
|
-
"data-l10n-id": "page_scale_percent",
|
1295
|
-
"data-l10n-args": "{ \"scale\": 100 }"
|
1296
|
-
}
|
1297
|
-
}, [_vm._v("100%")]), _c('option', {
|
1298
|
-
attrs: {
|
1299
|
-
"title": "",
|
1300
|
-
"value": "1.25",
|
1301
|
-
"data-l10n-id": "page_scale_percent",
|
1302
|
-
"data-l10n-args": "{ \"scale\": 125 }"
|
1303
|
-
}
|
1304
|
-
}, [_vm._v("125%")]), _c('option', {
|
1305
|
-
attrs: {
|
1306
|
-
"title": "",
|
1307
|
-
"value": "1.5",
|
1308
|
-
"data-l10n-id": "page_scale_percent",
|
1309
|
-
"data-l10n-args": "{ \"scale\": 150 }"
|
1310
|
-
}
|
1311
|
-
}, [_vm._v("150%")]), _c('option', {
|
1312
|
-
attrs: {
|
1313
|
-
"title": "",
|
1314
|
-
"value": "2",
|
1315
|
-
"data-l10n-id": "page_scale_percent",
|
1316
|
-
"data-l10n-args": "{ \"scale\": 200 }"
|
1317
|
-
}
|
1318
|
-
}, [_vm._v("200%")]), _c('option', {
|
1319
|
-
attrs: {
|
1320
|
-
"title": "",
|
1321
|
-
"value": "3",
|
1322
|
-
"data-l10n-id": "page_scale_percent",
|
1323
|
-
"data-l10n-args": "{ \"scale\": 300 }"
|
1324
|
-
}
|
1325
|
-
}, [_vm._v("300%")]), _c('option', {
|
1326
|
-
attrs: {
|
1327
|
-
"title": "",
|
1328
|
-
"value": "4",
|
1329
|
-
"data-l10n-id": "page_scale_percent",
|
1330
|
-
"data-l10n-args": "{ \"scale\": 400 }"
|
1331
|
-
}
|
1332
|
-
}, [_vm._v("400%")])])])])])])]), _c('div', {
|
1333
|
-
attrs: {
|
1334
|
-
"id": "viewerContainer",
|
1335
|
-
"tabindex": "0"
|
1336
|
-
}
|
1337
|
-
}, [_c('div', {
|
1338
|
-
staticClass: "pdfViewer",
|
1339
|
-
attrs: {
|
1340
|
-
"id": "viewer"
|
1341
|
-
}
|
1342
|
-
})]), _c('div', {
|
1343
|
-
attrs: {
|
1344
|
-
"id": "errorWrapper",
|
1345
|
-
"hidden": "true"
|
1346
|
-
}
|
1347
|
-
}, [_c('div', {
|
1348
|
-
attrs: {
|
1349
|
-
"id": "errorMessageLeft"
|
1350
|
-
}
|
1351
|
-
}, [_c('span', {
|
1352
|
-
attrs: {
|
1353
|
-
"id": "errorMessage"
|
1354
|
-
}
|
1355
|
-
}), _c('button', {
|
1356
|
-
attrs: {
|
1357
|
-
"id": "errorShowMore",
|
1358
|
-
"data-l10n-id": "error_more_info"
|
1359
|
-
}
|
1360
|
-
}, [_vm._v(" More Information ")]), _c('button', {
|
1361
|
-
attrs: {
|
1362
|
-
"id": "errorShowLess",
|
1363
|
-
"data-l10n-id": "error_less_info",
|
1364
|
-
"hidden": "true"
|
1365
|
-
}
|
1366
|
-
}, [_vm._v(" Less Information ")])]), _c('div', {
|
1367
|
-
attrs: {
|
1368
|
-
"id": "errorMessageRight"
|
1369
|
-
}
|
1370
|
-
}, [_c('button', {
|
1371
|
-
attrs: {
|
1372
|
-
"id": "errorClose",
|
1373
|
-
"data-l10n-id": "error_close"
|
1374
|
-
}
|
1375
|
-
}, [_vm._v(" Close ")])]), _c('div', {
|
1376
|
-
staticClass: "clearBoth"
|
1377
|
-
}), _c('textarea', {
|
1378
|
-
attrs: {
|
1379
|
-
"id": "errorMoreInfo",
|
1380
|
-
"hidden": "true",
|
1381
|
-
"readonly": "readonly"
|
1382
|
-
}
|
1383
|
-
})])]), _vm._v(" "), _c('div', {
|
1384
|
-
attrs: {
|
1385
|
-
"id": "dialogContainer"
|
1386
|
-
}
|
1387
|
-
}, [_c('dialog', {
|
1388
|
-
attrs: {
|
1389
|
-
"id": "documentPropertiesDialog"
|
1390
|
-
}
|
1391
|
-
}, [_c('div', {
|
1392
|
-
staticClass: "row"
|
1393
|
-
}, [_c('span', {
|
1394
|
-
attrs: {
|
1395
|
-
"id": "fileNameLabel",
|
1396
|
-
"data-l10n-id": "document_properties_file_name"
|
1397
|
-
}
|
1398
|
-
}, [_vm._v("文件名:")]), _c('p', {
|
1399
|
-
attrs: {
|
1400
|
-
"id": "fileNameField",
|
1401
|
-
"aria-labelledby": "fileNameLabel"
|
1402
|
-
}
|
1403
|
-
}, [_vm._v("-")])]), _c('div', {
|
1404
|
-
staticClass: "row"
|
1405
|
-
}, [_c('span', {
|
1406
|
-
attrs: {
|
1407
|
-
"id": "fileSizeLabel",
|
1408
|
-
"data-l10n-id": "document_properties_file_size"
|
1409
|
-
}
|
1410
|
-
}, [_vm._v("文件大小:")]), _c('p', {
|
1411
|
-
attrs: {
|
1412
|
-
"id": "fileSizeField",
|
1413
|
-
"aria-labelledby": "fileSizeLabel"
|
1414
|
-
}
|
1415
|
-
}, [_vm._v("-")])]), _c('div', {
|
1416
|
-
staticClass: "separator"
|
1417
|
-
}), _c('div', {
|
1418
|
-
staticClass: "row"
|
1419
|
-
}, [_c('span', {
|
1420
|
-
attrs: {
|
1421
|
-
"id": "titleLabel",
|
1422
|
-
"data-l10n-id": "document_properties_title"
|
1423
|
-
}
|
1424
|
-
}, [_vm._v("标题:")]), _c('p', {
|
1425
|
-
attrs: {
|
1426
|
-
"id": "titleField",
|
1427
|
-
"aria-labelledby": "titleLabel"
|
1428
|
-
}
|
1429
|
-
}, [_vm._v("-")])]), _c('div', {
|
1430
|
-
staticClass: "row"
|
1431
|
-
}, [_c('span', {
|
1432
|
-
attrs: {
|
1433
|
-
"id": "authorLabel",
|
1434
|
-
"data-l10n-id": "document_properties_author"
|
1435
|
-
}
|
1436
|
-
}, [_vm._v("作者:")]), _c('p', {
|
1437
|
-
attrs: {
|
1438
|
-
"id": "authorField",
|
1439
|
-
"aria-labelledby": "authorLabel"
|
1440
|
-
}
|
1441
|
-
}, [_vm._v("-")])]), _c('div', {
|
1442
|
-
staticClass: "row"
|
1443
|
-
}, [_c('span', {
|
1444
|
-
attrs: {
|
1445
|
-
"id": "subjectLabel",
|
1446
|
-
"data-l10n-id": "document_properties_subject"
|
1447
|
-
}
|
1448
|
-
}, [_vm._v("主题:")]), _c('p', {
|
1449
|
-
attrs: {
|
1450
|
-
"id": "subjectField",
|
1451
|
-
"aria-labelledby": "subjectLabel"
|
1452
|
-
}
|
1453
|
-
}, [_vm._v("-")])]), _c('div', {
|
1454
|
-
staticClass: "row"
|
1455
|
-
}, [_c('span', {
|
1456
|
-
attrs: {
|
1457
|
-
"id": "keywordsLabel",
|
1458
|
-
"data-l10n-id": "document_properties_keywords"
|
1459
|
-
}
|
1460
|
-
}, [_vm._v("关键词:")]), _c('p', {
|
1461
|
-
attrs: {
|
1462
|
-
"id": "keywordsField",
|
1463
|
-
"aria-labelledby": "keywordsLabel"
|
1464
|
-
}
|
1465
|
-
}, [_vm._v("-")])]), _c('div', {
|
1466
|
-
staticClass: "row"
|
1467
|
-
}, [_c('span', {
|
1468
|
-
attrs: {
|
1469
|
-
"id": "creationDateLabel",
|
1470
|
-
"data-l10n-id": "document_properties_creation_date"
|
1471
|
-
}
|
1472
|
-
}, [_vm._v("创建日期:")]), _c('p', {
|
1473
|
-
attrs: {
|
1474
|
-
"id": "creationDateField",
|
1475
|
-
"aria-labelledby": "creationDateLabel"
|
1476
|
-
}
|
1477
|
-
}, [_vm._v("-")])]), _c('div', {
|
1478
|
-
staticClass: "row"
|
1479
|
-
}, [_c('span', {
|
1480
|
-
attrs: {
|
1481
|
-
"id": "modificationDateLabel",
|
1482
|
-
"data-l10n-id": "document_properties_modification_date"
|
1483
|
-
}
|
1484
|
-
}, [_vm._v("修改日期:")]), _c('p', {
|
1485
|
-
attrs: {
|
1486
|
-
"id": "modificationDateField",
|
1487
|
-
"aria-labelledby": "modificationDateLabel"
|
1488
|
-
}
|
1489
|
-
}, [_vm._v("-")])]), _c('div', {
|
1490
|
-
staticClass: "row"
|
1491
|
-
}, [_c('span', {
|
1492
|
-
attrs: {
|
1493
|
-
"id": "creatorLabel",
|
1494
|
-
"data-l10n-id": "document_properties_creator"
|
1495
|
-
}
|
1496
|
-
}, [_vm._v("创建者:")]), _c('p', {
|
1497
|
-
attrs: {
|
1498
|
-
"id": "creatorField",
|
1499
|
-
"aria-labelledby": "creatorLabel"
|
1500
|
-
}
|
1501
|
-
}, [_vm._v("-")])]), _c('div', {
|
1502
|
-
staticClass: "separator"
|
1503
|
-
}), _c('div', {
|
1504
|
-
staticClass: "row"
|
1505
|
-
}, [_c('span', {
|
1506
|
-
attrs: {
|
1507
|
-
"id": "producerLabel",
|
1508
|
-
"data-l10n-id": "document_properties_producer"
|
1509
|
-
}
|
1510
|
-
}, [_vm._v("OFD 生成器:")]), _c('p', {
|
1511
|
-
attrs: {
|
1512
|
-
"id": "producerField",
|
1513
|
-
"aria-labelledby": "producerLabel"
|
1514
|
-
}
|
1515
|
-
}, [_vm._v("-")])]), _c('div', {
|
1516
|
-
staticClass: "row"
|
1517
|
-
}, [_c('span', {
|
1518
|
-
attrs: {
|
1519
|
-
"id": "versionLabel",
|
1520
|
-
"data-l10n-id": "document_properties_version"
|
1521
|
-
}
|
1522
|
-
}, [_vm._v("OFD 版本:")]), _c('p', {
|
1523
|
-
attrs: {
|
1524
|
-
"id": "versionField",
|
1525
|
-
"aria-labelledby": "versionLabel"
|
1526
|
-
}
|
1527
|
-
}, [_vm._v("-")])]), _c('div', {
|
1528
|
-
staticClass: "row"
|
1529
|
-
}, [_c('span', {
|
1530
|
-
attrs: {
|
1531
|
-
"id": "pageCountLabel",
|
1532
|
-
"data-l10n-id": "document_properties_page_count"
|
1533
|
-
}
|
1534
|
-
}, [_vm._v("页数:")]), _c('p', {
|
1535
|
-
attrs: {
|
1536
|
-
"id": "pageCountField",
|
1537
|
-
"aria-labelledby": "pageCountLabel"
|
1538
|
-
}
|
1539
|
-
}, [_vm._v("-")])]), _c('div', {
|
1540
|
-
staticClass: "row"
|
1541
|
-
}, [_c('span', {
|
1542
|
-
attrs: {
|
1543
|
-
"id": "pageSizeLabel",
|
1544
|
-
"data-l10n-id": "document_properties_page_size"
|
1545
|
-
}
|
1546
|
-
}, [_vm._v("页面大小:")]), _c('p', {
|
1547
|
-
attrs: {
|
1548
|
-
"id": "pageSizeField",
|
1549
|
-
"aria-labelledby": "pageSizeLabel"
|
1550
|
-
}
|
1551
|
-
}, [_vm._v("-")])]), _c('div', {
|
1552
|
-
staticClass: "separator"
|
1553
|
-
}), _c('div', {
|
1554
|
-
staticClass: "row",
|
1555
|
-
attrs: {
|
1556
|
-
"hidden": "hidden"
|
1557
|
-
}
|
1558
|
-
}, [_c('span', {
|
1559
|
-
attrs: {
|
1560
|
-
"id": "linearizedLabel",
|
1561
|
-
"data-l10n-id": "document_properties_linearized"
|
1562
|
-
}
|
1563
|
-
}, [_vm._v("快速 Web 视图:")]), _c('p', {
|
1564
|
-
attrs: {
|
1565
|
-
"id": "linearizedField",
|
1566
|
-
"aria-labelledby": "linearizedLabel"
|
1567
|
-
}
|
1568
|
-
}, [_vm._v("-")])]), _c('div', {
|
1569
|
-
staticClass: "buttonRow"
|
1570
|
-
}, [_c('button', {
|
1571
|
-
staticClass: "dialogButton",
|
1572
|
-
attrs: {
|
1573
|
-
"id": "documentPropertiesClose"
|
1574
|
-
}
|
1575
|
-
}, [_c('span', {
|
1576
|
-
attrs: {
|
1577
|
-
"data-l10n-id": "document_properties_close"
|
1578
|
-
}
|
1579
|
-
}, [_vm._v("关闭")])])])]), _c('dialog', {
|
1580
|
-
staticStyle: {
|
1581
|
-
"min-width": "200px"
|
1582
|
-
},
|
1583
|
-
attrs: {
|
1584
|
-
"id": "printServiceDialog"
|
1585
|
-
}
|
1586
|
-
}, [_c('div', {
|
1587
|
-
staticClass: "row"
|
1588
|
-
}, [_c('span', {
|
1589
|
-
attrs: {
|
1590
|
-
"data-l10n-id": "print_progress_message"
|
1591
|
-
}
|
1592
|
-
}, [_vm._v("正在准备打印文档…")])]), _c('div', {
|
1593
|
-
staticClass: "row"
|
1594
|
-
}, [_c('progress', {
|
1595
|
-
attrs: {
|
1596
|
-
"id": "printProgress",
|
1597
|
-
"value": "0",
|
1598
|
-
"max": "100"
|
1599
|
-
}
|
1600
|
-
}), _c('span', {
|
1601
|
-
staticClass: "relative-progress",
|
1602
|
-
attrs: {
|
1603
|
-
"data-l10n-id": "print_progress_percent",
|
1604
|
-
"data-l10n-args": "{ \"progress\": 0 }"
|
1605
|
-
}
|
1606
|
-
}, [_vm._v("0%")])]), _c('div', {
|
1607
|
-
staticClass: "buttonRow"
|
1608
|
-
}, [_c('button', {
|
1609
|
-
staticClass: "dialogButton",
|
1610
|
-
attrs: {
|
1611
|
-
"id": "printCancel"
|
1612
|
-
}
|
1613
|
-
}, [_c('span', {
|
1614
|
-
attrs: {
|
1615
|
-
"data-l10n-id": "print_progress_close"
|
1616
|
-
}
|
1617
|
-
}, [_vm._v("取消")])])])]), _c('dialog', {
|
1618
|
-
attrs: {
|
1619
|
-
"id": "signaturePropertiesDialog"
|
1620
|
-
}
|
1621
|
-
}, [_c('div', {
|
1622
|
-
staticClass: "row"
|
1623
|
-
}, [_c('span', {
|
1624
|
-
attrs: {
|
1625
|
-
"id": "signerLabel"
|
1626
|
-
}
|
1627
|
-
}, [_vm._v("签章人:")]), _c('p', {
|
1628
|
-
attrs: {
|
1629
|
-
"id": "signerField",
|
1630
|
-
"aria-labelledby": "fileNameLabel"
|
1631
|
-
}
|
1632
|
-
}, [_vm._v("-")])]), _c('div', {
|
1633
|
-
staticClass: "row"
|
1634
|
-
}, [_c('span', {
|
1635
|
-
attrs: {
|
1636
|
-
"id": "providerLabel"
|
1637
|
-
}
|
1638
|
-
}, [_vm._v("签章提供者:")]), _c('p', {
|
1639
|
-
attrs: {
|
1640
|
-
"id": "providerField",
|
1641
|
-
"aria-labelledby": "fileNameLabel"
|
1642
|
-
}
|
1643
|
-
}, [_vm._v("-")])]), _c('div', {
|
1644
|
-
staticClass: "row"
|
1645
|
-
}, [_c('span', {
|
1646
|
-
attrs: {
|
1647
|
-
"id": "hashedValueLabel"
|
1648
|
-
}
|
1649
|
-
}, [_vm._v("原文摘要值:")]), _c('p', {
|
1650
|
-
attrs: {
|
1651
|
-
"id": "hashedValueField",
|
1652
|
-
"aria-labelledby": "fileNameLabel"
|
1653
|
-
}
|
1654
|
-
}, [_vm._v("-")])]), _c('div', {
|
1655
|
-
staticClass: "row"
|
1656
|
-
}, [_c('span', {
|
1657
|
-
attrs: {
|
1658
|
-
"id": "signedValueLabel"
|
1659
|
-
}
|
1660
|
-
}, [_vm._v("签名值:")]), _c('p', {
|
1661
|
-
attrs: {
|
1662
|
-
"id": "signedValueField",
|
1663
|
-
"aria-labelledby": "fileNameLabel"
|
1664
|
-
}
|
1665
|
-
}, [_vm._v("-")])]), _c('div', {
|
1666
|
-
staticClass: "row"
|
1667
|
-
}, [_c('span', {
|
1668
|
-
attrs: {
|
1669
|
-
"id": "signMethodLabel"
|
1670
|
-
}
|
1671
|
-
}, [_vm._v("签名算法:")]), _c('p', {
|
1672
|
-
attrs: {
|
1673
|
-
"id": "signMethodField",
|
1674
|
-
"aria-labelledby": "fileNameLabel"
|
1675
|
-
}
|
1676
|
-
}, [_vm._v("-")])]), _c('div', {
|
1677
|
-
staticClass: "row"
|
1678
|
-
}, [_c('span', {
|
1679
|
-
attrs: {
|
1680
|
-
"id": "signVersionLabel"
|
1681
|
-
}
|
1682
|
-
}, [_vm._v("版本号:")]), _c('p', {
|
1683
|
-
attrs: {
|
1684
|
-
"id": "signVersionField",
|
1685
|
-
"aria-labelledby": "fileNameLabel"
|
1686
|
-
}
|
1687
|
-
}, [_vm._v("-")])]), _c('div', {
|
1688
|
-
staticClass: "row"
|
1689
|
-
}, [_c('span', {
|
1690
|
-
attrs: {
|
1691
|
-
"id": "verifyLabel"
|
1692
|
-
}
|
1693
|
-
}, [_vm._v("验签结果:")]), _c('p', {
|
1694
|
-
attrs: {
|
1695
|
-
"id": "verifyField",
|
1696
|
-
"aria-labelledby": "fileNameLabel"
|
1697
|
-
}
|
1698
|
-
}, [_vm._v("-")])]), _c('div', {
|
1699
|
-
staticClass: "separator"
|
1700
|
-
}), _c('div', {
|
1701
|
-
staticClass: "row"
|
1702
|
-
}, [_c('span', {
|
1703
|
-
attrs: {
|
1704
|
-
"id": "sealIDLabel"
|
1705
|
-
}
|
1706
|
-
}, [_vm._v("印章标识:")]), _c('p', {
|
1707
|
-
attrs: {
|
1708
|
-
"id": "sealIDField",
|
1709
|
-
"aria-labelledby": "fileNameLabel"
|
1710
|
-
}
|
1711
|
-
}, [_vm._v("-")])]), _c('div', {
|
1712
|
-
staticClass: "row"
|
1713
|
-
}, [_c('span', {
|
1714
|
-
attrs: {
|
1715
|
-
"id": "sealNameLabel"
|
1716
|
-
}
|
1717
|
-
}, [_vm._v("印章名称:")]), _c('p', {
|
1718
|
-
attrs: {
|
1719
|
-
"id": "sealNameField",
|
1720
|
-
"aria-labelledby": "fileNameLabel"
|
1721
|
-
}
|
1722
|
-
}, [_vm._v("-")])]), _c('div', {
|
1723
|
-
staticClass: "row"
|
1724
|
-
}, [_c('span', {
|
1725
|
-
attrs: {
|
1726
|
-
"id": "sealTypeLabel"
|
1727
|
-
}
|
1728
|
-
}, [_vm._v("印章类型:")]), _c('p', {
|
1729
|
-
attrs: {
|
1730
|
-
"id": "sealTypeField",
|
1731
|
-
"aria-labelledby": "fileNameLabel"
|
1732
|
-
}
|
1733
|
-
}, [_vm._v("-")])]), _c('div', {
|
1734
|
-
staticClass: "row"
|
1735
|
-
}, [_c('span', {
|
1736
|
-
attrs: {
|
1737
|
-
"id": "sealAuthTimeLabel"
|
1738
|
-
}
|
1739
|
-
}, [_vm._v("有效时间:")]), _c('p', {
|
1740
|
-
attrs: {
|
1741
|
-
"id": "sealAuthTimeField",
|
1742
|
-
"aria-labelledby": "fileNameLabel"
|
1743
|
-
}
|
1744
|
-
}, [_vm._v("-")])]), _c('div', {
|
1745
|
-
staticClass: "row"
|
1746
|
-
}, [_c('span', {
|
1747
|
-
attrs: {
|
1748
|
-
"id": "sealMakeTimeLabel"
|
1749
|
-
}
|
1750
|
-
}, [_vm._v("制章日期:")]), _c('p', {
|
1751
|
-
attrs: {
|
1752
|
-
"id": "sealMakeTimeField",
|
1753
|
-
"aria-labelledby": "fileNameLabel"
|
1754
|
-
}
|
1755
|
-
}, [_vm._v("-")])]), _c('div', {
|
1756
|
-
staticClass: "row"
|
1757
|
-
}, [_c('span', {
|
1758
|
-
attrs: {
|
1759
|
-
"id": "sealVersionLabel"
|
1760
|
-
}
|
1761
|
-
}, [_vm._v("印章版本:")]), _c('p', {
|
1762
|
-
attrs: {
|
1763
|
-
"id": "sealVersionField",
|
1764
|
-
"aria-labelledby": "fileNameLabel"
|
1765
|
-
}
|
1766
|
-
}, [_vm._v("-")])]), _c('div', {
|
1767
|
-
staticClass: "buttonRow"
|
1768
|
-
}, [_c('button', {
|
1769
|
-
staticClass: "dialogButton",
|
1770
|
-
attrs: {
|
1771
|
-
"id": "signaturePropertiesClose"
|
1772
|
-
}
|
1773
|
-
}, [_c('span', {
|
1774
|
-
attrs: {
|
1775
|
-
"data-l10n-id": "document_properties_close"
|
1776
|
-
}
|
1777
|
-
}, [_vm._v("关闭")])])])])])]);
|
1778
|
-
}];
|
1028
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=template&id=41f3cab9&scoped=true&
|
1029
|
+
var render = function render(){var _vm=this,_c=_vm._self._c;return _vm._m(0)
|
1030
|
+
}
|
1031
|
+
var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"outerContainer"}},[_c('div',{attrs:{"id":"mainContainer"}},[_c('div',{staticClass:"secondaryToolbar hidden doorHangerRight",attrs:{"id":"secondaryToolbar"}},[_c('div',{attrs:{"id":"secondaryToolbarButtonContainer"}},[_c('button',{staticClass:"secondaryToolbarButton openFile visibleLargeView",attrs:{"id":"secondaryOpenFile","title":"打开文件","tabindex":"52","data-l10n-id":"open_file"}},[_c('span',{attrs:{"data-l10n-id":"open_file_label"}},[_vm._v("打开")])]),_c('button',{staticClass:"secondaryToolbarButton print visibleMediumView",attrs:{"id":"secondaryPrint","title":"打印","tabindex":"53","data-l10n-id":"print"}},[_c('span',{attrs:{"data-l10n-id":"print_label"}},[_vm._v("打印")])]),_c('button',{staticClass:"secondaryToolbarButton documentProperties",attrs:{"id":"documentProperties","title":"文档属性…","tabindex":"69","data-l10n-id":"document_properties","aria-controls":"documentPropertiesDialog"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_label"}},[_vm._v("文档属性…")])])])]),_vm._v(" "),_c('div',{staticClass:"toolbar"},[_c('div',{attrs:{"id":"toolbarContainer"}},[_c('div',{attrs:{"id":"toolbarViewer"}},[_c('div',{attrs:{"id":"toolbarViewerLeft"}},[_c('div',{staticClass:"splitToolbarButton hiddenSmallView"},[_c('button',{staticClass:"toolbarButton pageUp",attrs:{"title":"上一页","id":"previous","tabindex":"13","data-l10n-id":"previous"}},[_c('span',{attrs:{"data-l10n-id":"previous_label"}},[_vm._v("上一页")])]),_c('div',{staticClass:"splitToolbarButtonSeparator"}),_c('button',{staticClass:"toolbarButton pageDown",attrs:{"title":"下一页","id":"next","tabindex":"14","data-l10n-id":"next"}},[_c('span',{attrs:{"data-l10n-id":"next_label"}},[_vm._v("下一页")])])]),_c('input',{staticClass:"toolbarField pageNumber",attrs:{"type":"number","id":"pageNumber","title":"页面","value":"1","size":"4","min":"1","tabindex":"15","data-l10n-id":"page","autocomplete":"off"}}),_c('span',{staticClass:"toolbarLabel",attrs:{"id":"numPages"}})]),_c('div',{attrs:{"id":"toolbarViewerRight"}},[_c('button',{staticClass:"toolbarButton openFile hiddenLargeView",attrs:{"id":"openFile","title":"打开文件","tabindex":"32","data-l10n-id":"open_file"}},[_c('span',{attrs:{"data-l10n-id":"open_file_label"}},[_vm._v("打开")])]),_c('button',{staticClass:"toolbarButton print hiddenMediumView",attrs:{"id":"print","title":"打印","tabindex":"33","data-l10n-id":"print"}},[_c('span',{attrs:{"data-l10n-id":"print_label"}},[_vm._v("打印")])]),_c('div',{staticClass:"verticalToolbarSeparator hiddenSmallView"}),_c('button',{staticClass:"toolbarButton",attrs:{"id":"secondaryToolbarToggle","title":"工具","tabindex":"36","data-l10n-id":"tools","aria-expanded":"false","aria-controls":"secondaryToolbar"}},[_c('span',{attrs:{"data-l10n-id":"tools_label"}},[_vm._v("工具")])])]),_c('div',{attrs:{"id":"toolbarViewerMiddle"}},[_c('div',{staticClass:"splitToolbarButton"},[_c('button',{staticClass:"toolbarButton zoomOut",attrs:{"id":"zoomOut","title":"缩小","tabindex":"21","data-l10n-id":"zoom_out"}},[_c('span',{attrs:{"data-l10n-id":"zoom_out_label"}},[_vm._v("缩小")])]),_c('div',{staticClass:"splitToolbarButtonSeparator"}),_c('button',{staticClass:"toolbarButton zoomIn",attrs:{"id":"zoomIn","title":"放大","tabindex":"22","data-l10n-id":"zoom_in"}},[_c('span',{attrs:{"data-l10n-id":"zoom_in_label"}},[_vm._v("放大")])])]),_c('span',{staticClass:"dropdownToolbarButton",attrs:{"id":"scaleSelectContainer"}},[_c('select',{attrs:{"id":"scaleSelect","title":"缩放","tabindex":"23","data-l10n-id":"zoom"}},[_c('option',{attrs:{"id":"pageAutoOption","title":"","value":"auto","selected":"selected","data-l10n-id":"page_scale_auto"}},[_vm._v("自动缩放")]),_c('option',{attrs:{"id":"pageActualOption","title":"","value":"page-actual","data-l10n-id":"page_scale_actual"}},[_vm._v("实际大小")]),_c('option',{attrs:{"id":"pageFitOption","title":"","value":"page-fit","data-l10n-id":"page_scale_fit"}},[_vm._v("适合页面")]),_c('option',{attrs:{"id":"pageWidthOption","title":"","value":"page-width","data-l10n-id":"page_scale_width"}},[_vm._v("适合页宽")]),_c('option',{attrs:{"id":"customScaleOption","title":"","value":"custom","disabled":"disabled","hidden":"true"}}),_c('option',{attrs:{"title":"","value":"0.5","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 50 }"}},[_vm._v("50%")]),_c('option',{attrs:{"title":"","value":"0.75","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 75 }"}},[_vm._v("75%")]),_c('option',{attrs:{"title":"","value":"1","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 100 }"}},[_vm._v("100%")]),_c('option',{attrs:{"title":"","value":"1.25","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 125 }"}},[_vm._v("125%")]),_c('option',{attrs:{"title":"","value":"1.5","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 150 }"}},[_vm._v("150%")]),_c('option',{attrs:{"title":"","value":"2","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 200 }"}},[_vm._v("200%")]),_c('option',{attrs:{"title":"","value":"3","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 300 }"}},[_vm._v("300%")]),_c('option',{attrs:{"title":"","value":"4","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 400 }"}},[_vm._v("400%")])])])])])])]),_c('div',{attrs:{"id":"viewerContainer","tabindex":"0"}},[_c('div',{staticClass:"pdfViewer",attrs:{"id":"viewer"}})]),_c('div',{attrs:{"id":"errorWrapper","hidden":"true"}},[_c('div',{attrs:{"id":"errorMessageLeft"}},[_c('span',{attrs:{"id":"errorMessage"}}),_c('button',{attrs:{"id":"errorShowMore","data-l10n-id":"error_more_info"}},[_vm._v(" More Information ")]),_c('button',{attrs:{"id":"errorShowLess","data-l10n-id":"error_less_info","hidden":"true"}},[_vm._v(" Less Information ")])]),_c('div',{attrs:{"id":"errorMessageRight"}},[_c('button',{attrs:{"id":"errorClose","data-l10n-id":"error_close"}},[_vm._v(" Close ")])]),_c('div',{staticClass:"clearBoth"}),_c('textarea',{attrs:{"id":"errorMoreInfo","hidden":"true","readonly":"readonly"}})])]),_vm._v(" "),_c('div',{attrs:{"id":"dialogContainer"}},[_c('dialog',{attrs:{"id":"documentPropertiesDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"fileNameLabel","data-l10n-id":"document_properties_file_name"}},[_vm._v("文件名:")]),_c('p',{attrs:{"id":"fileNameField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"fileSizeLabel","data-l10n-id":"document_properties_file_size"}},[_vm._v("文件大小:")]),_c('p',{attrs:{"id":"fileSizeField","aria-labelledby":"fileSizeLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"titleLabel","data-l10n-id":"document_properties_title"}},[_vm._v("标题:")]),_c('p',{attrs:{"id":"titleField","aria-labelledby":"titleLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"authorLabel","data-l10n-id":"document_properties_author"}},[_vm._v("作者:")]),_c('p',{attrs:{"id":"authorField","aria-labelledby":"authorLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"subjectLabel","data-l10n-id":"document_properties_subject"}},[_vm._v("主题:")]),_c('p',{attrs:{"id":"subjectField","aria-labelledby":"subjectLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"keywordsLabel","data-l10n-id":"document_properties_keywords"}},[_vm._v("关键词:")]),_c('p',{attrs:{"id":"keywordsField","aria-labelledby":"keywordsLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"creationDateLabel","data-l10n-id":"document_properties_creation_date"}},[_vm._v("创建日期:")]),_c('p',{attrs:{"id":"creationDateField","aria-labelledby":"creationDateLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"modificationDateLabel","data-l10n-id":"document_properties_modification_date"}},[_vm._v("修改日期:")]),_c('p',{attrs:{"id":"modificationDateField","aria-labelledby":"modificationDateLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"creatorLabel","data-l10n-id":"document_properties_creator"}},[_vm._v("创建者:")]),_c('p',{attrs:{"id":"creatorField","aria-labelledby":"creatorLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"producerLabel","data-l10n-id":"document_properties_producer"}},[_vm._v("OFD 生成器:")]),_c('p',{attrs:{"id":"producerField","aria-labelledby":"producerLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"versionLabel","data-l10n-id":"document_properties_version"}},[_vm._v("OFD 版本:")]),_c('p',{attrs:{"id":"versionField","aria-labelledby":"versionLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"pageCountLabel","data-l10n-id":"document_properties_page_count"}},[_vm._v("页数:")]),_c('p',{attrs:{"id":"pageCountField","aria-labelledby":"pageCountLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"pageSizeLabel","data-l10n-id":"document_properties_page_size"}},[_vm._v("页面大小:")]),_c('p',{attrs:{"id":"pageSizeField","aria-labelledby":"pageSizeLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row",attrs:{"hidden":"hidden"}},[_c('span',{attrs:{"id":"linearizedLabel","data-l10n-id":"document_properties_linearized"}},[_vm._v("快速 Web 视图:")]),_c('p',{attrs:{"id":"linearizedField","aria-labelledby":"linearizedLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"documentPropertiesClose"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_close"}},[_vm._v("关闭")])])])]),_c('dialog',{staticStyle:{"min-width":"200px"},attrs:{"id":"printServiceDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"data-l10n-id":"print_progress_message"}},[_vm._v("正在准备打印文档…")])]),_c('div',{staticClass:"row"},[_c('progress',{attrs:{"id":"printProgress","value":"0","max":"100"}}),_c('span',{staticClass:"relative-progress",attrs:{"data-l10n-id":"print_progress_percent","data-l10n-args":"{ \"progress\": 0 }"}},[_vm._v("0%")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"printCancel"}},[_c('span',{attrs:{"data-l10n-id":"print_progress_close"}},[_vm._v("取消")])])])]),_c('dialog',{attrs:{"id":"signaturePropertiesDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signerLabel"}},[_vm._v("签章人:")]),_c('p',{attrs:{"id":"signerField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"providerLabel"}},[_vm._v("签章提供者:")]),_c('p',{attrs:{"id":"providerField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"hashedValueLabel"}},[_vm._v("原文摘要值:")]),_c('p',{attrs:{"id":"hashedValueField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signedValueLabel"}},[_vm._v("签名值:")]),_c('p',{attrs:{"id":"signedValueField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signMethodLabel"}},[_vm._v("签名算法:")]),_c('p',{attrs:{"id":"signMethodField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signVersionLabel"}},[_vm._v("版本号:")]),_c('p',{attrs:{"id":"signVersionField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"verifyLabel"}},[_vm._v("验签结果:")]),_c('p',{attrs:{"id":"verifyField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealIDLabel"}},[_vm._v("印章标识:")]),_c('p',{attrs:{"id":"sealIDField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealNameLabel"}},[_vm._v("印章名称:")]),_c('p',{attrs:{"id":"sealNameField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealTypeLabel"}},[_vm._v("印章类型:")]),_c('p',{attrs:{"id":"sealTypeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealAuthTimeLabel"}},[_vm._v("有效时间:")]),_c('p',{attrs:{"id":"sealAuthTimeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealMakeTimeLabel"}},[_vm._v("制章日期:")]),_c('p',{attrs:{"id":"sealMakeTimeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealVersionLabel"}},[_vm._v("印章版本:")]),_c('p',{attrs:{"id":"sealVersionField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"signaturePropertiesClose"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_close"}},[_vm._v("关闭")])])])])])])
|
1032
|
+
}]
|
1033
|
+
|
1779
1034
|
|
1780
1035
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=41f3cab9&scoped=true&
|
1781
1036
|
|
1782
1037
|
// EXTERNAL MODULE: ./packages/ofdView/viewer.css
|
1783
1038
|
var viewer = __webpack_require__(508);
|
1784
|
-
;// CONCATENATED MODULE: ./node_modules
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
img
|
1806
|
-
img.style.
|
1807
|
-
img.style.
|
1808
|
-
img.
|
1809
|
-
img.
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
1815
|
-
//
|
1816
|
-
//
|
1817
|
-
//
|
1818
|
-
//
|
1819
|
-
//
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
},
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1878
|
-
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1895
|
-
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1039
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=script&lang=js&
|
1040
|
+
|
1041
|
+
|
1042
|
+
let config;
|
1043
|
+
/* harmony default export */ var srcvue_type_script_lang_js_ = ({
|
1044
|
+
name: "OfdView",
|
1045
|
+
props: {
|
1046
|
+
|
1047
|
+
},
|
1048
|
+
data() {
|
1049
|
+
return {
|
1050
|
+
containerHeight: 0,
|
1051
|
+
}
|
1052
|
+
},
|
1053
|
+
|
1054
|
+
mounted() {
|
1055
|
+
if (!config) {
|
1056
|
+
config = this.getViewerConfiguration()
|
1057
|
+
console.log('mounted')
|
1058
|
+
//vue下viewerContainer必须设置height
|
1059
|
+
this.containerHeight = `${window.innerHeight - 100}px`
|
1060
|
+
let img = new Image();
|
1061
|
+
img.style.position = 'absolute';
|
1062
|
+
img.style.left = 0;
|
1063
|
+
img.style.right = 0;
|
1064
|
+
img.style.margin = 'auto';
|
1065
|
+
img.style.top = 0;
|
1066
|
+
img.style.bottom = 0;
|
1067
|
+
img.src = 'data:image/gif;base64,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';
|
1068
|
+
img.draggable = false;
|
1069
|
+
config.loadingContainer = img
|
1070
|
+
// config.onPageChanging = pageNumber => {
|
1071
|
+
// // console.log(pageNumber)
|
1072
|
+
// }
|
1073
|
+
// config.parserOFDSuccess = core => {
|
1074
|
+
// // console.log(core)
|
1075
|
+
// }
|
1076
|
+
// config.onPageScale = scale => {
|
1077
|
+
// // console.log(scale)
|
1078
|
+
// }
|
1079
|
+
}
|
1080
|
+
// ofd.openOFDViewer(config)
|
1081
|
+
|
1082
|
+
},
|
1083
|
+
|
1084
|
+
methods: {
|
1085
|
+
getViewerConfiguration() {
|
1086
|
+
let errorWrapper = null
|
1087
|
+
errorWrapper = {
|
1088
|
+
container: document.getElementById('errorWrapper'),
|
1089
|
+
errorMessage: document.getElementById('errorMessage'),
|
1090
|
+
closeButton: document.getElementById('errorClose'),
|
1091
|
+
errorMoreInfo: document.getElementById('errorMoreInfo'),
|
1092
|
+
moreInfoButton: document.getElementById('errorShowMore'),
|
1093
|
+
lessInfoButton: document.getElementById('errorShowLess'),
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
return {
|
1097
|
+
appContainer: document.body,
|
1098
|
+
mainContainer: document.getElementById('viewerContainer'),
|
1099
|
+
viewerContainer: document.getElementById('viewer'),
|
1100
|
+
toolbar: {
|
1101
|
+
container: document.getElementById('toolbarViewer'),
|
1102
|
+
numPages: document.getElementById('numPages'),
|
1103
|
+
pageNumber: document.getElementById('pageNumber'),
|
1104
|
+
scaleSelect: document.getElementById('scaleSelect'),
|
1105
|
+
customScaleOption: document.getElementById('customScaleOption'),
|
1106
|
+
previous: document.getElementById('previous'),
|
1107
|
+
next: document.getElementById('next'),
|
1108
|
+
zoomIn: document.getElementById('zoomIn'),
|
1109
|
+
zoomOut: document.getElementById('zoomOut'),
|
1110
|
+
openFile: document.getElementById('openFile'),
|
1111
|
+
print: document.getElementById('print'),
|
1112
|
+
},
|
1113
|
+
secondaryToolbar: {
|
1114
|
+
toolbar: document.getElementById('secondaryToolbar'),
|
1115
|
+
toggleButton: document.getElementById('secondaryToolbarToggle'),
|
1116
|
+
toolbarButtonContainer: document.getElementById(
|
1117
|
+
'secondaryToolbarButtonContainer'
|
1118
|
+
),
|
1119
|
+
openFileButton: document.getElementById('secondaryOpenFile'),
|
1120
|
+
printButton: document.getElementById('secondaryPrint'),
|
1121
|
+
documentPropertiesButton: document.getElementById('documentProperties'),
|
1122
|
+
},
|
1123
|
+
sidebar: {
|
1124
|
+
// Divs (and sidebar button)
|
1125
|
+
outerContainer: document.getElementById('outerContainer'),
|
1126
|
+
viewerContainer: document.getElementById('viewerContainer'),
|
1127
|
+
},
|
1128
|
+
sidebarResizer: {
|
1129
|
+
outerContainer: document.getElementById('outerContainer'),
|
1130
|
+
},
|
1131
|
+
documentProperties: {
|
1132
|
+
dialog: document.getElementById('documentPropertiesDialog'),
|
1133
|
+
closeButton: document.getElementById('documentPropertiesClose'),
|
1134
|
+
fields: {
|
1135
|
+
fileName: document.getElementById('fileNameField'),
|
1136
|
+
fileSize: document.getElementById('fileSizeField'),
|
1137
|
+
title: document.getElementById('titleField'),
|
1138
|
+
author: document.getElementById('authorField'),
|
1139
|
+
subject: document.getElementById('subjectField'),
|
1140
|
+
keywords: document.getElementById('keywordsField'),
|
1141
|
+
creationDate: document.getElementById('creationDateField'),
|
1142
|
+
modificationDate: document.getElementById('modificationDateField'),
|
1143
|
+
creator: document.getElementById('creatorField'),
|
1144
|
+
producer: document.getElementById('producerField'),
|
1145
|
+
version: document.getElementById('versionField'),
|
1146
|
+
pageCount: document.getElementById('pageCountField'),
|
1147
|
+
pageSize: document.getElementById('pageSizeField'),
|
1148
|
+
linearized: document.getElementById('linearizedField'),
|
1149
|
+
},
|
1150
|
+
},
|
1151
|
+
signatureProperties: {
|
1152
|
+
dialog: document.getElementById('signaturePropertiesDialog'),
|
1153
|
+
closeButton: document.getElementById('signaturePropertiesClose'),
|
1154
|
+
fields: {
|
1155
|
+
signer: document.getElementById('signerField'),
|
1156
|
+
provider: document.getElementById('providerField'),
|
1157
|
+
hashedValue: document.getElementById('hashedValueField'),
|
1158
|
+
signedValue: document.getElementById('signedValueField'),
|
1159
|
+
signMethod: document.getElementById('signMethodField'),
|
1160
|
+
signVersion: document.getElementById('signVersionField'),
|
1161
|
+
verify: document.getElementById('verifyField'),
|
1162
|
+
|
1163
|
+
sealID: document.getElementById('sealIDField'),
|
1164
|
+
sealName: document.getElementById('sealNameField'),
|
1165
|
+
sealType: document.getElementById('sealTypeField'),
|
1166
|
+
sealAuthTime: document.getElementById('sealAuthTimeField'),
|
1167
|
+
sealMakeTime: document.getElementById('sealMakeTimeField'),
|
1168
|
+
sealVersion: document.getElementById('sealVersionField'),
|
1169
|
+
},
|
1170
|
+
},
|
1171
|
+
errorWrapper,
|
1172
|
+
printContainer: document.getElementById('printContainer'),
|
1173
|
+
openFileInputName: 'fileInput',
|
1174
|
+
}
|
1175
|
+
}
|
1176
|
+
}
|
1177
|
+
});
|
1178
|
+
|
1914
1179
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
|
1915
1180
|
/* harmony default export */ var ofdView_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
|
1916
1181
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
@@ -2032,32 +1297,40 @@ var component = normalizeComponent(
|
|
2032
1297
|
|
2033
1298
|
/* harmony default export */ var ofdView_src = (component.exports);
|
2034
1299
|
;// CONCATENATED MODULE: ./packages/ofdView/index.js
|
1300
|
+
|
1301
|
+
|
1302
|
+
ofdView_src.install = Vue => Vue.component(ofdView_src.name, ofdView_src);//注册组件
|
1303
|
+
|
1304
|
+
/* harmony default export */ var ofdView = (ofdView_src);
|
2035
1305
|
|
2036
|
-
ofdView_src.install = Vue => Vue.component(ofdView_src.name, ofdView_src); //注册组件
|
2037
|
-
|
2038
|
-
/* harmony default export */ var ofdView = (ofdView_src);
|
2039
1306
|
;// CONCATENATED MODULE: ./packages/index.js
|
1307
|
+
|
1308
|
+
|
1309
|
+
const components = [
|
1310
|
+
ofdView
|
1311
|
+
]
|
1312
|
+
|
1313
|
+
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
1314
|
+
const install = function (Vue) {
|
1315
|
+
|
1316
|
+
// 判断是否安装
|
1317
|
+
if (install.installed) return
|
1318
|
+
// 遍历注册全局组件
|
1319
|
+
components.map(component => Vue.component(component.name, component))
|
1320
|
+
}
|
1321
|
+
|
1322
|
+
// 判断是否是直接引入文件
|
1323
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
1324
|
+
install(window.Vue)
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
/* harmony default export */ var packages_0 = ({
|
1328
|
+
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
1329
|
+
install,
|
1330
|
+
// 以下是具体的组件列表
|
1331
|
+
OfdView: ofdView
|
1332
|
+
});
|
2040
1333
|
|
2041
|
-
const components = [ofdView];
|
2042
|
-
|
2043
|
-
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
2044
|
-
const install = function (Vue) {
|
2045
|
-
// 判断是否安装
|
2046
|
-
if (install.installed) return;
|
2047
|
-
// 遍历注册全局组件
|
2048
|
-
components.map(component => Vue.component(component.name, component));
|
2049
|
-
};
|
2050
|
-
|
2051
|
-
// 判断是否是直接引入文件
|
2052
|
-
if (typeof window !== 'undefined' && window.Vue) {
|
2053
|
-
install(window.Vue);
|
2054
|
-
}
|
2055
|
-
/* harmony default export */ var packages_0 = ({
|
2056
|
-
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
2057
|
-
install,
|
2058
|
-
// 以下是具体的组件列表
|
2059
|
-
OfdView: ofdView
|
2060
|
-
});
|
2061
1334
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
2062
1335
|
|
2063
1336
|
|