@sumaris-net/ngx-components 2.2.3 → 2.2.4

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.
Files changed (34) hide show
  1. package/doc/changelog.md +3 -0
  2. package/esm2020/src/app/core/form/form.utils.mjs +1 -2
  3. package/esm2020/src/app/core/table/table.class.mjs +3 -3
  4. package/esm2020/src/app/shared/dates.mjs +2 -2
  5. package/fesm2015/sumaris-net.ngx-components.mjs +3 -4
  6. package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
  7. package/fesm2020/sumaris-net.ngx-components.mjs +3 -4
  8. package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/README.md +5 -6
  11. package/src/app/core/form/form.utils.d.ts +0 -1
  12. package/src/app/core/table/table.class.d.ts +3 -1
  13. package/plugins/clovelced-plugin-audiomanagement/README.md +0 -66
  14. package/plugins/cordova-plugin-camera/README.md +0 -703
  15. package/plugins/cordova-plugin-device/README.md +0 -309
  16. package/plugins/cordova-plugin-file/README.md +0 -848
  17. package/plugins/cordova-plugin-file-transfer/README.md +0 -598
  18. package/plugins/cordova-plugin-file-transfer/doc/de/README.md +0 -311
  19. package/plugins/cordova-plugin-file-transfer/doc/es/README.md +0 -311
  20. package/plugins/cordova-plugin-file-transfer/doc/fr/README.md +0 -270
  21. package/plugins/cordova-plugin-file-transfer/doc/it/README.md +0 -311
  22. package/plugins/cordova-plugin-file-transfer/doc/ja/README.md +0 -311
  23. package/plugins/cordova-plugin-file-transfer/doc/ko/README.md +0 -311
  24. package/plugins/cordova-plugin-file-transfer/doc/pl/README.md +0 -311
  25. package/plugins/cordova-plugin-file-transfer/doc/zh/README.md +0 -311
  26. package/plugins/cordova-plugin-ionic-keyboard/README.md +0 -220
  27. package/plugins/cordova-plugin-ionic-webview/README.md +0 -181
  28. package/plugins/cordova-plugin-media-capture/README.md +0 -626
  29. package/plugins/cordova-plugin-splashscreen/README.md +0 -387
  30. package/plugins/cordova-plugin-statusbar/README.md +0 -341
  31. package/plugins/cordova-plugin-telerik-imagepicker/README.md +0 -155
  32. package/plugins/cordova-plugin-whitelist/README.md +0 -185
  33. package/plugins/cordova-sqlite-storage/README.md +0 -1848
  34. package/plugins/integrator-cordova-plugin-downloader/README.md +0 -49
@@ -1,220 +0,0 @@
1
- # cordova-plugin-ionic-keyboard
2
-
3
- This plugin has been designed to work seamlessly with `cordova-plugin-ionic-webview`, so make sure you have it installed first:
4
-
5
- - https://github.com/ionic-team/cordova-plugin-ionic-webview
6
- - https://ionicframework.com/docs/wkwebview/
7
-
8
- ## Installation
9
-
10
- ```
11
- cordova plugin add cordova-plugin-ionic-keyboard --save
12
- ```
13
-
14
- ## Preferences
15
-
16
- ### KeyboardResize (for iOS only)
17
-
18
- > Boolean (true by default)
19
-
20
- #### Possible values
21
- - `true`: Showing/hiding the keyboard will trigger some kind of resizing of the app (see KeyboardResizeMode)
22
- - `false`: Web will not be resized when the keyboard shows up.
23
-
24
- ```xml
25
- <preference name="KeyboardResize" value="true" />
26
- ```
27
-
28
- ### KeyboardResizeMode (for iOS only)
29
-
30
- > String ('native' by default)
31
-
32
- #### Possible values
33
-
34
- - `native`: The whole native webview will be resized when the keyboard shows/hides, it will affect the `vh` relative unit.
35
- - `body`: Only the html `<body>` element will be resized. Relative units are not affected, because the viewport does not change.
36
- - `ionic`: Only the html `ion-app` element will be resized. Only for ionic apps.
37
-
38
- ```xml
39
- <preference name="KeyboardResizeMode" value="native" />
40
- ```
41
-
42
- ### KeyboardStyle (for iOS only)
43
-
44
- > String ('light' by default)
45
-
46
- #### Possible values
47
-
48
- - `light`
49
- - `dark`
50
-
51
- ```xml
52
- <preference name="KeyboardStyle" value="dark" />
53
- ```
54
-
55
- ### HideKeyboardFormAccessoryBar (for iOS only)
56
-
57
- > Boolean (true by default)
58
-
59
- #### Possible values
60
- - `true`: hides the keyboard accessory bar.
61
- - `false`: shows the keyboard accessory bar.
62
-
63
- ```xml
64
- <preference name="HideKeyboardFormAccessoryBar" value="false" />
65
- ```
66
-
67
- ### resizeOnFullScreen (for Android only)
68
-
69
- There is an Android bug that prevents the keyboard from resizing the WebView when the app is in full screen (i.e. if StatusBar plugin is used to hide the StatusBar). This setting, if set to true, add a workaround that resizes the WebView even when the app is in full screen.
70
-
71
- > Boolean (false by default)
72
-
73
- #### Possible values
74
- - `false`: doesn't resize the WebView when the app is in full screen.
75
- - `true`: resizes the WebView when the app is in full screen.
76
-
77
-
78
- ```xml
79
- <preference name="resizeOnFullScreen" value="true" />
80
- ```
81
-
82
-
83
- ## Methods
84
-
85
- ### Keyboard.hideFormAccessoryBar (for iOS only)
86
-
87
- > Hide the keyboard toolbar.
88
-
89
- Set to true to hide the additional toolbar that is on top of the keyboard. This toolbar features the Prev, Next, and Done buttons.
90
-
91
- ```js
92
- Keyboard.hideFormAccessoryBar(value, successCallback);
93
- ```
94
-
95
- #### Quick Example
96
-
97
- ```js
98
- Keyboard.hideFormAccessoryBar(true);
99
- Keyboard.hideFormAccessoryBar(false);
100
- Keyboard.hideFormAccessoryBar(null, (currentValue) => { console.log(currentValue); });
101
- ```
102
-
103
- ### Keyboard.hide
104
-
105
- > Hide the keyboard
106
-
107
- Call this method to hide the keyboard
108
-
109
- ```js
110
- Keyboard.hide();
111
- ```
112
-
113
- ### Keyboard.show (for Android only)
114
-
115
- > Show the keyboard
116
-
117
- Call this method to show the keyboard.
118
-
119
- ```js
120
- Keyboard.show();
121
- ```
122
-
123
- ### Keyboard.setResizeMode (for iOS only)
124
-
125
- > Programmatically set the resize mode
126
-
127
- Call the method with parameter to set the resize mode.
128
-
129
- ```js
130
- // Possible values are the same as for 'KeyboardResizeMode' preference
131
- Keyboard.setResizeMode('native');
132
- Keyboard.setResizeMode('body');
133
- Keyboard.setResizeMode('ionic');
134
- ```
135
-
136
- ### Keyboard.setKeyboardStyle (for iOS only)
137
-
138
- > Programmatically set the keyboard style
139
-
140
- ```js
141
- // Possible values are the same as for 'KeyboardStyle' preference
142
- Keyboard.setKeyboardStyle('light'); // <- default
143
- Keyboard.setKeyboardStyle('dark');
144
- ```
145
-
146
- ### Keyboard.disableScroll (for iOS only)
147
-
148
- > Programmatically enable or disable the WebView scroll
149
-
150
- ```js
151
- Keyboard.disableScroll(true); // <- default
152
- Keyboard.disableScroll(false);
153
- ```
154
-
155
-
156
- ## Properties
157
-
158
- ### Keyboard.isVisible
159
-
160
- > Determine if the keyboard is visible.
161
-
162
- Read this property to determine if the keyboard is visible.
163
-
164
- ```js
165
- if (Keyboard.isVisible) {
166
- // do something
167
- }
168
- ```
169
-
170
- ## Events
171
-
172
- ### keyboardDidHide
173
-
174
- > This event is fired when the keyboard is fully closed.
175
-
176
- Attach handler to this event to be able to receive notification when keyboard is closed.
177
-
178
- ```js
179
- window.addEventListener('keyboardDidHide', () => {
180
- // Describe your logic which will be run each time keyboard is closed.
181
- });
182
- ```
183
-
184
- ### keyboardDidShow
185
-
186
- > This event is fired when the keyboard is fully open.
187
-
188
- Attach handler to this event to be able to receive notification when keyboard is opened.
189
-
190
- ```js
191
- window.addEventListener('keyboardDidShow', (event) => {
192
- // Describe your logic which will be run each time when keyboard is about to be shown.
193
- console.log(event.keyboardHeight);
194
- });
195
- ```
196
-
197
- ### keyboardWillShow
198
-
199
- > This event fires before keyboard will be shown.
200
-
201
- Attach handler to this event to be able to receive notification when keyboard is about to be shown on the screen.
202
-
203
- ```js
204
- window.addEventListener('keyboardWillShow', (event) => {
205
- // Describe your logic which will be run each time when keyboard is about to be shown.
206
- console.log(event.keyboardHeight);
207
- });
208
- ```
209
-
210
- ### keyboardWillHide
211
-
212
- > This event fires before keyboard will be closed.
213
-
214
- Attach handler to this event to be able to receive notification when keyboard is about to be closed.
215
-
216
- ```js
217
- window.addEventListener('keyboardWillHide', () => {
218
- // Describe your logic which will be run each time when keyboard is about to be closed.
219
- });
220
- ```
@@ -1,181 +0,0 @@
1
- <!--
2
- # license: Licensed to the Apache Software Foundation (ASF) under one
3
- # or more contributor license agreements. See the NOTICE file
4
- # distributed with this work for additional information
5
- # regarding copyright ownership. The ASF licenses this file
6
- # to you under the Apache License, Version 2.0 (the
7
- # "License"); you may not use this file except in compliance
8
- # with the License. You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing,
13
- # software distributed under the License is distributed on an
14
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- # KIND, either express or implied. See the License for the
16
- # specific language governing permissions and limitations
17
- # under the License.
18
- -->
19
-
20
- <!-- TODO: remove beta in README.md and CONTRIBUTING.md -->
21
-
22
- [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
23
- [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&identifier=104773211)](https://dependabot.com)
24
- [![npm](https://img.shields.io/npm/v/cordova-plugin-ionic-webview.svg)](https://www.npmjs.com/package/cordova-plugin-ionic-webview)
25
-
26
- # Ionic Web View for Cordova
27
-
28
- A Web View plugin for Cordova, focused on providing the highest performance experience for Ionic apps (but can be used with any Cordova app).
29
-
30
- This plugin uses WKWebView on iOS and the latest evergreen webview on Android. Additionally, this plugin makes it easy to use HTML5 style routing that web developers expect for building single-page apps.
31
-
32
- Note: This repo and its documentation are for `cordova-plugin-ionic-webview` @ `4.x`, which uses the new features that may not work with all apps. See [Requirements](#plugin-requirements) and [Migrating to 4.x](#migrating-to-4x).
33
-
34
- 2.x documentation can be found [here](https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/2.x/README.md).
35
-
36
- :book: **Documentation**: [https://beta.ionicframework.com/docs/building/webview][ionic-webview-docs]
37
-
38
- :mega: **Support/Questions?** Please see our [Support Page][ionic-support] for general support questions. The issues on GitHub should be reserved for bug reports and feature requests.
39
-
40
- :sparkling_heart: **Want to contribute?** Please see [CONTRIBUTING.md](https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/master/CONTRIBUTING.md).
41
-
42
- ## Configuration
43
-
44
- This plugin has several configuration options that can be set in `config.xml`.
45
-
46
- ### Android and iOS Preferences
47
-
48
- Preferences available for both iOS and Android
49
-
50
- #### Hostname
51
-
52
- `<preference name="Hostname" value="app" />`
53
-
54
- Default value is `localhost`.
55
-
56
- Example `ionic://app` on iOS, `http://app` on Android.
57
-
58
- If you change it, you'll need to add a new `allow-navigation` entry in the `config.xml` for the configured url (i.e `<allow-navigation href="http://app/*"/>` if `Hostname` is set to `app`).
59
- This is only needed for the Android url when using `http://`, `https://` or a custom scheme. All `ionic://` urls are whitelisted by the plugin.
60
-
61
- ### Android Preferences
62
-
63
- Preferences only available Android platform
64
-
65
- #### Scheme
66
-
67
- ```xml
68
- <preference name="Scheme" value="https" />
69
- ```
70
-
71
- Default value is `http`
72
-
73
- Configures the Scheme the app uses to load the content.
74
-
75
- #### ResolveServiceWorkerRequests
76
-
77
- ```xml
78
- <preference name="ResolveServiceWorkerRequests" value="true" />
79
- ```
80
-
81
- Default value is `false`
82
-
83
- Enable to resolve requests made by Service Workers through the local server.
84
-
85
- #### MixedContentMode
86
-
87
- ```xml
88
- <preference name="MixedContentMode" value="2" />
89
- ```
90
-
91
- Configures the WebView's behavior when an origin attempts to load a resource from a different origin.
92
-
93
- Default value is `0` (`MIXED_CONTENT_ALWAYS_ALLOW`), which allows loading resources from other origins.
94
-
95
- Other possible values are `1` (`MIXED_CONTENT_NEVER_ALLOW`) and `2` (`MIXED_CONTENT_COMPATIBILITY_MODE`)
96
-
97
-
98
- [Android documentation](https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int))
99
-
100
-
101
- ### iOS Preferences
102
-
103
- Preferences only available for iOS platform
104
-
105
- #### iosScheme
106
-
107
- ```xml
108
- <preference name="iosScheme" value="httpsionic" />
109
- ```
110
-
111
- Default value is `ionic`
112
-
113
- Configures the Scheme the app uses to load the content.
114
-
115
- Values like `http`, `https` or `file` are not valid and will use default value instead.
116
-
117
- If you change it, you'll need to add a new `allow-navigation` entry in the `config.xml` for the configured scheme (i.e `<allow-navigation href="httpsionic://*"/>` if `iosScheme` is set to `httpsionic`).
118
-
119
- #### WKSuspendInBackground
120
-
121
- ```xml
122
- <preference name="WKSuspendInBackground" value="false" />
123
- ```
124
-
125
- Default value is `true` (suspend).
126
-
127
- Set to false to stop WKWebView suspending in background too eagerly.
128
-
129
- #### KeyboardAppearanceDark
130
-
131
- ```xml
132
- <preference name="KeyboardAppearanceDark" value="false" />
133
- ```
134
-
135
- Whether to use a dark styled keyboard on iOS
136
-
137
- #### ScrollEnabled
138
-
139
- ```xml
140
- <preference name="ScrollEnabled" value="true" />
141
- ```
142
-
143
- Ionic apps work better if the WKWebView is not scrollable, so the scroll is disabled by default, but can be enabled with this preference. This only affects the main ScrollView of the WKWebView, so only affects the body, not other scrollable components.
144
-
145
- ## Plugin Requirements
146
-
147
- * **Cordova CLI**: 7.1.0+
148
- * **iOS**: iOS 11+ and `cordova-ios` 4+
149
- * **Android**: Android 4.4+ and `cordova-android` 6.4+
150
-
151
- ## Migrating to 4.x
152
-
153
- 1. Remove and re-add the Web View plugin:
154
-
155
- ```
156
- cordova plugin rm cordova-plugin-ionic-webview
157
- cordova plugin add cordova-plugin-ionic-webview@latest
158
- ```
159
-
160
- 1. Apps are now served from HTTP on Android by default.
161
-
162
- * The default origin for requests from the Android WebView is `http://localhost`. If `Hostname` and `Scheme` preferences are set, then origin will be `schemeValue://HostnameValue`.
163
-
164
- 1. Apps are now served from `ionic://` scheme on iOS by default.
165
-
166
- * The default origin for requests from the iOS WebView is `ionic://localhost`. If `Hostname` and `iosScheme` preferences are set, then origin will be `iosSchemeValue://HostnameValue`.
167
-
168
- 1. The WebView is not able to display images, videos or other files from file or content protocols or if it doesn't have protocol at all. For those cases use `window.Ionic.WebView.convertFileSrc()` to get the proper url.
169
-
170
- 1. Replace any usages of `window.Ionic.normalizeURL()` with `window.Ionic.WebView.convertFileSrc()`.
171
-
172
- * For Ionic Angular projects, there is an [Ionic Native wrapper](https://beta.ionicframework.com/docs/native/ionic-webview):
173
-
174
- ```
175
- npm install @ionic-native/ionic-webview@beta
176
- ```
177
-
178
- [ionic-homepage]: https://ionicframework.com
179
- [ionic-docs]: https://ionicframework.com/docs
180
- [ionic-webview-docs]: https://beta.ionicframework.com/docs/building/webview
181
- [ionic-support]: https://ionicframework.com/support