Skip to content

Commit f4676c2

Browse files
committed
Bump version
1 parent 731f41b commit f4676c2

File tree

10 files changed

+45206
-44358
lines changed

10 files changed

+45206
-44358
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.7.0
2+
3+
- Adde maxLength to fields (#84)
4+
- Expose route settings on all apis (#88)
15
## 1.6.4
26

37
- Use accentColor for macOS by using dynamic_color

docs/.last_build_id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5e3230be7eaed972b34d9f13fc479ed2
1+
b0882064abf5ba2da093032be37a1275

docs/assets/NOTICES

Lines changed: 72 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,6 +2170,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21702170
async
21712171
collection
21722172
mime
2173+
typed_data
21732174

21742175
Copyright 2015, the Dart project authors.
21752176

@@ -5161,13 +5162,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51615162

51625163
--------------------------------------------------------------------------------
51635164
charcode
5164-
fixnum
5165-
http_parser
5166-
pool
5167-
shelf_web_socket
51685165
stack_trace
51695166
string_scanner
5170-
yaml
51715167

51725168
Copyright 2014, the Dart project authors. All rights reserved.
51735169
Redistribution and use in source and binary forms, with or without
@@ -6079,10 +6075,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
60796075
dart_style
60806076
glob
60816077
http
6078+
http_parser
60826079
matcher
60836080
path
6081+
pool
60846082
pub_semver
6085-
shelf
60866083
source_span
60876084
watcher
60886085

@@ -7206,6 +7203,40 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
72067203
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
72077204
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
72087205
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7206+
--------------------------------------------------------------------------------
7207+
fixnum
7208+
http_multi_server
7209+
shelf
7210+
shelf_web_socket
7211+
7212+
Copyright 2014, the Dart project authors.
7213+
7214+
Redistribution and use in source and binary forms, with or without
7215+
modification, are permitted provided that the following conditions are
7216+
met:
7217+
7218+
* Redistributions of source code must retain the above copyright
7219+
notice, this list of conditions and the following disclaimer.
7220+
* Redistributions in binary form must reproduce the above
7221+
copyright notice, this list of conditions and the following
7222+
disclaimer in the documentation and/or other materials provided
7223+
with the distribution.
7224+
* Neither the name of Google LLC nor the names of its
7225+
contributors may be used to endorse or promote products derived
7226+
from this software without specific prior written permission.
7227+
7228+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7229+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7230+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7231+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7232+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7233+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7234+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7235+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7236+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7237+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7238+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7239+
72097240
--------------------------------------------------------------------------------
72107241
flutter
72117242

@@ -7235,34 +7266,9 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
72357266
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
72367267
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
72377268

7238-
--------------------------------------------------------------------------------
7239-
flutter_hooks
7240-
7241-
MIT License
7242-
7243-
Copyright (c) 2018 Remi Rousselet
7244-
7245-
Permission is hereby granted, free of charge, to any person obtaining a copy
7246-
of this software and associated documentation files (the "Software"), to deal
7247-
in the Software without restriction, including without limitation the rights
7248-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7249-
copies of the Software, and to permit persons to whom the Software is
7250-
furnished to do so, subject to the following conditions:
7251-
7252-
The above copyright notice and this permission notice shall be included in all
7253-
copies or substantial portions of the Software.
7254-
7255-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7256-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7257-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7258-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7259-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7260-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7261-
SOFTWARE.
72627269
--------------------------------------------------------------------------------
72637270
flutter_riverpod
72647271
freezed_annotation
7265-
hooks_riverpod
72667272
riverpod
72677273
state_notifier
72687274

@@ -11118,37 +11124,6 @@ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
1111811124
FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
1111911125
ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
1112011126
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
11121-
--------------------------------------------------------------------------------
11122-
http_multi_server
11123-
11124-
Copyright 2014, the Dart project authors.
11125-
11126-
Redistribution and use in source and binary forms, with or without
11127-
modification, are permitted provided that the following conditions are
11128-
met:
11129-
11130-
* Redistributions of source code must retain the above copyright
11131-
notice, this list of conditions and the following disclaimer.
11132-
* Redistributions in binary form must reproduce the above
11133-
copyright notice, this list of conditions and the following
11134-
disclaimer in the documentation and/or other materials provided
11135-
with the distribution.
11136-
* Neither the name of Google LLC nor the names of its
11137-
contributors may be used to endorse or promote products derived
11138-
from this software without specific prior written permission.
11139-
11140-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
11141-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
11142-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
11143-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
11144-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
11145-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
11146-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
11147-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
11148-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
11149-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
11150-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11151-
1115211127
--------------------------------------------------------------------------------
1115311128
icu
1115411129

@@ -14224,7 +14199,7 @@ xml
1422414199

1422514200
The MIT License
1422614201

14227-
Copyright (c) 2006-2021 Lukas Renggli.
14202+
Copyright (c) 2006-2022 Lukas Renggli.
1422814203
All rights reserved.
1422914204

1423014205
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -15210,16 +15185,16 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
1521015185
--------------------------------------------------------------------------------
1521115186
rxdart
1521215187

15213-
Licensed under the Apache License, Version 2.0 (the "License"); you
15214-
may not use this file except in compliance with the License. You may
15215-
obtain a copy of the License at
15216-
15217-
http://www.apache.org/licenses/LICENSE-2.0
15218-
15219-
Unless required by applicable law or agreed to in writing, software
15220-
distributed under the License is distributed on an "AS IS" BASIS,
15221-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15222-
implied. See the License for the specific language governing permissions
15188+
Licensed under the Apache License, Version 2.0 (the "License"); you
15189+
may not use this file except in compliance with the License. You may
15190+
obtain a copy of the License at
15191+
15192+
http://www.apache.org/licenses/LICENSE-2.0
15193+
15194+
Unless required by applicable law or agreed to in writing, software
15195+
distributed under the License is distributed on an "AS IS" BASIS,
15196+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15197+
implied. See the License for the specific language governing permissions
1522315198
and limitations under the License.
1522415199
--------------------------------------------------------------------------------
1522515200
simple_logger
@@ -17513,7 +17488,6 @@ May you find forgiveness for yourself and forgive others
1751317488
May you share freely, never taking more than you give.
1751417489
--------------------------------------------------------------------------------
1751517490
stream_channel
17516-
typed_data
1751717491

1751817492
Copyright 2015, the Dart project authors. All rights reserved.
1751917493
Redistribution and use in source and binary forms, with or without
@@ -17779,6 +17753,30 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1777917753
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1778017754
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1778117755
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17756+
--------------------------------------------------------------------------------
17757+
yaml
17758+
17759+
Copyright (c) 2014, the Dart project authors.
17760+
Copyright (c) 2006, Kirill Simonov.
17761+
17762+
Permission is hereby granted, free of charge, to any person obtaining a copy of
17763+
this software and associated documentation files (the "Software"), to deal in
17764+
the Software without restriction, including without limitation the rights to
17765+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
17766+
of the Software, and to permit persons to whom the Software is furnished to do
17767+
so, subject to the following conditions:
17768+
17769+
The above copyright notice and this permission notice shall be included in all
17770+
copies or substantial portions of the Software.
17771+
17772+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17773+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17774+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17775+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17776+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17777+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17778+
SOFTWARE.
17779+
1778217780
--------------------------------------------------------------------------------
1778317781
zlib
1778417782

docs/flutter.js

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,23 @@ _flutter.loader = null;
1616
(function() {
1717
"use strict";
1818
class FlutterLoader {
19-
// TODO: Move the below methods to "#private" once supported by all the browsers
20-
// we support. In the meantime, we use the "revealing module" pattern.
19+
/**
20+
* Creates a FlutterLoader, and initializes its instance methods.
21+
*/
22+
constructor() {
23+
// TODO: Move the below methods to "#private" once supported by all the browsers
24+
// we support. In the meantime, we use the "revealing module" pattern.
2125

22-
// Watchdog to prevent injecting the main entrypoint multiple times.
23-
_scriptLoaded = null;
26+
// Watchdog to prevent injecting the main entrypoint multiple times.
27+
this._scriptLoaded = null;
2428

25-
// Resolver for the pending promise returned by loadEntrypoint.
26-
_didCreateEngineInitializerResolve = null;
29+
// Resolver for the pending promise returned by loadEntrypoint.
30+
this._didCreateEngineInitializerResolve = null;
31+
32+
// Called by Flutter web.
33+
// Bound to `this` now, so "this" is preserved across JS <-> Flutter jumps.
34+
this.didCreateEngineInitializer = this._didCreateEngineInitializer.bind(this);
35+
}
2736

2837
/**
2938
* Initializes the main.dart.js with/without serviceWorker.
@@ -40,27 +49,31 @@ _flutter.loader = null;
4049
}
4150

4251
/**
43-
* Resolves the promise created by loadEntrypoint. Called by Flutter.
44-
* Needs to be weirdly bound like it is, so "this" is preserved across
45-
* the JS <-> Flutter jumps.
52+
* Resolves the promise created by loadEntrypoint.
53+
* Called by Flutter through the public `didCreateEngineInitializer` method,
54+
* which is bound to the correct instance of the FlutterLoader on the page.
4655
* @param {*} engineInitializer
4756
*/
48-
didCreateEngineInitializer = (function(engineInitializer) {
57+
_didCreateEngineInitializer(engineInitializer) {
4958
if (typeof this._didCreateEngineInitializerResolve != "function") {
5059
console.warn("Do not call didCreateEngineInitializer by hand. Start with loadEntrypoint instead.");
5160
}
5261
this._didCreateEngineInitializerResolve(engineInitializer);
53-
// Remove this method after it's done, so Flutter Web can hot restart.
62+
// Remove the public method after it's done, so Flutter Web can hot restart.
5463
delete this.didCreateEngineInitializer;
55-
}).bind(this);
64+
}
5665

5766
_loadEntrypoint(entrypointUrl) {
5867
if (!this._scriptLoaded) {
5968
this._scriptLoaded = new Promise((resolve, reject) => {
6069
let scriptTag = document.createElement("script");
6170
scriptTag.src = entrypointUrl;
6271
scriptTag.type = "application/javascript";
63-
this._didCreateEngineInitializerResolve = resolve; // Cache the resolve, so it can be called from Flutter.
72+
// Cache the resolve, so it can be called from Flutter.
73+
// Note: Flutter hot restart doesn't re-create this promise, so this
74+
// can only be called once. Instead, we need to model this as a stream
75+
// of `engineCreated` events coming from Flutter that are handled by JS.
76+
this._didCreateEngineInitializerResolve = resolve;
6477
scriptTag.addEventListener("error", reject);
6578
document.body.append(scriptTag);
6679
});

docs/flutter_service_worker.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ const TEMP = 'flutter-temp-cache';
44
const CACHE_NAME = 'flutter-app-cache';
55
const RESOURCES = {
66
"version.json": "ff966ab969ba381b900e61629bfb9789",
7-
"index.html": "ecc8a5db2c741217312a5f470d8ccad9",
8-
"/": "ecc8a5db2c741217312a5f470d8ccad9",
9-
"main.dart.js": "51771cf1bdb18566fdb1aa6dc3b13b38",
10-
"flutter.js": "0816e65a103ba8ba51b174eeeeb2cb67",
7+
"index.html": "a650f7c7c64c27b39d8f940c9e2f8890",
8+
"/": "a650f7c7c64c27b39d8f940c9e2f8890",
9+
"main.dart.js": "930378070f32f565c42a96e1c6d9602e",
10+
"flutter.js": "eb2682e33f25cd8f1fc59011497c35f8",
1111
"favicon.png": "5dcef449791fa27946b3d35ad8803796",
1212
"icons/Icon-192.png": "ac9a721a12bbc803b44f645561ecb1e1",
1313
"icons/Icon-maskable-192.png": "c457ef57daa1d16f64b27b786ec2ea3c",
1414
"icons/Icon-maskable-512.png": "301a7604d45b3e739efc881eb04896ea",
1515
"icons/Icon-512.png": "96e752610906ba2a93c65f8abe1645f1",
1616
"manifest.json": "0867c3e13649ac4d06fe34b7b3ddce08",
1717
"assets/AssetManifest.json": "a74cc0d763eb95d212056670ae0dda98",
18-
"assets/NOTICES": "cd4bfdb2b69800dbc67ffea62baa95ff",
18+
"assets/NOTICES": "925a0ea5b237e7ed0f4c16f448fd75a1",
1919
"assets/FontManifest.json": "7b2a36307916a9721811788013e65289",
2020
"assets/fonts/MaterialIcons-Regular.otf": "95db9098c58fd6db106f1116bae85a0b",
2121
"assets/assets/images/love.png": "3091c01fc119a68bd7f1d20f9e1e92d8",

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
application. For more information, see:
8686
https://developers.google.com/web/fundamentals/primers/service-workers -->
8787
<script>
88-
var serviceWorkerVersion = '1230963986';
88+
var serviceWorkerVersion = '721281139';
8989
var scriptLoaded = false;
9090
function loadMainDartJs() {
9191
if (scriptLoaded) {

0 commit comments

Comments
 (0)