@mittwald/flow-remote-elements 0.2.0-alpha.252 → 0.2.0-alpha.254
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/js/Form.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.mjs","sources":["../../src/Form.ts"],"sourcesContent":["import { FlowRemoteElement } from \"@/lib/FlowRemoteElement\";\n\nexport type RemoteFormElementProps = {\n id?: string;\n action?: string | ((payload: FormData) => void);\n onSubmit?: (event: never) => void;\n} & Partial<Pick<HTMLFormElement, \"enctype\" | \"method\">>;\n\nexport class RemoteFormElement extends FlowRemoteElement<RemoteFormElementProps> {\n static override get remoteEvents() {\n return {\n submit: {},\n };\n }\n\n static override get remoteProperties() {\n return {\n id: {},\n method: {},\n enctype: {},\n action: {},\n };\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"flr-form\": InstanceType<typeof RemoteFormElement>;\n }\n}\n\ncustomElements.define(\"flr-form\", RemoteFormElement);\n"],"names":[],"mappings":";;AAQO,MAAM,0BAA0B,iBAA0C,CAAA;AAAA,EAC/E,WAAoB,YAAe,GAAA;AACjC,IAAO,OAAA;AAAA,MACL,QAAQ;AAAC,KACX;AAAA;AACF,EAEA,WAAoB,gBAAmB,GAAA;AACrC,IAAO,OAAA;AAAA,MACL,IAAI,EAAC;AAAA,MACL,QAAQ,EAAC;AAAA,MACT,SAAS,EAAC;AAAA,MACV,QAAQ;AAAC,KACX;AAAA;AAEJ;AAQA,cAAe,CAAA,MAAA,CAAO,YAAY,iBAAiB,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"Form.mjs","sources":["../../src/Form.ts"],"sourcesContent":["import { FlowRemoteElement } from \"@/lib/FlowRemoteElement\";\n\nexport type RemoteFormElementProps = {\n id?: string;\n action?: string | ((payload: FormData) => void | Promise<void>);\n onSubmit?: (event: never) => void;\n} & Partial<Pick<HTMLFormElement, \"enctype\" | \"method\">>;\n\nexport class RemoteFormElement extends FlowRemoteElement<RemoteFormElementProps> {\n static override get remoteEvents() {\n return {\n submit: {},\n };\n }\n\n static override get remoteProperties() {\n return {\n id: {},\n method: {},\n enctype: {},\n action: {},\n };\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"flr-form\": InstanceType<typeof RemoteFormElement>;\n }\n}\n\ncustomElements.define(\"flr-form\", RemoteFormElement);\n"],"names":[],"mappings":";;AAQO,MAAM,0BAA0B,iBAA0C,CAAA;AAAA,EAC/E,WAAoB,YAAe,GAAA;AACjC,IAAO,OAAA;AAAA,MACL,QAAQ;AAAC,KACX;AAAA;AACF,EAEA,WAAoB,gBAAmB,GAAA;AACrC,IAAO,OAAA;AAAA,MACL,IAAI,EAAC;AAAA,MACL,QAAQ,EAAC;AAAA,MACT,SAAS,EAAC;AAAA,MACV,QAAQ;AAAC,KACX;AAAA;AAEJ;AAQA,cAAe,CAAA,MAAA,CAAO,YAAY,iBAAiB,CAAA;;;;"}
|
package/dist/types/Form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlowRemoteElement } from './lib/FlowRemoteElement';
|
|
2
2
|
export type RemoteFormElementProps = {
|
|
3
3
|
id?: string;
|
|
4
|
-
action?: string | ((payload: FormData) => void);
|
|
4
|
+
action?: string | ((payload: FormData) => void | Promise<void>);
|
|
5
5
|
onSubmit?: (event: never) => void;
|
|
6
6
|
} & Partial<Pick<HTMLFormElement, "enctype" | "method">>;
|
|
7
7
|
export declare class RemoteFormElement extends FlowRemoteElement<RemoteFormElementProps> {
|
package/dist/types/Form.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,OAAO,EAAE,QAAQ,KAAK,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,OAAO,EAAE,QAAQ,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;IAChE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACnC,GAAG,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,QAAQ,CAAC,CAAC,CAAC;AAEzD,qBAAa,iBAAkB,SAAQ,iBAAiB,CAAC,sBAAsB,CAAC;IAC9E,WAAoB,YAAY;;MAI/B;IAED,WAAoB,gBAAgB;;;;;MAOnC;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;KACpD;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-remote-elements",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.254",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Flow compatible remote elements that can be used in a remote environment",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"test:compile": "tsc --noEmit"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@mittwald/flow-remote-core": "0.2.0-alpha.
|
|
27
|
+
"@mittwald/flow-remote-core": "0.2.0-alpha.254",
|
|
28
28
|
"remeda": "^2.22.3",
|
|
29
29
|
"type-fest": "^4.41.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@mittwald/flow-react-components": "0.2.0-alpha.
|
|
32
|
+
"@mittwald/flow-react-components": "0.2.0-alpha.254",
|
|
33
33
|
"@mittwald/typescript-config": "",
|
|
34
34
|
"@types/node": "^22.15.23",
|
|
35
35
|
"nx": "^20.8.2",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@mittwald/flow-react-components": "*"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "ba87c4e8b8392c3c58afa3aed5606e960496596b"
|
|
49
49
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FlowRemoteElement } from './lib/FlowRemoteElement';
|
|
2
|
-
import { TunnelEntryProps as RemoteTunnelEntryElementProps } from '@mittwald/flow-react-components';
|
|
3
|
-
export type { TunnelEntryProps as RemoteTunnelEntryElementProps } from '@mittwald/flow-react-components';
|
|
4
|
-
export declare class RemoteTunnelEntryElement extends FlowRemoteElement<RemoteTunnelEntryElementProps> {
|
|
5
|
-
static get remoteAttributes(): string[];
|
|
6
|
-
static get remoteProperties(): {
|
|
7
|
-
id: {};
|
|
8
|
-
staticEntryId: {};
|
|
9
|
-
};
|
|
10
|
-
static get remoteEvents(): {};
|
|
11
|
-
static get remoteSlots(): never[];
|
|
12
|
-
}
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
"flr-tunnel-entry": InstanceType<typeof RemoteTunnelEntryElement>;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=RemoteTunnelEntryElement.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RemoteTunnelEntryElement.d.ts","sourceRoot":"","sources":["../../src/RemoteTunnelEntryElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,IAAI,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AACzG,YAAY,EAAE,gBAAgB,IAAI,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEzG,qBAAa,wBAAyB,SAAQ,iBAAiB,CAAC,6BAA6B,CAAC;IAC5F,WAAoB,gBAAgB,aAEnC;IAED,WAAoB,gBAAgB;;;MAKnC;IAED,WAAoB,YAAY,OAE/B;IAED,WAAoB,WAAW,YAE9B;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,YAAY,CAAC,OAAO,wBAAwB,CAAC,CAAC;KACnE;CACF"}
|