@web-noise/core 0.0.4 → 0.0.5

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/dist/constants.js CHANGED
@@ -1,48 +1,2 @@
1
- (() => {
2
-
3
- function $parcel$exportWildcard(dest, source) {
4
- Object.keys(source).forEach(function(key) {
5
- if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
6
- return;
7
- }
8
-
9
- Object.defineProperty(dest, key, {
10
- enumerable: true,
11
- get: function get() {
12
- return source[key];
13
- }
14
- });
15
- });
16
-
17
- return dest;
18
- }
19
-
20
- function $parcel$export(e, n, v, s) {
21
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
22
- }
23
- var $6d2f400b9237f350$exports = {};
24
- var $d716aa3babd5909e$exports = {};
25
-
26
- $parcel$export($d716aa3babd5909e$exports, "DRAG_HANDLE_CLASS", () => $d716aa3babd5909e$export$956b3cf15d7c363);
27
- $parcel$export($d716aa3babd5909e$exports, "DRAG_HANDLE_SELECTOR", () => $d716aa3babd5909e$export$21d634b1d5d9bee3);
28
- $parcel$export($d716aa3babd5909e$exports, "CONTROL_PANEL_GRID_CONFIG", () => $d716aa3babd5909e$export$9f05d3e6ade4c09e);
29
- $parcel$export($d716aa3babd5909e$exports, "PortType", () => $d716aa3babd5909e$export$b0b7b95ee465c83c);
30
- const $d716aa3babd5909e$export$956b3cf15d7c363 = "web-noise-drag-handle";
31
- const $d716aa3babd5909e$export$21d634b1d5d9bee3 = `.${$d716aa3babd5909e$export$956b3cf15d7c363}`;
32
- const $d716aa3babd5909e$export$9f05d3e6ade4c09e = {
33
- rowHeight: 10,
34
- cols: 4
35
- };
36
- var $d716aa3babd5909e$export$b0b7b95ee465c83c;
37
- (function(PortType) {
38
- PortType["Gate"] = "gate";
39
- PortType["Number"] = "number";
40
- PortType["Audio"] = "audio";
41
- PortType["Any"] = "any";
42
- })($d716aa3babd5909e$export$b0b7b95ee465c83c || ($d716aa3babd5909e$export$b0b7b95ee465c83c = {}));
43
-
44
-
45
- $parcel$exportWildcard($6d2f400b9237f350$exports, $d716aa3babd5909e$exports);
46
-
47
- })();
1
+ function $parcel$exportWildcard(e,c){return Object.keys(c).forEach(function($){"default"===$||"__esModule"===$||Object.prototype.hasOwnProperty.call(e,$)||Object.defineProperty(e,$,{enumerable:!0,get:function(){return c[$]}})}),e}function $parcel$export(e,c,$,r){Object.defineProperty(e,c,{get:$,set:r,enumerable:!0,configurable:!0})}var $ce3f356390baf5c7$export$b0b7b95ee465c83c,$ce3f356390baf5c7$exports={};$parcel$export($ce3f356390baf5c7$exports,"DRAG_HANDLE_CLASS",()=>$ce3f356390baf5c7$export$956b3cf15d7c363),$parcel$export($ce3f356390baf5c7$exports,"DRAG_HANDLE_SELECTOR",()=>$ce3f356390baf5c7$export$21d634b1d5d9bee3),$parcel$export($ce3f356390baf5c7$exports,"CONTROL_PANEL_GRID_CONFIG",()=>$ce3f356390baf5c7$export$9f05d3e6ade4c09e),$parcel$export($ce3f356390baf5c7$exports,"PortType",()=>$ce3f356390baf5c7$export$b0b7b95ee465c83c);let $ce3f356390baf5c7$export$956b3cf15d7c363="web-noise-drag-handle",$ce3f356390baf5c7$export$21d634b1d5d9bee3=`.${$ce3f356390baf5c7$export$956b3cf15d7c363}`,$ce3f356390baf5c7$export$9f05d3e6ade4c09e={rowHeight:10,cols:4};!function(e){e.Gate="gate",e.Number="number",e.Audio="audio",e.Any="any"}($ce3f356390baf5c7$export$b0b7b95ee465c83c||($ce3f356390baf5c7$export$b0b7b95ee465c83c={})),$parcel$exportWildcard(module.exports,$ce3f356390baf5c7$exports);
48
2
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAO,MAAM,2CAAoB;AAC1B,MAAM,4CAAuB,CAAA,CAAA,EAAI,0CAAmB;AAEpD,MAAM,4CAA4B;IACvC,WAAW;IACX,MAAM;AACP;AAED,IAAY;AAAZ,CAAA,SAAY,QAAQ;IAClB,QAAA,CAAA,OAAA,GAAA;IACA,QAAA,CAAA,SAAA,GAAA;IACA,QAAA,CAAA,QAAA,GAAA;IACA,QAAA,CAAA,MAAA,GAAA;AACF,CAAA,EALY,6CAAA,CAAA,4CAAQ,CAAA,CAAA","sources":["packages/core/constants.ts","packages/core/src/constants.ts"],"sourcesContent":["export * from './src/constants';","export const DRAG_HANDLE_CLASS = \"web-noise-drag-handle\";\nexport const DRAG_HANDLE_SELECTOR = `.${DRAG_HANDLE_CLASS}`;\n\nexport const CONTROL_PANEL_GRID_CONFIG = {\n rowHeight: 10,\n cols: 4,\n};\n\nexport enum PortType {\n Gate = \"gate\",\n Number = \"number\",\n Audio = \"audio\",\n Any = \"any\",\n}\n"],"names":[],"version":3,"file":"constants.js.map"}
1
+ {"mappings":"A,S,uB,C,C,C,E,O,O,I,C,G,O,C,S,C,E,Y,G,A,e,G,O,S,C,c,C,I,C,E,I,O,c,C,E,E,C,W,C,E,I,W,O,C,C,E,A,C,E,G,C,C,S,e,C,C,C,C,C,C,C,E,O,c,C,E,E,C,I,E,I,E,W,C,E,a,C,C,E,C,IEQY,0C,0B,C,E,e,0B,oB,I,0C,e,0B,uB,I,2C,e,0B,4B,I,2C,e,0B,W,I,2CARL,IAAM,yCAAoB,wBACpB,0CAAuB,CAAA,CAAA,EAAI,yCAAA,CAAmB,CAE9C,0CAA4B,CACvC,UAAW,GACX,KAAM,CACP,GAED,AAAA,SAAY,CAAQ,EAClB,EAAA,IAAA,CAAA,OACA,EAAA,MAAA,CAAA,SACA,EAAA,KAAA,CAAA,QACA,EAAA,GAAA,CAAA,KACF,EALY,2CAAA,CAAA,0CAAQ,CAAA,CAAA,G,uB,O,O,C","sources":["<anon>","packages/core/constants.ts","packages/core/src/constants.ts"],"sourcesContent":["\nfunction $parcel$exportWildcard(dest, source) {\n Object.keys(source).forEach(function(key) {\n if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function get() {\n return source[key];\n }\n });\n });\n\n return dest;\n}\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\nvar $ce3f356390baf5c7$exports = {};\n\n$parcel$export($ce3f356390baf5c7$exports, \"DRAG_HANDLE_CLASS\", () => $ce3f356390baf5c7$export$956b3cf15d7c363);\n$parcel$export($ce3f356390baf5c7$exports, \"DRAG_HANDLE_SELECTOR\", () => $ce3f356390baf5c7$export$21d634b1d5d9bee3);\n$parcel$export($ce3f356390baf5c7$exports, \"CONTROL_PANEL_GRID_CONFIG\", () => $ce3f356390baf5c7$export$9f05d3e6ade4c09e);\n$parcel$export($ce3f356390baf5c7$exports, \"PortType\", () => $ce3f356390baf5c7$export$b0b7b95ee465c83c);\nconst $ce3f356390baf5c7$export$956b3cf15d7c363 = \"web-noise-drag-handle\";\nconst $ce3f356390baf5c7$export$21d634b1d5d9bee3 = `.${$ce3f356390baf5c7$export$956b3cf15d7c363}`;\nconst $ce3f356390baf5c7$export$9f05d3e6ade4c09e = {\n rowHeight: 10,\n cols: 4\n};\nvar $ce3f356390baf5c7$export$b0b7b95ee465c83c;\n(function(PortType) {\n PortType[\"Gate\"] = \"gate\";\n PortType[\"Number\"] = \"number\";\n PortType[\"Audio\"] = \"audio\";\n PortType[\"Any\"] = \"any\";\n})($ce3f356390baf5c7$export$b0b7b95ee465c83c || ($ce3f356390baf5c7$export$b0b7b95ee465c83c = {}));\n\n\n$parcel$exportWildcard(module.exports, $ce3f356390baf5c7$exports);\n\n\n//# sourceMappingURL=constants.js.map\n","export * from './src/constants';","export const DRAG_HANDLE_CLASS = \"web-noise-drag-handle\";\nexport const DRAG_HANDLE_SELECTOR = `.${DRAG_HANDLE_CLASS}`;\n\nexport const CONTROL_PANEL_GRID_CONFIG = {\n rowHeight: 10,\n cols: 4,\n};\n\nexport enum PortType {\n Gate = \"gate\",\n Number = \"number\",\n Audio = \"audio\",\n Any = \"any\",\n}\n"],"names":["$parcel$exportWildcard","dest","source","Object","keys","forEach","key","prototype","hasOwnProperty","call","defineProperty","enumerable","get","$parcel$export","e","n","v","s","set","configurable","$ce3f356390baf5c7$export$b0b7b95ee465c83c","$ce3f356390baf5c7$exports","$ce3f356390baf5c7$export$956b3cf15d7c363","$ce3f356390baf5c7$export$21d634b1d5d9bee3","$ce3f356390baf5c7$export$9f05d3e6ade4c09e","rowHeight","cols","PortType","module","exports"],"version":3,"file":"constants.js.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web-noise/core",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "source": "index.ts",
5
5
  "main": "dist/main.js",
6
6
  "module": "dist/module.js",
@@ -45,7 +45,9 @@
45
45
  },
46
46
  "constants": {
47
47
  "source": "constants.ts",
48
- "isLibrary": true
48
+ "isLibrary": true,
49
+ "optimize": true,
50
+ "outputFormat": "commonjs"
49
51
  }
50
52
  },
51
53
  "dependencies": {