Skip to content

Commit 179a8fc

Browse files
committed
Release 0.9.3
1 parent 57b1d44 commit 179a8fc

File tree

4 files changed

+43
-52
lines changed

4 files changed

+43
-52
lines changed

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
https://github.com/davebaol/angular-formio-editor
44

55

6-
## 2020-MM-DD, version 0.9.3-snapshot
6+
## 2020-06-01, version 0.9.3
77

88
- Fix json editor refresh in view mode
99

README.md

Lines changed: 40 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -147,59 +147,50 @@ So you don't have necessarily to add bootstrap and its peer dependency jQuery.
147147

148148
## Documentation
149149

150-
The component supports the input arguments `form`, `option` and `reset` described inside the spoilers below.
150+
The component supports the input arguments `form`, `options` and `reset` described below:
151151

152-
<details>
153-
<summary><b>form</b></summary>
154-
152+
- **form**<br/>
155153
This is a regular form defined by the form.io framework. The component modifies this argument in place.
156-
157-
</details>
158-
159-
<details>
160-
<summary><b>options</b></summary>
161-
162-
The options to configure the component are described below. Be aware that options are only intended as a component setup at creation-time.
163-
```javascript
164-
{
165-
// The allowed tabs to show inside the component.
166-
// Defaults to ['builder', 'json', 'renderer']
167-
tabs: ['builder', 'json', 'renderer'],
168-
169-
// The tab active at component startup. Defaults to 'builder'
170-
tab: 'builder',
171-
172-
// Builder tab options
173-
builder: {
174-
// Whether to hide or not the embedded select to change the form display
175-
hideDisplaySelect: false
176-
},
177-
178-
// Json tab options
179-
json: {
180-
// The locations relative to the json editor where to show the panel
181-
// for applying json changes to the form. Defaults to ['top', 'bottom']
182-
changePanelLocations: ['top', 'bottom'],
183-
184-
// Json editor options
185-
editor: {
186-
// Whether to expand or not all nodes in tree mode. This is
187-
// an additional option not supported by the original jsoneditor.
188-
expandAll: false,
189-
190-
// Other options supported by the original jsoneditor.
191-
// See jsoneditor API documentation at the link below
192-
// https://github.com/josdejong/jsoneditor/blob/master/docs/api.md#configuration-options
193-
...
154+
- **options**<br/>
155+
The options to configure the component are described into the spoiler below. Be aware that options are only intended as a component setup at creation-time. <details><summary><b>spoiler</b></summary>
156+
```javascript
157+
{
158+
// The allowed tabs to show inside the component.
159+
// Defaults to ['builder', 'json', 'renderer']
160+
tabs: ['builder', 'json', 'renderer'],
161+
162+
// The tab active at component startup. Defaults to 'builder'
163+
tab: 'builder',
164+
165+
// Builder tab options
166+
builder: {
167+
// Whether to hide or not the embedded select to change the form display
168+
hideDisplaySelect: false
169+
},
170+
171+
// Json tab options
172+
json: {
173+
// The locations relative to the json editor where to show the panel
174+
// for applying json changes to the form. Defaults to ['top', 'bottom']
175+
changePanelLocations: ['top', 'bottom'],
176+
177+
// Json editor options
178+
editor: {
179+
// Whether to expand or not all nodes in tree mode. This is
180+
// an additional option not supported by the original jsoneditor.
181+
expandAll: false,
182+
183+
// Other options supported by the original jsoneditor.
184+
// See jsoneditor API documentation at the link below
185+
// https://github.com/josdejong/jsoneditor/blob/master/docs/api.md#configuration-options
186+
...
187+
}
194188
}
195189
}
196-
}
197-
```
198-
</details>
199-
<details>
200-
<summary><b>refresh</b></summary>
201-
202-
TBD
190+
```
191+
</details>
192+
- **reset**<br/>
193+
An `Observable<void>` to reset the component.
203194

204195
</details>
205196

projects/formio-editor/npm-publish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To publish a new npm package follow the steps below:
1616
```bash
1717
npm install dist/formio-editor
1818
```
19-
- Unfortunately, before publishing the package we have to rebuild the library. This is needed because for some reason the tests and the build of the app make `dist/formio-editor` dirt with ivy files that npm doesn't like for publishing.
19+
- Unfortunately, before publishing the package we have to rebuild the library. This is needed because for some reason the tests and the build of the app dirt `dist/formio-editor` with ivy files that npm doesn't like for publishing.
2020
```bash
2121
npm run formio-editor:build-prod
2222
```

projects/formio-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@davebaol/angular-formio-editor",
3-
"version": "0.9.3-snapshot",
3+
"version": "0.9.3",
44
"description": "Angular component integrating Form.io builder and renderer with a json editor",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)