@vituum/vite-plugin-latte 1.2.0 → 1.3.0

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 (61) hide show
  1. package/package.json +6 -6
  2. package/vendor/autoload.php +1 -1
  3. package/vendor/composer/autoload_classmap.php +49 -0
  4. package/vendor/composer/autoload_real.php +4 -4
  5. package/vendor/composer/autoload_static.php +51 -2
  6. package/vendor/composer/installed.json +102 -12
  7. package/vendor/composer/installed.php +14 -5
  8. package/vendor/latte/latte/composer.json +6 -5
  9. package/vendor/latte/latte/readme.md +27 -9
  10. package/vendor/latte/latte/src/Bridges/Tracy/templates/LattePanel.panel.phtml +4 -1
  11. package/vendor/latte/latte/src/Latte/Compiler/TagLexer.php +1 -1
  12. package/vendor/latte/latte/src/Latte/Compiler/TagParserData.php +129 -129
  13. package/vendor/latte/latte/src/Latte/Compiler/TemplateGenerator.php +1 -1
  14. package/vendor/latte/latte/src/Latte/Compiler/TemplateParser.php +1 -1
  15. package/vendor/latte/latte/src/Latte/Engine.php +22 -2
  16. package/vendor/latte/latte/src/Latte/Essential/CachingIterator.php +2 -3
  17. package/vendor/latte/latte/src/Latte/Essential/CoreExtension.php +9 -1
  18. package/vendor/latte/latte/src/Latte/Essential/Filters.php +110 -10
  19. package/vendor/latte/latte/src/Latte/Essential/Nodes/ImportNode.php +8 -2
  20. package/vendor/latte/latte/src/Latte/Essential/Nodes/VarNode.php +14 -18
  21. package/vendor/latte/latte/src/Latte/Essential/TranslatorExtension.php +1 -1
  22. package/vendor/latte/latte/src/Latte/Loaders/FileLoader.php +5 -4
  23. package/vendor/latte/latte/src/Latte/Runtime/Template.php +1 -1
  24. package/vendor/latte/latte/src/Latte/Sandbox/Nodes/FunctionCallNode.php +0 -1
  25. package/vendor/nette/utils/.phpstorm.meta.php +13 -0
  26. package/vendor/nette/utils/composer.json +51 -0
  27. package/vendor/nette/utils/license.md +60 -0
  28. package/vendor/nette/utils/readme.md +55 -0
  29. package/vendor/nette/utils/src/HtmlStringable.php +22 -0
  30. package/vendor/nette/utils/src/Iterators/CachingIterator.php +150 -0
  31. package/vendor/nette/utils/src/Iterators/Mapper.php +33 -0
  32. package/vendor/nette/utils/src/SmartObject.php +140 -0
  33. package/vendor/nette/utils/src/StaticClass.php +34 -0
  34. package/vendor/nette/utils/src/Translator.php +25 -0
  35. package/vendor/nette/utils/src/Utils/ArrayHash.php +106 -0
  36. package/vendor/nette/utils/src/Utils/ArrayList.php +136 -0
  37. package/vendor/nette/utils/src/Utils/Arrays.php +553 -0
  38. package/vendor/nette/utils/src/Utils/Callback.php +137 -0
  39. package/vendor/nette/utils/src/Utils/DateTime.php +140 -0
  40. package/vendor/nette/utils/src/Utils/FileInfo.php +69 -0
  41. package/vendor/nette/utils/src/Utils/FileSystem.php +326 -0
  42. package/vendor/nette/utils/src/Utils/Finder.php +510 -0
  43. package/vendor/nette/utils/src/Utils/Floats.php +107 -0
  44. package/vendor/nette/utils/src/Utils/Helpers.php +104 -0
  45. package/vendor/nette/utils/src/Utils/Html.php +839 -0
  46. package/vendor/nette/utils/src/Utils/Image.php +831 -0
  47. package/vendor/nette/utils/src/Utils/ImageColor.php +75 -0
  48. package/vendor/nette/utils/src/Utils/ImageType.php +25 -0
  49. package/vendor/nette/utils/src/Utils/Iterables.php +238 -0
  50. package/vendor/nette/utils/src/Utils/Json.php +84 -0
  51. package/vendor/nette/utils/src/Utils/ObjectHelpers.php +229 -0
  52. package/vendor/nette/utils/src/Utils/Paginator.php +245 -0
  53. package/vendor/nette/utils/src/Utils/Random.php +52 -0
  54. package/vendor/nette/utils/src/Utils/Reflection.php +322 -0
  55. package/vendor/nette/utils/src/Utils/ReflectionMethod.php +36 -0
  56. package/vendor/nette/utils/src/Utils/Strings.php +728 -0
  57. package/vendor/nette/utils/src/Utils/Type.php +267 -0
  58. package/vendor/nette/utils/src/Utils/Validators.php +416 -0
  59. package/vendor/nette/utils/src/Utils/exceptions.php +50 -0
  60. package/vendor/nette/utils/src/compatibility.php +32 -0
  61. 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
+ }