@awes-io/ui 2.138.0 → 2.139.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.139.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.138.0...@awes-io/ui@2.139.0) (2025-10-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* change place error icons ([e0a692d](https://github.com/awes-io/client/commit/e0a692d81812488c7bbbdc66dc871bcbacf08673))
|
|
12
|
+
* link regex extended ([6a37e65](https://github.com/awes-io/client/commit/6a37e65e2c1a9f735d966c6db7836cfd53b24e17))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [2.138.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.137.0...@awes-io/ui@2.138.0) (2025-10-17)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<div class="aw-layout-error__card">
|
|
6
6
|
<svg
|
|
7
|
-
v-if="statusCode ===
|
|
7
|
+
v-if="statusCode === 403"
|
|
8
8
|
xmlns="http://www.w3.org/2000/svg"
|
|
9
9
|
width="200"
|
|
10
10
|
height="200"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
</svg>
|
|
70
70
|
|
|
71
71
|
<svg
|
|
72
|
-
v-else-if="statusCode ===
|
|
72
|
+
v-else-if="statusCode === 404"
|
|
73
73
|
xmlns="http://www.w3.org/2000/svg"
|
|
74
74
|
width="200"
|
|
75
75
|
height="200"
|
package/components/_config.js
CHANGED
|
@@ -2,7 +2,8 @@ import { pathOr, isEmpty } from 'rambdax'
|
|
|
2
2
|
import { COLORS } from '../assets/js/constants'
|
|
3
3
|
|
|
4
4
|
export const LINK_REGEX = /^(https?:)?\/\//
|
|
5
|
-
export const
|
|
5
|
+
export const HTTP_REGEX = /^https?:/i
|
|
6
|
+
export const SPECIAL_URL_REGEX = /^([a-zA-Z][a-zA-Z0-9+.-]*):(?:\/\/)?/
|
|
6
7
|
|
|
7
8
|
export const AwAvatar = {
|
|
8
9
|
colors: COLORS
|
package/mixins/link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LINK_REGEX, SPECIAL_URL_REGEX } from '@AwConfig'
|
|
1
|
+
import { LINK_REGEX, HTTP_REGEX, SPECIAL_URL_REGEX } from '@AwConfig'
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
inheritAttrs: false,
|
|
@@ -69,7 +69,7 @@ export default {
|
|
|
69
69
|
_linkSpecial() {
|
|
70
70
|
const h = this.href
|
|
71
71
|
|
|
72
|
-
return typeof h === 'string' && h && SPECIAL_URL_REGEX.test(h)
|
|
72
|
+
return typeof h === 'string' && h && SPECIAL_URL_REGEX.test(h) && !HTTP_REGEX.test(h)
|
|
73
73
|
},
|
|
74
74
|
|
|
75
75
|
_linkDownload() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.139.0",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"rollup-plugin-visualizer": "^2.6.0",
|
|
115
115
|
"rollup-plugin-vue": "^5.0.1"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "c59c9c8318571336d0654dfe132bc6288d78ec8b"
|
|
118
118
|
}
|