UNPKG

awv3

Version:
1,315 lines 102 kB
{ "type": "Program", "start": 0, "end": 1093, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 66, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 36, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 36 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 13, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 13 } }, "local": { "type": "Identifier", "start": 7, "end": 13, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 13 } }, "name": "Events" } } ], "importKind": "value", "source": { "type": "Literal", "start": 19, "end": 35, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 35 } }, "value": "../core/events", "rawValue": "../core/events", "raw": "'../core/events'" } }, { "type": "ExportDefaultDeclaration", "start": 38, "end": 916, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 56, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 53, "end": 916, "loc": { "start": { "line": 3, "column": 15 }, "end": { "line": 56, "column": 1 } }, "id": { "type": "Identifier", "start": 59, "end": 65, "loc": { "start": { "line": 3, "column": 21 }, "end": { "line": 3, "column": 27 } }, "name": "Plugin" }, "superClass": { "type": "Identifier", "start": 74, "end": 80, "loc": { "start": { "line": 3, "column": 36 }, "end": { "line": 3, "column": 42 } }, "name": "Events" }, "body": { "type": "ClassBody", "start": 81, "end": 916, "loc": { "start": { "line": 3, "column": 43 }, "end": { "line": 56, "column": 1 } }, "body": [ { "type": "MethodDefinition", "start": 87, "end": 699, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 34, "column": 5 } }, "computed": false, "key": { "type": "Identifier", "start": 87, "end": 98, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 15 } }, "name": "constructor" }, "static": false, "kind": "constructor", "value": { "type": "FunctionExpression", "start": 98, "end": 699, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 34, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 99, "end": 111, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 28 } }, "operator": "=", "left": { "type": "Identifier", "start": 99, "end": 106, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 23 } }, "name": "options" }, "right": { "type": "ObjectExpression", "start": 109, "end": 111, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 28 } }, "properties": [] } } ], "body": { "type": "BlockStatement", "start": 113, "end": 699, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 34, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 124, "end": 132, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 16 } }, "expression": { "type": "CallExpression", "start": 124, "end": 131, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 15 } }, "callee": { "type": "Super", "start": 124, "end": 129, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 13 } } }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 142, "end": 220, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 9, "column": 39 } }, "expression": { "type": "SequenceExpression", "start": 142, "end": 219, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 9, "column": 38 } }, "expressions": [ { "type": "AssignmentExpression", "start": 142, "end": 179, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 142, "end": 151, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 17 } }, "object": { "type": "ThisExpression", "start": 142, "end": 146, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 12 } } }, "property": { "type": "Identifier", "start": 147, "end": 151, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 17 } }, "name": "name" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 154, "end": 179, "loc": { "start": { "line": 8, "column": 20 }, "end": { "line": 8, "column": 45 } }, "left": { "type": "MemberExpression", "start": 154, "end": 166, "loc": { "start": { "line": 8, "column": 20 }, "end": { "line": 8, "column": 32 } }, "object": { "type": "Identifier", "start": 154, "end": 161, "loc": { "start": { "line": 8, "column": 20 }, "end": { "line": 8, "column": 27 } }, "name": "options" }, "property": { "type": "Identifier", "start": 162, "end": 166, "loc": { "start": { "line": 8, "column": 28 }, "end": { "line": 8, "column": 32 } }, "name": "name" }, "computed": false }, "operator": "||", "right": { "type": "Literal", "start": 170, "end": 179, "loc": { "start": { "line": 8, "column": 36 }, "end": { "line": 8, "column": 45 } }, "value": "unnamed", "rawValue": "unnamed", "raw": "'unnamed'" } } }, { "type": "AssignmentExpression", "start": 189, "end": 219, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 189, "end": 198, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 17 } }, "object": { "type": "ThisExpression", "start": 189, "end": 193, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 12 } } }, "property": { "type": "Identifier", "start": 194, "end": 198, "loc": { "start": { "line": 9, "column": 13 }, "end": { "line": 9, "column": 17 } }, "name": "icon" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 201, "end": 219, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 38 } }, "left": { "type": "MemberExpression", "start": 201, "end": 213, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 32 } }, "object": { "type": "Identifier", "start": 201, "end": 208, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 27 } }, "name": "options" }, "property": { "type": "Identifier", "start": 209, "end": 213, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 32 } }, "name": "icon" }, "computed": false }, "operator": "||", "right": { "type": "Literal", "start": 217, "end": 219, "loc": { "start": { "line": 9, "column": 36 }, "end": { "line": 9, "column": 38 } }, "value": "", "rawValue": "", "raw": "''" } } } ] } }, { "type": "ExpressionStatement", "start": 229, "end": 258, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 229, "end": 257, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 229, "end": 245, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 24 } }, "object": { "type": "ThisExpression", "start": 229, "end": 233, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 12 } } }, "property": { "type": "Identifier", "start": 234, "end": 245, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 24 } }, "name": "integration" }, "computed": false }, "right": { "type": "Identifier", "start": 248, "end": 257, "loc": { "start": { "line": 10, "column": 27 }, "end": { "line": 10, "column": 36 } }, "name": "undefined" } } }, { "type": "ExpressionStatement", "start": 267, "end": 282, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 267, "end": 281, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 267, "end": 276, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 17 } }, "object": { "type": "ThisExpression", "start": 267, "end": 271, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 12 } } }, "property": { "type": "Identifier", "start": 272, "end": 276, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 17 } }, "name": "data" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 279, "end": 281, "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 22 } }, "properties": [] } }, "trailingComments": [ { "type": "CommentLine", "value": " Apply values", "start": 292, "end": 307, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 23 } }, "range": [ 292, 307 ] } ] }, { "type": "ExpressionStatement", "start": 316, "end": 692, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 32, "column": 11 } }, "expression": { "type": "CallExpression", "start": 316, "end": 691, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 32, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 316, "end": 326, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 18 } }, "object": { "type": "ThisExpression", "start": 316, "end": 320, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 321, "end": 326, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 18 } }, "name": "apply" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ObjectExpression", "start": 327, "end": 690, "loc": { "start": { "line": 14, "column": 19 }, "end": { "line": 32, "column": 9 } }, "properties": [ { "type": "Property", "start": 341, "end": 357, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 341, "end": 350, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 21 } }, "name": "collapsed" }, "value": { "type": "Literal", "start": 352, "end": 357, "loc": { "start": { "line": 15, "column": 23 }, "end": { "line": 15, "column": 28 } }, "value": false, "rawValue": false, "raw": "false" }, "kind": "init" }, { "type": "Property", "start": 371, "end": 382, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 16, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 371, "end": 376, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 16, "column": 17 } }, "name": "hasOk" }, "value": { "type": "Literal", "start": 378, "end": 382, "loc": { "start": { "line": 16, "column": 19 }, "end": { "line": 16, "column": 23 } }, "value": true, "rawValue": true, "raw": "true" }, "kind": "init" }, { "type": "Property", "start": 396, "end": 411, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 396, "end": 405, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 21 } }, "name": "hasCancel" }, "value": { "type": "Literal", "start": 407, "end": 411, "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 17, "column": 27 } }, "value": true, "rawValue": true, "raw": "true" }, "kind": "init" }, { "type": "Property", "start": 426, "end": 435, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 426, "end": 431, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 17 } }, "name": "title" }, "value": { "type": "Literal", "start": 433, "end": 435, "loc": { "start": { "line": 19, "column": 19 }, "end": { "line": 19, "column": 21 } }, "value": "", "rawValue": "", "raw": "''" }, "kind": "init" }, { "type": "Property", "start": 449, "end": 460, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 449, "end": 456, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 19 } }, "name": "toolbar" }, "value": { "type": "ArrayExpression", "start": 458, "end": 460, "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 23 } }, "elements": [] }, "kind": "init" }, { "type": "Property", "start": 474, "end": 486, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 474, "end": 482, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 20 } }, "name": "elements" }, "value": { "type": "ArrayExpression", "start": 484, "end": 486, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 24 } }, "elements": [] }, "kind": "init" }, { "type": "Property", "start": 500, "end": 511, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 500, "end": 507, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 19 } }, "name": "results" }, "value": { "type": "ArrayExpression", "start": 509, "end": 511, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 23 } }, "elements": [] }, "kind": "init" }, { "type": "Property", "start": 525, "end": 543, "lo