@mittwald/flow-remote-elements 1.2.0-next.49 → 1.2.0-next.50

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.
@@ -15,10 +15,13 @@ var RemoteImageCropperElement = class extends FlowRemoteElement {
15
15
  };
16
16
  }
17
17
  static get remoteEvents() {
18
- return { cropComplete: {} };
18
+ return {
19
+ cropComplete: {},
20
+ error: {}
21
+ };
19
22
  }
20
23
  static get remoteSlots() {
21
- return [];
24
+ return ["errorView"];
22
25
  }
23
26
  };
24
27
  customElements.define("flr-image-cropper", RemoteImageCropperElement);
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteImageCropperElement.mjs","names":[],"sources":["../../../src/auto-generated/RemoteImageCropperElement.ts"],"sourcesContent":["/* prettier-ignore */\n/* This file is auto-generated with the remote-components-generator */\nimport { FlowRemoteElement } from \"@/lib/FlowRemoteElement\";\nimport type { ImageCropperProps as RemoteImageCropperElementProps } from \"@mittwald/flow-react-components\";\nexport type { ImageCropperProps as RemoteImageCropperElementProps } from \"@mittwald/flow-react-components\";\n\nexport class RemoteImageCropperElement extends FlowRemoteElement<RemoteImageCropperElementProps> {\n static override get remoteAttributes() {\n return [\"style\"];\n }\n\n static override get remoteProperties() {\n return {\n aspectRatio: {},\n className: {},\n cropShape: {},\n height: {},\n image: {},\n width: {},\n };\n }\n\n static override get remoteEvents() {\n return {\n cropComplete: {},\n };\n }\n\n static override get remoteSlots() {\n return [];\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"flr-image-cropper\": InstanceType<typeof RemoteImageCropperElement>;\n }\n}\n\ncustomElements.define(\"flr-image-cropper\", RemoteImageCropperElement);\n"],"mappings":";;AAMA,IAAa,4BAAb,cAA+C,kBAAkD;CAC/F,WAAoB,mBAAmB;EACrC,OAAO,CAAC,OAAO;CACjB;CAEA,WAAoB,mBAAmB;EACrC,OAAO;GACL,aAAa,CAAC;GACd,WAAW,CAAC;GACZ,WAAW,CAAC;GACZ,QAAQ,CAAC;GACT,OAAO,CAAC;GACR,OAAO,CAAC;EACV;CACF;CAEA,WAAoB,eAAe;EACjC,OAAO,EACL,cAAc,CAAC,EACjB;CACF;CAEA,WAAoB,cAAc;EAChC,OAAO,CAAC;CACV;AACF;AAQA,eAAe,OAAO,qBAAqB,yBAAyB"}
1
+ {"version":3,"file":"RemoteImageCropperElement.mjs","names":[],"sources":["../../../src/auto-generated/RemoteImageCropperElement.ts"],"sourcesContent":["/* prettier-ignore */\n/* This file is auto-generated with the remote-components-generator */\nimport { FlowRemoteElement } from \"@/lib/FlowRemoteElement\";\nimport type { ImageCropperProps as RemoteImageCropperElementProps } from \"@mittwald/flow-react-components\";\nexport type { ImageCropperProps as RemoteImageCropperElementProps } from \"@mittwald/flow-react-components\";\n\nexport class RemoteImageCropperElement extends FlowRemoteElement<RemoteImageCropperElementProps> {\n static override get remoteAttributes() {\n return [\"style\"];\n }\n\n static override get remoteProperties() {\n return {\n aspectRatio: {},\n className: {},\n cropShape: {},\n height: {},\n image: {},\n width: {},\n };\n }\n\n static override get remoteEvents() {\n return {\n cropComplete: {},\n error: {},\n };\n }\n\n static override get remoteSlots() {\n return [\"errorView\"];\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"flr-image-cropper\": InstanceType<typeof RemoteImageCropperElement>;\n }\n}\n\ncustomElements.define(\"flr-image-cropper\", RemoteImageCropperElement);\n"],"mappings":";;AAMA,IAAa,4BAAb,cAA+C,kBAAkD;CAC/F,WAAoB,mBAAmB;EACrC,OAAO,CAAC,OAAO;CACjB;CAEA,WAAoB,mBAAmB;EACrC,OAAO;GACL,aAAa,CAAC;GACd,WAAW,CAAC;GACZ,WAAW,CAAC;GACZ,QAAQ,CAAC;GACT,OAAO,CAAC;GACR,OAAO,CAAC;EACV;CACF;CAEA,WAAoB,eAAe;EACjC,OAAO;GACL,cAAc,CAAC;GACf,OAAO,CAAC;EACV;CACF;CAEA,WAAoB,cAAc;EAChC,OAAO,CAAC,WAAW;CACrB;AACF;AAQA,eAAe,OAAO,qBAAqB,yBAAyB"}
@@ -13,8 +13,9 @@ export declare class RemoteImageCropperElement extends FlowRemoteElement<RemoteI
13
13
  };
14
14
  static get remoteEvents(): {
15
15
  cropComplete: {};
16
+ error: {};
16
17
  };
17
- static get remoteSlots(): never[];
18
+ static get remoteSlots(): string[];
18
19
  }
19
20
  declare global {
20
21
  interface HTMLElementTagNameMap {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-remote-elements",
3
- "version": "1.2.0-next.49",
3
+ "version": "1.2.0-next.50",
4
4
  "type": "module",
5
5
  "description": "Flow compatible remote elements that can be used in a remote environment",
6
6
  "homepage": "https://flow.mittwald.de",
@@ -28,14 +28,14 @@
28
28
  "test:compile": "tsc --noEmit && tsc --noEmit -p tsconfig.vite.json"
29
29
  },
30
30
  "dependencies": {
31
- "@mittwald/flow-remote-core": "1.2.0-next.49",
31
+ "@mittwald/flow-remote-core": "1.2.0-next.50",
32
32
  "remeda": "^2.43.0",
33
33
  "type-fest": "^5.7.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@mittwald/flow-core": "1.2.0-next.49",
37
- "@mittwald/flow-react-components": "1.2.0-next.49",
38
- "@mittwald/typescript-config": "1.2.0-next.49",
36
+ "@mittwald/flow-core": "1.2.0-next.50",
37
+ "@mittwald/flow-react-components": "1.2.0-next.50",
38
+ "@mittwald/typescript-config": "1.2.0-next.50",
39
39
  "@types/node": "^25.9.3",
40
40
  "nx": "^22.7.5",
41
41
  "rimraf": "^6.1.3",
@@ -46,7 +46,7 @@
46
46
  "vite-plugin-externalize-deps": "^0.10.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@mittwald/flow-react-components": "1.2.0-next.49"
49
+ "@mittwald/flow-react-components": "1.2.0-next.50"
50
50
  },
51
- "gitHead": "1a48b08178b38e311205f4656fe553e6746d45f0"
51
+ "gitHead": "8d45eb915e3f41d17452ca3166035212b3213082"
52
52
  }