@marko/translator-default 5.20.8 → 5.20.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,11 +23,8 @@ var parseModuleCode = _interopRequireWildcard(require("./parse-module-code"));fu
|
|
|
23
23
|
"<import>": {
|
|
24
24
|
"node-factory": parseImport,
|
|
25
25
|
"parse-options": {
|
|
26
|
-
|
|
27
|
-
rawOpenTag: true,
|
|
28
|
-
openTagOnly: true,
|
|
29
|
-
ignoreAttributes: true,
|
|
30
|
-
relaxRequireCommas: true },
|
|
26
|
+
statement: true,
|
|
27
|
+
rawOpenTag: true },
|
|
31
28
|
|
|
32
29
|
autocomplete: [
|
|
33
30
|
{
|
|
@@ -43,11 +40,8 @@ var parseModuleCode = _interopRequireWildcard(require("./parse-module-code"));fu
|
|
|
43
40
|
"<export>": {
|
|
44
41
|
"node-factory": parseExport,
|
|
45
42
|
"parse-options": {
|
|
46
|
-
|
|
47
|
-
rawOpenTag: true,
|
|
48
|
-
openTagOnly: true,
|
|
49
|
-
ignoreAttributes: true,
|
|
50
|
-
relaxRequireCommas: true },
|
|
43
|
+
statement: true,
|
|
44
|
+
rawOpenTag: true },
|
|
51
45
|
|
|
52
46
|
autocomplete: [
|
|
53
47
|
{
|
|
@@ -63,10 +57,8 @@ var parseModuleCode = _interopRequireWildcard(require("./parse-module-code"));fu
|
|
|
63
57
|
"<class>": {
|
|
64
58
|
"node-factory": parseClass,
|
|
65
59
|
"parse-options": {
|
|
66
|
-
|
|
67
|
-
rawOpenTag: true,
|
|
68
|
-
openTagOnly: true,
|
|
69
|
-
ignoreAttributes: true },
|
|
60
|
+
statement: true,
|
|
61
|
+
rawOpenTag: true },
|
|
70
62
|
|
|
71
63
|
autocomplete: [
|
|
72
64
|
{
|
|
@@ -82,10 +74,8 @@ var parseModuleCode = _interopRequireWildcard(require("./parse-module-code"));fu
|
|
|
82
74
|
"<static>": {
|
|
83
75
|
"node-factory": parseStatic,
|
|
84
76
|
"parse-options": {
|
|
85
|
-
|
|
86
|
-
rawOpenTag: true,
|
|
87
|
-
openTagOnly: true,
|
|
88
|
-
ignoreAttributes: true },
|
|
77
|
+
statement: true,
|
|
78
|
+
rawOpenTag: true },
|
|
89
79
|
|
|
90
80
|
autocomplete: [
|
|
91
81
|
{
|
|
@@ -262,7 +252,7 @@ var parseModuleCode = _interopRequireWildcard(require("./parse-module-code"));fu
|
|
|
262
252
|
"<html-comment>": {
|
|
263
253
|
"code-generator": translateHTMLComment,
|
|
264
254
|
"parse-options": {
|
|
265
|
-
|
|
255
|
+
text: true },
|
|
266
256
|
|
|
267
257
|
attributes: {},
|
|
268
258
|
autocomplete: [
|
|
@@ -390,11 +380,7 @@ var parseModuleCode = _interopRequireWildcard(require("./parse-module-code"));fu
|
|
|
390
380
|
"<module-code>": {
|
|
391
381
|
"node-factory": parseModuleCode,
|
|
392
382
|
"parse-options": {
|
|
393
|
-
|
|
394
|
-
rawOpenTag: true,
|
|
395
|
-
openTagOnly: true,
|
|
396
|
-
ignoreAttributes: true,
|
|
397
|
-
relaxRequireCommas: true } },
|
|
383
|
+
rawOpenTag: true } },
|
|
398
384
|
|
|
399
385
|
|
|
400
386
|
"<*>": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/taglib/core/index.js"],"names":["parseImport","rootOnly","rawOpenTag","openTagOnly","ignoreAttributes","relaxRequireCommas","autocomplete","displayText","description","snippet","descriptionMoreURL","parseExport","parseClass","parseStatic","parseStyle","transformer","transformStyle","parseMacro","translateMacro","type","translateIncludeContent","attributes","translateIf","translateElseIf","translateElse","translateFor","translateWhile","translateHTMLComment","state","renderer","translateServerOnly","translateBody","translateAwait","parseModuleCode","pattern"],"mappings":"gEAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8E;;AAEe;AACb,eAAa,oBADA;AAEb,cAAY;AACV,oBAAgBA,WAD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kB;AAChB,4EAJJ,EADY,CANR,EAjBH;;;;AAgCL,cAAU;AACRwB,MAAAA,OAAO,EAAE,IADD;AAERf,MAAAA,IAAI,EAAE,WAFE;AAGR,2BAAqB,IAHb;AAIR,uBAAiB,IAJT;AAKR,kBAAY,oBALJ;AAMRb,MAAAA,YAAY,EAAE;AACZC,QAAAA,WAAW,EAAE,yBADD;AAEZE,QAAAA,OAAO,EAAE,+CAFG;AAGZC,QAAAA,kBAAkB;AAChB,4EAJU,EANN,EAhCL;;;AA6CL,kBAAc;AACZS,MAAAA,IAAI,EAAE,MADM;AAEZ,uBAAiB,IAFL;AAGZb,MAAAA,YAAY,EAAE;AACZ;AACEI,QAAAA,kBAAkB;AAChB,yFAFJ,EADY,CAHF,EA7CT;;;;AAuDL,uBAAmB;AACjBS,MAAAA,IAAI,EAAE,MADW;AAEjB,uBAAiB,IAFA;AAGjBb,MAAAA,YAAY,EAAE;AACZ;AACEI,QAAAA,kBAAkB;AAChB,yFAFJ,EADY,CAHG,EAvDd;;;;AAiEL,qBAAiB;AACf,uBAAiB,IADF;AAEfJ,MAAAA,YAAY,EAAE;AACZ;AACEG,QAAAA,OAAO,EAAE,8BADX;AAEEC,QAAAA,kBAAkB;AAChB,yFAHJ,EADY,CAFC,EAjEZ;;;;AA2EL,0BAAsB;AACpB,uBAAiB,IADG;AAEpBJ,MAAAA,YAAY,EAAE;AACZ;AACEG,QAAAA,OAAO,EAAE,mCADX;AAEEC,QAAAA,kBAAkB;AAChB,yFAHJ,EADY,CAFM,EA3EjB,EA3XM,E","sourcesContent":["import * as parseImport from \"./parse-import\";\nimport * as parseExport from \"./parse-export\";\nimport * as parseClass from \"./parse-class\";\nimport * as parseStatic from \"./parse-static\";\nimport * as parseStyle from \"./parse-style\";\nimport * as transformStyle from \"./transform-style\";\nimport * as parseMacro from \"./macro/parse\";\nimport * as translateMacro from \"./macro/translate\";\nimport * as translateIncludeContent from \"./translate-include-content\";\nimport * as translateIf from \"./conditional/translate-if\";\nimport * as translateElseIf from \"./conditional/translate-else-if\";\nimport * as translateElse from \"./conditional/translate-else\";\nimport * as translateFor from \"./translate-for\";\nimport * as translateWhile from \"./translate-while\";\nimport * as translateHTMLComment from \"./translate-html-comment\";\nimport * as translateServerOnly from \"./translate-server-only\";\nimport * as translateBody from \"./translate-body\";\nimport * as translateAwait from \"./translate-await\";\nimport * as parseModuleCode from \"./parse-module-code\";\n\nexport default {\n \"taglib-id\": \"marko-default-core\",\n \"<import>\": {\n \"node-factory\": parseImport,\n \"parse-options\": {\n rootOnly: true,\n rawOpenTag: true,\n openTagOnly: true,\n ignoreAttributes: true,\n relaxRequireCommas: true\n },\n autocomplete: [\n {\n displayText: 'import <scope> from \"<path>\"',\n description:\n \"Use to import external modules, follows the same syntax as JavaScript imports.\",\n snippet: 'import ${2} from \"${1:path}\"',\n descriptionMoreURL:\n \"https://markojs.com/docs/syntax/#importing-external-files\"\n }\n ]\n },\n \"<export>\": {\n \"node-factory\": parseExport,\n \"parse-options\": {\n rootOnly: true,\n rawOpenTag: true,\n openTagOnly: true,\n ignoreAttributes: true,\n relaxRequireCommas: true\n },\n autocomplete: [\n {\n displayText: \"export <scope>\",\n description:\n \"Use export additional data with the template, follows the same syntax as JavaScript exports.\",\n snippet: \"export ${1}\",\n descriptionMoreURL:\n \"https://markojs.com/docs/syntax/#importing-external-files\"\n }\n ]\n },\n \"<class>\": {\n \"node-factory\": parseClass,\n \"parse-options\": {\n rootOnly: true,\n rawOpenTag: true,\n openTagOnly: true,\n ignoreAttributes: true\n },\n autocomplete: [\n {\n displayText: \"class { /** lifecycle methods **/ }\",\n snippet: \"class {\\n\\t$0\\n}\",\n description:\n \"A class containing the lifecycle methods, event handlers, and other properties for this component.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/class-components/#single-file-components\"\n }\n ]\n },\n \"<static>\": {\n \"node-factory\": parseStatic,\n \"parse-options\": {\n rootOnly: true,\n rawOpenTag: true,\n openTagOnly: true,\n ignoreAttributes: true\n },\n autocomplete: [\n {\n displayText: \"static <statement>\",\n description:\n \"A JavaScript statement which is only evaluated once your template is loaded.\",\n descriptionMoreURL: \"https://markojs.com/docs/syntax/#static-javascript\"\n }\n ]\n },\n \"<style>\": {\n \"node-factory\": parseStyle,\n transformer: transformStyle,\n \"parse-options\": {\n rawOpenTag: true\n }\n },\n \"<macro>\": {\n \"node-factory\": parseMacro,\n \"code-generator\": translateMacro,\n \"@name\": {\n type: \"string\",\n autocomplete: [\n {\n description: \"The name which can be used as a tag within a template.\"\n }\n ]\n },\n autocomplete: [\n {\n displayText: 'macro|<params>| name=\"<name>\"',\n description: \"Creates a reusable fragment within the template.\",\n snippet: 'macro|${2:param1, param2}| name=\"${1:name}\"',\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#macro\"\n }\n ]\n },\n \"<include-text>\": {\n \"code-generator\": translateIncludeContent,\n attributes: {},\n autocomplete: [\n {\n displayText: 'include-text(\"<path>\")',\n description: \"Allows you to inline the contents of a text file.\",\n snippet: 'include-text(${1:\"./foo.txt\"})',\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#include-text\"\n }\n ]\n },\n \"<include-html>\": {\n \"code-generator\": translateIncludeContent,\n attributes: {},\n autocomplete: [\n {\n displayText: 'include-html(\"<path>\")',\n snippet: 'include-html(${1:\"./foo.html\"})',\n description: \"Allows you to inline the contents of an html file.\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#include-html\"\n }\n ]\n },\n \"<if>\": {\n \"code-generator\": translateIf,\n attributes: {},\n autocomplete: [\n {\n snippet: \"if(${1:condition})\",\n description: \"Use to display content only if the condition is meant.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#if-else-if-else\"\n }\n ]\n },\n \"<else-if>\": {\n \"code-generator\": translateElseIf,\n attributes: {},\n autocomplete: [\n {\n snippet: \"else-if(${1:condition})\",\n description:\n \"Use after an <if> or <else-if> tag to display content if those conditions do not match and this one does.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#if-else-if-else\"\n }\n ]\n },\n \"<else>\": {\n \"code-generator\": translateElse,\n attributes: {},\n autocomplete: [\n {\n description:\n \"Use after an <if> or <else-if> tag to display content if those conditions do not match.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#if-else-if-else\"\n }\n ]\n },\n \"<for>\": {\n \"code-generator\": translateFor,\n \"@of\": {\n type: \"expression\",\n autocomplete: [\n {\n description: \"Iterates over a list of items.\"\n }\n ]\n },\n \"@in\": {\n type: \"expression\",\n autocomplete: [\n {\n description: \"Iterates over the keys and values of an object.\"\n }\n ]\n },\n \"@to\": {\n type: \"number\",\n autocomplete: [\n {\n description: \"Iterates up to the provided number (inclusive)\"\n }\n ]\n },\n \"@from\": {\n type: \"number\",\n autocomplete: [\n {\n description: \"Iterates starting from the provided number (inclusive)\"\n }\n ]\n },\n \"@step\": {\n type: \"number\",\n autocomplete: [\n {\n description:\n \"The amount to increment during each interation (with from/to)\"\n }\n ]\n },\n autocomplete: [\n {\n snippet: \"for|${1:value, index}| of=${3:array}\",\n description:\n \"Use to iterate over lists, object properties, or between ranges.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#iterating-over-a-list\"\n },\n {\n snippet: \"for|${1:name, value}| in=${3:object}\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#iterating-over-an-objects-properties\"\n },\n {\n snippet:\n \"for|${1:index}| from=${2:number} to=${3:number} step=${4:number}\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#iterating-between-a-range-of-numbers\"\n }\n ]\n },\n \"<while>\": {\n \"code-generator\": translateWhile,\n autocomplete: [\n {\n snippet: \"while(${1:condition})\",\n description:\n \"Renders the content multiple times until the condition is no longer met.\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#while\"\n }\n ]\n },\n \"<html-comment>\": {\n \"code-generator\": translateHTMLComment,\n \"parse-options\": {\n state: \"parsed-text\"\n },\n attributes: {},\n autocomplete: [\n {\n description:\n \"Use to create an html comment that is not stripped from the output.\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#html-comment\"\n }\n ]\n },\n \"<_preserve>\": {\n renderer: \"marko/src/core-tags/components/preserve-tag\",\n \"@n\": \"boolean\",\n \"@i\": \"boolean\",\n \"@b\": \"boolean\",\n autocomplete: []\n },\n \"<init-components>\": {\n \"code-generator\": translateServerOnly,\n renderer: \"marko/src/core-tags/components/init-components-tag.js\",\n \"@immediate\": \"boolean\"\n },\n \"<_preferred-script-location>\": {\n \"code-generator\": translateServerOnly,\n renderer: \"marko/src/core-tags/components/preferred-script-location-tag.js\"\n },\n \"<body>\": {\n \"code-generator\": translateBody\n },\n \"<await>\": {\n renderer: \"marko/src/core-tags/core/await/renderer.js\",\n \"code-generator\": translateAwait,\n \"@_provider\": \"expression\",\n \"@_name\": \"string\",\n \"@name\": {\n type: \"string\",\n autocomplete: [\n {\n description:\n \"Used to improve debugging and also to ensure promise ordering with the show-after attribute.\",\n snippet: 'name=\"${1:name}\"'\n }\n ]\n },\n \"@timeout\": {\n type: \"number\",\n autocomplete: [\n {\n description:\n \"An optional timeout that when reached will cause the promise to reject with a TimeoutError.\"\n }\n ]\n },\n \"@client-reorder\": {\n type: \"boolean\",\n autocomplete: [\n {\n description:\n \"If set anything after this promise will be sent out immediately, and reordered using JS in the browser.\"\n }\n ]\n },\n \"@show-after\": {\n type: \"string\",\n autocomplete: [\n {\n description:\n \"This attribute will ensure that (with client-reorder) this await tag will always show after another await tag with the provided name.\"\n }\n ]\n },\n \"<then>\": {\n autocomplete: [\n {\n displayText: \"then|<result>|\",\n description: \"Executed with the result of the resolved promise.\",\n snippet: \"then|${1:result}|\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#await\"\n }\n ]\n },\n \"<catch>\": {\n autocomplete: [\n {\n displayText: \"catch|<err>|\",\n description: \"Executed with the err of the rejected promise.\",\n snippet: \"catch|${1:err}|\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#await\"\n }\n ]\n },\n \"<placeholder>\": {\n autocomplete: [\n {\n description: \"A placeholder to display while the promise is pending.\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#await\"\n }\n ]\n },\n autocomplete: [\n {\n displayText: \"await(<promise>)\",\n description:\n \"Used to render a template asynchronously with the results of a Promise\",\n snippet: \"await(${1:promise})\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#await\"\n }\n ]\n },\n \"<await-reorderer>\": {\n \"code-generator\": translateServerOnly,\n renderer: \"marko/src/core-tags/core/await/reorderer-renderer.js\",\n autocomplete: [\n {\n snippet: \"await-reorderer\",\n descriptionMoreURL:\n \"http://markojs.com/docs/marko/async-taglib/#<code><await-reorderer><code>\"\n }\n ]\n },\n \"<__flush_here_and_after__>\": {\n \"code-generator\": translateServerOnly,\n renderer: \"marko/src/core-tags/core/__flush_here_and_after__.js\"\n },\n \"<module-code>\": {\n \"node-factory\": parseModuleCode,\n \"parse-options\": {\n rootOnly: true,\n rawOpenTag: true,\n openTagOnly: true,\n ignoreAttributes: true,\n relaxRequireCommas: true\n }\n },\n \"<*>\": {\n \"@key\": {\n type: \"string\",\n \"preserve-name\": true,\n autocomplete: [\n {\n displayText: 'key=\"<method>\"',\n snippet: 'key=\"${1:method}\"',\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/get-started/#referencing-nested-components\"\n },\n {\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/get-started/#referencing-nested-components\"\n }\n ]\n },\n \"@on*\": {\n pattern: true,\n type: \"statement\",\n \"allow-expressions\": true,\n \"preserve-name\": true,\n \"set-flag\": \"hasComponentEvents\",\n autocomplete: [\n {\n displayText: 'on<event>(\"<method>\")',\n snippet: 'on${1:Click}(\"handle${2:Button}${1:Click}\")',\n descriptionMoreURL:\n \"https://markojs.com/docs/components/#attaching-dom-event-listeners\"\n }\n ]\n },\n \"@once*\": {\n pattern: true,\n type: \"statement\",\n \"allow-expressions\": true,\n \"preserve-name\": true,\n \"set-flag\": \"hasComponentEvents\",\n autocomplete: {\n displayText: 'once<event>(\"<method>\")',\n snippet: 'once${1:Click}(\"handle${2:Button}${1:Click}\")',\n descriptionMoreURL:\n \"https://markojs.com/docs/components/#attaching-dom-event-listeners\"\n }\n },\n \"@no-update\": {\n type: \"flag\",\n \"preserve-name\": true,\n autocomplete: [\n {\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render\"\n }\n ]\n },\n \"@no-update-body\": {\n type: \"flag\",\n \"preserve-name\": true,\n autocomplete: [\n {\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render\"\n }\n ]\n },\n \"@no-update-if\": {\n \"preserve-name\": true,\n autocomplete: [\n {\n snippet: \"no-update-if(${1:condition})\",\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render\"\n }\n ]\n },\n \"@no-update-body-if\": {\n \"preserve-name\": true,\n autocomplete: [\n {\n snippet: \"no-update-body-if(${1:condition})\",\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render\"\n }\n ]\n }\n }\n};\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../../src/taglib/core/index.js"],"names":["parseImport","statement","rawOpenTag","autocomplete","displayText","description","snippet","descriptionMoreURL","parseExport","parseClass","parseStatic","parseStyle","transformer","transformStyle","parseMacro","translateMacro","type","translateIncludeContent","attributes","translateIf","translateElseIf","translateElse","translateFor","translateWhile","translateHTMLComment","text","renderer","translateServerOnly","translateBody","translateAwait","parseModuleCode","pattern"],"mappings":"gEAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8E;;AAEe;AACb,eAAa,oBADA;AAEb,cAAY;AACV,oBAAgBA,WADN;AAEV,qBAAiB;AACfC,MAAAA,SAAS,EAAE,IADI;AAEfC,MAAAA,UAAU,EAAE,IAFG,EAFP;;AAMVC,IAAAA,YAAY,EA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AAkB;AAChB,yFAFJ,EADY,CAHG,EAvDd;;;;AAiEL,qBAAiB;AACf,uBAAiB,IADF;AAEfJ,MAAAA,YAAY,EAAE;AACZ;AACEG,QAAAA,OAAO,EAAE,8BADX;AAEEC,QAAAA,kBAAkB;AAChB,yFAHJ,EADY,CAFC,EAjEZ;;;;AA2EL,0BAAsB;AACpB,uBAAiB,IADG;AAEpBJ,MAAAA,YAAY,EAAE;AACZ;AACEG,QAAAA,OAAO,EAAE,mCADX;AAEEC,QAAAA,kBAAkB;AAChB,yFAHJ,EADY,CAFM,EA3EjB,EA7WM,E","sourcesContent":["import * as parseImport from \"./parse-import\";\nimport * as parseExport from \"./parse-export\";\nimport * as parseClass from \"./parse-class\";\nimport * as parseStatic from \"./parse-static\";\nimport * as parseStyle from \"./parse-style\";\nimport * as transformStyle from \"./transform-style\";\nimport * as parseMacro from \"./macro/parse\";\nimport * as translateMacro from \"./macro/translate\";\nimport * as translateIncludeContent from \"./translate-include-content\";\nimport * as translateIf from \"./conditional/translate-if\";\nimport * as translateElseIf from \"./conditional/translate-else-if\";\nimport * as translateElse from \"./conditional/translate-else\";\nimport * as translateFor from \"./translate-for\";\nimport * as translateWhile from \"./translate-while\";\nimport * as translateHTMLComment from \"./translate-html-comment\";\nimport * as translateServerOnly from \"./translate-server-only\";\nimport * as translateBody from \"./translate-body\";\nimport * as translateAwait from \"./translate-await\";\nimport * as parseModuleCode from \"./parse-module-code\";\n\nexport default {\n \"taglib-id\": \"marko-default-core\",\n \"<import>\": {\n \"node-factory\": parseImport,\n \"parse-options\": {\n statement: true,\n rawOpenTag: true\n },\n autocomplete: [\n {\n displayText: 'import <scope> from \"<path>\"',\n description:\n \"Use to import external modules, follows the same syntax as JavaScript imports.\",\n snippet: 'import ${2} from \"${1:path}\"',\n descriptionMoreURL:\n \"https://markojs.com/docs/syntax/#importing-external-files\"\n }\n ]\n },\n \"<export>\": {\n \"node-factory\": parseExport,\n \"parse-options\": {\n statement: true,\n rawOpenTag: true\n },\n autocomplete: [\n {\n displayText: \"export <scope>\",\n description:\n \"Use export additional data with the template, follows the same syntax as JavaScript exports.\",\n snippet: \"export ${1}\",\n descriptionMoreURL:\n \"https://markojs.com/docs/syntax/#importing-external-files\"\n }\n ]\n },\n \"<class>\": {\n \"node-factory\": parseClass,\n \"parse-options\": {\n statement: true,\n rawOpenTag: true\n },\n autocomplete: [\n {\n displayText: \"class { /** lifecycle methods **/ }\",\n snippet: \"class {\\n\\t$0\\n}\",\n description:\n \"A class containing the lifecycle methods, event handlers, and other properties for this component.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/class-components/#single-file-components\"\n }\n ]\n },\n \"<static>\": {\n \"node-factory\": parseStatic,\n \"parse-options\": {\n statement: true,\n rawOpenTag: true\n },\n autocomplete: [\n {\n displayText: \"static <statement>\",\n description:\n \"A JavaScript statement which is only evaluated once your template is loaded.\",\n descriptionMoreURL: \"https://markojs.com/docs/syntax/#static-javascript\"\n }\n ]\n },\n \"<style>\": {\n \"node-factory\": parseStyle,\n transformer: transformStyle,\n \"parse-options\": {\n rawOpenTag: true\n }\n },\n \"<macro>\": {\n \"node-factory\": parseMacro,\n \"code-generator\": translateMacro,\n \"@name\": {\n type: \"string\",\n autocomplete: [\n {\n description: \"The name which can be used as a tag within a template.\"\n }\n ]\n },\n autocomplete: [\n {\n displayText: 'macro|<params>| name=\"<name>\"',\n description: \"Creates a reusable fragment within the template.\",\n snippet: 'macro|${2:param1, param2}| name=\"${1:name}\"',\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#macro\"\n }\n ]\n },\n \"<include-text>\": {\n \"code-generator\": translateIncludeContent,\n attributes: {},\n autocomplete: [\n {\n displayText: 'include-text(\"<path>\")',\n description: \"Allows you to inline the contents of a text file.\",\n snippet: 'include-text(${1:\"./foo.txt\"})',\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#include-text\"\n }\n ]\n },\n \"<include-html>\": {\n \"code-generator\": translateIncludeContent,\n attributes: {},\n autocomplete: [\n {\n displayText: 'include-html(\"<path>\")',\n snippet: 'include-html(${1:\"./foo.html\"})',\n description: \"Allows you to inline the contents of an html file.\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#include-html\"\n }\n ]\n },\n \"<if>\": {\n \"code-generator\": translateIf,\n attributes: {},\n autocomplete: [\n {\n snippet: \"if(${1:condition})\",\n description: \"Use to display content only if the condition is meant.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#if-else-if-else\"\n }\n ]\n },\n \"<else-if>\": {\n \"code-generator\": translateElseIf,\n attributes: {},\n autocomplete: [\n {\n snippet: \"else-if(${1:condition})\",\n description:\n \"Use after an <if> or <else-if> tag to display content if those conditions do not match and this one does.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#if-else-if-else\"\n }\n ]\n },\n \"<else>\": {\n \"code-generator\": translateElse,\n attributes: {},\n autocomplete: [\n {\n description:\n \"Use after an <if> or <else-if> tag to display content if those conditions do not match.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#if-else-if-else\"\n }\n ]\n },\n \"<for>\": {\n \"code-generator\": translateFor,\n \"@of\": {\n type: \"expression\",\n autocomplete: [\n {\n description: \"Iterates over a list of items.\"\n }\n ]\n },\n \"@in\": {\n type: \"expression\",\n autocomplete: [\n {\n description: \"Iterates over the keys and values of an object.\"\n }\n ]\n },\n \"@to\": {\n type: \"number\",\n autocomplete: [\n {\n description: \"Iterates up to the provided number (inclusive)\"\n }\n ]\n },\n \"@from\": {\n type: \"number\",\n autocomplete: [\n {\n description: \"Iterates starting from the provided number (inclusive)\"\n }\n ]\n },\n \"@step\": {\n type: \"number\",\n autocomplete: [\n {\n description:\n \"The amount to increment during each interation (with from/to)\"\n }\n ]\n },\n autocomplete: [\n {\n snippet: \"for|${1:value, index}| of=${3:array}\",\n description:\n \"Use to iterate over lists, object properties, or between ranges.\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#iterating-over-a-list\"\n },\n {\n snippet: \"for|${1:name, value}| in=${3:object}\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#iterating-over-an-objects-properties\"\n },\n {\n snippet:\n \"for|${1:index}| from=${2:number} to=${3:number} step=${4:number}\",\n descriptionMoreURL:\n \"https://markojs.com/docs/core-tags/#iterating-between-a-range-of-numbers\"\n }\n ]\n },\n \"<while>\": {\n \"code-generator\": translateWhile,\n autocomplete: [\n {\n snippet: \"while(${1:condition})\",\n description:\n \"Renders the content multiple times until the condition is no longer met.\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#while\"\n }\n ]\n },\n \"<html-comment>\": {\n \"code-generator\": translateHTMLComment,\n \"parse-options\": {\n text: true\n },\n attributes: {},\n autocomplete: [\n {\n description:\n \"Use to create an html comment that is not stripped from the output.\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#html-comment\"\n }\n ]\n },\n \"<_preserve>\": {\n renderer: \"marko/src/core-tags/components/preserve-tag\",\n \"@n\": \"boolean\",\n \"@i\": \"boolean\",\n \"@b\": \"boolean\",\n autocomplete: []\n },\n \"<init-components>\": {\n \"code-generator\": translateServerOnly,\n renderer: \"marko/src/core-tags/components/init-components-tag.js\",\n \"@immediate\": \"boolean\"\n },\n \"<_preferred-script-location>\": {\n \"code-generator\": translateServerOnly,\n renderer: \"marko/src/core-tags/components/preferred-script-location-tag.js\"\n },\n \"<body>\": {\n \"code-generator\": translateBody\n },\n \"<await>\": {\n renderer: \"marko/src/core-tags/core/await/renderer.js\",\n \"code-generator\": translateAwait,\n \"@_provider\": \"expression\",\n \"@_name\": \"string\",\n \"@name\": {\n type: \"string\",\n autocomplete: [\n {\n description:\n \"Used to improve debugging and also to ensure promise ordering with the show-after attribute.\",\n snippet: 'name=\"${1:name}\"'\n }\n ]\n },\n \"@timeout\": {\n type: \"number\",\n autocomplete: [\n {\n description:\n \"An optional timeout that when reached will cause the promise to reject with a TimeoutError.\"\n }\n ]\n },\n \"@client-reorder\": {\n type: \"boolean\",\n autocomplete: [\n {\n description:\n \"If set anything after this promise will be sent out immediately, and reordered using JS in the browser.\"\n }\n ]\n },\n \"@show-after\": {\n type: \"string\",\n autocomplete: [\n {\n description:\n \"This attribute will ensure that (with client-reorder) this await tag will always show after another await tag with the provided name.\"\n }\n ]\n },\n \"<then>\": {\n autocomplete: [\n {\n displayText: \"then|<result>|\",\n description: \"Executed with the result of the resolved promise.\",\n snippet: \"then|${1:result}|\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#await\"\n }\n ]\n },\n \"<catch>\": {\n autocomplete: [\n {\n displayText: \"catch|<err>|\",\n description: \"Executed with the err of the rejected promise.\",\n snippet: \"catch|${1:err}|\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#await\"\n }\n ]\n },\n \"<placeholder>\": {\n autocomplete: [\n {\n description: \"A placeholder to display while the promise is pending.\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#await\"\n }\n ]\n },\n autocomplete: [\n {\n displayText: \"await(<promise>)\",\n description:\n \"Used to render a template asynchronously with the results of a Promise\",\n snippet: \"await(${1:promise})\",\n descriptionMoreURL: \"https://markojs.com/docs/core-tags/#await\"\n }\n ]\n },\n \"<await-reorderer>\": {\n \"code-generator\": translateServerOnly,\n renderer: \"marko/src/core-tags/core/await/reorderer-renderer.js\",\n autocomplete: [\n {\n snippet: \"await-reorderer\",\n descriptionMoreURL:\n \"http://markojs.com/docs/marko/async-taglib/#<code><await-reorderer><code>\"\n }\n ]\n },\n \"<__flush_here_and_after__>\": {\n \"code-generator\": translateServerOnly,\n renderer: \"marko/src/core-tags/core/__flush_here_and_after__.js\"\n },\n \"<module-code>\": {\n \"node-factory\": parseModuleCode,\n \"parse-options\": {\n rawOpenTag: true\n }\n },\n \"<*>\": {\n \"@key\": {\n type: \"string\",\n \"preserve-name\": true,\n autocomplete: [\n {\n displayText: 'key=\"<method>\"',\n snippet: 'key=\"${1:method}\"',\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/get-started/#referencing-nested-components\"\n },\n {\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/get-started/#referencing-nested-components\"\n }\n ]\n },\n \"@on*\": {\n pattern: true,\n type: \"statement\",\n \"allow-expressions\": true,\n \"preserve-name\": true,\n \"set-flag\": \"hasComponentEvents\",\n autocomplete: [\n {\n displayText: 'on<event>(\"<method>\")',\n snippet: 'on${1:Click}(\"handle${2:Button}${1:Click}\")',\n descriptionMoreURL:\n \"https://markojs.com/docs/components/#attaching-dom-event-listeners\"\n }\n ]\n },\n \"@once*\": {\n pattern: true,\n type: \"statement\",\n \"allow-expressions\": true,\n \"preserve-name\": true,\n \"set-flag\": \"hasComponentEvents\",\n autocomplete: {\n displayText: 'once<event>(\"<method>\")',\n snippet: 'once${1:Click}(\"handle${2:Button}${1:Click}\")',\n descriptionMoreURL:\n \"https://markojs.com/docs/components/#attaching-dom-event-listeners\"\n }\n },\n \"@no-update\": {\n type: \"flag\",\n \"preserve-name\": true,\n autocomplete: [\n {\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render\"\n }\n ]\n },\n \"@no-update-body\": {\n type: \"flag\",\n \"preserve-name\": true,\n autocomplete: [\n {\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render\"\n }\n ]\n },\n \"@no-update-if\": {\n \"preserve-name\": true,\n autocomplete: [\n {\n snippet: \"no-update-if(${1:condition})\",\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render\"\n }\n ]\n },\n \"@no-update-body-if\": {\n \"preserve-name\": true,\n autocomplete: [\n {\n snippet: \"no-update-body-if(${1:condition})\",\n descriptionMoreURL:\n \"http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render\"\n }\n ]\n }\n }\n};\n"],"file":"index.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/taglib/core/parse-class.js"],"names":["path","node","hub","file","rawValue","code","name","start","meta","metadata","marko","componentFile","get","buildCodeFrameError","hasComponent","parsed","id","superClass","constructorProp","body","find","prop","t","isClassMethod","kind","key","replaceWith","markoClass"],"mappings":"uJAAA;AACA;AACA;;AAEe,kBAAUA,IAAV,EAAgB;AAC7B,QAAM;AACJC,IAAAA,IADI;AAEJC,IAAAA,GAAG,EAAE,EAAEC,IAAF,EAFD;AAGFH,EAAAA,IAHJ;AAIA,QAAM;AACJI,IAAAA,QAAQ,EAAEC,IADN;AAEJC,IAAAA,IAAI,EAAE,EAAEC,KAAF,EAFF;AAGFN,EAAAA,IAHJ;AAIA,QAAMO,IAAI,GAAGL,IAAI,CAACM,QAAL,CAAcC,KAA3B;;AAEA,MAAI,gCAAkBV,IAAlB,EAAwBW,aAA5B,EAA2C;AACzC,UAAMX,IAAI;AACPY,IAAAA,GADG,CACC,MADD;AAEHC,IAAAA,mBAFG;AAGF,gGAHE,CAAN;;AAKD;;AAED,MAAIL,IAAI,CAACM,YAAT,EAAuB;AACrB,UAAMd,IAAI;AACPY,IAAAA,GADG,CACC,MADD;AAEHC,IAAAA,mBAFG;AAGF,0DAHE,CAAN;;AAKD;;AAED,QAAME,MAAM,GAAG,iCAAgBZ,IAAhB,EAAsBE,
|
|
1
|
+
{"version":3,"sources":["../../../src/taglib/core/parse-class.js"],"names":["path","node","hub","file","rawValue","code","name","start","meta","metadata","marko","componentFile","get","buildCodeFrameError","hasComponent","parsed","replace","id","superClass","constructorProp","body","find","prop","t","isClassMethod","kind","key","replaceWith","markoClass"],"mappings":"uJAAA;AACA;AACA;;AAEe,kBAAUA,IAAV,EAAgB;AAC7B,QAAM;AACJC,IAAAA,IADI;AAEJC,IAAAA,GAAG,EAAE,EAAEC,IAAF,EAFD;AAGFH,EAAAA,IAHJ;AAIA,QAAM;AACJI,IAAAA,QAAQ,EAAEC,IADN;AAEJC,IAAAA,IAAI,EAAE,EAAEC,KAAF,EAFF;AAGFN,EAAAA,IAHJ;AAIA,QAAMO,IAAI,GAAGL,IAAI,CAACM,QAAL,CAAcC,KAA3B;;AAEA,MAAI,gCAAkBV,IAAlB,EAAwBW,aAA5B,EAA2C;AACzC,UAAMX,IAAI;AACPY,IAAAA,GADG,CACC,MADD;AAEHC,IAAAA,mBAFG;AAGF,gGAHE,CAAN;;AAKD;;AAED,MAAIL,IAAI,CAACM,YAAT,EAAuB;AACrB,UAAMd,IAAI;AACPY,IAAAA,GADG,CACC,MADD;AAEHC,IAAAA,mBAFG;AAGF,0DAHE,CAAN;;AAKD;;AAED,QAAME,MAAM,GAAG,iCAAgBZ,IAAhB,EAAsBE,IAAI,CAACW,OAAL,CAAa,OAAb,EAAsB,EAAtB,CAAtB,EAAiDT,KAAjD,CAAf;;AAEA,MAAIQ,MAAM,CAACE,EAAX,EAAe;AACb,UAAMd,IAAI,CAACU,mBAAL;AACJE,IAAAA,MAAM,CAACE,EADH;AAEJ,yCAFI,CAAN;;AAID;;AAED,MAAIF,MAAM,CAACG,UAAX,EAAuB;AACrB,UAAMf,IAAI,CAACU,mBAAL;AACJE,IAAAA,MAAM,CAACG,UADH;AAEJ,gDAFI,CAAN;;AAID;;AAED,QAAMC,eAAe,GAAGJ,MAAM,CAACK,IAAP,CAAYA,IAAZ,CAAiBC,IAAjB;AACtB,GAAAC,IAAI,KAAIC,gBAAEC,aAAF,CAAgBF,IAAhB,KAAyBA,IAAI,CAACG,IAAL,KAAc,aADzB,CAAxB;;AAGA,MAAIN,eAAJ,EAAqB;AACnB,UAAMhB,IAAI,CAACU,mBAAL;AACJM,IAAAA,eAAe,CAACO,GADZ;AAEJ,sFAFI,CAAN;;AAID;;AAEDlB,EAAAA,IAAI,CAACM,YAAL,GAAoB,IAApB;AACAd,EAAAA,IAAI,CAAC2B,WAAL,CAAiBJ,gBAAEK,UAAF,CAAab,MAAM,CAACK,IAApB,CAAjB;AACD","sourcesContent":["import { types as t } from \"@marko/compiler\";\nimport { parseExpression } from \"@marko/babel-utils\";\nimport getComponentFiles from \"../../util/get-component-files\";\n\nexport default function (path) {\n const {\n node,\n hub: { file }\n } = path;\n const {\n rawValue: code,\n name: { start }\n } = node;\n const meta = file.metadata.marko;\n\n if (getComponentFiles(path).componentFile) {\n throw path\n .get(\"name\")\n .buildCodeFrameError(\n 'A Marko file can either have an inline class, or an external \"component.js\", but not both.'\n );\n }\n\n if (meta.hasComponent) {\n throw path\n .get(\"name\")\n .buildCodeFrameError(\n \"A Marko component can only have one top level class.\"\n );\n }\n\n const parsed = parseExpression(file, code.replace(/;\\s*$/, \"\"), start);\n\n if (parsed.id) {\n throw file.buildCodeFrameError(\n parsed.id,\n \"Component class cannot have a name.\"\n );\n }\n\n if (parsed.superClass) {\n throw file.buildCodeFrameError(\n parsed.superClass,\n \"Component class cannot have a super class.\"\n );\n }\n\n const constructorProp = parsed.body.body.find(\n prop => t.isClassMethod(prop) && prop.kind === \"constructor\"\n );\n if (constructorProp) {\n throw file.buildCodeFrameError(\n constructorProp.key,\n \"The constructor method should not be used for a component, use onCreate instead.\"\n );\n }\n\n meta.hasComponent = true;\n path.replaceWith(t.markoClass(parsed.body));\n}\n"],"file":"parse-class.js"}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marko/translator-default",
|
|
3
3
|
"description": "Translates Marko templates to the default Marko runtime.",
|
|
4
|
-
"version": "5.20.
|
|
4
|
+
"version": "5.20.9",
|
|
5
5
|
"author": "Dylan Piercey <dpiercey@ebay.com>",
|
|
6
6
|
"bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.16.0",
|
|
9
|
-
"@marko/babel-utils": "^5.20.
|
|
9
|
+
"@marko/babel-utils": "^5.20.9",
|
|
10
10
|
"escape-string-regexp": "^4.0.0",
|
|
11
11
|
"magic-string": "^0.25.7",
|
|
12
12
|
"self-closing-tags": "^1.0.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@marko/compiler": "^5.20.
|
|
16
|
-
"marko": "^5.20.
|
|
15
|
+
"@marko/compiler": "^5.20.9",
|
|
16
|
+
"marko": "^5.20.9"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"type": "git",
|
|
43
43
|
"url": "https://github.com/marko-js/marko/tree/master/packages/translator-default"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "637f064c6c8c5c9767d2f6e8a645937eca874a49"
|
|
46
46
|
}
|