Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.11.0",
"globals": "^17.12.0",
"prettier": "^3.9.9"
"eslint": "^10.12.0",
"globals": "^17.13.0",
"prettier": "^3.9.10"
}
}
2 changes: 2 additions & 0 deletions packages/embed-control/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ own, and nothing may be left under "Unreleased".

## Unreleased

## 0.2.0

- The component is created under the name the bundle's `z2ui5/embed`
module gives (`componentName`) when it gives one - the abap2UI5 release
after 1.146.0 registers the frontend as `z2ui5.embed.frontend` as well.
Expand Down
2 changes: 1 addition & 1 deletion packages/embed-control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ sap.ui.require(["z2ui5/embed/Container"], (Container) => {
| `app` | string | | The ABAP class to run. Nothing starts while it is empty |
| `endpoint` | string | `/sap/bc/z2ui5` | Path of the abap2UI5 HTTP service on this server - absolute, or relative to the page's address (a `<base>` does not apply), without a query or a fragment. The frontend is loaded from it, the roundtrips go to it. See [Backend](#backend) |
| `params` | object | | `{ name: "value" }`, read by the app with `client->get( )-t_comp_params`; `{ name: ["a", "b"] }` hands several values over under one name. A value that is `null` or `undefined` is left out; an object is handed over as JSON text |
| `ownsHash` | boolean | `false` | Hands the page's URL hash to the app - for a page that is this control and nothing else, which routes by nothing: the app then routes as on a page of its own (hash routing, `set_push_state`, `hash_replace`, browser Back and Forward between routed apps, a route restored on reload). Leave it off when your app routes by the hash - a Fiori elements object page does. One such control per page. Needs the abap2UI5 release after 1.146.0; an older one ignores it |
| `ownsHash` | boolean | `false` | Hands the page's URL hash to the app - for a page that is this control and nothing else, which routes by nothing: the app then routes as on a page of its own (hash routing, `set_push_state`, `hash_replace`, browser Back and Forward between routed apps, a route restored on reload). Leave it off when your app routes by the hash - a Fiori elements object page does. One such control per page. A change starts the app anew, like one of `app`, `endpoint` or `params`. Needs the abap2UI5 release after 1.146.0; an older one ignores it |
| `width` | CSSSize | `100%` | |
| `height` | CSSSize | `100%` | The app fills its container - give it a height, or a parent that has one. A change of `width` or `height` resizes the area in place; the running app is not re-rendered |

Expand Down
2 changes: 1 addition & 1 deletion packages/embed-control/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abap2ui5/embed-control",
"version": "0.1.1",
"version": "0.2.0",
"description": "Embed abap2UI5 apps in any UI5 app: a UI5 control that runs an ABAP class implementing z2ui5_if_app",
"keywords": [
"ui5",
Expand Down
Loading