all files / pdfviewer/base/ types.js

100% Statements 195/195
100% Branches 30/30
100% Functions 16/16
100% Lines 195/195
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213                                    
define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var CommentStatus;
    (function (CommentStatus) {
        CommentStatus[CommentStatus["None"] = 1] = "None";
        CommentStatus[CommentStatus["Accepted"] = 2] = "Accepted";
        CommentStatus[CommentStatus["Canceled"] = 3] = "Canceled";
        CommentStatus[CommentStatus["Completed"] = 4] = "Completed";
        CommentStatus[CommentStatus["Rejected"] = 5] = "Rejected";
    })(CommentStatus = exports.CommentStatus || (exports.CommentStatus = {}));
    var FontStyle;
    (function (FontStyle) {
        FontStyle[FontStyle["None"] = 0] = "None";
        FontStyle[FontStyle["Bold"] = 1] = "Bold";
        FontStyle[FontStyle["Italic"] = 2] = "Italic";
        FontStyle[FontStyle["Underline"] = 4] = "Underline";
        FontStyle[FontStyle["Strikethrough"] = 8] = "Strikethrough";
    })(FontStyle = exports.FontStyle || (exports.FontStyle = {}));
    var ContextMenuItem;
    (function (ContextMenuItem) {
        ContextMenuItem[ContextMenuItem["Copy"] = 0] = "Copy";
        ContextMenuItem[ContextMenuItem["Highlight"] = 1] = "Highlight";
        ContextMenuItem[ContextMenuItem["Cut"] = 2] = "Cut";
        ContextMenuItem[ContextMenuItem["Underline"] = 4] = "Underline";
        ContextMenuItem[ContextMenuItem["Paste"] = 8] = "Paste";
        ContextMenuItem[ContextMenuItem["Delete"] = 16] = "Delete";
        ContextMenuItem[ContextMenuItem["ScaleRatio"] = 32] = "ScaleRatio";
        ContextMenuItem[ContextMenuItem["Strikethrough"] = 64] = "Strikethrough";
        ContextMenuItem[ContextMenuItem["Properties"] = 128] = "Properties";
        ContextMenuItem[ContextMenuItem["Comment"] = 256] = "Comment";
    })(ContextMenuItem = exports.ContextMenuItem || (exports.ContextMenuItem = {}));
    var SignatureType;
    (function (SignatureType) {
        SignatureType["Draw"] = "Draw";
        SignatureType["Type"] = "Type";
        SignatureType["Image"] = "Image";
    })(SignatureType = exports.SignatureType || (exports.SignatureType = {}));
    var AnnotationResizerLocation;
    (function (AnnotationResizerLocation) {
        AnnotationResizerLocation[AnnotationResizerLocation["Corners"] = 1] = "Corners";
        AnnotationResizerLocation[AnnotationResizerLocation["Edges"] = 2] = "Edges";
    })(AnnotationResizerLocation = exports.AnnotationResizerLocation || (exports.AnnotationResizerLocation = {}));
    var DisplayMode;
    (function (DisplayMode) {
        DisplayMode[DisplayMode["Draw"] = 1] = "Draw";
        DisplayMode[DisplayMode["Text"] = 2] = "Text";
        DisplayMode[DisplayMode["Upload"] = 4] = "Upload";
    })(DisplayMode = exports.DisplayMode || (exports.DisplayMode = {}));
    var CursorType;
    (function (CursorType) {
        CursorType["auto"] = "auto";
        CursorType["crossHair"] = "crosshair";
        CursorType["e_resize"] = "e-resize";
        CursorType["ew_resize"] = "ew-resize";
        CursorType["grab"] = "grab";
        CursorType["grabbing"] = "grabbing";
        CursorType["move"] = "move";
        CursorType["n_resize"] = "n-resize";
        CursorType["ne_resize"] = "ne-resize";
        CursorType["ns_resize"] = "ns-resize";
        CursorType["nw_resize"] = "nw-resize";
        CursorType["pointer"] = "pointer";
        CursorType["s_resize"] = "s-resize";
        CursorType["se_resize"] = "se-resize";
        CursorType["sw_resize"] = "sw-resize";
        CursorType["text"] = "text";
        CursorType["w_resize"] = "w-resize";
    })(CursorType = exports.CursorType || (exports.CursorType = {}));
    var DynamicStampItem;
    (function (DynamicStampItem) {
        DynamicStampItem["Revised"] = "Revised";
        DynamicStampItem["Reviewed"] = "Reviewed";
        DynamicStampItem["Received"] = "Received";
        DynamicStampItem["Approved"] = "Approved";
        DynamicStampItem["Confidential"] = "Confidential";
        DynamicStampItem["NotApproved"] = "NotApproved";
    })(DynamicStampItem = exports.DynamicStampItem || (exports.DynamicStampItem = {}));
    var SignStampItem;
    (function (SignStampItem) {
        SignStampItem["Witness"] = "Witness";
        SignStampItem["InitialHere"] = "InitialHere";
        SignStampItem["SignHere"] = "SignHere";
        SignStampItem["Accepted"] = "Accepted";
        SignStampItem["Rejected"] = "Rejected";
    })(SignStampItem = exports.SignStampItem || (exports.SignStampItem = {}));
    var StandardBusinessStampItem;
    (function (StandardBusinessStampItem) {
        StandardBusinessStampItem["Approved"] = "Approved";
        StandardBusinessStampItem["NotApproved"] = "NotApproved";
        StandardBusinessStampItem["Draft"] = "Draft";
        StandardBusinessStampItem["Final"] = "Final";
        StandardBusinessStampItem["Completed"] = "Completed";
        StandardBusinessStampItem["Confidential"] = "Confidential";
        StandardBusinessStampItem["ForPublicRelease"] = "ForPublicRelease";
        StandardBusinessStampItem["NotForPublicRelease"] = "NotForPublicRelease";
        StandardBusinessStampItem["ForComment"] = "ForComment";
        StandardBusinessStampItem["Void"] = "Void";
        StandardBusinessStampItem["PreliminaryResults"] = "PreliminaryResults";
        StandardBusinessStampItem["InformationOnly"] = "InformationOnly";
    })(StandardBusinessStampItem = exports.StandardBusinessStampItem || (exports.StandardBusinessStampItem = {}));
    var AllowedInteraction;
    (function (AllowedInteraction) {
        AllowedInteraction["Select"] = "Select";
        AllowedInteraction["Move"] = "Move";
        AllowedInteraction["Resize"] = "Resize";
        AllowedInteraction["Delete"] = "Delete";
        AllowedInteraction["None"] = "None";
        AllowedInteraction["PropertyChange"] = "PropertyChange";
    })(AllowedInteraction = exports.AllowedInteraction || (exports.AllowedInteraction = {}));
    var AnnotationDataFormat;
    (function (AnnotationDataFormat) {
        AnnotationDataFormat["Json"] = "Json";
        AnnotationDataFormat["Xfdf"] = "Xfdf";
    })(AnnotationDataFormat = exports.AnnotationDataFormat || (exports.AnnotationDataFormat = {}));
    var FormFieldDataFormat;
    (function (FormFieldDataFormat) {
        FormFieldDataFormat["Xml"] = "Xml";
        FormFieldDataFormat["Fdf"] = "Fdf";
        FormFieldDataFormat["Xfdf"] = "Xfdf";
        FormFieldDataFormat["Json"] = "Json";
    })(FormFieldDataFormat = exports.FormFieldDataFormat || (exports.FormFieldDataFormat = {}));
    var ModifierKeys;
    (function (ModifierKeys) {
        ModifierKeys[ModifierKeys["None"] = 0] = "None";
        ModifierKeys[ModifierKeys["Control"] = 1] = "Control";
        ModifierKeys[ModifierKeys["Meta"] = 1] = "Meta";
        ModifierKeys[ModifierKeys["Alt"] = 2] = "Alt";
        ModifierKeys[ModifierKeys["Shift"] = 4] = "Shift";
    })(ModifierKeys = exports.ModifierKeys || (exports.ModifierKeys = {}));
    var PdfKeys;
    (function (PdfKeys) {
        PdfKeys[PdfKeys["None"] = null] = "None";
        PdfKeys[PdfKeys["N0"] = 48] = "N0";
        PdfKeys[PdfKeys["N1"] = 49] = "N1";
        PdfKeys[PdfKeys["N2"] = 50] = "N2";
        PdfKeys[PdfKeys["N3"] = 51] = "N3";
        PdfKeys[PdfKeys["N4"] = 52] = "N4";
        PdfKeys[PdfKeys["N5"] = 53] = "N5";
        PdfKeys[PdfKeys["N6"] = 54] = "N6";
        PdfKeys[PdfKeys["N7"] = 55] = "N7";
        PdfKeys[PdfKeys["N8"] = 56] = "N8";
        PdfKeys[PdfKeys["N9"] = 57] = "N9";
        PdfKeys[PdfKeys["Number0"] = 96] = "Number0";
        PdfKeys[PdfKeys["Number1"] = 97] = "Number1";
        PdfKeys[PdfKeys["Number2"] = 98] = "Number2";
        PdfKeys[PdfKeys["Number3"] = 99] = "Number3";
        PdfKeys[PdfKeys["Number4"] = 100] = "Number4";
        PdfKeys[PdfKeys["Number5"] = 101] = "Number5";
        PdfKeys[PdfKeys["Number6"] = 102] = "Number6";
        PdfKeys[PdfKeys["Number7"] = 103] = "Number7";
        PdfKeys[PdfKeys["Number8"] = 104] = "Number8";
        PdfKeys[PdfKeys["Number9"] = 105] = "Number9";
        PdfKeys[PdfKeys["A"] = 65] = "A";
        PdfKeys[PdfKeys["B"] = 66] = "B";
        PdfKeys[PdfKeys["C"] = 67] = "C";
        PdfKeys[PdfKeys["D"] = 68] = "D";
        PdfKeys[PdfKeys["E"] = 69] = "E";
        PdfKeys[PdfKeys["F"] = 70] = "F";
        PdfKeys[PdfKeys["G"] = 71] = "G";
        PdfKeys[PdfKeys["H"] = 72] = "H";
        PdfKeys[PdfKeys["I"] = 73] = "I";
        PdfKeys[PdfKeys["J"] = 74] = "J";
        PdfKeys[PdfKeys["K"] = 75] = "K";
        PdfKeys[PdfKeys["L"] = 76] = "L";
        PdfKeys[PdfKeys["M"] = 77] = "M";
        PdfKeys[PdfKeys["N"] = 78] = "N";
        PdfKeys[PdfKeys["O"] = 79] = "O";
        PdfKeys[PdfKeys["P"] = 80] = "P";
        PdfKeys[PdfKeys["Q"] = 81] = "Q";
        PdfKeys[PdfKeys["R"] = 82] = "R";
        PdfKeys[PdfKeys["S"] = 83] = "S";
        PdfKeys[PdfKeys["T"] = 84] = "T";
        PdfKeys[PdfKeys["U"] = 85] = "U";
        PdfKeys[PdfKeys["V"] = 86] = "V";
        PdfKeys[PdfKeys["W"] = 87] = "W";
        PdfKeys[PdfKeys["X"] = 88] = "X";
        PdfKeys[PdfKeys["Y"] = 89] = "Y";
        PdfKeys[PdfKeys["Z"] = 90] = "Z";
        PdfKeys[PdfKeys["ArrowLeft"] = 37] = "ArrowLeft";
        PdfKeys[PdfKeys["ArrowUp"] = 38] = "ArrowUp";
        PdfKeys[PdfKeys["ArrowRight"] = 39] = "ArrowRight";
        PdfKeys[PdfKeys["ArrowDown"] = 40] = "ArrowDown";
        PdfKeys[PdfKeys["Escape"] = 27] = "Escape";
        PdfKeys[PdfKeys["Space"] = 32] = "Space";
        PdfKeys[PdfKeys["PageUp"] = 33] = "PageUp";
        PdfKeys[PdfKeys["PageDown"] = 34] = "PageDown";
        PdfKeys[PdfKeys["End"] = 35] = "End";
        PdfKeys[PdfKeys["Home"] = 36] = "Home";
        PdfKeys[PdfKeys["Delete"] = 46] = "Delete";
        PdfKeys[PdfKeys["Tab"] = 9] = "Tab";
        PdfKeys[PdfKeys["Enter"] = 13] = "Enter";
        PdfKeys[PdfKeys["BackSpace"] = 8] = "BackSpace";
        PdfKeys[PdfKeys["F1"] = 112] = "F1";
        PdfKeys[PdfKeys["F2"] = 113] = "F2";
        PdfKeys[PdfKeys["F3"] = 114] = "F3";
        PdfKeys[PdfKeys["F4"] = 115] = "F4";
        PdfKeys[PdfKeys["F5"] = 116] = "F5";
        PdfKeys[PdfKeys["F6"] = 117] = "F6";
        PdfKeys[PdfKeys["F7"] = 118] = "F7";
        PdfKeys[PdfKeys["F8"] = 119] = "F8";
        PdfKeys[PdfKeys["F9"] = 120] = "F9";
        PdfKeys[PdfKeys["F10"] = 121] = "F10";
        PdfKeys[PdfKeys["F11"] = 122] = "F11";
        PdfKeys[PdfKeys["F12"] = 123] = "F12";
        PdfKeys[PdfKeys["Star"] = 56] = "Star";
        PdfKeys[PdfKeys["Plus"] = 187] = "Plus";
        PdfKeys[PdfKeys["Minus"] = 189] = "Minus";
        PdfKeys[PdfKeys["BracketLeft"] = 219] = "BracketLeft";
        PdfKeys[PdfKeys["BracketRight"] = 221] = "BracketRight";
    })(PdfKeys = exports.PdfKeys || (exports.PdfKeys = {}));
});