@vituum/vite-plugin-latte 1.2.0 → 1.2.1
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/package.json +1 -1
- package/vendor/composer/autoload_classmap.php +49 -0
- package/vendor/composer/autoload_static.php +49 -0
- package/vendor/composer/installed.json +89 -0
- package/vendor/composer/installed.php +11 -2
- package/vendor/nette/utils/.phpstorm.meta.php +13 -0
- package/vendor/nette/utils/composer.json +51 -0
- package/vendor/nette/utils/license.md +60 -0
- package/vendor/nette/utils/readme.md +56 -0
- package/vendor/nette/utils/src/HtmlStringable.php +22 -0
- package/vendor/nette/utils/src/Iterators/CachingIterator.php +164 -0
- package/vendor/nette/utils/src/Iterators/Mapper.php +34 -0
- package/vendor/nette/utils/src/SmartObject.php +140 -0
- package/vendor/nette/utils/src/StaticClass.php +34 -0
- package/vendor/nette/utils/src/Translator.php +25 -0
- package/vendor/nette/utils/src/Utils/ArrayHash.php +106 -0
- package/vendor/nette/utils/src/Utils/ArrayList.php +136 -0
- package/vendor/nette/utils/src/Utils/Arrays.php +522 -0
- package/vendor/nette/utils/src/Utils/Callback.php +137 -0
- package/vendor/nette/utils/src/Utils/DateTime.php +140 -0
- package/vendor/nette/utils/src/Utils/FileInfo.php +69 -0
- package/vendor/nette/utils/src/Utils/FileSystem.php +326 -0
- package/vendor/nette/utils/src/Utils/Finder.php +510 -0
- package/vendor/nette/utils/src/Utils/Floats.php +107 -0
- package/vendor/nette/utils/src/Utils/Helpers.php +104 -0
- package/vendor/nette/utils/src/Utils/Html.php +839 -0
- package/vendor/nette/utils/src/Utils/Image.php +829 -0
- package/vendor/nette/utils/src/Utils/ImageColor.php +75 -0
- package/vendor/nette/utils/src/Utils/ImageType.php +25 -0
- package/vendor/nette/utils/src/Utils/Iterables.php +159 -0
- package/vendor/nette/utils/src/Utils/Json.php +84 -0
- package/vendor/nette/utils/src/Utils/ObjectHelpers.php +229 -0
- package/vendor/nette/utils/src/Utils/Paginator.php +245 -0
- package/vendor/nette/utils/src/Utils/Random.php +52 -0
- package/vendor/nette/utils/src/Utils/Reflection.php +320 -0
- package/vendor/nette/utils/src/Utils/ReflectionMethod.php +36 -0
- package/vendor/nette/utils/src/Utils/Strings.php +708 -0
- package/vendor/nette/utils/src/Utils/Type.php +267 -0
- package/vendor/nette/utils/src/Utils/Validators.php +416 -0
- package/vendor/nette/utils/src/Utils/exceptions.php +50 -0
- package/vendor/nette/utils/src/compatibility.php +32 -0
- package/vendor/nette/utils/src/exceptions.php +109 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file is part of the Nette Framework (https://nette.org)
|
|
5
|
+
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
declare(strict_types=1);
|
|
9
|
+
|
|
10
|
+
namespace Nette\Utils;
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The exception that is thrown when an image error occurs.
|
|
15
|
+
*/
|
|
16
|
+
class ImageException extends \Exception
|
|
17
|
+
{
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The exception that indicates invalid image file.
|
|
23
|
+
*/
|
|
24
|
+
class UnknownImageFileException extends ImageException
|
|
25
|
+
{
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The exception that indicates error of JSON encoding/decoding.
|
|
31
|
+
*/
|
|
32
|
+
class JsonException extends \JsonException
|
|
33
|
+
{
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The exception that indicates error of the last Regexp execution.
|
|
39
|
+
*/
|
|
40
|
+
class RegexpException extends \Exception
|
|
41
|
+
{
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The exception that indicates assertion error.
|
|
47
|
+
*/
|
|
48
|
+
class AssertionException extends \Exception
|
|
49
|
+
{
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file is part of the Nette Framework (https://nette.org)
|
|
5
|
+
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
declare(strict_types=1);
|
|
9
|
+
|
|
10
|
+
namespace Nette\Utils;
|
|
11
|
+
|
|
12
|
+
use Nette;
|
|
13
|
+
|
|
14
|
+
if (false) {
|
|
15
|
+
/** @deprecated use Nette\HtmlStringable */
|
|
16
|
+
interface IHtmlString extends Nette\HtmlStringable
|
|
17
|
+
{
|
|
18
|
+
}
|
|
19
|
+
} elseif (!interface_exists(IHtmlString::class)) {
|
|
20
|
+
class_alias(Nette\HtmlStringable::class, IHtmlString::class);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
namespace Nette\Localization;
|
|
24
|
+
|
|
25
|
+
if (false) {
|
|
26
|
+
/** @deprecated use Nette\Localization\Translator */
|
|
27
|
+
interface ITranslator extends Translator
|
|
28
|
+
{
|
|
29
|
+
}
|
|
30
|
+
} elseif (!interface_exists(ITranslator::class)) {
|
|
31
|
+
class_alias(Translator::class, ITranslator::class);
|
|
32
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file is part of the Nette Framework (https://nette.org)
|
|
5
|
+
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
declare(strict_types=1);
|
|
9
|
+
|
|
10
|
+
namespace Nette;
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The exception that is thrown when the value of an argument is
|
|
15
|
+
* outside the allowable range of values as defined by the invoked method.
|
|
16
|
+
*/
|
|
17
|
+
class ArgumentOutOfRangeException extends \InvalidArgumentException
|
|
18
|
+
{
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The exception that is thrown when a method call is invalid for the object's
|
|
24
|
+
* current state, method has been invoked at an illegal or inappropriate time.
|
|
25
|
+
*/
|
|
26
|
+
class InvalidStateException extends \RuntimeException
|
|
27
|
+
{
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The exception that is thrown when a requested method or operation is not implemented.
|
|
33
|
+
*/
|
|
34
|
+
class NotImplementedException extends \LogicException
|
|
35
|
+
{
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The exception that is thrown when an invoked method is not supported. For scenarios where
|
|
41
|
+
* it is sometimes possible to perform the requested operation, see InvalidStateException.
|
|
42
|
+
*/
|
|
43
|
+
class NotSupportedException extends \LogicException
|
|
44
|
+
{
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The exception that is thrown when a requested method or operation is deprecated.
|
|
50
|
+
*/
|
|
51
|
+
class DeprecatedException extends NotSupportedException
|
|
52
|
+
{
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The exception that is thrown when accessing a class member (property or method) fails.
|
|
58
|
+
*/
|
|
59
|
+
class MemberAccessException extends \Error
|
|
60
|
+
{
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The exception that is thrown when an I/O error occurs.
|
|
66
|
+
*/
|
|
67
|
+
class IOException extends \RuntimeException
|
|
68
|
+
{
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* The exception that is thrown when accessing a file that does not exist on disk.
|
|
74
|
+
*/
|
|
75
|
+
class FileNotFoundException extends IOException
|
|
76
|
+
{
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The exception that is thrown when part of a file or directory cannot be found.
|
|
82
|
+
*/
|
|
83
|
+
class DirectoryNotFoundException extends IOException
|
|
84
|
+
{
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The exception that is thrown when an argument does not match with the expected value.
|
|
90
|
+
*/
|
|
91
|
+
class InvalidArgumentException extends \InvalidArgumentException
|
|
92
|
+
{
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The exception that is thrown when an illegal index was requested.
|
|
98
|
+
*/
|
|
99
|
+
class OutOfRangeException extends \OutOfRangeException
|
|
100
|
+
{
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The exception that is thrown when a value (typically returned by function) does not match with the expected value.
|
|
106
|
+
*/
|
|
107
|
+
class UnexpectedValueException extends \UnexpectedValueException
|
|
108
|
+
{
|
|
109
|
+
}
|