Files
yusheng-h5/uni_modules/simple-pdf-viewer/simple-pdf-viewer.metadata.json

1 line
18 KiB
JSON
Raw Normal View History

2025-12-31 14:44:40 +08:00
{"__symbolic":"module","version":4,"metadata":{"SimplePdfViewerModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":15,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":16,"character":12}],"declarations":[{"__symbolic":"reference","name":"SimplePdfViewerComponent"}],"exports":[{"__symbolic":"reference","name":"SimplePdfViewerComponent"}]}]}],"members":{}},"SimplePdfViewerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":27,"character":1},"arguments":[{"selector":"simple-pdf-viewer","template":"<div class=\"pdfViewerContainer\" [hidden]=\"!isDocumentLoaded()\"><div class=\"pdfViewer\"></div></div>","styles":["\n :host /deep/ .pdfViewerContainer {\n overflow: auto;\n position: relative;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n }\n \n :host /deep/ .textLayer {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n opacity: 0.2;\n line-height: 1.0;\n }\n \n :host /deep/ .textLayer > div {\n color: transparent;\n position: absolute;\n white-space: pre;\n cursor: text;\n -webkit-transform-origin: 0% 0%;\n -moz-transform-origin: 0% 0%;\n -o-transform-origin: 0% 0%;\n -ms-transform-origin: 0% 0%;\n transform-origin: 0% 0%;\n }\n \n :host /deep/ .textLayer .highlight {\n margin: -1px;\n padding: 1px;\n \n background-color: #002bff;\n border-radius: 4px;\n }\n \n :host /deep/ .textLayer .highlight.begin {\n border-radius: 4px 0px 0px 4px;\n }\n \n :host /deep/ .textLayer .highlight.end {\n border-radius: 0px 4px 4px 0px;\n }\n \n :host /deep/ .textLayer .highlight.middle {\n border-radius: 0px;\n }\n \n :host /deep/ .textLayer .highlight.selected {\n background-color: rgb(0, 100, 0);\n }\n \n :host /deep/ .textLayer ::selection { background: #002bff; }\n :host /deep/ .textLayer ::-moz-selection { background: #002bff; }\n \n :host /deep/ .textLayer .endOfContent {\n display: block;\n position: absolute;\n left: 0px;\n top: 100%;\n right: 0px;\n bottom: 0px;\n z-index: -1;\n cursor: default;\n -webkit-user-select: none;\n -ms-user-select: none;\n -moz-user-select: none;\n }\n \n :host /deep/ .annotationLayer section {\n position: absolute;\n }\n \n :host /deep/ .textLayer .endOfContent.active {\n top: 0px;\n }\n \n :host /deep/ .annotationLayer .linkAnnotation > a {\n position: absolute;\n font-size: 1em;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n \n :host /deep/ .annotationLayer .linkAnnotation > a:hover {\n opacity: 0.2;\n background: #002bff;\n box-shadow: 0px 2px 10px #002bff;\n }\n \n :host /deep/ .annotationLayer .linkAnnotation > a /* -ms-a */ {\n background: url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\") 0 0 repeat;\n }\n \n :host /deep/ .annotationLayer .textAnnotation img {\n position: absolute;\n cursor: pointer;\n }\n \n :host /deep/ .annotationLayer .textWidgetAnnotation input,\n :host /deep/ .annotationLayer .textWidgetAnnotation textarea,\n :host /deep/ .annotationLayer .choiceWidgetAnnotation select,\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.checkBox input,\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.radioButton input {\n background-color: #002bff;\n border: 1px solid transparent;\n box-sizing: border-box;\n font-size: 9px;\n height: 100%;\n padding: 0 3px;\n vertical-align: top;\n width: 100%;\n }\n \n :host /deep/ .annotationLayer .textWidgetAnnotation textarea {\n font: message-box;\n font-size: 9px;\n resize: none;\n }\n \n :host /deep/ .annotationLayer .textWidgetAnnotation input[disabled],\n :host /deep/ .annotationLayer .textWidgetAn