yapp 5.1.294 → 5.1.296
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/.aiignore +12 -0
- package/.swcrc +4 -3
- package/example.js +7037 -12028
- package/lib/colours.js +26 -26
- package/lib/constants.js +9 -9
- package/lib/customEventTypes.js +2 -2
- package/lib/defaults.js +8 -8
- package/lib/div/gutter.js +49 -253
- package/lib/div/lineNumbers.js +42 -197
- package/lib/div/pretty.js +55 -257
- package/lib/div/syntax.js +78 -253
- package/lib/example/constants.js +2 -2
- package/lib/example/view/div/sizeable/left.js +12 -104
- package/lib/example/view/div/sizeable/middle.js +12 -104
- package/lib/example/view/div/sizeable/right.js +12 -104
- package/lib/example/view/div/sizeable/top.js +12 -104
- package/lib/example/view/input.js +11 -23
- package/lib/example/view/javascript.js +32 -86
- package/lib/example/view/json.js +20 -87
- package/lib/example/view/plainText.js +9 -87
- package/lib/example/view/subHeading.js +13 -23
- package/lib/example/view/textarea/bnf.js +21 -124
- package/lib/example/view/textarea/lexicalEntries.js +21 -124
- package/lib/example/view/textarea/parseTree.js +27 -130
- package/lib/example/view/textarea/tokens.js +40 -143
- package/lib/example/view/textarea.js +15 -23
- package/lib/example/view/xml.js +24 -87
- package/lib/example/view.js +85 -258
- package/lib/example/yapp.js +8 -86
- package/lib/example.js +11 -11
- package/lib/index.js +10 -10
- package/lib/languages.js +5 -5
- package/lib/lexer/javascript.js +21 -121
- package/lib/lexer/json.js +21 -121
- package/lib/lexer/plainText.js +21 -121
- package/lib/lexer/xml.js +21 -121
- package/lib/mixins/style.js +27 -27
- package/lib/parser/javascript.js +276 -115
- package/lib/parser/json.js +30 -110
- package/lib/parser/plainText.js +14 -110
- package/lib/parser/xml.js +55 -111
- package/lib/plugin/javascript.js +13 -156
- package/lib/plugin/json.js +13 -156
- package/lib/plugin/plainText.js +13 -156
- package/lib/plugin/xml.js +13 -156
- package/lib/plugin.js +41 -98
- package/lib/prettyPrinter.js +81 -273
- package/lib/processor/javascript.js +64 -153
- package/lib/processor/json.js +17 -105
- package/lib/processor/plainText.js +8 -96
- package/lib/processor/xml.js +32 -120
- package/lib/processor.js +53 -103
- package/lib/renderYappStyles.js +6 -6
- package/lib/richTextarea.js +66 -182
- package/lib/scheme/colour.js +17 -17
- package/lib/scheme/syntax/default.js +6 -6
- package/lib/scheme/syntax/javaScript.js +6 -6
- package/lib/scheme/syntax/json.js +3 -3
- package/lib/scheme/syntax/xml.js +4 -4
- package/lib/style/firaCode.js +18 -7
- package/lib/style/syntax/default.js +33 -5
- package/lib/style/syntax/javaScript.js +14 -4
- package/lib/style/syntax/json.js +8 -4
- package/lib/style/syntax/xml.js +10 -4
- package/lib/style/syntax.js +17 -7
- package/lib/style/yapp.js +70 -5
- package/lib/styles.js +3 -3
- package/lib/token/significant/argument.js +7 -91
- package/lib/token/significant/attribute.js +7 -91
- package/lib/token/significant/comment.js +7 -91
- package/lib/token/significant/error.js +7 -91
- package/lib/token/significant/jsx/attributeName.js +7 -91
- package/lib/token/significant/jsx/tagName.js +7 -91
- package/lib/token/significant/name.js +7 -91
- package/lib/token/significant/string.js +7 -91
- package/lib/token/significant/variable.js +7 -91
- package/lib/tokenTypes.js +9 -9
- package/lib/utilities/configuration.js +4 -6
- package/lib/utilities/content.js +10 -10
- package/lib/utilities/css.js +5 -5
- package/lib/utilities/element.js +5 -5
- package/lib/utilities/plugin.js +10 -11
- package/lib/utilities/rules.js +6 -6
- package/lib/utilities/scrollbar.js +7 -7
- package/lib/utilities/tokens.js +4 -4
- package/lib/yapp.js +115 -337
- package/package.json +3 -3
package/lib/div/lineNumbers.js
CHANGED
|
@@ -8,210 +8,55 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
function _assert_this_initialized(self) {
|
|
16
|
-
if (self === void 0) {
|
|
17
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
18
|
-
}
|
|
19
|
-
return self;
|
|
20
|
-
}
|
|
21
|
-
function _call_super(_this, derived, args) {
|
|
22
|
-
derived = _get_prototype_of(derived);
|
|
23
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
24
|
-
}
|
|
25
|
-
function _class_call_check(instance, Constructor) {
|
|
26
|
-
if (!(instance instanceof Constructor)) {
|
|
27
|
-
throw new TypeError("Cannot call a class as a function");
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function _construct(Parent, args, Class) {
|
|
31
|
-
if (_is_native_reflect_construct()) {
|
|
32
|
-
_construct = Reflect.construct;
|
|
33
|
-
} else {
|
|
34
|
-
_construct = function construct(Parent, args, Class) {
|
|
35
|
-
var a = [
|
|
36
|
-
null
|
|
37
|
-
];
|
|
38
|
-
a.push.apply(a, args);
|
|
39
|
-
var Constructor = Function.bind.apply(Parent, a);
|
|
40
|
-
var instance = new Constructor();
|
|
41
|
-
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
42
|
-
return instance;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
return _construct.apply(null, arguments);
|
|
46
|
-
}
|
|
47
|
-
function _defineProperties(target, props) {
|
|
48
|
-
for(var i = 0; i < props.length; i++){
|
|
49
|
-
var descriptor = props[i];
|
|
50
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
51
|
-
descriptor.configurable = true;
|
|
52
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
53
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
57
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
58
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
59
|
-
return Constructor;
|
|
60
|
-
}
|
|
61
|
-
function _define_property(obj, key, value) {
|
|
62
|
-
if (key in obj) {
|
|
63
|
-
Object.defineProperty(obj, key, {
|
|
64
|
-
value: value,
|
|
65
|
-
enumerable: true,
|
|
66
|
-
configurable: true,
|
|
67
|
-
writable: true
|
|
68
|
-
});
|
|
69
|
-
} else {
|
|
70
|
-
obj[key] = value;
|
|
71
|
-
}
|
|
72
|
-
return obj;
|
|
73
|
-
}
|
|
74
|
-
function _get_prototype_of(o) {
|
|
75
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
76
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
77
|
-
};
|
|
78
|
-
return _get_prototype_of(o);
|
|
79
|
-
}
|
|
80
|
-
function _inherits(subClass, superClass) {
|
|
81
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
82
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
83
|
-
}
|
|
84
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
85
|
-
constructor: {
|
|
86
|
-
value: subClass,
|
|
87
|
-
writable: true,
|
|
88
|
-
configurable: true
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
92
|
-
}
|
|
11
|
+
const _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
|
+
const _easy = require("easy");
|
|
13
|
+
const _constants = require("../constants");
|
|
14
|
+
const _tokens = require("../utilities/tokens");
|
|
93
15
|
function _interop_require_default(obj) {
|
|
94
16
|
return obj && obj.__esModule ? obj : {
|
|
95
17
|
default: obj
|
|
96
18
|
};
|
|
97
19
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
20
|
+
class LineNumbersDiv extends _easy.Element {
|
|
21
|
+
update(tokens) {
|
|
22
|
+
let html = _constants.EMPTY_STRING;
|
|
23
|
+
const lineCount = (0, _tokens.lineCountFromTokens)(tokens);
|
|
24
|
+
for(let lineNumber = 1; lineNumber <= lineCount; lineNumber++){
|
|
25
|
+
html = `${html}${lineNumber}<br/>`;
|
|
26
|
+
}
|
|
27
|
+
this.html(html);
|
|
104
28
|
}
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
return o;
|
|
111
|
-
};
|
|
112
|
-
return _set_prototype_of(o, p);
|
|
113
|
-
}
|
|
114
|
-
function _tagged_template_literal(strings, raw) {
|
|
115
|
-
if (!raw) {
|
|
116
|
-
raw = strings.slice(0);
|
|
29
|
+
scroll(scrollTop, scrollLeft) {
|
|
30
|
+
const top = `${-scrollTop}px`, css = {
|
|
31
|
+
top
|
|
32
|
+
};
|
|
33
|
+
this.css(css);
|
|
117
34
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
function _wrap_native_super(Class) {
|
|
129
|
-
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
130
|
-
_wrap_native_super = function wrapNativeSuper(Class) {
|
|
131
|
-
if (Class === null || !_is_native_function(Class)) return Class;
|
|
132
|
-
if (typeof Class !== "function") {
|
|
133
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
134
|
-
}
|
|
135
|
-
if (typeof _cache !== "undefined") {
|
|
136
|
-
if (_cache.has(Class)) return _cache.get(Class);
|
|
137
|
-
_cache.set(Class, Wrapper);
|
|
138
|
-
}
|
|
139
|
-
function Wrapper() {
|
|
140
|
-
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
141
|
-
}
|
|
142
|
-
Wrapper.prototype = Object.create(Class.prototype, {
|
|
143
|
-
constructor: {
|
|
144
|
-
value: Wrapper,
|
|
145
|
-
enumerable: false,
|
|
146
|
-
writable: true,
|
|
147
|
-
configurable: true
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
return _set_prototype_of(Wrapper, Class);
|
|
151
|
-
};
|
|
152
|
-
return _wrap_native_super(Class);
|
|
153
|
-
}
|
|
154
|
-
function _is_native_reflect_construct() {
|
|
155
|
-
try {
|
|
156
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
157
|
-
} catch (_) {}
|
|
158
|
-
return (_is_native_reflect_construct = function() {
|
|
159
|
-
return !!result;
|
|
160
|
-
})();
|
|
161
|
-
}
|
|
162
|
-
function _templateObject() {
|
|
163
|
-
var data = _tagged_template_literal([
|
|
164
|
-
"\n\n position: relative;\n user-select: none;\n pointer-events: none;\n\n font-size: inherit;\n line-height: inherit;\n font-family: inherit;\n font-weight: inherit;\n text-rendering: inherit;\n font-feature-settings: inherit;\n\n"
|
|
165
|
-
]);
|
|
166
|
-
_templateObject = function _templateObject() {
|
|
167
|
-
return data;
|
|
35
|
+
parentContext() {
|
|
36
|
+
const scrollLineNumbersDiv = this.scroll.bind(this), updateLineNumbersDiv = this.update.bind(this); ///
|
|
37
|
+
return {
|
|
38
|
+
scrollLineNumbersDiv,
|
|
39
|
+
updateLineNumbersDiv
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static tagName = "div";
|
|
43
|
+
static defaultProperties = {
|
|
44
|
+
className: "line-numbers"
|
|
168
45
|
};
|
|
169
|
-
return data;
|
|
170
46
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
this.html(html);
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
key: "scroll",
|
|
191
|
-
value: function scroll(scrollTop, scrollLeft) {
|
|
192
|
-
var top = "".concat(-scrollTop, "px"), css = {
|
|
193
|
-
top: top
|
|
194
|
-
};
|
|
195
|
-
this.css(css);
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
key: "parentContext",
|
|
200
|
-
value: function parentContext() {
|
|
201
|
-
var scrollLineNumbersDiv = this.scroll.bind(this), updateLineNumbersDiv = this.update.bind(this); ///
|
|
202
|
-
return {
|
|
203
|
-
scrollLineNumbersDiv: scrollLineNumbersDiv,
|
|
204
|
-
updateLineNumbersDiv: updateLineNumbersDiv
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
]);
|
|
209
|
-
return LineNumbersDiv;
|
|
210
|
-
}(_wrap_native_super(_easy.Element));
|
|
211
|
-
_define_property(LineNumbersDiv, "tagName", "div");
|
|
212
|
-
_define_property(LineNumbersDiv, "defaultProperties", {
|
|
213
|
-
className: "line-numbers"
|
|
214
|
-
});
|
|
215
|
-
var _default = (0, _easywithstyle.default)(LineNumbersDiv)(_templateObject());
|
|
47
|
+
const _default = (0, _easywithstyle.default)(LineNumbersDiv)`
|
|
48
|
+
|
|
49
|
+
position: relative;
|
|
50
|
+
user-select: none;
|
|
51
|
+
pointer-events: none;
|
|
52
|
+
|
|
53
|
+
font-size: inherit;
|
|
54
|
+
line-height: inherit;
|
|
55
|
+
font-family: inherit;
|
|
56
|
+
font-weight: inherit;
|
|
57
|
+
text-rendering: inherit;
|
|
58
|
+
font-feature-settings: inherit;
|
|
59
|
+
|
|
60
|
+
`;
|
|
216
61
|
|
|
217
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaXYvbGluZU51bWJlcnMuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XHJcblxyXG5pbXBvcnQgd2l0aFN0eWxlIGZyb20gXCJlYXN5LXdpdGgtc3R5bGVcIjsgIC8vL1xyXG5cclxuaW1wb3J0IHsgRWxlbWVudCB9IGZyb20gXCJlYXN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FPSSxXQUFXLEtBQUssQ0FBQztRQUNwQztRQUVBLElBQUksQ0FBQ0osSUFBSSxDQUFDQTtJQUNaO0lBRUFLLE9BQU9DLFNBQVMsRUFBRUMsVUFBVSxFQUFFO1FBQzVCLE1BQU1DLE1BQU0sR0FBRyxDQUFDRixVQUFVLEVBQUUsQ0FBQyxFQUN2QkcsTUFBTTtZQUNKRDtRQUNGO1FBRU4sSUFBSSxDQUFDQyxHQUFHLENBQUNBO0lBQ1g7SUFFQUMsZ0JBQWdCO1FBQ2YsTUFBTUMsdUJBQXVCLElBQUksQ0FBQ04sTUFBTSxDQUFDTyxJQUFJLENBQUMsSUFBSSxHQUMzQ0MsdUJBQXVCLElBQUksQ0FBQ2YsTUFBTSxDQUFDYyxJQUFJLENBQUMsSUFBSSxHQUFJLEdBQUc7UUFFekQsT0FBUTtZQUNORDtZQUNBRTtRQUNGO0lBQ0Y7SUFFQSxPQUFPQyxVQUFVLE1BQU07SUFFdkIsT0FBT0Msb0JBQW9CO1FBQ3pCQyxXQUFXO0lBQ2IsRUFBRTtBQUNKO01BRUEsV0FBZUMsSUFBQUEsc0JBQVMsRUFBQ3JCLGVBQWUsQ0FBQzs7Ozs7Ozs7Ozs7OztBQWF6QyxDQUFDIn0=
|
package/lib/div/pretty.js
CHANGED
|
@@ -8,273 +8,71 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
function _assert_this_initialized(self) {
|
|
16
|
-
if (self === void 0) {
|
|
17
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
18
|
-
}
|
|
19
|
-
return self;
|
|
20
|
-
}
|
|
21
|
-
function _call_super(_this, derived, args) {
|
|
22
|
-
derived = _get_prototype_of(derived);
|
|
23
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
24
|
-
}
|
|
25
|
-
function _class_call_check(instance, Constructor) {
|
|
26
|
-
if (!(instance instanceof Constructor)) {
|
|
27
|
-
throw new TypeError("Cannot call a class as a function");
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function _construct(Parent, args, Class) {
|
|
31
|
-
if (_is_native_reflect_construct()) {
|
|
32
|
-
_construct = Reflect.construct;
|
|
33
|
-
} else {
|
|
34
|
-
_construct = function construct(Parent, args, Class) {
|
|
35
|
-
var a = [
|
|
36
|
-
null
|
|
37
|
-
];
|
|
38
|
-
a.push.apply(a, args);
|
|
39
|
-
var Constructor = Function.bind.apply(Parent, a);
|
|
40
|
-
var instance = new Constructor();
|
|
41
|
-
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
42
|
-
return instance;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
return _construct.apply(null, arguments);
|
|
46
|
-
}
|
|
47
|
-
function _defineProperties(target, props) {
|
|
48
|
-
for(var i = 0; i < props.length; i++){
|
|
49
|
-
var descriptor = props[i];
|
|
50
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
51
|
-
descriptor.configurable = true;
|
|
52
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
53
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
57
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
58
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
59
|
-
return Constructor;
|
|
60
|
-
}
|
|
61
|
-
function _define_property(obj, key, value) {
|
|
62
|
-
if (key in obj) {
|
|
63
|
-
Object.defineProperty(obj, key, {
|
|
64
|
-
value: value,
|
|
65
|
-
enumerable: true,
|
|
66
|
-
configurable: true,
|
|
67
|
-
writable: true
|
|
68
|
-
});
|
|
69
|
-
} else {
|
|
70
|
-
obj[key] = value;
|
|
71
|
-
}
|
|
72
|
-
return obj;
|
|
73
|
-
}
|
|
74
|
-
function _get_prototype_of(o) {
|
|
75
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
76
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
77
|
-
};
|
|
78
|
-
return _get_prototype_of(o);
|
|
79
|
-
}
|
|
80
|
-
function _inherits(subClass, superClass) {
|
|
81
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
82
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
83
|
-
}
|
|
84
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
85
|
-
constructor: {
|
|
86
|
-
value: subClass,
|
|
87
|
-
writable: true,
|
|
88
|
-
configurable: true
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
92
|
-
}
|
|
11
|
+
const _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
|
+
const _easy = require("easy");
|
|
13
|
+
const _syntax = /*#__PURE__*/ _interop_require_default(require("../div/syntax"));
|
|
14
|
+
const _constants = require("../constants");
|
|
93
15
|
function _interop_require_default(obj) {
|
|
94
16
|
return obj && obj.__esModule ? obj : {
|
|
95
17
|
default: obj
|
|
96
18
|
};
|
|
97
19
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
function _object_spread(target) {
|
|
102
|
-
for(var i = 1; i < arguments.length; i++){
|
|
103
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
104
|
-
var ownKeys = Object.keys(source);
|
|
105
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
106
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
107
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
108
|
-
}));
|
|
109
|
-
}
|
|
110
|
-
ownKeys.forEach(function(key) {
|
|
111
|
-
_define_property(target, key, source[key]);
|
|
112
|
-
});
|
|
20
|
+
class PrettyDiv extends _easy.Element {
|
|
21
|
+
update(tokens) {
|
|
22
|
+
this.updateSyntaxDiv(tokens);
|
|
113
23
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
function ownKeys(object, enumerableOnly) {
|
|
117
|
-
var keys = Object.keys(object);
|
|
118
|
-
if (Object.getOwnPropertySymbols) {
|
|
119
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
120
|
-
if (enumerableOnly) {
|
|
121
|
-
symbols = symbols.filter(function(sym) {
|
|
122
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
keys.push.apply(keys, symbols);
|
|
24
|
+
scroll(scrollTop, scrollLeft) {
|
|
25
|
+
this.scrollSyntaxDiv(scrollTop, scrollLeft);
|
|
126
26
|
}
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
132
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
133
|
-
} else {
|
|
134
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
135
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
136
|
-
});
|
|
27
|
+
didMount() {
|
|
28
|
+
const { scrollbarThickness } = this.properties, marginRight = `${scrollbarThickness}px`, marginBottom = `${scrollbarThickness}px`;
|
|
29
|
+
this.style(_constants.MARGIN_RIGHT, marginRight);
|
|
30
|
+
this.style(_constants.MARGIN_BOTTOM, marginBottom);
|
|
137
31
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
function _possible_constructor_return(self, call) {
|
|
141
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
142
|
-
return call;
|
|
32
|
+
willUnmount() {
|
|
33
|
+
///
|
|
143
34
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
function _set_prototype_of(o, p) {
|
|
147
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
148
|
-
o.__proto__ = p;
|
|
149
|
-
return o;
|
|
150
|
-
};
|
|
151
|
-
return _set_prototype_of(o, p);
|
|
152
|
-
}
|
|
153
|
-
function _tagged_template_literal(strings, raw) {
|
|
154
|
-
if (!raw) {
|
|
155
|
-
raw = strings.slice(0);
|
|
35
|
+
childElements() {
|
|
36
|
+
return /*#__PURE__*/ React.createElement(_syntax.default, null);
|
|
156
37
|
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
function Wrapper() {
|
|
179
|
-
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
180
|
-
}
|
|
181
|
-
Wrapper.prototype = Object.create(Class.prototype, {
|
|
182
|
-
constructor: {
|
|
183
|
-
value: Wrapper,
|
|
184
|
-
enumerable: false,
|
|
185
|
-
writable: true,
|
|
186
|
-
configurable: true
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
return _set_prototype_of(Wrapper, Class);
|
|
190
|
-
};
|
|
191
|
-
return _wrap_native_super(Class);
|
|
192
|
-
}
|
|
193
|
-
function _is_native_reflect_construct() {
|
|
194
|
-
try {
|
|
195
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
196
|
-
} catch (_) {}
|
|
197
|
-
return (_is_native_reflect_construct = function() {
|
|
198
|
-
return !!result;
|
|
199
|
-
})();
|
|
200
|
-
}
|
|
201
|
-
function _templateObject() {
|
|
202
|
-
var data = _tagged_template_literal([
|
|
203
|
-
"\n\n z-index: 0;\n width: auto;\n height: auto;\n overflow: hidden;\n position: relative;\n grid-area: pretty-richtextarea;\n\n font-size: inherit;\n line-height: inherit;\n font-family: inherit;\n font-weight: inherit;\n text-rendering: inherit;\n font-feature-settings: inherit;\n\n"
|
|
204
|
-
]);
|
|
205
|
-
_templateObject = function _templateObject() {
|
|
206
|
-
return data;
|
|
38
|
+
parentContext() {
|
|
39
|
+
const context = this.getContext(), updatePrettyDiv = this.update.bind(this), scrollPrettyDiv = this.scroll.bind(this); ///
|
|
40
|
+
return {
|
|
41
|
+
...context,
|
|
42
|
+
updatePrettyDiv,
|
|
43
|
+
scrollPrettyDiv
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
initialise() {
|
|
47
|
+
this.assignContext([
|
|
48
|
+
"updateSyntaxDiv",
|
|
49
|
+
"scrollSyntaxDiv"
|
|
50
|
+
]);
|
|
51
|
+
}
|
|
52
|
+
static tagName = "div";
|
|
53
|
+
static ignoredProperties = [
|
|
54
|
+
"scrollbarThickness"
|
|
55
|
+
];
|
|
56
|
+
static defaultProperties = {
|
|
57
|
+
className: "pretty"
|
|
207
58
|
};
|
|
208
|
-
return data;
|
|
209
59
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
key: "didMount",
|
|
231
|
-
value: function didMount() {
|
|
232
|
-
var scrollbarThickness = this.properties.scrollbarThickness, marginRight = "".concat(scrollbarThickness, "px"), marginBottom = "".concat(scrollbarThickness, "px");
|
|
233
|
-
this.style(_constants.MARGIN_RIGHT, marginRight);
|
|
234
|
-
this.style(_constants.MARGIN_BOTTOM, marginBottom);
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
key: "willUnmount",
|
|
239
|
-
value: function willUnmount() {
|
|
240
|
-
///
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
key: "childElements",
|
|
245
|
-
value: function childElements() {
|
|
246
|
-
return /*#__PURE__*/ React.createElement(_syntax.default, null);
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
key: "parentContext",
|
|
251
|
-
value: function parentContext() {
|
|
252
|
-
var context = this.getContext(), updatePrettyDiv = this.update.bind(this), scrollPrettyDiv = this.scroll.bind(this); ///
|
|
253
|
-
return _object_spread_props(_object_spread({}, context), {
|
|
254
|
-
updatePrettyDiv: updatePrettyDiv,
|
|
255
|
-
scrollPrettyDiv: scrollPrettyDiv
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
key: "initialise",
|
|
261
|
-
value: function initialise() {
|
|
262
|
-
this.assignContext([
|
|
263
|
-
"updateSyntaxDiv",
|
|
264
|
-
"scrollSyntaxDiv"
|
|
265
|
-
]);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
]);
|
|
269
|
-
return PrettyDiv;
|
|
270
|
-
}(_wrap_native_super(_easy.Element));
|
|
271
|
-
_define_property(PrettyDiv, "tagName", "div");
|
|
272
|
-
_define_property(PrettyDiv, "ignoredProperties", [
|
|
273
|
-
"scrollbarThickness"
|
|
274
|
-
]);
|
|
275
|
-
_define_property(PrettyDiv, "defaultProperties", {
|
|
276
|
-
className: "pretty"
|
|
277
|
-
});
|
|
278
|
-
var _default = (0, _easywithstyle.default)(PrettyDiv)(_templateObject());
|
|
60
|
+
const _default = (0, _easywithstyle.default)(PrettyDiv)`
|
|
61
|
+
|
|
62
|
+
z-index: 0;
|
|
63
|
+
width: auto;
|
|
64
|
+
height: auto;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
position: relative;
|
|
67
|
+
grid-area: pretty-richtextarea;
|
|
68
|
+
|
|
69
|
+
font-size: inherit;
|
|
70
|
+
line-height: inherit;
|
|
71
|
+
font-family: inherit;
|
|
72
|
+
font-weight: inherit;
|
|
73
|
+
text-rendering: inherit;
|
|
74
|
+
font-feature-settings: inherit;
|
|
75
|
+
|
|
76
|
+
`;
|
|
279
77
|
|
|
280
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaXYvcHJldHR5LmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xyXG5cclxuaW1wb3J0IHdpdGhTdHlsZSBmcm9tIFwiZWFzeS13aXRoLXN0eWxlXCI7ICAvLy9cclxuXHJcbmltcG9ydCB7IEVsZW1lbnQgfSBmcm9tIFwiZWFzeVwiO1xyXG5cclxuaW1wb3J0IFN5bnRheERpdiBmcm9tIFwiLi4vZGl2L3N5bnRheFwiO1xyXG5cclxuaW1wb3J0IHsgTUFSR0lOX1JJR0hULCBNQVJHSU5fQk9UVE9NIH0gZnJvbSBcIi4uL2NvbnN0YW50c1wiO1xyXG5cclxuY2xhc3MgUHJldHR5RGl2IGV4dGVuZHMgRWxlbWVudCB7XHJcbiAgdXBkYXRlKHRva2Vucykge1xyXG4gICAgdGhpcy51cGRhdGVTeW50YXhEaXYodG9rZW5zKTtcclxuICB9XHJcblxyXG4gIHNjcm9sbChzY3JvbGxUb3AsIHNjcm9sbExlZnQpIHtcclxuICAgIHRoaXMuc2Nyb2xsU3ludGF4RGl2KHNjcm9sbFRvcCwgc2Nyb2xsTGVmdCk7XHJcbiAgfVxyXG5cclxuICBkaWRNb3VudCgpIHtcclxuICAgIGNvbnN0IHsgc2Nyb2xsYmFyVGhpY2tuZXNzIH0gPSB0aGlzLnByb3BlcnRpZXMsXHJcbiAgICAgICAgICBtYXJnaW5SaWdodCA9IGAke3Njcm9sbGJhclRoaWNrbmVzc31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