highmark-markdown 1.1.99 → 1.1.100
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.
- package/package.json +1 -1
- package/lib/attributeNames.js +0 -38
- package/lib/constants.js +0 -90
- package/lib/defaultMarkdownStyle.js +0 -14
- package/lib/example/constants.js +0 -38
- package/lib/example/customEventTypes.js +0 -46
- package/lib/example/importer.js +0 -56
- package/lib/example/indexOptions.js +0 -45
- package/lib/example/view/button/page.js +0 -155
- package/lib/example/view/button/tab/css.js +0 -133
- package/lib/example/view/button/tab/html.js +0 -133
- package/lib/example/view/button/tab/markdown.js +0 -133
- package/lib/example/view/button/tab/markdownStyle.js +0 -133
- package/lib/example/view/button/tab/plainText.js +0 -133
- package/lib/example/view/button/tab/preview.js +0 -133
- package/lib/example/view/button/tab.js +0 -156
- package/lib/example/view/div/container/css.js +0 -173
- package/lib/example/view/div/container/html.js +0 -175
- package/lib/example/view/div/container/markdown.js +0 -208
- package/lib/example/view/div/container/markdownStyle.js +0 -209
- package/lib/example/view/div/container/plainText.js +0 -173
- package/lib/example/view/div/container/preview.js +0 -193
- package/lib/example/view/div/container.js +0 -175
- package/lib/example/view/div/html.js +0 -192
- package/lib/example/view/div/pageButtons.js +0 -259
- package/lib/example/view/div/preview.js +0 -293
- package/lib/example/view/div/sizeable/left.js +0 -122
- package/lib/example/view/div/tabButtons/left.js +0 -180
- package/lib/example/view/div/tabButtons/right.js +0 -218
- package/lib/example/view/div/tabButtons.js +0 -191
- package/lib/example/view/textarea/css.js +0 -165
- package/lib/example/view/textarea/markdown.js +0 -163
- package/lib/example/view/textarea/markdownStyle.js +0 -163
- package/lib/example/view/textarea/parseTree/css.js +0 -150
- package/lib/example/view/textarea/parseTree/html.js +0 -150
- package/lib/example/view/textarea/parseTree/markdown.js +0 -148
- package/lib/example/view/textarea/parseTree/markdownStyle.js +0 -148
- package/lib/example/view/textarea/parseTree.js +0 -155
- package/lib/example/view/textarea/plainText.js +0 -171
- package/lib/example/view/textarea.js +0 -39
- package/lib/example/view/xmp.js +0 -207
- package/lib/example/view.js +0 -551
- package/lib/example.js +0 -27
- package/lib/index/item.js +0 -102
- package/lib/index/list.js +0 -88
- package/lib/index/match.js +0 -76
- package/lib/index.js +0 -139
- package/lib/letters.js +0 -41
- package/lib/map/className.js +0 -19
- package/lib/map/node/css.js +0 -67
- package/lib/map/node/html.js +0 -98
- package/lib/map/nonTerminalNode/markdown.js +0 -55
- package/lib/map/nonTerminalNode/markdownStyle.js +0 -54
- package/lib/map/tagName.js +0 -19
- package/lib/markdown/bnf.js +0 -14
- package/lib/markdown/entries.js +0 -75
- package/lib/markdown/lexer.js +0 -144
- package/lib/markdown/parser.js +0 -139
- package/lib/markdownStyle/bnf.js +0 -14
- package/lib/markdownStyle/entries.js +0 -50
- package/lib/markdownStyle/lexer.js +0 -144
- package/lib/markdownStyle/parser.js +0 -139
- package/lib/mixins/node.js +0 -145
- package/lib/node/css/amount.js +0 -128
- package/lib/node/css/argument.js +0 -113
- package/lib/node/css/arguments.js +0 -146
- package/lib/node/css/class.js +0 -146
- package/lib/node/css/colour.js +0 -128
- package/lib/node/css/declaration.js +0 -127
- package/lib/node/css/identifier.js +0 -128
- package/lib/node/css/name.js +0 -146
- package/lib/node/css/pseudoClass.js +0 -146
- package/lib/node/css/ruleName.js +0 -159
- package/lib/node/css/ruleSet.js +0 -159
- package/lib/node/css/selector.js +0 -113
- package/lib/node/css/selectors.js +0 -125
- package/lib/node/css/selectorsList.js +0 -133
- package/lib/node/css/string.js +0 -128
- package/lib/node/css/topmost.js +0 -158
- package/lib/node/css/value.js +0 -145
- package/lib/node/css/values.js +0 -125
- package/lib/node/css.js +0 -282
- package/lib/node/html/anchor.js +0 -183
- package/lib/node/html/directive/contents.js +0 -113
- package/lib/node/html/directive/footnotes.js +0 -113
- package/lib/node/html/directive/index.js +0 -113
- package/lib/node/html/directive/pageNumber.js +0 -113
- package/lib/node/html/directive.js +0 -141
- package/lib/node/html/division.js +0 -294
- package/lib/node/html/error.js +0 -197
- package/lib/node/html/footnote.js +0 -167
- package/lib/node/html/heading/index.js +0 -192
- package/lib/node/html/heading/primary.js +0 -130
- package/lib/node/html/heading/quaternary.js +0 -130
- package/lib/node/html/heading/secondary.js +0 -130
- package/lib/node/html/heading/tertiary.js +0 -130
- package/lib/node/html/heading.js +0 -165
- package/lib/node/html/image.js +0 -219
- package/lib/node/html/item/contents.js +0 -142
- package/lib/node/html/item/footnote.js +0 -144
- package/lib/node/html/item/index.js +0 -152
- package/lib/node/html/item/ordered.js +0 -151
- package/lib/node/html/item/unordered.js +0 -128
- package/lib/node/html/line/block.js +0 -144
- package/lib/node/html/line.js +0 -243
- package/lib/node/html/link/contents.js +0 -171
- package/lib/node/html/link/email.js +0 -258
- package/lib/node/html/link/footnote.js +0 -265
- package/lib/node/html/link/hyper.js +0 -258
- package/lib/node/html/link/index.js +0 -236
- package/lib/node/html/list/contents.js +0 -142
- package/lib/node/html/list/footnotes.js +0 -178
- package/lib/node/html/list/index.js +0 -142
- package/lib/node/html/list/ordered.js +0 -128
- package/lib/node/html/list/unordered.js +0 -128
- package/lib/node/html/listing/block.js +0 -195
- package/lib/node/html/listing/inline.js +0 -197
- package/lib/node/html/pageNumber.js +0 -226
- package/lib/node/html/paragraph.js +0 -128
- package/lib/node/html/reference.js +0 -128
- package/lib/node/html/table.js +0 -128
- package/lib/node/html/tableBody.js +0 -128
- package/lib/node/html/tableBodyCell.js +0 -128
- package/lib/node/html/tableBodyRow.js +0 -128
- package/lib/node/html/tableHead.js +0 -128
- package/lib/node/html/tableHeadCell.js +0 -128
- package/lib/node/html/tableHeadRow.js +0 -128
- package/lib/node/html/text/block.js +0 -128
- package/lib/node/html/text/comma.js +0 -146
- package/lib/node/html/text/emphasised.js +0 -128
- package/lib/node/html/text/index.js +0 -161
- package/lib/node/html/text/inline.js +0 -197
- package/lib/node/html/text/plain.js +0 -128
- package/lib/node/html/text/strong.js +0 -128
- package/lib/node/html/text/stronglyEmphasised.js +0 -222
- package/lib/node/html/text.js +0 -180
- package/lib/node/html/topmost.js +0 -250
- package/lib/node/html.js +0 -574
- package/lib/node/markdown/blockEnd.js +0 -107
- package/lib/node/markdown/blockStart.js +0 -131
- package/lib/node/markdown/className.js +0 -118
- package/lib/node/markdown/directive/embed.js +0 -158
- package/lib/node/markdown/directive/include.js +0 -158
- package/lib/node/markdown/division.js +0 -237
- package/lib/node/markdown/error.js +0 -118
- package/lib/node/markdown/footnote.js +0 -118
- package/lib/node/markdown/hyperlink.js +0 -155
- package/lib/node/markdown/image.js +0 -118
- package/lib/node/markdown/item/ordered.js +0 -124
- package/lib/node/markdown/link/email.js +0 -155
- package/lib/node/markdown/link/footnote.js +0 -120
- package/lib/node/markdown/listng/block.js +0 -118
- package/lib/node/markdown/listng/inline.js +0 -124
- package/lib/node/markdown/path.js +0 -118
- package/lib/node/markdown/reference.js +0 -124
- package/lib/node/markdown/subDivision.js +0 -144
- package/lib/node/markdown/text/block.js +0 -107
- package/lib/node/markdown/text/plain.js +0 -107
- package/lib/node/markdown/text.js +0 -142
- package/lib/node/markdown/topmost.js +0 -165
- package/lib/node/markdown.js +0 -188
- package/lib/node/markdownStyle/amount.js +0 -119
- package/lib/node/markdownStyle/argument.js +0 -107
- package/lib/node/markdownStyle/arguments.js +0 -107
- package/lib/node/markdownStyle/colour.js +0 -118
- package/lib/node/markdownStyle/declaration.js +0 -107
- package/lib/node/markdownStyle/error.js +0 -107
- package/lib/node/markdownStyle/identifier.js +0 -119
- package/lib/node/markdownStyle/name.js +0 -107
- package/lib/node/markdownStyle/nonsense.js +0 -107
- package/lib/node/markdownStyle/pseudoClass.js +0 -107
- package/lib/node/markdownStyle/ruleName.js +0 -118
- package/lib/node/markdownStyle/ruleSet.js +0 -107
- package/lib/node/markdownStyle/selector.js +0 -107
- package/lib/node/markdownStyle/selectors.js +0 -107
- package/lib/node/markdownStyle/selectorsList.js +0 -107
- package/lib/node/markdownStyle/string.js +0 -118
- package/lib/node/markdownStyle/topmost.js +0 -107
- package/lib/node/markdownStyle/value.js +0 -107
- package/lib/node/markdownStyle/values.js +0 -107
- package/lib/node/markdownStyle.js +0 -153
- package/lib/prepends.js +0 -26
- package/lib/queries/markdown.js +0 -20
- package/lib/queries/markdownStyle.js +0 -20
- package/lib/ruleNames/markdown.js +0 -370
- package/lib/ruleNames/markdownStyle.js +0 -125
- package/lib/styleElement/markdown/default.js +0 -150
- package/lib/styleElement/markdown.js +0 -207
- package/lib/styleElement.js +0 -95
- package/lib/tokenTypes.js +0 -110
- package/lib/transform/css/ruleSet.js +0 -124
- package/lib/transform/css/selectors.js +0 -126
- package/lib/transform/css/selectorsList.js +0 -144
- package/lib/transform/css.js +0 -161
- package/lib/transform/html/division.js +0 -130
- package/lib/transform/html/footnote.js +0 -140
- package/lib/transform/html/heading/index.js +0 -109
- package/lib/transform/html/index.js +0 -159
- package/lib/transform/html/indexAnchor.js +0 -118
- package/lib/transform/html/item/contents.js +0 -130
- package/lib/transform/html/item/footnote.js +0 -117
- package/lib/transform/html/item/index.js +0 -117
- package/lib/transform/html/line.js +0 -116
- package/lib/transform/html/link/contents.js +0 -130
- package/lib/transform/html/link/footnote.js +0 -158
- package/lib/transform/html/list/contents.js +0 -180
- package/lib/transform/html/list/footnotes.js +0 -129
- package/lib/transform/html/list/index.js +0 -118
- package/lib/transform/html/pageNumber.js +0 -124
- package/lib/transform/html.js +0 -148
- package/lib/transform/markdown/directive/embed.js +0 -139
- package/lib/transform/markdown/directive/ignore.js +0 -108
- package/lib/transform/markdown/directive/include.js +0 -148
- package/lib/transform/markdown/subDivision.js +0 -108
- package/lib/transform/markdown.js +0 -148
- package/lib/utilities/contents.js +0 -172
- package/lib/utilities/css.js +0 -57
- package/lib/utilities/division.js +0 -121
- package/lib/utilities/dom.js +0 -58
- package/lib/utilities/element.js +0 -26
- package/lib/utilities/entities.js +0 -17
- package/lib/utilities/entries.js +0 -24
- package/lib/utilities/grammar.js +0 -131
- package/lib/utilities/html.js +0 -99
- package/lib/utilities/index.js +0 -265
- package/lib/utilities/markdown.js +0 -81
- package/lib/utilities/markdownStyle.js +0 -13
- package/lib/utilities/object.js +0 -65
- package/lib/utilities/query.js +0 -65
- package/lib/utilities/string.js +0 -45
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "default", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return TableHeadHTMLNode;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _html = /*#__PURE__*/ _interop_require_default(require("../../node/html"));
|
|
12
|
-
function _assert_this_initialized(self) {
|
|
13
|
-
if (self === void 0) {
|
|
14
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15
|
-
}
|
|
16
|
-
return self;
|
|
17
|
-
}
|
|
18
|
-
function _call_super(_this, derived, args) {
|
|
19
|
-
derived = _get_prototype_of(derived);
|
|
20
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
21
|
-
}
|
|
22
|
-
function _class_call_check(instance, Constructor) {
|
|
23
|
-
if (!(instance instanceof Constructor)) {
|
|
24
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function _defineProperties(target, props) {
|
|
28
|
-
for(var i = 0; i < props.length; i++){
|
|
29
|
-
var descriptor = props[i];
|
|
30
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
31
|
-
descriptor.configurable = true;
|
|
32
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
33
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
37
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
38
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
39
|
-
return Constructor;
|
|
40
|
-
}
|
|
41
|
-
function _define_property(obj, key, value) {
|
|
42
|
-
if (key in obj) {
|
|
43
|
-
Object.defineProperty(obj, key, {
|
|
44
|
-
value: value,
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
writable: true
|
|
48
|
-
});
|
|
49
|
-
} else {
|
|
50
|
-
obj[key] = value;
|
|
51
|
-
}
|
|
52
|
-
return obj;
|
|
53
|
-
}
|
|
54
|
-
function _get_prototype_of(o) {
|
|
55
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
56
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
57
|
-
};
|
|
58
|
-
return _get_prototype_of(o);
|
|
59
|
-
}
|
|
60
|
-
function _inherits(subClass, superClass) {
|
|
61
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
62
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
63
|
-
}
|
|
64
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
65
|
-
constructor: {
|
|
66
|
-
value: subClass,
|
|
67
|
-
writable: true,
|
|
68
|
-
configurable: true
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
72
|
-
}
|
|
73
|
-
function _interop_require_default(obj) {
|
|
74
|
-
return obj && obj.__esModule ? obj : {
|
|
75
|
-
default: obj
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
function _possible_constructor_return(self, call) {
|
|
79
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
80
|
-
return call;
|
|
81
|
-
}
|
|
82
|
-
return _assert_this_initialized(self);
|
|
83
|
-
}
|
|
84
|
-
function _set_prototype_of(o, p) {
|
|
85
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
86
|
-
o.__proto__ = p;
|
|
87
|
-
return o;
|
|
88
|
-
};
|
|
89
|
-
return _set_prototype_of(o, p);
|
|
90
|
-
}
|
|
91
|
-
function _type_of(obj) {
|
|
92
|
-
"@swc/helpers - typeof";
|
|
93
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
94
|
-
}
|
|
95
|
-
function _is_native_reflect_construct() {
|
|
96
|
-
try {
|
|
97
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
98
|
-
} catch (_) {}
|
|
99
|
-
return (_is_native_reflect_construct = function() {
|
|
100
|
-
return !!result;
|
|
101
|
-
})();
|
|
102
|
-
}
|
|
103
|
-
var TableHeadHTMLNode = /*#__PURE__*/ function(HTMLNode) {
|
|
104
|
-
_inherits(TableHeadHTMLNode, HTMLNode);
|
|
105
|
-
function TableHeadHTMLNode() {
|
|
106
|
-
_class_call_check(this, TableHeadHTMLNode);
|
|
107
|
-
return _call_super(this, TableHeadHTMLNode, arguments);
|
|
108
|
-
}
|
|
109
|
-
_create_class(TableHeadHTMLNode, null, [
|
|
110
|
-
{
|
|
111
|
-
key: "fromNothing",
|
|
112
|
-
value: function fromNothing() {
|
|
113
|
-
return _html.default.fromNothing(TableHeadHTMLNode);
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
key: "fromOuterNode",
|
|
118
|
-
value: function fromOuterNode(outerNode) {
|
|
119
|
-
return _html.default.fromOuterNode(TableHeadHTMLNode, outerNode);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
]);
|
|
123
|
-
return TableHeadHTMLNode;
|
|
124
|
-
}(_html.default);
|
|
125
|
-
_define_property(TableHeadHTMLNode, "tagName", "thead");
|
|
126
|
-
_define_property(TableHeadHTMLNode, "className", null);
|
|
127
|
-
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpb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VEsQ0FBQ0QsV0FBVyxDQUwvQkQ7WUFLb0Q7OztZQUVoRUcsS0FBQUE7bUJBQVAsU0FBT0EsY0FBY0MsU0FBUztnQkFBSSxPQUFPRixhQUFRLENBQUNDLGFBQWEsQ0FQNUNILG1CQU9nRUk7WUFBWTs7O1dBUDVFSjtFQUEwQkUsYUFBUTtBQUNyRCxpQkFEbUJGLG1CQUNaSyxXQUFVO0FBRWpCLGlCQUhtQkwsbUJBR1pNLGFBQVkifQ==
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "default", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return TableHeadCellHTMLNode;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _html = /*#__PURE__*/ _interop_require_default(require("../../node/html"));
|
|
12
|
-
function _assert_this_initialized(self) {
|
|
13
|
-
if (self === void 0) {
|
|
14
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15
|
-
}
|
|
16
|
-
return self;
|
|
17
|
-
}
|
|
18
|
-
function _call_super(_this, derived, args) {
|
|
19
|
-
derived = _get_prototype_of(derived);
|
|
20
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
21
|
-
}
|
|
22
|
-
function _class_call_check(instance, Constructor) {
|
|
23
|
-
if (!(instance instanceof Constructor)) {
|
|
24
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function _defineProperties(target, props) {
|
|
28
|
-
for(var i = 0; i < props.length; i++){
|
|
29
|
-
var descriptor = props[i];
|
|
30
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
31
|
-
descriptor.configurable = true;
|
|
32
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
33
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
37
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
38
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
39
|
-
return Constructor;
|
|
40
|
-
}
|
|
41
|
-
function _define_property(obj, key, value) {
|
|
42
|
-
if (key in obj) {
|
|
43
|
-
Object.defineProperty(obj, key, {
|
|
44
|
-
value: value,
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
writable: true
|
|
48
|
-
});
|
|
49
|
-
} else {
|
|
50
|
-
obj[key] = value;
|
|
51
|
-
}
|
|
52
|
-
return obj;
|
|
53
|
-
}
|
|
54
|
-
function _get_prototype_of(o) {
|
|
55
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
56
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
57
|
-
};
|
|
58
|
-
return _get_prototype_of(o);
|
|
59
|
-
}
|
|
60
|
-
function _inherits(subClass, superClass) {
|
|
61
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
62
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
63
|
-
}
|
|
64
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
65
|
-
constructor: {
|
|
66
|
-
value: subClass,
|
|
67
|
-
writable: true,
|
|
68
|
-
configurable: true
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
72
|
-
}
|
|
73
|
-
function _interop_require_default(obj) {
|
|
74
|
-
return obj && obj.__esModule ? obj : {
|
|
75
|
-
default: obj
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
function _possible_constructor_return(self, call) {
|
|
79
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
80
|
-
return call;
|
|
81
|
-
}
|
|
82
|
-
return _assert_this_initialized(self);
|
|
83
|
-
}
|
|
84
|
-
function _set_prototype_of(o, p) {
|
|
85
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
86
|
-
o.__proto__ = p;
|
|
87
|
-
return o;
|
|
88
|
-
};
|
|
89
|
-
return _set_prototype_of(o, p);
|
|
90
|
-
}
|
|
91
|
-
function _type_of(obj) {
|
|
92
|
-
"@swc/helpers - typeof";
|
|
93
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
94
|
-
}
|
|
95
|
-
function _is_native_reflect_construct() {
|
|
96
|
-
try {
|
|
97
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
98
|
-
} catch (_) {}
|
|
99
|
-
return (_is_native_reflect_construct = function() {
|
|
100
|
-
return !!result;
|
|
101
|
-
})();
|
|
102
|
-
}
|
|
103
|
-
var TableHeadCellHTMLNode = /*#__PURE__*/ function(HTMLNode) {
|
|
104
|
-
_inherits(TableHeadCellHTMLNode, HTMLNode);
|
|
105
|
-
function TableHeadCellHTMLNode() {
|
|
106
|
-
_class_call_check(this, TableHeadCellHTMLNode);
|
|
107
|
-
return _call_super(this, TableHeadCellHTMLNode, arguments);
|
|
108
|
-
}
|
|
109
|
-
_create_class(TableHeadCellHTMLNode, null, [
|
|
110
|
-
{
|
|
111
|
-
key: "fromNothing",
|
|
112
|
-
value: function fromNothing() {
|
|
113
|
-
return _html.default.fromNothing(TableHeadCellHTMLNode);
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
key: "fromOuterNode",
|
|
118
|
-
value: function fromOuterNode(outerNode) {
|
|
119
|
-
return _html.default.fromOuterNode(TableHeadCellHTMLNode, outerNode);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
]);
|
|
123
|
-
return TableHeadCellHTMLNode;
|
|
124
|
-
}(_html.default);
|
|
125
|
-
_define_property(TableHeadCellHTMLNode, "tagName", "th");
|
|
126
|
-
_define_property(TableHeadCellHTMLNode, "className", null);
|
|
127
|
-
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ub2RlL2h0bWwvdGFibGVIZWFkQ2VsbC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IEhUTUxOb2RlIGZyb20gXCIuLi8uLi9ub2RlL2h0bWxcIjtcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgVGFibGVIZWFkQ2VsbEhUTUxOb2RlIGV4dGVuZHMgSFRNTE5vZGUge1xuICBzdGF0aWMgdGFnTmFtZSA9IFwidGhcIjtcblxuICBzdGF0aWMgY2xhc3NOYW1lID0gbnVsbDtcblxuICBzdGF0aWMgZnJvbU5vdGhpbmcoKSB7IHJldHVybiBIVE1MTm9kZS5mcm9tTm90aGluZyhUYWJsZUhlYWRDZWxsSFRNTE5vZGUpOyB9XG5cbiAgc3RhdGljIGZyb21PdXRlck5vZGUob3V0ZXJOb2RlKSB7IHJldHVybiBIVE1MTm9kZS5mcm9tT3V0ZXJOb2RlKFRhYmxlSGVhZENlbGxIVE1MTm9kZSwgb3V0ZXJOb2RlKTsgfVxufVxuIl0sIm5hbWVzIjpbIlRhYmxlSGVhZENlbGxIVE1MTm9kZSIsImZyb21Ob3RoaW5nIiwiSFRNTE5vZGUiLCJmcm9tT3V0ZXJOb2RlIiwib3V0ZXJOb2RlIiwidGFnTmFtZSIsImNsYXNzTmFtZSJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7ZUFJcUJBOzs7MkRBRkE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRU4sSUFBQSxBQUFNQSxzQ0FBTjtjQUFNQTthQUFBQTtnQ0FBQUE7UUFBTixPQUFBLGtCQUFNQTs7a0JBQUFBOztZQUtaQyxLQUFBQTttQkFBUCxTQUFPQTtnQkFBZ0IsT0FBT0MsYUFBUSxDQUFDRCxXQUFXLENBTC9CRDtZQUt3RDs7O1lBRXBFRyxLQUFBQTttQkFBUCxTQUFPQSxjQUFjQyxTQUFTO2dCQUFJLE9BQU9GLGFBQVEsQ0FBQ0MsYUFBYSxDQVA1Q0gsdUJBT29FSTtZQUFZOzs7V0FQaEZKO0VBQThCRSxhQUFRO0FBQ3pELGlCQURtQkYsdUJBQ1pLLFdBQVU7QUFFakIsaUJBSG1CTCx1QkFHWk0sYUFBWSJ9
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "default", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return TableHeadRowHTMLNode;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _html = /*#__PURE__*/ _interop_require_default(require("../../node/html"));
|
|
12
|
-
function _assert_this_initialized(self) {
|
|
13
|
-
if (self === void 0) {
|
|
14
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15
|
-
}
|
|
16
|
-
return self;
|
|
17
|
-
}
|
|
18
|
-
function _call_super(_this, derived, args) {
|
|
19
|
-
derived = _get_prototype_of(derived);
|
|
20
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
21
|
-
}
|
|
22
|
-
function _class_call_check(instance, Constructor) {
|
|
23
|
-
if (!(instance instanceof Constructor)) {
|
|
24
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function _defineProperties(target, props) {
|
|
28
|
-
for(var i = 0; i < props.length; i++){
|
|
29
|
-
var descriptor = props[i];
|
|
30
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
31
|
-
descriptor.configurable = true;
|
|
32
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
33
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
37
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
38
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
39
|
-
return Constructor;
|
|
40
|
-
}
|
|
41
|
-
function _define_property(obj, key, value) {
|
|
42
|
-
if (key in obj) {
|
|
43
|
-
Object.defineProperty(obj, key, {
|
|
44
|
-
value: value,
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
writable: true
|
|
48
|
-
});
|
|
49
|
-
} else {
|
|
50
|
-
obj[key] = value;
|
|
51
|
-
}
|
|
52
|
-
return obj;
|
|
53
|
-
}
|
|
54
|
-
function _get_prototype_of(o) {
|
|
55
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
56
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
57
|
-
};
|
|
58
|
-
return _get_prototype_of(o);
|
|
59
|
-
}
|
|
60
|
-
function _inherits(subClass, superClass) {
|
|
61
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
62
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
63
|
-
}
|
|
64
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
65
|
-
constructor: {
|
|
66
|
-
value: subClass,
|
|
67
|
-
writable: true,
|
|
68
|
-
configurable: true
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
72
|
-
}
|
|
73
|
-
function _interop_require_default(obj) {
|
|
74
|
-
return obj && obj.__esModule ? obj : {
|
|
75
|
-
default: obj
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
function _possible_constructor_return(self, call) {
|
|
79
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
80
|
-
return call;
|
|
81
|
-
}
|
|
82
|
-
return _assert_this_initialized(self);
|
|
83
|
-
}
|
|
84
|
-
function _set_prototype_of(o, p) {
|
|
85
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
86
|
-
o.__proto__ = p;
|
|
87
|
-
return o;
|
|
88
|
-
};
|
|
89
|
-
return _set_prototype_of(o, p);
|
|
90
|
-
}
|
|
91
|
-
function _type_of(obj) {
|
|
92
|
-
"@swc/helpers - typeof";
|
|
93
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
94
|
-
}
|
|
95
|
-
function _is_native_reflect_construct() {
|
|
96
|
-
try {
|
|
97
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
98
|
-
} catch (_) {}
|
|
99
|
-
return (_is_native_reflect_construct = function() {
|
|
100
|
-
return !!result;
|
|
101
|
-
})();
|
|
102
|
-
}
|
|
103
|
-
var TableHeadRowHTMLNode = /*#__PURE__*/ function(HTMLNode) {
|
|
104
|
-
_inherits(TableHeadRowHTMLNode, HTMLNode);
|
|
105
|
-
function TableHeadRowHTMLNode() {
|
|
106
|
-
_class_call_check(this, TableHeadRowHTMLNode);
|
|
107
|
-
return _call_super(this, TableHeadRowHTMLNode, arguments);
|
|
108
|
-
}
|
|
109
|
-
_create_class(TableHeadRowHTMLNode, null, [
|
|
110
|
-
{
|
|
111
|
-
key: "fromNothing",
|
|
112
|
-
value: function fromNothing() {
|
|
113
|
-
return _html.default.fromNothing(TableHeadRowHTMLNode);
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
key: "fromOuterNode",
|
|
118
|
-
value: function fromOuterNode(outerNode) {
|
|
119
|
-
return _html.default.fromOuterNode(TableHeadRowHTMLNode, outerNode);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
]);
|
|
123
|
-
return TableHeadRowHTMLNode;
|
|
124
|
-
}(_html.default);
|
|
125
|
-
_define_property(TableHeadRowHTMLNode, "tagName", "tr");
|
|
126
|
-
_define_property(TableHeadRowHTMLNode, "className", null);
|
|
127
|
-
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ub2RlL2h0bWwvdGFibGVIZWFkUm93LmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgSFRNTE5vZGUgZnJvbSBcIi4uLy4uL25vZGUvaHRtbFwiO1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBUYWJsZUhlYWRSb3dIVE1MTm9kZSBleHRlbmRzIEhUTUxOb2RlIHtcbiAgc3RhdGljIHRhZ05hbWUgPSBcInRyXCI7XG5cbiAgc3RhdGljIGNsYXNzTmFtZSA9IG51bGw7XG5cbiAgc3RhdGljIGZyb21Ob3RoaW5nKCkgeyByZXR1cm4gSFRNTE5vZGUuZnJvbU5vdGhpbmcoVGFibGVIZWFkUm93SFRNTE5vZGUpOyB9XG5cbiAgc3RhdGljIGZyb21PdXRlck5vZGUob3V0ZXJOb2RlKSB7IHJldHVybiBIVE1MTm9kZS5mcm9tT3V0ZXJOb2RlKFRhYmxlSGVhZFJvd0hUTUxOb2RlLCBvdXRlck5vZGUpOyB9XG59XG4iXSwibmFtZXMiOlsiVGFibGVIZWFkUm93SFRNTE5vZGUiLCJmcm9tTm90aGluZyIsIkhUTUxOb2RlIiwiZnJvbU91dGVyTm9kZSIsIm91dGVyTm9kZSIsInRhZ05hbWUiLCJjbGFzc05hbWUiXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7O2VBSXFCQTs7OzJEQUZBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVOLElBQUEsQUFBTUEscUNBQU47Y0FBTUE7YUFBQUE7Z0NBQUFBO1FBQU4sT0FBQSxrQkFBTUE7O2tCQUFBQTs7WUFLWkMsS0FBQUE7bUJBQVAsU0FBT0E7Z0JBQWdCLE9BQU9DLGFBQVEsQ0FBQ0QsV0FBVyxDQUwvQkQ7WUFLdUQ7OztZQUVuRUcsS0FBQUE7bUJBQVAsU0FBT0EsY0FBY0MsU0FBUztnQkFBSSxPQUFPRixhQUFRLENBQUNDLGFBQWEsQ0FQNUNILHNCQU9tRUk7WUFBWTs7O1dBUC9FSjtFQUE2QkUsYUFBUTtBQUN4RCxpQkFEbUJGLHNCQUNaSyxXQUFVO0FBRWpCLGlCQUhtQkwsc0JBR1pNLGFBQVkifQ==
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "default", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return BlockTextHTMLNode;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _text = /*#__PURE__*/ _interop_require_default(require("../../html/text"));
|
|
12
|
-
function _assert_this_initialized(self) {
|
|
13
|
-
if (self === void 0) {
|
|
14
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15
|
-
}
|
|
16
|
-
return self;
|
|
17
|
-
}
|
|
18
|
-
function _call_super(_this, derived, args) {
|
|
19
|
-
derived = _get_prototype_of(derived);
|
|
20
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
21
|
-
}
|
|
22
|
-
function _class_call_check(instance, Constructor) {
|
|
23
|
-
if (!(instance instanceof Constructor)) {
|
|
24
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function _defineProperties(target, props) {
|
|
28
|
-
for(var i = 0; i < props.length; i++){
|
|
29
|
-
var descriptor = props[i];
|
|
30
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
31
|
-
descriptor.configurable = true;
|
|
32
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
33
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
37
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
38
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
39
|
-
return Constructor;
|
|
40
|
-
}
|
|
41
|
-
function _define_property(obj, key, value) {
|
|
42
|
-
if (key in obj) {
|
|
43
|
-
Object.defineProperty(obj, key, {
|
|
44
|
-
value: value,
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
writable: true
|
|
48
|
-
});
|
|
49
|
-
} else {
|
|
50
|
-
obj[key] = value;
|
|
51
|
-
}
|
|
52
|
-
return obj;
|
|
53
|
-
}
|
|
54
|
-
function _get_prototype_of(o) {
|
|
55
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
56
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
57
|
-
};
|
|
58
|
-
return _get_prototype_of(o);
|
|
59
|
-
}
|
|
60
|
-
function _inherits(subClass, superClass) {
|
|
61
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
62
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
63
|
-
}
|
|
64
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
65
|
-
constructor: {
|
|
66
|
-
value: subClass,
|
|
67
|
-
writable: true,
|
|
68
|
-
configurable: true
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
72
|
-
}
|
|
73
|
-
function _interop_require_default(obj) {
|
|
74
|
-
return obj && obj.__esModule ? obj : {
|
|
75
|
-
default: obj
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
function _possible_constructor_return(self, call) {
|
|
79
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
80
|
-
return call;
|
|
81
|
-
}
|
|
82
|
-
return _assert_this_initialized(self);
|
|
83
|
-
}
|
|
84
|
-
function _set_prototype_of(o, p) {
|
|
85
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
86
|
-
o.__proto__ = p;
|
|
87
|
-
return o;
|
|
88
|
-
};
|
|
89
|
-
return _set_prototype_of(o, p);
|
|
90
|
-
}
|
|
91
|
-
function _type_of(obj) {
|
|
92
|
-
"@swc/helpers - typeof";
|
|
93
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
94
|
-
}
|
|
95
|
-
function _is_native_reflect_construct() {
|
|
96
|
-
try {
|
|
97
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
98
|
-
} catch (_) {}
|
|
99
|
-
return (_is_native_reflect_construct = function() {
|
|
100
|
-
return !!result;
|
|
101
|
-
})();
|
|
102
|
-
}
|
|
103
|
-
var BlockTextHTMLNode = /*#__PURE__*/ function(TextHTMLNode) {
|
|
104
|
-
_inherits(BlockTextHTMLNode, TextHTMLNode);
|
|
105
|
-
function BlockTextHTMLNode() {
|
|
106
|
-
_class_call_check(this, BlockTextHTMLNode);
|
|
107
|
-
return _call_super(this, BlockTextHTMLNode, arguments);
|
|
108
|
-
}
|
|
109
|
-
_create_class(BlockTextHTMLNode, null, [
|
|
110
|
-
{
|
|
111
|
-
key: "fromNothing",
|
|
112
|
-
value: function fromNothing() {
|
|
113
|
-
return _text.default.fromNothing(BlockTextHTMLNode);
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
key: "fromOuterNode",
|
|
118
|
-
value: function fromOuterNode(outerNode) {
|
|
119
|
-
return _text.default.fromOuterNode(BlockTextHTMLNode, outerNode);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
]);
|
|
123
|
-
return BlockTextHTMLNode;
|
|
124
|
-
}(_text.default);
|
|
125
|
-
_define_property(BlockTextHTMLNode, "tagName", null);
|
|
126
|
-
_define_property(BlockTextHTMLNode, "className", null);
|
|
127
|
-
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub2RlL2h0bWwvdGV4dC9ibG9jay5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IFRleHRIVE1MTm9kZSBmcm9tIFwiLi4vLi4vaHRtbC90ZXh0XCI7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEJsb2NrVGV4dEhUTUxOb2RlIGV4dGVuZHMgVGV4dEhUTUxOb2RlIHtcbiAgc3RhdGljIHRhZ05hbWUgPSBudWxsO1xuXG4gIHN0YXRpYyBjbGFzc05hbWUgPSBudWxsO1xuXG4gIHN0YXRpYyBmcm9tTm90aGluZygpIHsgcmV0dXJuIFRleHRIVE1MTm9kZS5mcm9tTm90aGluZyhCbG9ja1RleHRIVE1MTm9kZSk7IH1cblxuICBzdGF0aWMgZnJvbU91dGVyTm9kZShvdXRlck5vZGUpIHsgcmV0dXJuIFRleHRIVE1MTm9kZS5mcm9tT3V0ZXJOb2RlKEJsb2NrVGV4dEhUTUxOb2RlLCBvdXRlck5vZGUpOyB9XG59XG4iXSwibmFtZXMiOlsiQmxvY2tUZXh0SFRNTE5vZGUiLCJmcm9tTm90aGluZyIsIlRleHRIVE1MTm9kZSIsImZyb21PdXRlck5vZGUiLCJvdXRlck5vZGUiLCJ0YWdOYW1lIiwiY2xhc3NOYW1lIl0sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7OztlQUlxQkE7OzsyREFGSTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFVixJQUFBLEFBQU1BLGtDQUFOO2NBQU1BO2FBQUFBO2dDQUFBQTtRQUFOLE9BQUEsa0JBQU1BOztrQkFBQUE7O1lBS1pDLEtBQUFBO21CQUFQLFNBQU9BO2dCQUFnQixPQUFPQyxhQUFZLENBQUNELFdBQVcsQ0FMbkNEO1lBS3dEOzs7WUFFcEVHLEtBQUFBO21CQUFQLFNBQU9BLGNBQWNDLFNBQVM7Z0JBQUksT0FBT0YsYUFBWSxDQUFDQyxhQUFhLENBUGhESCxtQkFPb0VJO1lBQVk7OztXQVBoRko7RUFBMEJFLGFBQVk7QUFDekQsaUJBRG1CRixtQkFDWkssV0FBVTtBQUVqQixpQkFIbUJMLG1CQUdaTSxhQUFZIn0=
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "default", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return CommaTextHTMLNode;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _text = /*#__PURE__*/ _interop_require_default(require("../../../node/html/text"));
|
|
12
|
-
var _constants = require("../../../constants");
|
|
13
|
-
var _markdown = require("../../../ruleNames/markdown");
|
|
14
|
-
function _assert_this_initialized(self) {
|
|
15
|
-
if (self === void 0) {
|
|
16
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17
|
-
}
|
|
18
|
-
return self;
|
|
19
|
-
}
|
|
20
|
-
function _call_super(_this, derived, args) {
|
|
21
|
-
derived = _get_prototype_of(derived);
|
|
22
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
23
|
-
}
|
|
24
|
-
function _class_call_check(instance, Constructor) {
|
|
25
|
-
if (!(instance instanceof Constructor)) {
|
|
26
|
-
throw new TypeError("Cannot call a class as a function");
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
function _defineProperties(target, props) {
|
|
30
|
-
for(var i = 0; i < props.length; i++){
|
|
31
|
-
var descriptor = props[i];
|
|
32
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
33
|
-
descriptor.configurable = true;
|
|
34
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
35
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
39
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
40
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
41
|
-
return Constructor;
|
|
42
|
-
}
|
|
43
|
-
function _define_property(obj, key, value) {
|
|
44
|
-
if (key in obj) {
|
|
45
|
-
Object.defineProperty(obj, key, {
|
|
46
|
-
value: value,
|
|
47
|
-
enumerable: true,
|
|
48
|
-
configurable: true,
|
|
49
|
-
writable: true
|
|
50
|
-
});
|
|
51
|
-
} else {
|
|
52
|
-
obj[key] = value;
|
|
53
|
-
}
|
|
54
|
-
return obj;
|
|
55
|
-
}
|
|
56
|
-
function _get_prototype_of(o) {
|
|
57
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
58
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
59
|
-
};
|
|
60
|
-
return _get_prototype_of(o);
|
|
61
|
-
}
|
|
62
|
-
function _inherits(subClass, superClass) {
|
|
63
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
64
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
65
|
-
}
|
|
66
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
67
|
-
constructor: {
|
|
68
|
-
value: subClass,
|
|
69
|
-
writable: true,
|
|
70
|
-
configurable: true
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
74
|
-
}
|
|
75
|
-
function _interop_require_default(obj) {
|
|
76
|
-
return obj && obj.__esModule ? obj : {
|
|
77
|
-
default: obj
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function _possible_constructor_return(self, call) {
|
|
81
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
82
|
-
return call;
|
|
83
|
-
}
|
|
84
|
-
return _assert_this_initialized(self);
|
|
85
|
-
}
|
|
86
|
-
function _set_prototype_of(o, p) {
|
|
87
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
88
|
-
o.__proto__ = p;
|
|
89
|
-
return o;
|
|
90
|
-
};
|
|
91
|
-
return _set_prototype_of(o, p);
|
|
92
|
-
}
|
|
93
|
-
function _type_of(obj) {
|
|
94
|
-
"@swc/helpers - typeof";
|
|
95
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
96
|
-
}
|
|
97
|
-
function _is_native_reflect_construct() {
|
|
98
|
-
try {
|
|
99
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
100
|
-
} catch (_) {}
|
|
101
|
-
return (_is_native_reflect_construct = function() {
|
|
102
|
-
return !!result;
|
|
103
|
-
})();
|
|
104
|
-
}
|
|
105
|
-
var CommaTextHTMLNode = /*#__PURE__*/ function(TextHTMLNode) {
|
|
106
|
-
_inherits(CommaTextHTMLNode, TextHTMLNode);
|
|
107
|
-
function CommaTextHTMLNode() {
|
|
108
|
-
_class_call_check(this, CommaTextHTMLNode);
|
|
109
|
-
return _call_super(this, CommaTextHTMLNode, arguments);
|
|
110
|
-
}
|
|
111
|
-
_create_class(CommaTextHTMLNode, [
|
|
112
|
-
{
|
|
113
|
-
key: "getRuleName",
|
|
114
|
-
value: function getRuleName() {
|
|
115
|
-
var ruleName = _markdown.INDEX_TEXT_MARKDOWN_RULE_NAME;
|
|
116
|
-
return ruleName;
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
key: "text",
|
|
121
|
-
value: function text(context) {
|
|
122
|
-
var text = _constants.COMMA;
|
|
123
|
-
return text;
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
key: "asString",
|
|
128
|
-
value: function asString() {
|
|
129
|
-
var ruleName = this.getRuleName(), string = ruleName; //.
|
|
130
|
-
return string;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
], [
|
|
134
|
-
{
|
|
135
|
-
key: "fromNothing",
|
|
136
|
-
value: function fromNothing() {
|
|
137
|
-
return _text.default.fromNothing(CommaTextHTMLNode);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
]);
|
|
141
|
-
return CommaTextHTMLNode;
|
|
142
|
-
}(_text.default);
|
|
143
|
-
_define_property(CommaTextHTMLNode, "tagName", null);
|
|
144
|
-
_define_property(CommaTextHTMLNode, "className", null);
|
|
145
|
-
|
|
146
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ub2RlL2h0bWwvdGV4dC9jb21tYS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBz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