You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
60
60
### Added
61
61
-`SearchableList`: The item keys `experimental` and `deprecated` lead to a different rendering.
62
62
-`Collection`: Slot property `mapOptions` added.
63
-
-`Collection`, `FileFormat`, `Process`, `ServiceType` and `UdfRuntime`: Slots pass through the props from the component.
63
+
-`Collection`, `FileFormat`, `Process`, `ServiceType` and `UdfRuntime`: Slots pass through all the props from the component (except `spatial-extents` and `temporal-extents` in `Collection`).
64
64
-`Collections`, `FileFormats`, `Processes`, `SearchableList`, `ServiceTypes` and `UdfRuntimes`:
65
65
- Events `headingToggled` and `detailsToggled` have been introduced
66
66
- Slot properties are passed through for slots that are made available in the sub-components (e.g. `Collection`)
@@ -82,7 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
82
82
83
83
### Added
84
84
-`SearchBox` component
85
-
-`Collections`, `FileFormats`, `Processes`, `SearchableList`, `ServiceTypes` and `UdfRuntimes`: Property `collapse` has been introduced
85
+
-`Collections`, `FileFormats`, `Processes`, `SearchableList`, `ServiceTypes` and `UdfRuntimes`: Property `collapsed` has been introduced
86
86
-`Collections`: Added slots `collection-before-description`, `collection-end`, `collection-spatial-extents`, `collection-temporal-extents` and `summary`
87
87
-`FileFormats`: Added slots `file-format-before-description`, `file-format-end` and `summary`
88
88
-`Processes`: Added slots `process-before-description`, `process-end` and `summary`
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ The components are async web components, which means only the components you are
78
78
79
79
### Vue
80
80
81
-
In a Vue environment, you can just import the Single File Components directly.
81
+
In a Vue environment, you can just import the Single File Components (SFC) directly. I.e., they must be imported from the `components` folder as demonstrated below.
82
82
83
83
First, you need to install the package: `npm install @openeo/vue-components --save`
84
84
Now, you can import the Vue components with the `import` or `require`, depending on the module system you are using.
@@ -89,10 +89,10 @@ For example, the [`Capabilities`](#capabilities) component can be imported as fo
89
89
90
90
Afterwards, you need to declare the component in the `components` section of your SFC, e.g. `components: { Capabilities }`.
91
91
92
-
In the Template of your SFC you can now include the component as shown in the example below. Please note that `url` and `capabilities` must be defined in the SFC, e.g. in `data` property or as `computed` property.
92
+
In the Template of your SFC you can now include the component as shown in the example below. Please note that the values `myUrl` and `myCapabilities` must be defined in the SFC, e.g. in the `data` property or as a`computed` property.
*Note for Contributors*: This usage mode doesn't require the initial build step `npm run build`. The Vue Components can simply be imported from the `components` folder. You can also serve examples via HTTP with the command `npm run serve`.
@@ -419,7 +419,7 @@ A template to implement searchable, sortable and collapsible lists (all optional
419
419
-`data` (array\<object>|object, required): The data to show in the list. Usually an array, but if an object is given the key of the elements is used as the default identifier. Each value of the array or object must be an object.
420
420
-`identifierKey` / `identifier-key` (string|null): The key in the object to use as identifiers (first line of the list). If not `null`, overrides the default identifier set from object keys. Defaults to `id`.
421
421
-`summaryKey` / `summary-key` (string|null): The key in the object to use as summary (second line of the list). If set to `null`, no summary is shown. Defaults to `summary`.
422
-
-`externalSearchTerm` / `external-search-term` (string|null): Pass a string if a search term is injected from an external source and no search box should be shown. Default to `null`, which will show a search box in the component itself so that users can filter the data by identifier and summary.
422
+
-`externalSearchTerm` / `external-search-term` (string|null): Pass a string if a search term is injected from an external source and no search box should be shown. Setting to the empty string `""` effectively disables searching. Defaults to `null`, which will show a search box in the component itself so that users can filter the data by identifier and summary.
423
423
-`searchPlaceholder` / `search-placeholder` (string): A text to show as a placeholder in the search box. Defaults to `Search`.
424
424
-`sort` (boolean): Sort the data by identifier. Defaults to `true`.
425
425
-`offerDetails` / `offer-details` (boolean): If set to `false`, the data can't be expanded and no details will be shown. Defaults to `true`, which will show what has been defined in the `details` slot after a user has expanded the element.
@@ -758,4 +758,4 @@ A list of categorized features with their corresponding endpoints as used by the
758
758
*`htmlentities_decode(string str) -> string`: Replace the HTML entities for `"`, `'`, `<` and `>` with their respective characters.
759
759
*`prettifyAbbreviation(string str) -> string`: Converts a string to uppercase if all letters given are lower-cased.
760
760
*`prettifyString(string str) -> string`: Tries to convert strings in snake-case, camel-case or kebab-case into more human-readable texts, mostly by adding spaces.
0 commit comments