UNPKG

awv3

Version:
1,463 lines 510 kB
{ "type": "Program", "start": 0, "end": 4674, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 120, "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": "Plugin" } } ], "importKind": "value", "source": { "type": "Literal", "start": 19, "end": 35, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 35 } }, "value": "../core/plugin", "rawValue": "../core/plugin", "raw": "'../core/plugin'" } }, { "type": "ImportDeclaration", "start": 37, "end": 59, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 22 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 44, "end": 47, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 10 } }, "local": { "type": "Identifier", "start": 44, "end": 47, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 10 } }, "name": "Vue" } } ], "importKind": "value", "source": { "type": "Literal", "start": 53, "end": 58, "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 21 } }, "value": "vue", "rawValue": "vue", "raw": "'vue'" } }, { "type": "ExportDefaultDeclaration", "start": 61, "end": 4673, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 119, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 76, "end": 4673, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 119, "column": 1 } }, "id": { "type": "Identifier", "start": 82, "end": 96, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 35 } }, "name": "VueIntegration" }, "superClass": null, "body": { "type": "ClassBody", "start": 97, "end": 4673, "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 119, "column": 1 } }, "body": [ { "type": "MethodDefinition", "start": 103, "end": 1155, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 25, "column": 5 } }, "computed": false, "key": { "type": "Identifier", "start": 103, "end": 114, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 15 } }, "name": "constructor" }, "static": false, "kind": "constructor", "value": { "type": "FunctionExpression", "start": 114, "end": 1155, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 25, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 115, "end": 122, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 23 } }, "name": "plugins" }, { "type": "ObjectPattern", "start": 135, "end": 155, "loc": { "start": { "line": 5, "column": 36 }, "end": { "line": 5, "column": 56 } }, "properties": [ { "type": "Property", "start": 136, "end": 143, "loc": { "start": { "line": 5, "column": 37 }, "end": { "line": 5, "column": 44 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 136, "end": 143, "loc": { "start": { "line": 5, "column": 37 }, "end": { "line": 5, "column": 44 } }, "name": "timeout", "leadingComments": null, "trailingComments": null }, "kind": "init", "value": { "type": "Identifier", "start": 136, "end": 143, "loc": { "start": { "line": 5, "column": 37 }, "end": { "line": 5, "column": 44 } }, "name": "timeout", "leadingComments": [ { "type": "Block", "value": "options", "start": 124, "end": 135, "loc": { "start": { "line": 5, "column": 25 }, "end": { "line": 5, "column": 36 } }, "range": [ 124, 135 ] } ], "trailingComments": [ { "type": "Block", "value": "seconds", "start": 143, "end": 154, "loc": { "start": { "line": 5, "column": 44 }, "end": { "line": 5, "column": 55 } }, "range": [ 143, 154 ] } ] }, "leadingComments": null, "trailingComments": [ { "type": "Block", "value": "seconds", "start": 143, "end": 154, "loc": { "start": { "line": 5, "column": 44 }, "end": { "line": 5, "column": 55 } }, "range": [ 143, 154 ] } ] } ], "leadingComments": [ { "type": "Block", "value": "options", "start": 124, "end": 135, "loc": { "start": { "line": 5, "column": 25 }, "end": { "line": 5, "column": 36 } }, "range": [ 124, 135 ] } ] }, { "type": "ObjectPattern", "start": 174, "end": 208, "loc": { "start": { "line": 5, "column": 75 }, "end": { "line": 5, "column": 109 } }, "properties": [ { "type": "Property", "start": 175, "end": 180, "loc": { "start": { "line": 5, "column": 76 }, "end": { "line": 5, "column": 81 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 175, "end": 180, "loc": { "start": { "line": 5, "column": 76 }, "end": { "line": 5, "column": 81 } }, "name": "toast", "leadingComments": null }, "kind": "init", "value": { "type": "Identifier", "start": 175, "end": 180, "loc": { "start": { "line": 5, "column": 76 }, "end": { "line": 5, "column": 81 } }, "name": "toast", "leadingComments": [ { "type": "Block", "value": "vueComponents", "start": 157, "end": 174, "loc": { "start": { "line": 5, "column": 58 }, "end": { "line": 5, "column": 75 } }, "range": [ 157, 174 ] } ] }, "leadingComments": null }, { "type": "Property", "start": 182, "end": 187, "loc": { "start": { "line": 5, "column": 83 }, "end": { "line": 5, "column": 88 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 182, "end": 187, "loc": { "start": { "line": 5, "column": 83 }, "end": { "line": 5, "column": 88 } }, "name": "label" }, "kind": "init", "value": { "type": "Identifier", "start": 182, "end": 187, "loc": { "start": { "line": 5, "column": 83 }, "end": { "line": 5, "column": 88 } }, "name": "label" } }, { "type": "Property", "start": 189, "end": 194, "loc": { "start": { "line": 5, "column": 90 }, "end": { "line": 5, "column": 95 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 189, "end": 194, "loc": { "start": { "line": 5, "column": 90 }, "end": { "line": 5, "column": 95 } }, "name": "modal" }, "kind": "init", "value": { "type": "Identifier", "start": 189, "end": 194, "loc": { "start": { "line": 5, "column": 90 }, "end": { "line": 5, "column": 95 } }, "name": "modal" } }, { "type": "Property", "start": 196, "end": 207, "loc": { "start": { "line": 5, "column": 97 }, "end": { "line": 5, "column": 108 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 196, "end": 207, "loc": { "start": { "line": 5, "column": 97 }, "end": { "line": 5, "column": 108 } }, "name": "buttonPanel" }, "kind": "init", "value": { "type": "Identifier", "start": 196, "end": 207, "loc": { "start": { "line": 5, "column": 97 }, "end": { "line": 5, "column": 108 } }, "name": "buttonPanel" } } ], "leadingComments": [ { "type": "Block", "value": "options", "start": 124, "end": 135, "loc": { "start": { "line": 5, "column": 25 }, "end": { "line": 5, "column": 36 } }, "range": [ 124, 135 ] }, { "type": "Block", "value": "seconds", "start": 143, "end": 154, "loc": { "start": { "line": 5, "column": 44 }, "end": { "line": 5, "column": 55 } }, "range": [ 143, 154 ] } ] } ], "body": { "type": "BlockStatement", "start": 210, "end": 1155, "loc": { "start": { "line": 5, "column": 111 }, "end": { "line": 25, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 220, "end": 243, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 220, "end": 242, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 220, "end": 232, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 20 } }, "object": { "type": "ThisExpression", "start": 220, "end": 224, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 12 } } }, "property": { "type": "Identifier", "start": 225, "end": 232, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 20 } }, "name": "plugins" }, "computed": false }, "right": { "type": "Identifier", "start": 235, "end": 242, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 30 } }, "name": "plugins" } } }, { "type": "ExpressionStatement", "start": 252, "end": 280, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 252, "end": 279, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 252, "end": 264, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 20 } }, "object": { "type": "ThisExpression", "start": 252, "end": 256, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 12 } } }, "property": { "type": "Identifier", "start": 257, "end": 264, "loc": { "start": { "line": 7, "column": 13 }, "end": { "line": 7, "column": 20 } }, "name": "timeout" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 267, "end": 279, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 35 } }, "left": { "type": "Identifier", "start": 267, "end": 274, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 30 } }, "name": "timeout" }, "operator": "||", "right": { "type": "Literal", "start": 278, "end": 279, "loc": { "start": { "line": 7, "column": 34 }, "end": { "line": 7, "column": 35 } }, "value": 5, "rawValue": 5, "raw": "5" } } } }, { "type": "ExpressionStatement", "start": 289, "end": 308, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 289, "end": 307, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 289, "end": 299, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 18 } }, "object": { "type": "ThisExpression", "start": 289, "end": 293, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 12 } } }, "property": { "type": "Identifier", "start": 294, "end": 299, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 18 } }, "name": "toast" }, "computed": false }, "right": { "type": "Identifier", "start": 302, "end": 307, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 26 } }, "name": "toast" } } }, { "type": "ExpressionStatement", "start": 317, "end": 336, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 317, "end": 335, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 317, "end": 327, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 18 } }, "object": { "type": "ThisExpression", "start": 317, "end": 321, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 12 } } }, "property": { "type": "Identifier", "start": 322, "end": 327, "loc": { "start": { "line": 9, "column": 13 }, "end": { "line": 9, "column": 18 } }, "name": "label" }, "computed": false }, "right": { "type": "Identifier", "start": 330, "end": 335, "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 26 } }, "name": "label" } } }, { "type": "ExpressionStatement", "start": 345, "end": 364, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 345, "end": 363, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 345, "end": 355, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 18 } }, "object": { "type": "ThisExpression", "start": 345, "end": 349, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 12 } } }, "property": { "type": "Identifier", "start": 350, "end": 355, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 18 } }, "name": "modal" }, "computed": false }, "right": { "type": "Identifier", "start": 358, "end": 363, "loc": { "start": { "line": 10, "column": 21 }, "end": { "line": 10, "column": 26 } }, "name": "modal" } } }, { "type": "ExpressionStatement", "start": 373, "end": 404, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 373, "end": 403, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 373, "end": 389, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 24 } }, "object": { "type": "ThisExpression", "start": 373, "end": 377, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 12 } } }, "property": { "type": "Identifier", "start": 378, "end": 389, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 24 } }, "name": "buttonPanel" }, "computed": false }, "right": { "type": "Identifier", "start": 392, "end": 403, "loc": { "start": { "line": 11, "column": 27 }, "end": { "line": 11, "column": 38 } }, "name": "buttonPanel" } }, "trailingComments": [ { "type": "CommentLine", "value": " request* wrappers to dispatch to methods", "start": 413, "end": 456, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 51 } }, "range": [ 413, 456 ] } ] }, { "type": "VariableDeclaration", "start": 465, "end": 483, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 471, "end": 482, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 25 } }, "id": { "type": "Identifier", "start": 471, "end": 475, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 18 } }, "name": "self", "leadingComments": null }, "init": { "type": "ThisExpression", "start": 478, "end": 482, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 25 } } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " request* wrappers to dispatch to methods", "start": 413, "end": 456, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 51 } }, "range": [ 413, 456 ] } ] }, { "type": "VariableDeclaration", "start": 492, "end": 884, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 19, "column": 10 } }, "de