ontotext-yasgui-web-component 1.0.9 → 1.0.11
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/README.md +15 -10
- package/dist/cjs/confirmation-dialog_10.cjs.entry.js +111 -92
- package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.css +35 -8
- package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.js +1 -0
- package/dist/collection/components/yasgui/yasgui-script.js +1 -1
- package/dist/collection/models/yasgui-configuration.js +2 -0
- package/dist/collection/pages/actions/main.js +15 -1
- package/dist/collection/services/yasgui/configuration/yasgui-configuration-builder.js +3 -1
- package/dist/collection/services/yasqe/yasqe-service.js +34 -24
- package/dist/collection/services/yasr/yasr-service.js +1 -1
- package/dist/components/ontotext-yasgui.js +43 -28
- package/dist/components/translation.service.js +68 -64
- package/dist/esm/confirmation-dialog_10.entry.js +111 -92
- package/dist/ontotext-yasgui-web-component/ontotext-yasgui-web-component.esm.js +1 -1
- package/dist/ontotext-yasgui-web-component/p-58870bc6.entry.js +1 -0
- package/package.json +1 -1
- package/dist/ontotext-yasgui-web-component/p-d3f23e03.entry.js +0 -1
package/README.md
CHANGED
|
@@ -88,23 +88,23 @@ The "config" value of "ngce-prop-config" or "[config]" is an object with followi
|
|
|
88
88
|
configuration is passed as string, it will be persisted when first time initializes the instance with specific componentId. Subsequent
|
|
89
89
|
query executions will use the endpoint stored in the persistence regardless if the configuration is changed. If the endpoint is defined as
|
|
90
90
|
a function, it will be called before each query execution.
|
|
91
|
-
-
|
|
91
|
+
- **render**: Configure what part of the yasgui should be rendered. Supported values are:
|
|
92
92
|
- mode-yasgui: default configuration. Shows the query editor and the results;
|
|
93
93
|
- mode-yasqe: shows the query editor only;
|
|
94
94
|
- mode-yasr: shows the results only.
|
|
95
|
-
-
|
|
95
|
+
- **orientation**: Configure the yasgui layout orientation. Supported values are:
|
|
96
96
|
- orientation-vertical - the results will be appeared under the query editor;
|
|
97
97
|
- orientation-horizontal - the results will be appeared next to the query editor.
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
98
|
+
- **query**: Default query when a tab is opened;
|
|
99
|
+
- **initialQuery**>: Initial query when yasgui is rendered if not set the default query will be set;
|
|
100
|
+
- **defaultTabNameLabelKey**: The translation label key that should be used to fetch the default tab name when a new tab is created.
|
|
101
|
+
- **showEditorTabs**: If the query editor tabs should be rendered or not;
|
|
102
|
+
- **showResultTabs**: If the results tabs should be rendered or not;
|
|
103
103
|
- **showResultInfo**: If the result information header of YASR should be rendered or not;
|
|
104
104
|
- **showQueryLoader**: Flag that controls displaying the loader during the run query process. Default value is true;
|
|
105
|
-
-
|
|
106
|
-
-
|
|
107
|
-
-
|
|
105
|
+
- **showToolbar**: If the toolbar with render mode buttons should be rendered or not;
|
|
106
|
+
- **yasqePluginButtons**: Plugin definitions configurations for yasqe action buttons;
|
|
107
|
+
- **componentId**: An unique identifier of an instance of the component. This config is optional.
|
|
108
108
|
A unique identifier of the component instance. This configuration is optional. A unique value should be passed only if the component's internal state (open tabs, completed requests, etc.) should not be shared with its other instances.
|
|
109
109
|
- **paginationOn**: If true pagination will be used to display results.
|
|
110
110
|
- **pageSize**: the size of a page. Default value is 10.
|
|
@@ -117,6 +117,11 @@ The "config" value of "ngce-prop-config" or "[config]" is an object with followi
|
|
|
117
117
|
- **showQueryButton**: if false the "Run" query button will be hidden. Default value is true.
|
|
118
118
|
- **getCellContent**: function that will be called for every one cell. It must return valid html as string.
|
|
119
119
|
- **sparqlResponse**: a response of a sparql query as string. If the parameter is provided, the result will be visualized in YASR.
|
|
120
|
+
- **infer**: the value of "infer" parameter when a query is executed. Default value is true.
|
|
121
|
+
- **immutableInfer**: if set to true, the 'infer' value cannot be changed. Default value is false.
|
|
122
|
+
- **sameAs**: the value of "sameAs" parameter when a query is executed. Default value is true.
|
|
123
|
+
- **immutableSameAs**: if set to true, the 'sameAs' value cannot be changed. Default value is false.
|
|
124
|
+
- **language**: the language being used when the component is initialized. Default value is "en".
|
|
120
125
|
|
|
121
126
|
## Developers guide
|
|
122
127
|
|