highmark-cli 0.0.174 → 0.0.176

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.
Files changed (95) hide show
  1. package/README.md +20 -2
  2. package/bin/abbreviations.js +6 -9
  3. package/bin/action/help.js +3 -3
  4. package/bin/action/publish.js +6 -9
  5. package/bin/action/server.js +2 -2
  6. package/bin/constants.js +2 -12
  7. package/bin/defaults.js +4 -6
  8. package/bin/main.js +7 -9
  9. package/bin/operation/copyClientFiles.js +19 -0
  10. package/bin/operation/copyFonts.js +5 -24
  11. package/bin/operation/html.js +5 -71
  12. package/bin/operation/server.js +1 -3
  13. package/bin/operation/watch.js +2 -4
  14. package/bin/options.js +4 -6
  15. package/package.json +2 -26
  16. package/.swcrc +0 -11
  17. package/bin/operation/copyCheckmark.js +0 -32
  18. package/bin/operation/copyClient.js +0 -51
  19. package/bin/utilities/client.js +0 -38
  20. package/checkmark.svg +0 -12
  21. package/client.js +0 -39623
  22. package/css/loading.css +0 -59
  23. package/lib/client.js +0 -74
  24. package/lib/constants.js +0 -70
  25. package/lib/createMethods.js +0 -84
  26. package/lib/customEventTypes.js +0 -74
  27. package/lib/localStorage.js +0 -41
  28. package/lib/migrate.js +0 -34
  29. package/lib/selectors.js +0 -26
  30. package/lib/state/version_1.js +0 -39
  31. package/lib/state.js +0 -153
  32. package/lib/styles.js +0 -82
  33. package/lib/utilities/element.js +0 -62
  34. package/lib/utilities/orientation.js +0 -39
  35. package/lib/versions.js +0 -13
  36. package/lib/view/button/closeMenu.js +0 -121
  37. package/lib/view/button/zoomMenuIn.js +0 -121
  38. package/lib/view/button/zoomMenuOut.js +0 -121
  39. package/lib/view/button.js +0 -160
  40. package/lib/view/checkbox.js +0 -193
  41. package/lib/view/div/buttons.js +0 -213
  42. package/lib/view/div/checkbox/fullScreen.js +0 -155
  43. package/lib/view/div/checkbox/invertColours.js +0 -154
  44. package/lib/view/div/checkbox/nativeGestures.js +0 -154
  45. package/lib/view/div/checkbox.js +0 -220
  46. package/lib/view/div/checkboxes.js +0 -213
  47. package/lib/view/div/menu.js +0 -301
  48. package/lib/view/div/overlay.js +0 -685
  49. package/lib/view/div/preloader.js +0 -204
  50. package/lib/view/div.js +0 -227
  51. package/lib/view/element.js +0 -164
  52. package/lib/view/span.js +0 -182
  53. package/lib/view/svg/closeMenu.js +0 -138
  54. package/lib/view/svg/zoomMenuIn.js +0 -146
  55. package/lib/view/svg/zoomMenuOut.js +0 -141
  56. package/lib/view/svg.js +0 -184
  57. package/lib/view.js +0 -247
  58. package/src/client.js +0 -70
  59. package/src/constants.js +0 -16
  60. package/src/createMethods.js +0 -105
  61. package/src/customEventTypes.js +0 -17
  62. package/src/localStorage.js +0 -40
  63. package/src/migrate.js +0 -19
  64. package/src/selectors.js +0 -5
  65. package/src/state/version_1.js +0 -32
  66. package/src/state.js +0 -152
  67. package/src/styles.js +0 -19
  68. package/src/utilities/element.js +0 -66
  69. package/src/utilities/orientation.js +0 -34
  70. package/src/versions.js +0 -3
  71. package/src/view/button/closeMenu.js +0 -16
  72. package/src/view/button/zoomMenuIn.js +0 -16
  73. package/src/view/button/zoomMenuOut.js +0 -16
  74. package/src/view/button.js +0 -38
  75. package/src/view/checkbox.js +0 -68
  76. package/src/view/div/buttons.js +0 -37
  77. package/src/view/div/checkbox/fullScreen.js +0 -40
  78. package/src/view/div/checkbox/invertColours.js +0 -37
  79. package/src/view/div/checkbox/nativeGestures.js +0 -38
  80. package/src/view/div/checkbox.js +0 -45
  81. package/src/view/div/checkboxes.js +0 -38
  82. package/src/view/div/menu.js +0 -88
  83. package/src/view/div/overlay.js +0 -602
  84. package/src/view/div/preloader.js +0 -25
  85. package/src/view/div.js +0 -47
  86. package/src/view/element.js +0 -16
  87. package/src/view/span.js +0 -20
  88. package/src/view/svg/closeMenu.js +0 -19
  89. package/src/view/svg/zoomMenuIn.js +0 -20
  90. package/src/view/svg/zoomMenuOut.js +0 -19
  91. package/src/view/svg.js +0 -24
  92. package/src/view.js +0 -64
  93. package/template/client.html +0 -4
  94. package/template/default.html +0 -71
  95. package/template/loading.html +0 -17
@@ -1,204 +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 _default;
9
- }
10
- });
11
- var _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
12
- var _easy = require("easy");
13
- function _assert_this_initialized(self) {
14
- if (self === void 0) {
15
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
16
- }
17
- return self;
18
- }
19
- function _class_call_check(instance, Constructor) {
20
- if (!(instance instanceof Constructor)) {
21
- throw new TypeError("Cannot call a class as a function");
22
- }
23
- }
24
- function _construct(Parent, args, Class) {
25
- if (_is_native_reflect_construct()) {
26
- _construct = Reflect.construct;
27
- } else {
28
- _construct = function construct(Parent, args, Class) {
29
- var a = [
30
- null
31
- ];
32
- a.push.apply(a, args);
33
- var Constructor = Function.bind.apply(Parent, a);
34
- var instance = new Constructor();
35
- if (Class) _set_prototype_of(instance, Class.prototype);
36
- return instance;
37
- };
38
- }
39
- return _construct.apply(null, arguments);
40
- }
41
- function _defineProperties(target, props) {
42
- for(var i = 0; i < props.length; i++){
43
- var descriptor = props[i];
44
- descriptor.enumerable = descriptor.enumerable || false;
45
- descriptor.configurable = true;
46
- if ("value" in descriptor) descriptor.writable = true;
47
- Object.defineProperty(target, descriptor.key, descriptor);
48
- }
49
- }
50
- function _create_class(Constructor, protoProps, staticProps) {
51
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
52
- if (staticProps) _defineProperties(Constructor, staticProps);
53
- return Constructor;
54
- }
55
- function _define_property(obj, key, value) {
56
- if (key in obj) {
57
- Object.defineProperty(obj, key, {
58
- value: value,
59
- enumerable: true,
60
- configurable: true,
61
- writable: true
62
- });
63
- } else {
64
- obj[key] = value;
65
- }
66
- return obj;
67
- }
68
- function _get_prototype_of(o) {
69
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
70
- return o.__proto__ || Object.getPrototypeOf(o);
71
- };
72
- return _get_prototype_of(o);
73
- }
74
- function _inherits(subClass, superClass) {
75
- if (typeof superClass !== "function" && superClass !== null) {
76
- throw new TypeError("Super expression must either be null or a function");
77
- }
78
- subClass.prototype = Object.create(superClass && superClass.prototype, {
79
- constructor: {
80
- value: subClass,
81
- writable: true,
82
- configurable: true
83
- }
84
- });
85
- if (superClass) _set_prototype_of(subClass, superClass);
86
- }
87
- function _interop_require_default(obj) {
88
- return obj && obj.__esModule ? obj : {
89
- default: obj
90
- };
91
- }
92
- function _is_native_function(fn) {
93
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
94
- }
95
- function _possible_constructor_return(self, call) {
96
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
97
- return call;
98
- }
99
- return _assert_this_initialized(self);
100
- }
101
- function _set_prototype_of(o, p) {
102
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
103
- o.__proto__ = p;
104
- return o;
105
- };
106
- return _set_prototype_of(o, p);
107
- }
108
- function _tagged_template_literal(strings, raw) {
109
- if (!raw) {
110
- raw = strings.slice(0);
111
- }
112
- return Object.freeze(Object.defineProperties(strings, {
113
- raw: {
114
- value: Object.freeze(raw)
115
- }
116
- }));
117
- }
118
- function _type_of(obj) {
119
- "@swc/helpers - typeof";
120
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
121
- }
122
- function _wrap_native_super(Class) {
123
- var _cache = typeof Map === "function" ? new Map() : undefined;
124
- _wrap_native_super = function wrapNativeSuper(Class) {
125
- if (Class === null || !_is_native_function(Class)) return Class;
126
- if (typeof Class !== "function") {
127
- throw new TypeError("Super expression must either be null or a function");
128
- }
129
- if (typeof _cache !== "undefined") {
130
- if (_cache.has(Class)) return _cache.get(Class);
131
- _cache.set(Class, Wrapper);
132
- }
133
- function Wrapper() {
134
- return _construct(Class, arguments, _get_prototype_of(this).constructor);
135
- }
136
- Wrapper.prototype = Object.create(Class.prototype, {
137
- constructor: {
138
- value: Wrapper,
139
- enumerable: false,
140
- writable: true,
141
- configurable: true
142
- }
143
- });
144
- return _set_prototype_of(Wrapper, Class);
145
- };
146
- return _wrap_native_super(Class);
147
- }
148
- function _is_native_reflect_construct() {
149
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
150
- if (Reflect.construct.sham) return false;
151
- if (typeof Proxy === "function") return true;
152
- try {
153
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
154
- return true;
155
- } catch (e) {
156
- return false;
157
- }
158
- }
159
- function _create_super(Derived) {
160
- var hasNativeReflectConstruct = _is_native_reflect_construct();
161
- return function _createSuperInternal() {
162
- var Super = _get_prototype_of(Derived), result;
163
- if (hasNativeReflectConstruct) {
164
- var NewTarget = _get_prototype_of(this).constructor;
165
- result = Reflect.construct(Super, arguments, NewTarget);
166
- } else {
167
- result = Super.apply(this, arguments);
168
- }
169
- return _possible_constructor_return(this, result);
170
- };
171
- }
172
- function _templateObject() {
173
- var data = _tagged_template_literal([
174
- '\n\n height: 0;\n overflow: hidden;\n background-image: url("checkmark.svg");\n \n'
175
- ]);
176
- _templateObject = function _templateObject() {
177
- return data;
178
- };
179
- return data;
180
- }
181
- var PreloaderDiv = /*#__PURE__*/ function(Element) {
182
- _inherits(PreloaderDiv, Element);
183
- var _super = _create_super(PreloaderDiv);
184
- function PreloaderDiv() {
185
- _class_call_check(this, PreloaderDiv);
186
- return _super.apply(this, arguments);
187
- }
188
- _create_class(PreloaderDiv, [
189
- {
190
- key: "childElements",
191
- value: function childElements() {
192
- return "PRELOAD";
193
- }
194
- }
195
- ]);
196
- return PreloaderDiv;
197
- }(_wrap_native_super(_easy.Element));
198
- _define_property(PreloaderDiv, "tagName", "div");
199
- _define_property(PreloaderDiv, "defaultProperties", {
200
- className: "preloader"
201
- });
202
- var _default = (0, _easywithstyle.default)(PreloaderDiv)(_templateObject());
203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7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7IiwibWFwcGluZ3MiOiJBQUFBOzs7OytCQWtCQTs7O2VBQUE7OztvRUFoQnNCO29CQUVFOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRXhCLElBQUEsQUFBTUEsNkJBQUQsQUFBTDtjQUFNQTsrQkFBQUE7YUFBQUE7Z0NBQUFBOzs7a0JBQUFBOztZQUNKQyxLQUFBQTttQkFBQUEsU0FBQUE7Z0JBQ0UsT0FBTztZQUNUOzs7V0FISUQ7cUJBQXFCRSxhQUFPO0FBS2hDLGlCQUxJRixjQUtHRyxXQUFVO0FBRWpCLGlCQVBJSCxjQU9HSSxxQkFBb0I7SUFDekJDLFdBQVc7QUFDYjtJQUdGLFdBQWVDLElBQUFBLHNCQUFTLEVBQUNOIn0=
package/lib/view/div.js DELETED
@@ -1,227 +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 _default;
9
- }
10
- });
11
- var _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
12
- var _easy = require("easy");
13
- var _constants = require("../constants");
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 _class_call_check(instance, Constructor) {
21
- if (!(instance instanceof Constructor)) {
22
- throw new TypeError("Cannot call a class as a function");
23
- }
24
- }
25
- function _construct(Parent, args, Class) {
26
- if (_is_native_reflect_construct()) {
27
- _construct = Reflect.construct;
28
- } else {
29
- _construct = function construct(Parent, args, Class) {
30
- var a = [
31
- null
32
- ];
33
- a.push.apply(a, args);
34
- var Constructor = Function.bind.apply(Parent, a);
35
- var instance = new Constructor();
36
- if (Class) _set_prototype_of(instance, Class.prototype);
37
- return instance;
38
- };
39
- }
40
- return _construct.apply(null, arguments);
41
- }
42
- function _defineProperties(target, props) {
43
- for(var i = 0; i < props.length; i++){
44
- var descriptor = props[i];
45
- descriptor.enumerable = descriptor.enumerable || false;
46
- descriptor.configurable = true;
47
- if ("value" in descriptor) descriptor.writable = true;
48
- Object.defineProperty(target, descriptor.key, descriptor);
49
- }
50
- }
51
- function _create_class(Constructor, protoProps, staticProps) {
52
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
53
- if (staticProps) _defineProperties(Constructor, staticProps);
54
- return Constructor;
55
- }
56
- function _define_property(obj, key, value) {
57
- if (key in obj) {
58
- Object.defineProperty(obj, key, {
59
- value: value,
60
- enumerable: true,
61
- configurable: true,
62
- writable: true
63
- });
64
- } else {
65
- obj[key] = value;
66
- }
67
- return obj;
68
- }
69
- function _get_prototype_of(o) {
70
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
71
- return o.__proto__ || Object.getPrototypeOf(o);
72
- };
73
- return _get_prototype_of(o);
74
- }
75
- function _inherits(subClass, superClass) {
76
- if (typeof superClass !== "function" && superClass !== null) {
77
- throw new TypeError("Super expression must either be null or a function");
78
- }
79
- subClass.prototype = Object.create(superClass && superClass.prototype, {
80
- constructor: {
81
- value: subClass,
82
- writable: true,
83
- configurable: true
84
- }
85
- });
86
- if (superClass) _set_prototype_of(subClass, superClass);
87
- }
88
- function _interop_require_default(obj) {
89
- return obj && obj.__esModule ? obj : {
90
- default: obj
91
- };
92
- }
93
- function _is_native_function(fn) {
94
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
95
- }
96
- function _possible_constructor_return(self, call) {
97
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
98
- return call;
99
- }
100
- return _assert_this_initialized(self);
101
- }
102
- function _set_prototype_of(o, p) {
103
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
104
- o.__proto__ = p;
105
- return o;
106
- };
107
- return _set_prototype_of(o, p);
108
- }
109
- function _tagged_template_literal(strings, raw) {
110
- if (!raw) {
111
- raw = strings.slice(0);
112
- }
113
- return Object.freeze(Object.defineProperties(strings, {
114
- raw: {
115
- value: Object.freeze(raw)
116
- }
117
- }));
118
- }
119
- function _type_of(obj) {
120
- "@swc/helpers - typeof";
121
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
122
- }
123
- function _wrap_native_super(Class) {
124
- var _cache = typeof Map === "function" ? new Map() : undefined;
125
- _wrap_native_super = function wrapNativeSuper(Class) {
126
- if (Class === null || !_is_native_function(Class)) return Class;
127
- if (typeof Class !== "function") {
128
- throw new TypeError("Super expression must either be null or a function");
129
- }
130
- if (typeof _cache !== "undefined") {
131
- if (_cache.has(Class)) return _cache.get(Class);
132
- _cache.set(Class, Wrapper);
133
- }
134
- function Wrapper() {
135
- return _construct(Class, arguments, _get_prototype_of(this).constructor);
136
- }
137
- Wrapper.prototype = Object.create(Class.prototype, {
138
- constructor: {
139
- value: Wrapper,
140
- enumerable: false,
141
- writable: true,
142
- configurable: true
143
- }
144
- });
145
- return _set_prototype_of(Wrapper, Class);
146
- };
147
- return _wrap_native_super(Class);
148
- }
149
- function _is_native_reflect_construct() {
150
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
151
- if (Reflect.construct.sham) return false;
152
- if (typeof Proxy === "function") return true;
153
- try {
154
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
155
- return true;
156
- } catch (e) {
157
- return false;
158
- }
159
- }
160
- function _create_super(Derived) {
161
- var hasNativeReflectConstruct = _is_native_reflect_construct();
162
- return function _createSuperInternal() {
163
- var Super = _get_prototype_of(Derived), result;
164
- if (hasNativeReflectConstruct) {
165
- var NewTarget = _get_prototype_of(this).constructor;
166
- result = Reflect.construct(Super, arguments, NewTarget);
167
- } else {
168
- result = Super.apply(this, arguments);
169
- }
170
- return _possible_constructor_return(this, result);
171
- };
172
- }
173
- function _templateObject() {
174
- var data = _tagged_template_literal([
175
- "\n\n width: 100%;\n transform-origin: top left;\n \n"
176
- ]);
177
- _templateObject = function _templateObject() {
178
- return data;
179
- };
180
- return data;
181
- }
182
- var Div = /*#__PURE__*/ function(Element) {
183
- _inherits(Div, Element);
184
- var _super = _create_super(Div);
185
- function Div() {
186
- _class_call_check(this, Div);
187
- return _super.apply(this, arguments);
188
- }
189
- _create_class(Div, [
190
- {
191
- key: "getBackgroundColour",
192
- value: function getBackgroundColour() {
193
- var backgroundColour = this.css(_constants.BACKGROUND_COLOUR) || null;
194
- return backgroundColour;
195
- }
196
- },
197
- {
198
- key: "zoom",
199
- value: function zoom(zoom) {
200
- var zoomRatio = 100 / zoom, width = "".concat(zoomRatio, "%"), minHeight = "".concat(zoomRatio, "%"), transform = "scale(".concat(zoom, ")");
201
- var css = {
202
- width: width,
203
- minHeight: minHeight,
204
- transform: transform
205
- };
206
- this.css(css);
207
- }
208
- },
209
- {
210
- key: "didMount",
211
- value: function didMount() {
212
- this.hide();
213
- }
214
- },
215
- {
216
- key: "willUnmount",
217
- value: function willUnmount() {
218
- ///
219
- }
220
- }
221
- ]);
222
- return Div;
223
- }(_wrap_native_super(_easy.Element));
224
- _define_property(Div, "tagName", "div");
225
- var _default = (0, _easywithstyle.default)(Div)(_templateObject());
226
-
227
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2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s7Ozs7Ozs7Ozs7O0FBRWxDLElBQUEsQUFBTUEsb0JBQUQsQUFBTDtjQUFNQTsrQkFBQUE7YUFBQUE7Z0NBQUFBOzs7a0JBQUFBOztZQUNKQyxLQUFBQTttQkFBQUEsU0FBQUE7Z0JBQ0UsSUFBTUMsbUJBQW1CLElBQUksQ0FBQ0MsR0FBRyxDQUFDQyw0QkFBaUIsS0FBSztnQkFFeEQsT0FBT0Y7WUFDVDs7O1lBRUFHLEtBQUFBO21CQUFBQSxTQUFBQSxLQUFLQSxJQUFJO2dCQUNQLElBQU1DLFlBQVksTUFBTUQsTUFDbEJFLFFBQVEsQUFBQyxHQUFZLE9BQVZELFdBQVUsTUFDckJFLFlBQVksQUFBQyxHQUFZLE9BQVZGLFdBQVUsTUFDekJHLFlBQVksQUFBQyxTQUFhLE9BQUxKLE1BQUs7Z0JBRWhDLElBQU1GLE1BQU07b0JBQ1ZJLE9BQUFBO29CQUNBQyxXQUFBQTtvQkFDQUMsV0FBQUE7Z0JBQ0Y7Z0JBRUEsSUFBSSxDQUFDTixHQUFHLENBQUNBO1lBQ1g7OztZQUVBTyxLQUFBQTttQkFBQUEsU0FBQUE7Z0JBQ0UsSUFBSSxDQUFDQyxJQUFJO1lBQ1g7OztZQUVBQyxLQUFBQTttQkFBQUEsU0FBQUE7WUFDRSxHQUFHO1lBQ0w7OztXQTVCSVo7cUJBQVlhLGFBQU87QUE4QnZCLGlCQTlCSWIsS0E4QkdjLFdBQVU7SUFHbkIsV0FBZUMsSUFBQUEsc0JBQVMsRUFBQ2YifQ==
@@ -1,164 +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 _default;
9
- }
10
- });
11
- var _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
12
- var _easy = require("easy");
13
- function _assert_this_initialized(self) {
14
- if (self === void 0) {
15
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
16
- }
17
- return self;
18
- }
19
- function _class_call_check(instance, Constructor) {
20
- if (!(instance instanceof Constructor)) {
21
- throw new TypeError("Cannot call a class as a function");
22
- }
23
- }
24
- function _construct(Parent, args, Class) {
25
- if (_is_native_reflect_construct()) {
26
- _construct = Reflect.construct;
27
- } else {
28
- _construct = function construct(Parent, args, Class) {
29
- var a = [
30
- null
31
- ];
32
- a.push.apply(a, args);
33
- var Constructor = Function.bind.apply(Parent, a);
34
- var instance = new Constructor();
35
- if (Class) _set_prototype_of(instance, Class.prototype);
36
- return instance;
37
- };
38
- }
39
- return _construct.apply(null, arguments);
40
- }
41
- function _get_prototype_of(o) {
42
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
43
- return o.__proto__ || Object.getPrototypeOf(o);
44
- };
45
- return _get_prototype_of(o);
46
- }
47
- function _inherits(subClass, superClass) {
48
- if (typeof superClass !== "function" && superClass !== null) {
49
- throw new TypeError("Super expression must either be null or a function");
50
- }
51
- subClass.prototype = Object.create(superClass && superClass.prototype, {
52
- constructor: {
53
- value: subClass,
54
- writable: true,
55
- configurable: true
56
- }
57
- });
58
- if (superClass) _set_prototype_of(subClass, superClass);
59
- }
60
- function _interop_require_default(obj) {
61
- return obj && obj.__esModule ? obj : {
62
- default: obj
63
- };
64
- }
65
- function _is_native_function(fn) {
66
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
67
- }
68
- function _possible_constructor_return(self, call) {
69
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
70
- return call;
71
- }
72
- return _assert_this_initialized(self);
73
- }
74
- function _set_prototype_of(o, p) {
75
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
76
- o.__proto__ = p;
77
- return o;
78
- };
79
- return _set_prototype_of(o, p);
80
- }
81
- function _tagged_template_literal(strings, raw) {
82
- if (!raw) {
83
- raw = strings.slice(0);
84
- }
85
- return Object.freeze(Object.defineProperties(strings, {
86
- raw: {
87
- value: Object.freeze(raw)
88
- }
89
- }));
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 _wrap_native_super(Class) {
96
- var _cache = typeof Map === "function" ? new Map() : undefined;
97
- _wrap_native_super = function wrapNativeSuper(Class) {
98
- if (Class === null || !_is_native_function(Class)) return Class;
99
- if (typeof Class !== "function") {
100
- throw new TypeError("Super expression must either be null or a function");
101
- }
102
- if (typeof _cache !== "undefined") {
103
- if (_cache.has(Class)) return _cache.get(Class);
104
- _cache.set(Class, Wrapper);
105
- }
106
- function Wrapper() {
107
- return _construct(Class, arguments, _get_prototype_of(this).constructor);
108
- }
109
- Wrapper.prototype = Object.create(Class.prototype, {
110
- constructor: {
111
- value: Wrapper,
112
- enumerable: false,
113
- writable: true,
114
- configurable: true
115
- }
116
- });
117
- return _set_prototype_of(Wrapper, Class);
118
- };
119
- return _wrap_native_super(Class);
120
- }
121
- function _is_native_reflect_construct() {
122
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
123
- if (Reflect.construct.sham) return false;
124
- if (typeof Proxy === "function") return true;
125
- try {
126
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
127
- return true;
128
- } catch (e) {
129
- return false;
130
- }
131
- }
132
- function _create_super(Derived) {
133
- var hasNativeReflectConstruct = _is_native_reflect_construct();
134
- return function _createSuperInternal() {
135
- var Super = _get_prototype_of(Derived), result;
136
- if (hasNativeReflectConstruct) {
137
- var NewTarget = _get_prototype_of(this).constructor;
138
- result = Reflect.construct(Super, arguments, NewTarget);
139
- } else {
140
- result = Super.apply(this, arguments);
141
- }
142
- return _possible_constructor_return(this, result);
143
- };
144
- }
145
- function _templateObject() {
146
- var data = _tagged_template_literal([
147
- "\n\n border: 0;\n margin: 0;\n padding: 0;\n background: transparent;\n \n"
148
- ]);
149
- _templateObject = function _templateObject() {
150
- return data;
151
- };
152
- return data;
153
- }
154
- var _default = (0, _easywithstyle.default)(/*#__PURE__*/ function(Element) {
155
- _inherits(_class, Element);
156
- var _super = _create_super(_class);
157
- function _class() {
158
- _class_call_check(this, _class);
159
- return _super.apply(this, arguments);
160
- }
161
- return _class;
162
- }(_wrap_native_super(_easy.Element)))(_templateObject());
163
-
164
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92aWV3L2VsZW1lbnQuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB3aXRoU3R5bGUgZnJvbSBcImVhc3ktd2l0aC1zdHlsZVwiOyAgLy8vXG5cbmltcG9ydCB7IEVsZW1lbnQgfSBmcm9tIFwiZWFzeVwiO1xuXG5leHBvcnQgZGVmYXVsdCB3aXRoU3R5bGUoY2xhc3MgZXh0ZW5kcyBFbGVtZW50IHtcbiAgLy8vXG59KWBcblxuICBib3JkZXI6IDA7XG4gIG1hcmdpbjogMDtcbiAgcGFkZGluZzogMDtcbiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gIFxuYDtcbiJdLCJuYW1lcyI6WyJ3aXRoU3R5bGUiLCJFbGVtZW50Il0sInJhbmdlTWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyIsIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFNQTs7O2VBQUE7OztvRUFKc0I7b0JBRUU7Ozs7Ozs7Ozs7Ozs7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