piral-elm 1.6.0-beta.7240 → 1.6.0-beta.7243
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/convert.d.ts +1 -1
- package/convert.js +1 -1
- package/lib/converter.js +3 -7
- package/lib/converter.js.map +1 -1
- package/lib/create.js +3 -7
- package/lib/create.js.map +1 -1
- package/lib/extension.js +1 -5
- package/lib/extension.js.map +1 -1
- package/lib/index.js +2 -5
- package/lib/index.js.map +1 -1
- package/lib/types.js +1 -2
- package/package.json +9 -25
- package/esm/converter.d.ts +0 -13
- package/esm/converter.js +0 -24
- package/esm/converter.js.map +0 -1
- package/esm/create.d.ts +0 -12
- package/esm/create.js +0 -21
- package/esm/create.js.map +0 -1
- package/esm/extension.d.ts +0 -1
- package/esm/extension.js +0 -11
- package/esm/extension.js.map +0 -1
- package/esm/index.d.ts +0 -2
- package/esm/index.js +0 -3
- package/esm/index.js.map +0 -1
- package/esm/types.d.ts +0 -44
- package/esm/types.js +0 -2
- package/esm/types.js.map +0 -1
package/convert.d.ts
CHANGED
package/convert.js
CHANGED
package/lib/converter.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.createConverter = void 0;
|
|
4
|
-
const extension_1 = require("./extension");
|
|
5
|
-
function createConverter(config = {}) {
|
|
1
|
+
import { createExtension } from './extension';
|
|
2
|
+
export function createConverter(config = {}) {
|
|
6
3
|
const { selector = 'elm-extension' } = config;
|
|
7
|
-
const Extension =
|
|
4
|
+
const Extension = createExtension(selector);
|
|
8
5
|
const convert = (main, captured) => ({
|
|
9
6
|
mount(el, props, ctx) {
|
|
10
7
|
const node = el.appendChild(document.createElement('div'));
|
|
@@ -24,5 +21,4 @@ function createConverter(config = {}) {
|
|
|
24
21
|
convert.Extension = Extension;
|
|
25
22
|
return convert;
|
|
26
23
|
}
|
|
27
|
-
exports.createConverter = createConverter;
|
|
28
24
|
//# sourceMappingURL=converter.js.map
|
package/lib/converter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"converter.js","sourceRoot":"","sources":["../src/converter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"converter.js","sourceRoot":"","sources":["../src/converter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAW9C,MAAM,UAAU,eAAe,CAAC,SAA8B,EAAE;IAC9D,MAAM,EAAE,QAAQ,GAAG,eAAe,EAAE,GAAG,MAAM,CAAC;IAC9C,MAAM,SAAS,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC5C,MAAM,OAAO,GAAG,CACd,IAAuB,EACvB,QAA8B,EACJ,EAAE,CAAC,CAAC;QAC9B,KAAK,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG;YAClB,MAAM,IAAI,GAAG,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;YAC3D,IAAI,CAAC,IAAI,CAAC;gBACR,IAAI;gBACJ,KAAK,EAAE;oBACL,GAAG,QAAQ;oBACX,GAAG,GAAG;oBACN,GAAG,KAAK;iBACT;aACF,CAAC,CAAC;QACL,CAAC;QACD,OAAO,CAAC,EAAE;YACR,EAAE,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;IAC9B,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/lib/create.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createElmApi = void 0;
|
|
4
|
-
const converter_1 = require("./converter");
|
|
1
|
+
import { createConverter } from './converter';
|
|
5
2
|
/**
|
|
6
3
|
* Creates new Pilet API extensions for integration of Elm.
|
|
7
4
|
*/
|
|
8
|
-
function createElmApi(config = {}) {
|
|
5
|
+
export function createElmApi(config = {}) {
|
|
9
6
|
return (context) => {
|
|
10
|
-
const convert =
|
|
7
|
+
const convert = createConverter(config);
|
|
11
8
|
context.converters.elm = ({ main, captured }) => convert(main, captured);
|
|
12
9
|
return {
|
|
13
10
|
fromElm(main, captured) {
|
|
@@ -21,5 +18,4 @@ function createElmApi(config = {}) {
|
|
|
21
18
|
};
|
|
22
19
|
};
|
|
23
20
|
}
|
|
24
|
-
exports.createElmApi = createElmApi;
|
|
25
21
|
//# sourceMappingURL=create.js.map
|
package/lib/create.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAuB,MAAM,aAAa,CAAC;AAQnE;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,SAAoB,EAAE;IACjD,OAAO,CAAC,OAAO,EAAE,EAAE;QACjB,MAAM,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACxC,OAAO,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAEzE,OAAO;YACL,OAAO,CAAC,IAAI,EAAE,QAAQ;gBACpB,OAAO;oBACL,IAAI,EAAE,KAAK;oBACX,QAAQ;oBACR,IAAI;iBACL,CAAC;YACJ,CAAC;YACD,YAAY,EAAE,OAAO,CAAC,SAAS;SAChC,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
|
package/lib/extension.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createExtension = void 0;
|
|
4
|
-
function createExtension(selector) {
|
|
1
|
+
export function createExtension(selector) {
|
|
5
2
|
const defaultExtensionSelector = 'piral-extension';
|
|
6
3
|
if ('customElements' in window && selector && selector !== defaultExtensionSelector) {
|
|
7
4
|
const ExtensionBase = customElements.get(defaultExtensionSelector);
|
|
@@ -11,5 +8,4 @@ function createExtension(selector) {
|
|
|
11
8
|
}
|
|
12
9
|
return selector || defaultExtensionSelector;
|
|
13
10
|
}
|
|
14
|
-
exports.createExtension = createExtension;
|
|
15
11
|
//# sourceMappingURL=extension.js.map
|
package/lib/extension.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,QAAgB;IAC9C,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IAEnD,IAAI,gBAAgB,IAAI,MAAM,IAAI,QAAQ,IAAI,QAAQ,KAAK,wBAAwB,EAAE;QACnF,MAAM,aAAa,GAAG,cAAc,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;QACnE,MAAM,cAAe,SAAQ,aAAa;SAAG;QAC7C,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;KACjD;IAED,OAAO,QAAQ,IAAI,wBAAwB,CAAC;AAC9C,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./create"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./types"), exports);
|
|
1
|
+
export * from './create';
|
|
2
|
+
export * from './types';
|
|
6
3
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
package/lib/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-elm",
|
|
3
|
-
"version": "1.6.0-beta.
|
|
3
|
+
"version": "1.6.0-beta.7243",
|
|
4
4
|
"description": "Plugin for integrating Elm components in Piral.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral",
|
|
@@ -16,32 +16,17 @@
|
|
|
16
16
|
"author": "smapiot",
|
|
17
17
|
"homepage": "https://piral.io",
|
|
18
18
|
"license": "MIT",
|
|
19
|
-
"module": "
|
|
19
|
+
"module": "lib/index.js",
|
|
20
20
|
"main": "lib/index.js",
|
|
21
21
|
"typings": "lib/index.d.ts",
|
|
22
22
|
"exports": {
|
|
23
|
-
".":
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
"./convert": {
|
|
28
|
-
"import": "./convert.js"
|
|
29
|
-
},
|
|
30
|
-
"./esm/*": {
|
|
31
|
-
"import": "./esm/*"
|
|
32
|
-
},
|
|
33
|
-
"./lib/*": {
|
|
34
|
-
"require": "./lib/*"
|
|
35
|
-
},
|
|
36
|
-
"./_/*": {
|
|
37
|
-
"import": "./esm/*.js",
|
|
38
|
-
"require": "./lib/*.js"
|
|
39
|
-
},
|
|
23
|
+
".": "./lib/index.js",
|
|
24
|
+
"./convert": "./convert.js",
|
|
25
|
+
"./lib/*": "./lib/*",
|
|
40
26
|
"./package.json": "./package.json"
|
|
41
27
|
},
|
|
42
28
|
"sideEffects": false,
|
|
43
29
|
"files": [
|
|
44
|
-
"esm",
|
|
45
30
|
"lib",
|
|
46
31
|
"src",
|
|
47
32
|
"convert.d.ts",
|
|
@@ -56,15 +41,14 @@
|
|
|
56
41
|
},
|
|
57
42
|
"scripts": {
|
|
58
43
|
"cleanup": "rimraf esm lib convert.d.ts convert.js",
|
|
59
|
-
"build": "yarn build:
|
|
44
|
+
"build": "yarn build:esnext && yarn build:convert",
|
|
60
45
|
"build:convert": "tsc convert.ts --skipLibCheck --declaration --module esnext",
|
|
61
|
-
"build:
|
|
62
|
-
"build:esnext": "tsc --project tsconfig.json --outDir esm --module esnext",
|
|
46
|
+
"build:esnext": "tsc --project tsconfig.json --outDir lib --module esnext",
|
|
63
47
|
"typedoc": "typedoc --json ../../../docs/types/piral-elm.json src --exclude \"src/**/*.test.*\"",
|
|
64
48
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
65
49
|
},
|
|
66
50
|
"devDependencies": {
|
|
67
|
-
"piral-core": "1.6.0-beta.
|
|
51
|
+
"piral-core": "1.6.0-beta.7243"
|
|
68
52
|
},
|
|
69
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "bbb6e4f78c61b6ef753099a5b378ad2708565ce3"
|
|
70
54
|
}
|
package/esm/converter.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ForeignComponent, BaseComponentProps } from 'piral-core';
|
|
2
|
-
import type { ElmModule } from './types';
|
|
3
|
-
export interface ElmConverterOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Defines the name of the extension component.
|
|
6
|
-
* @default elm-extension
|
|
7
|
-
*/
|
|
8
|
-
selector?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare function createConverter(config?: ElmConverterOptions): {
|
|
11
|
-
<TProps extends BaseComponentProps>(main: ElmModule<TProps>, captured?: Record<string, any>): ForeignComponent<TProps>;
|
|
12
|
-
Extension: string;
|
|
13
|
-
};
|
package/esm/converter.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { createExtension } from './extension';
|
|
2
|
-
export function createConverter(config = {}) {
|
|
3
|
-
const { selector = 'elm-extension' } = config;
|
|
4
|
-
const Extension = createExtension(selector);
|
|
5
|
-
const convert = (main, captured) => ({
|
|
6
|
-
mount(el, props, ctx) {
|
|
7
|
-
const node = el.appendChild(document.createElement('div'));
|
|
8
|
-
main.init({
|
|
9
|
-
node,
|
|
10
|
-
flags: {
|
|
11
|
-
...captured,
|
|
12
|
-
...ctx,
|
|
13
|
-
...props,
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
},
|
|
17
|
-
unmount(el) {
|
|
18
|
-
el.innerHTML = '';
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
convert.Extension = Extension;
|
|
22
|
-
return convert;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=converter.js.map
|
package/esm/converter.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"converter.js","sourceRoot":"","sources":["../src/converter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAW9C,MAAM,UAAU,eAAe,CAAC,SAA8B,EAAE;IAC9D,MAAM,EAAE,QAAQ,GAAG,eAAe,EAAE,GAAG,MAAM,CAAC;IAC9C,MAAM,SAAS,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC5C,MAAM,OAAO,GAAG,CACd,IAAuB,EACvB,QAA8B,EACJ,EAAE,CAAC,CAAC;QAC9B,KAAK,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG;YAClB,MAAM,IAAI,GAAG,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;YAC3D,IAAI,CAAC,IAAI,CAAC;gBACR,IAAI;gBACJ,KAAK,EAAE;oBACL,GAAG,QAAQ;oBACX,GAAG,GAAG;oBACN,GAAG,KAAK;iBACT;aACF,CAAC,CAAC;QACL,CAAC;QACD,OAAO,CAAC,EAAE;YACR,EAAE,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;IAC9B,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/esm/create.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { PiralPlugin } from 'piral-core';
|
|
2
|
-
import { ElmConverterOptions } from './converter';
|
|
3
|
-
import type { PiletElmApi } from './types';
|
|
4
|
-
/**
|
|
5
|
-
* Available configuration options for the Elm plugin.
|
|
6
|
-
*/
|
|
7
|
-
export interface ElmConfig extends ElmConverterOptions {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Creates new Pilet API extensions for integration of Elm.
|
|
11
|
-
*/
|
|
12
|
-
export declare function createElmApi(config?: ElmConfig): PiralPlugin<PiletElmApi>;
|
package/esm/create.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { createConverter } from './converter';
|
|
2
|
-
/**
|
|
3
|
-
* Creates new Pilet API extensions for integration of Elm.
|
|
4
|
-
*/
|
|
5
|
-
export function createElmApi(config = {}) {
|
|
6
|
-
return (context) => {
|
|
7
|
-
const convert = createConverter(config);
|
|
8
|
-
context.converters.elm = ({ main, captured }) => convert(main, captured);
|
|
9
|
-
return {
|
|
10
|
-
fromElm(main, captured) {
|
|
11
|
-
return {
|
|
12
|
-
type: 'elm',
|
|
13
|
-
captured,
|
|
14
|
-
main,
|
|
15
|
-
};
|
|
16
|
-
},
|
|
17
|
-
ElmExtension: convert.Extension,
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=create.js.map
|
package/esm/create.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAuB,MAAM,aAAa,CAAC;AAQnE;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,SAAoB,EAAE;IACjD,OAAO,CAAC,OAAO,EAAE,EAAE;QACjB,MAAM,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACxC,OAAO,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAEzE,OAAO;YACL,OAAO,CAAC,IAAI,EAAE,QAAQ;gBACpB,OAAO;oBACL,IAAI,EAAE,KAAK;oBACX,QAAQ;oBACR,IAAI;iBACL,CAAC;YACJ,CAAC;YACD,YAAY,EAAE,OAAO,CAAC,SAAS;SAChC,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
|
package/esm/extension.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function createExtension(selector: string): string;
|
package/esm/extension.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export function createExtension(selector) {
|
|
2
|
-
const defaultExtensionSelector = 'piral-extension';
|
|
3
|
-
if ('customElements' in window && selector && selector !== defaultExtensionSelector) {
|
|
4
|
-
const ExtensionBase = customElements.get(defaultExtensionSelector);
|
|
5
|
-
class AliasExtension extends ExtensionBase {
|
|
6
|
-
}
|
|
7
|
-
customElements.define(selector, AliasExtension);
|
|
8
|
-
}
|
|
9
|
-
return selector || defaultExtensionSelector;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=extension.js.map
|
package/esm/extension.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,QAAgB;IAC9C,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IAEnD,IAAI,gBAAgB,IAAI,MAAM,IAAI,QAAQ,IAAI,QAAQ,KAAK,wBAAwB,EAAE;QACnF,MAAM,aAAa,GAAG,cAAc,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;QACnE,MAAM,cAAe,SAAQ,aAAa;SAAG;QAC7C,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;KACjD;IAED,OAAO,QAAQ,IAAI,wBAAwB,CAAC;AAC9C,CAAC"}
|
package/esm/index.d.ts
DELETED
package/esm/index.js
DELETED
package/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
package/esm/types.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { ForeignComponent } from 'piral-core';
|
|
2
|
-
declare module 'piral-core/lib/types/custom' {
|
|
3
|
-
interface PiletCustomApi extends PiletElmApi {
|
|
4
|
-
}
|
|
5
|
-
interface PiralCustomComponentConverters<TProps> {
|
|
6
|
-
elm(component: ElmComponent<TProps>): ForeignComponent<TProps>;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export interface ElmModule<TProps> {
|
|
10
|
-
init(opts: {
|
|
11
|
-
node: Element;
|
|
12
|
-
flags?: TProps;
|
|
13
|
-
}): void;
|
|
14
|
-
}
|
|
15
|
-
export interface ElmComponent<TProps> {
|
|
16
|
-
/**
|
|
17
|
-
* The name of the Elm main module to render.
|
|
18
|
-
*/
|
|
19
|
-
main: ElmModule<TProps>;
|
|
20
|
-
/**
|
|
21
|
-
* Captures props for transport into the Elm component.
|
|
22
|
-
*/
|
|
23
|
-
captured?: Record<string, any>;
|
|
24
|
-
/**
|
|
25
|
-
* The type of the Elm component.
|
|
26
|
-
*/
|
|
27
|
-
type: 'elm';
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Defines the provided set of Elm Pilet API extensions.
|
|
31
|
-
*/
|
|
32
|
-
export interface PiletElmApi {
|
|
33
|
-
/**
|
|
34
|
-
* Wraps a Elm module for use in Piral.
|
|
35
|
-
* @param main The name of the root component.
|
|
36
|
-
* @param captured The optionally captured props.
|
|
37
|
-
* @returns The Piral Elm component.
|
|
38
|
-
*/
|
|
39
|
-
fromElm<TProps>(main: ElmModule<TProps>, captured?: Record<string, any>): ElmComponent<TProps>;
|
|
40
|
-
/**
|
|
41
|
-
* Gets the name of the Elm extension.
|
|
42
|
-
*/
|
|
43
|
-
ElmExtension: string;
|
|
44
|
-
}
|
package/esm/types.js
DELETED
package/esm/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|