aloha-vue 1.0.335 → 1.0.337
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/README.md +36 -2
- package/docs/src/components/TheMenu/TheMenu.js +14 -0
- package/docs/src/mainIcons.js +2 -0
- package/docs/src/mainTranslation.js +18 -16
- package/docs/src/router/index.js +5 -0
- package/docs/src/views/PageAlert/i18n/de.json +15 -7
- package/docs/src/views/PageAlert/i18n/en.json +17 -9
- package/docs/src/views/PageAlert/i18n/hr.json +15 -7
- package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooks.js +23 -0
- package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooks.pug +12 -0
- package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooks.vue +2 -0
- package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooksExample/PageOnHooksExample.js +55 -0
- package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooksExample/PageOnHooksExample.pug +8 -0
- package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooksExample/PageOnHooksExample.vue +2 -0
- package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooksExample/compositionAPI/HtmlAPI.js +9 -0
- package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooksExample/compositionAPI/JsAPI.js +43 -0
- package/docs/src/views/PageDirectives/PageOnHooks/compositionAPI/PageTitleAPI.js +24 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/PageAOnHooksI18n.js +19 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/ar.json +3 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/de.json +3 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/en.json +45 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/es.json +3 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/fr.json +3 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/hr.json +3 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/it.json +3 -0
- package/docs/src/views/PageDirectives/PageOnHooks/i18n/ru.json +3 -0
- package/docs/src/views/PageShowMore/PageShowMore.js +12 -0
- package/docs/src/views/PageShowMore/PageShowMore.pug +8 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitle/PageShowMoreBtnTitle.js +51 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitle/PageShowMoreBtnTitle.pug +14 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitle/PageShowMoreBtnTitle.vue +2 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitle/compositionAPI/HtmlAPI.js +12 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitle/compositionAPI/JsAPI.js +42 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitleHtml/PageShowMoreBtnTitleHtml.js +51 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitleHtml/PageShowMoreBtnTitleHtml.pug +22 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitleHtml/PageShowMoreBtnTitleHtml.vue +2 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitleHtml/compositionAPI/HtmlAPI.js +21 -0
- package/docs/src/views/PageShowMore/PageShowMoreBtnTitleHtml/compositionAPI/JsAPI.js +42 -0
- package/docs/src/views/PageShowMore/PageShowMoreExposes/PageShowMoreExposes.js +22 -8
- package/docs/src/views/PageShowMore/PageShowMoreExposes/PageShowMoreExposes.pug +12 -1
- package/docs/src/views/PageShowMore/PageShowMoreExposes/compositionAPI/HtmlAPI.js +16 -3
- package/docs/src/views/PageShowMore/PageShowMoreExposes/compositionAPI/JsAPI.js +22 -8
- package/docs/src/views/PageShowMore/compositionAPI/ExposesAPI.js +0 -5
- package/docs/src/views/PageShowMore/compositionAPI/PropsAPI.js +14 -0
- package/docs/src/views/PageShowMore/compositionAPI/TranslateAPI.js +12 -0
- package/docs/src/views/PageShowMore/i18n/ar.json +0 -1
- package/docs/src/views/PageShowMore/i18n/de.json +0 -1
- package/docs/src/views/PageShowMore/i18n/en.json +0 -1
- package/docs/src/views/PageShowMore/i18n/es.json +0 -1
- package/docs/src/views/PageShowMore/i18n/fr.json +0 -1
- package/docs/src/views/PageShowMore/i18n/hr.json +0 -2
- package/docs/src/views/PageShowMore/i18n/it.json +0 -1
- package/docs/src/views/PageShowMore/i18n/ru.json +0 -1
- package/package.json +1 -1
- package/src/AButton/AButton.js +3 -0
- package/src/AButton/comositionAPI/HtmlTitleAPI.js +35 -0
- package/src/AShowMore/AShowMore.js +45 -5
- package/src/AShowMore/compositionAPI/ExpandedAPI.js +20 -0
- package/src/AShowMore/compositionAPI/ScreenReaderAPI.js +22 -0
- package/src/AShowMore/compositionAPI/ToggleAPI.js +16 -0
- package/src/AShowMore/i18n/AShowMoreI18n.js +19 -0
- package/src/AShowMore/i18n/ar.json +6 -0
- package/src/AShowMore/i18n/de.json +6 -0
- package/src/AShowMore/i18n/en.json +6 -0
- package/src/AShowMore/i18n/es.json +6 -0
- package/src/AShowMore/i18n/fr.json +6 -0
- package/src/AShowMore/i18n/hr.json +6 -0
- package/src/AShowMore/i18n/it.json +6 -0
- package/src/AShowMore/i18n/ru.json +6 -0
- package/src/ATable/ATableFilterCenter/ATableFilterCenterItem/ATableFilterCenterItem.js +2 -2
- package/src/ATable/ATableHeaderThAction/ATableHeaderThActionItem/ATableHeaderThActionItem.js +10 -6
- package/src/ATable/compositionAPI/PreviewAPI.js +2 -2
- package/src/directives/AOnHooks.js +38 -0
- package/src/i18n/allLanguages.js +45 -0
- package/src/i18n/ar.json +0 -2
- package/src/i18n/de.json +0 -2
- package/src/i18n/en.json +0 -2
- package/src/i18n/es.json +0 -2
- package/src/i18n/fr.json +0 -2
- package/src/i18n/hr.json +0 -2
- package/src/i18n/it.json +0 -2
- package/src/i18n/ru.json +0 -2
- package/src/utils/utils.js +0 -7
- package/src/utils/utilsDOM.js +13 -0
- package/static/aloha_logo.png +0 -0
package/README.md
CHANGED
|
@@ -1,2 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
|
|
2
|
+

|
|
3
|
+
# aloha-vue
|
|
4
|
+
v1.0.337
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Aloha is a Vue.js-based, highly customizable, internationalized framework for helping developers write code faster and more efficient, with an especial focus on accessibility.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
``` bash
|
|
13
|
+
$ npm install aloha-vue
|
|
14
|
+
```
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
## Developement
|
|
18
|
+
|
|
19
|
+
### Documentation
|
|
20
|
+
|
|
21
|
+
``` bash
|
|
22
|
+
# at aloha/docs
|
|
23
|
+
# serve with hot reloading at localhost:9000
|
|
24
|
+
$ npm run serve
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Documentation
|
|
29
|
+
|
|
30
|
+
The documentation can be found in the docs/ directory. Each component has a dedicated demo page outlining both basic and advanced usage, along with an overview table.
|
|
31
|
+
|
|
32
|
+
Aloha documentation is available in English, German, Spanish, French, Arabic, Italian, Russian and Croatian.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
aloha-vue is released under [MIT](https://github.com/ilia-brykin/aloha/blob/master/LICENSE) license.
|
|
@@ -85,6 +85,20 @@ export default {
|
|
|
85
85
|
},
|
|
86
86
|
icon: "CheckLg",
|
|
87
87
|
},
|
|
88
|
+
{
|
|
89
|
+
id: "directives",
|
|
90
|
+
label: "Directives",
|
|
91
|
+
icon: "CodeSquare",
|
|
92
|
+
children: [
|
|
93
|
+
{
|
|
94
|
+
id: "OnHooks",
|
|
95
|
+
label: "OnHooks",
|
|
96
|
+
to: {
|
|
97
|
+
name: "PageOnHooks",
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
},
|
|
88
102
|
{
|
|
89
103
|
id: "dropdown",
|
|
90
104
|
label: "Dropdown",
|
package/docs/src/mainIcons.js
CHANGED
|
@@ -5,6 +5,7 @@ import CheckLg from "../../src/AIcon/Icons/bootstrap-1-9-1/CheckLg";
|
|
|
5
5
|
import ChevronDown from "../../src/AIcon/Icons/bootstrap-1-9-1/ChevronDown";
|
|
6
6
|
import ChevronExpand from "../../src/AIcon/Icons/bootstrap-1-9-1/ChevronExpand";
|
|
7
7
|
import ChevronRight from "../../src/AIcon/Icons/bootstrap3/ChevronRight";
|
|
8
|
+
import CodeSquare from "../../src/AIcon/Icons/bootstrap-1-9-1/CodeSquare";
|
|
8
9
|
import Duplicate from "../../src/AIcon/Icons/bootstrap3/Duplicate";
|
|
9
10
|
import EjectFill from "../../src/AIcon/Icons/bootstrap-1-9-1/EjectFill";
|
|
10
11
|
import Envelope from "../../src/AIcon/Icons/bootstrap3/Envelope";
|
|
@@ -33,6 +34,7 @@ export default {
|
|
|
33
34
|
ChevronDown,
|
|
34
35
|
ChevronExpand,
|
|
35
36
|
ChevronRight,
|
|
37
|
+
CodeSquare,
|
|
36
38
|
Duplicate,
|
|
37
39
|
EjectFill,
|
|
38
40
|
Envelope,
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import deGlobal from "../../src/i18n/de.json";
|
|
3
|
-
import enGlobal from "../../src/i18n/en.json";
|
|
4
|
-
import esGlobal from "../../src/i18n/es.json";
|
|
5
|
-
import frGlobal from "../../src/i18n/fr.json";
|
|
6
|
-
import hrGlobal from "../../src/i18n/hr.json";
|
|
7
|
-
import itGlobal from "../../src/i18n/it.json";
|
|
8
|
-
import ruGlobal from "../../src/i18n/ru.json";
|
|
1
|
+
import allLanguages from "../../src/i18n/allLanguages";
|
|
9
2
|
|
|
10
3
|
import ar from "./i18n/ar.json";
|
|
11
4
|
import de from "./i18n/de.json";
|
|
@@ -25,10 +18,11 @@ import PageTableI18n from "./views/PageTable/i18n/PageTableI18n";
|
|
|
25
18
|
import PageTableSimpleI18n from "./views/PageTable/PageTableSimple/i18n/PageTableSimpleI18n";
|
|
26
19
|
import PageTablePaginationI18n from "./views/PageTable/PageTablePagination/i18n/PageTablePaginationI18n";
|
|
27
20
|
import PageTableSortI18n from "./views/PageTable/PageTableSort/i18n/PageTableSortI18n";
|
|
21
|
+
import PageAOnHooksI18n from "./views/PageDirectives/PageOnHooks/i18n/PageAOnHooksI18n";
|
|
28
22
|
|
|
29
23
|
export const mainTranslation = {
|
|
30
24
|
ar: {
|
|
31
|
-
...
|
|
25
|
+
...allLanguages.ar,
|
|
32
26
|
...ar,
|
|
33
27
|
...PageAAlertI18n.ar,
|
|
34
28
|
...PageShowMoreI18n.ar,
|
|
@@ -39,9 +33,10 @@ export const mainTranslation = {
|
|
|
39
33
|
...PageTableSimpleI18n.ar,
|
|
40
34
|
...PageTablePaginationI18n.ar,
|
|
41
35
|
...PageTableSortI18n.ar,
|
|
36
|
+
...PageAOnHooksI18n.ar,
|
|
42
37
|
},
|
|
43
38
|
de: {
|
|
44
|
-
...
|
|
39
|
+
...allLanguages.de,
|
|
45
40
|
...de,
|
|
46
41
|
...PageAAlertI18n.de,
|
|
47
42
|
...PageShowMoreI18n.de,
|
|
@@ -52,9 +47,10 @@ export const mainTranslation = {
|
|
|
52
47
|
...PageTableSimpleI18n.de,
|
|
53
48
|
...PageTablePaginationI18n.de,
|
|
54
49
|
...PageTableSortI18n.de,
|
|
50
|
+
...PageAOnHooksI18n.de,
|
|
55
51
|
},
|
|
56
52
|
en: {
|
|
57
|
-
...
|
|
53
|
+
...allLanguages.en,
|
|
58
54
|
...en,
|
|
59
55
|
...PageAAlertI18n.en,
|
|
60
56
|
...PageShowMoreI18n.en,
|
|
@@ -65,9 +61,10 @@ export const mainTranslation = {
|
|
|
65
61
|
...PageTableSimpleI18n.en,
|
|
66
62
|
...PageTablePaginationI18n.en,
|
|
67
63
|
...PageTableSortI18n.en,
|
|
64
|
+
...PageAOnHooksI18n.en,
|
|
68
65
|
},
|
|
69
66
|
es: {
|
|
70
|
-
...
|
|
67
|
+
...allLanguages.es,
|
|
71
68
|
...es,
|
|
72
69
|
...PageAAlertI18n.es,
|
|
73
70
|
...PageShowMoreI18n.es,
|
|
@@ -78,9 +75,10 @@ export const mainTranslation = {
|
|
|
78
75
|
...PageTableSimpleI18n.es,
|
|
79
76
|
...PageTablePaginationI18n.es,
|
|
80
77
|
...PageTableSortI18n.es,
|
|
78
|
+
...PageAOnHooksI18n.es,
|
|
81
79
|
},
|
|
82
80
|
fr: {
|
|
83
|
-
...
|
|
81
|
+
...allLanguages.fr,
|
|
84
82
|
...fr,
|
|
85
83
|
...PageAAlertI18n.fr,
|
|
86
84
|
...PageShowMoreI18n.fr,
|
|
@@ -91,9 +89,10 @@ export const mainTranslation = {
|
|
|
91
89
|
...PageTableSimpleI18n.fr,
|
|
92
90
|
...PageTablePaginationI18n.fr,
|
|
93
91
|
...PageTableSortI18n.fr,
|
|
92
|
+
...PageAOnHooksI18n.fr,
|
|
94
93
|
},
|
|
95
94
|
hr: {
|
|
96
|
-
...
|
|
95
|
+
...allLanguages.hr,
|
|
97
96
|
...hr,
|
|
98
97
|
...PageAAlertI18n.hr,
|
|
99
98
|
...PageShowMoreI18n.hr,
|
|
@@ -104,9 +103,10 @@ export const mainTranslation = {
|
|
|
104
103
|
...PageTableSimpleI18n.hr,
|
|
105
104
|
...PageTablePaginationI18n.hr,
|
|
106
105
|
...PageTableSortI18n.hr,
|
|
106
|
+
...PageAOnHooksI18n.hr,
|
|
107
107
|
},
|
|
108
108
|
it: {
|
|
109
|
-
...
|
|
109
|
+
...allLanguages.it,
|
|
110
110
|
...it,
|
|
111
111
|
...PageAAlertI18n.it,
|
|
112
112
|
...PageShowMoreI18n.it,
|
|
@@ -117,9 +117,10 @@ export const mainTranslation = {
|
|
|
117
117
|
...PageTableSimpleI18n.it,
|
|
118
118
|
...PageTablePaginationI18n.it,
|
|
119
119
|
...PageTableSortI18n.it,
|
|
120
|
+
...PageAOnHooksI18n.it,
|
|
120
121
|
},
|
|
121
122
|
ru: {
|
|
122
|
-
...
|
|
123
|
+
...allLanguages.ru,
|
|
123
124
|
...ru,
|
|
124
125
|
...PageAAlertI18n.ru,
|
|
125
126
|
...PageShowMoreI18n.ru,
|
|
@@ -130,5 +131,6 @@ export const mainTranslation = {
|
|
|
130
131
|
...PageTableSimpleI18n.ru,
|
|
131
132
|
...PageTablePaginationI18n.ru,
|
|
132
133
|
...PageTableSortI18n.ru,
|
|
134
|
+
...PageAOnHooksI18n.ru,
|
|
133
135
|
},
|
|
134
136
|
};
|
package/docs/src/router/index.js
CHANGED
|
@@ -199,6 +199,11 @@ const ROUTES = [
|
|
|
199
199
|
name: "PageLink",
|
|
200
200
|
component: () => import(/* webpackChunkName: "PageLink" */ "../views/PageLink/PageLink.vue"),
|
|
201
201
|
},
|
|
202
|
+
{
|
|
203
|
+
path: "/on-hooks",
|
|
204
|
+
name: "PageOnHooks",
|
|
205
|
+
component: () => import(/* webpackChunkName: "PageOnHooks" */ "../views/PageDirectives/PageOnHooks/PageOnHooks.vue"),
|
|
206
|
+
},
|
|
202
207
|
{
|
|
203
208
|
// If the routing configuration '*' reports an error, replace it with '/: catchAll(. *)'
|
|
204
209
|
// caught Error: Catch all routes ("*") must now be defined using a param with a custom regexp
|
|
@@ -4,23 +4,29 @@
|
|
|
4
4
|
"_A_ALERT_EVENTS_CLOSE_DESCRIPTION_": "Auslösen, wenn die Warnung geschlossen ist",
|
|
5
5
|
"_A_ALERT_EXPOSES_CLOSE_DESCRIPTION_": "Funktion: Warnung schließen",
|
|
6
6
|
"_A_ALERT_EXPOSES_IS_HIDDEN_DESCRIPTION_": "Ist die Warnung geschlossen?",
|
|
7
|
-
"_A_ALERT_GROUP_CLOSABLE_DESCRIPTION_": "<p>Parameter: <strong>:closable=\"true\"</strong> fügt eine Schließfunktion für die Komponente hinzu
|
|
8
|
-
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_DESCRIPTION_": "
|
|
7
|
+
"_A_ALERT_GROUP_CLOSABLE_DESCRIPTION_": "<p>Parameter: <strong>:closable=\"true\"</strong> fügt eine Schließfunktion für die Komponente hinzu.</p>",
|
|
8
|
+
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_DESCRIPTION_": "Anstelle der Schließfunktion kann die Komponente mit dem Parameter <strong>:remove-alert-on-close=\"true\"</strong> dauerhaft geschlossen werden.",
|
|
9
9
|
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_HEADER_": "Komponente dauerhaft schließen",
|
|
10
10
|
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_SHOW_ALERT_": "Komponente anzeigen",
|
|
11
11
|
"_A_ALERT_GROUP_CLOSABLE_HEADER_": "Schließbar",
|
|
12
|
-
"_A_ALERT_GROUP_CSS_DESCRIPTION_": "<p>Man kann die Darstellung einzelner Elemente in der Komponente ändern
|
|
12
|
+
"_A_ALERT_GROUP_CSS_DESCRIPTION_": "<p>Man kann die Darstellung einzelner Elemente in der Komponente ändern.</p>",
|
|
13
13
|
"_A_ALERT_GROUP_CSS_HEADER_": "Zusätzliche CSS-Klassen",
|
|
14
|
+
"_A_ALERT_GROUP_EXPOSES_BTN_CLOSE_": "Komponente schließen",
|
|
15
|
+
"_A_ALERT_GROUP_EXPOSES_BTN_SHOW_": "Komponente anzeigen",
|
|
14
16
|
"_A_ALERT_GROUP_EXPOSES_HEADER_": "Exposes: Öffentliche Eigenschaften",
|
|
15
|
-
"_A_ALERT_GROUP_HTML_DESCRIPTION_": "Mit dem Parameter <strong>html</strong> können Sie HTML anzeigen",
|
|
17
|
+
"_A_ALERT_GROUP_HTML_DESCRIPTION_": "<p>Mit dem Parameter <strong>html</strong> können Sie HTML anzeigen. Dieser Inhalt wird bereinigt.</p>",
|
|
16
18
|
"_A_ALERT_GROUP_HTML_HEADER_": "HTML",
|
|
17
|
-
"_A_ALERT_GROUP_ICONS_CUSTOM_DESCRIPTION_": "<p>Mit dem Parameter <strong>icon</strong> können Sie ein beliebiges Icon anzeigen
|
|
19
|
+
"_A_ALERT_GROUP_ICONS_CUSTOM_DESCRIPTION_": "<p>Mit dem Parameter <strong>icon</strong> können Sie ein beliebiges Icon anzeigen.</p>",
|
|
18
20
|
"_A_ALERT_GROUP_ICONS_CUSTOM_HEADER_": "Mit benutzerdefiniertem Icon",
|
|
19
21
|
"_A_ALERT_GROUP_ICONS_DEFAULT_DESCRIPTION_": "Das Anzeigen eines Symbols verbessert die Lesbarkeit.",
|
|
20
22
|
"_A_ALERT_GROUP_ICONS_DEFAULT_HEADER_": "Mit Icon",
|
|
21
|
-
"
|
|
23
|
+
"_A_ALERT_GROUP_SAFE_HTML_DESCRIPTION_": "<p>Der Inhalt der Komponente kann mit dem Parameter <strong>safe-html</strong> im HTML Format angegeben werden. Dieser Inhalt gilt als sicher und wird nicht bereinigt.</p>",
|
|
24
|
+
"_A_ALERT_GROUP_SAFE_HTML_HEADER_": "Sicheres HTML",
|
|
25
|
+
"_A_ALERT_GROUP_SLOT_DESCRIPTION_": "Anstatt eines Parameters <strong>html</strong> können Sie einen Slot <strong>default</strong> verwenden.",
|
|
22
26
|
"_A_ALERT_GROUP_SLOT_HEADER_": "Slot",
|
|
23
|
-
"
|
|
27
|
+
"_A_ALERT_GROUP_TEXT_DESCRIPTION_": "<p>Der Inhalt der Komponente kann mit dem Parameter <strong>text</strong> im Plain Text Format angegeben werden.</p>",
|
|
28
|
+
"_A_ALERT_GROUP_TEXT_HEADER_": "Text",
|
|
29
|
+
"_A_ALERT_GROUP_TYPES_DESCRIPTION_": "<p>Zeigt die Komponente in einem anderen Farbschema an.</p>",
|
|
24
30
|
"_A_ALERT_GROUP_TYPES_HEADER_": "Typen",
|
|
25
31
|
"_A_ALERT_PROPS_ALERT_CLASS_DESCRIPTION_": "Zusätzliche CSS-Klasse",
|
|
26
32
|
"_A_ALERT_PROPS_ALERT_CONTENT_CLASS_DESCRIPTION_": "Zusätzliche CSS-Klasse für Inhalt",
|
|
@@ -31,7 +37,9 @@
|
|
|
31
37
|
"_A_ALERT_PROPS_ICON_CLASS_DESCRIPTION_": "Zusätzliche CSS-Klasse für das Icon",
|
|
32
38
|
"_A_ALERT_PROPS_ICON_DESCRIPTION_": "Icon. Jedes für die <strong>AIcon</strong>-Komponente verfügbare Icon kann verwendet werden",
|
|
33
39
|
"_A_ALERT_PROPS_IS_VISIBLE_DESCRIPTION_": "Ob die Komponente angezeigt wird",
|
|
40
|
+
"_A_ALERT_PROPS_SAFE_HTML_DESCRIPTION_": "Sicheres HTML, das innerhalb der Komponente angezeigt werden soll",
|
|
34
41
|
"_A_ALERT_PROPS_TEXT_CLOSE_DESCRIPTION_": "Der Text für die Schließen-Schaltfläche, der vom Screenreader vorgelesen werden soll",
|
|
42
|
+
"_A_ALERT_PROPS_TEXT_DESCRIPTION_": "Plain Text, der innerhalb der Komponente angezeigt werden soll",
|
|
35
43
|
"_A_ALERT_PROPS_TYPE_DESCRIPTION_": "Warnung-Typ",
|
|
36
44
|
"_A_ALERT_SLOTS_DEFAULT_DESCRIPTION_": "Inhalt der Warnung"
|
|
37
45
|
}
|
|
@@ -4,34 +4,42 @@
|
|
|
4
4
|
"_A_ALERT_EVENTS_CLOSE_DESCRIPTION_": "Trigger when alert is closed",
|
|
5
5
|
"_A_ALERT_EXPOSES_CLOSE_DESCRIPTION_": "Function: close alert",
|
|
6
6
|
"_A_ALERT_EXPOSES_IS_HIDDEN_DESCRIPTION_": "Is the alert closed?",
|
|
7
|
-
"_A_ALERT_GROUP_CLOSABLE_DESCRIPTION_": "<p>
|
|
8
|
-
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_DESCRIPTION_": "The parameter <strong>:closable-from-outside=\"true\"</strong> allows you to control the closing of the component from the outside",
|
|
7
|
+
"_A_ALERT_GROUP_CLOSABLE_DESCRIPTION_": "<p>The parameter <strong>:closable=\"true\"</strong> adds a close function for the component.</p>",
|
|
8
|
+
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_DESCRIPTION_": "The parameter <strong>:closable-from-outside=\"true\"</strong> allows you to control the closing of the component from the outside.",
|
|
9
9
|
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_HEADER_": "Closing component with external control",
|
|
10
10
|
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_SHOW_ALERT_": "Show component",
|
|
11
11
|
"_A_ALERT_GROUP_CLOSABLE_HEADER_": "Closable",
|
|
12
|
-
"_A_ALERT_GROUP_CSS_DESCRIPTION_": "<p>You can change the appearance of individual elements in the component
|
|
12
|
+
"_A_ALERT_GROUP_CSS_DESCRIPTION_": "<p>You can change the appearance of individual elements in the component.</p>",
|
|
13
13
|
"_A_ALERT_GROUP_CSS_HEADER_": "Additional CSS classes",
|
|
14
|
+
"_A_ALERT_GROUP_EXPOSES_BTN_CLOSE_": "Close component",
|
|
15
|
+
"_A_ALERT_GROUP_EXPOSES_BTN_SHOW_": "Show component",
|
|
14
16
|
"_A_ALERT_GROUP_EXPOSES_HEADER_": "Exposes: Public Properties",
|
|
15
|
-
"_A_ALERT_GROUP_HTML_DESCRIPTION_": "
|
|
17
|
+
"_A_ALERT_GROUP_HTML_DESCRIPTION_": "<p>The parameter <strong>html</strong> allows you to display HTML. The content will be sanitized.</p>",
|
|
16
18
|
"_A_ALERT_GROUP_HTML_HEADER_": "HTML",
|
|
17
|
-
"_A_ALERT_GROUP_ICONS_CUSTOM_DESCRIPTION_": "<p>
|
|
19
|
+
"_A_ALERT_GROUP_ICONS_CUSTOM_DESCRIPTION_": "<p>The parameter <strong>icon</strong> allows you to display any icon.</p>",
|
|
18
20
|
"_A_ALERT_GROUP_ICONS_CUSTOM_HEADER_": "With custom icon",
|
|
19
|
-
"_A_ALERT_GROUP_ICONS_DEFAULT_DESCRIPTION_": "Displaying an icon improves readability",
|
|
21
|
+
"_A_ALERT_GROUP_ICONS_DEFAULT_DESCRIPTION_": "Displaying an icon improves readability.",
|
|
20
22
|
"_A_ALERT_GROUP_ICONS_DEFAULT_HEADER_": "With Icon",
|
|
21
|
-
"
|
|
23
|
+
"_A_ALERT_GROUP_SAFE_HTML_DESCRIPTION_": "<p>The content of the component can be specified in HTML format using the <strong>safe-html</strong> parameter. This content is considered safe and will not be sanitized.</p>",
|
|
24
|
+
"_A_ALERT_GROUP_SAFE_HTML_HEADER_": "Safe HTML",
|
|
25
|
+
"_A_ALERT_GROUP_SLOT_DESCRIPTION_": "<p>Instead of an html parameter <strong>html</strong>, you can use a slot <strong>default</strong>.</p>",
|
|
22
26
|
"_A_ALERT_GROUP_SLOT_HEADER_": "Slot",
|
|
23
|
-
"
|
|
27
|
+
"_A_ALERT_GROUP_TEXT_DESCRIPTION_": "<p>The content of the component can be specified in Plain Text format using the <strong>text</strong> parameter.</p>",
|
|
28
|
+
"_A_ALERT_GROUP_TEXT_HEADER_": "Text",
|
|
29
|
+
"_A_ALERT_GROUP_TYPES_DESCRIPTION_": "<p>Displays the component in a different color scheme.</p>",
|
|
24
30
|
"_A_ALERT_GROUP_TYPES_HEADER_": "Types",
|
|
25
31
|
"_A_ALERT_PROPS_ALERT_CLASS_DESCRIPTION_": "Additional CSS class",
|
|
26
32
|
"_A_ALERT_PROPS_ALERT_CONTENT_CLASS_DESCRIPTION_": "Additional CSS class for content",
|
|
27
33
|
"_A_ALERT_PROPS_CLOSABLE_DESCRIPTION_": "Whether alert can be dismissed",
|
|
28
|
-
"
|
|
34
|
+
"_A_ALERT_PROPS_REMOVE_ALERT_ON_CLOSE_DESCRIPTION_": "Controlling the closure of an alert from outside a component",
|
|
29
35
|
"_A_ALERT_PROPS_HAS_ICON_DESCRIPTION_": "Whether a type icon is displayed",
|
|
30
36
|
"_A_ALERT_PROPS_HTML_DESCRIPTION_": "HTML to be shown inside the component",
|
|
31
37
|
"_A_ALERT_PROPS_ICON_CLASS_DESCRIPTION_": "Additional CSS class for the icon",
|
|
32
38
|
"_A_ALERT_PROPS_ICON_DESCRIPTION_": "Icon. Any icon available for the <strong>AIcon</strong> component can be used",
|
|
33
39
|
"_A_ALERT_PROPS_IS_VISIBLE_DESCRIPTION_": "Whether the component is shown",
|
|
40
|
+
"_A_ALERT_PROPS_SAFE_HTML_DESCRIPTION_": "Safe HTML to be shown inside the component",
|
|
34
41
|
"_A_ALERT_PROPS_TEXT_CLOSE_DESCRIPTION_": "The text for the close button to be read by the screen reader",
|
|
42
|
+
"_A_ALERT_PROPS_TEXT_DESCRIPTION_": "Plain Text to be shown inside the component",
|
|
35
43
|
"_A_ALERT_PROPS_TYPE_DESCRIPTION_": "Alert type",
|
|
36
44
|
"_A_ALERT_SLOTS_DEFAULT_DESCRIPTION_": "Content of the alert"
|
|
37
45
|
}
|
|
@@ -9,29 +9,37 @@
|
|
|
9
9
|
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_HEADER_": "Zatvaranje upozorenja vanjskim upravljanjem",
|
|
10
10
|
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_SHOW_ALERT_": "Prikaži upozorenje",
|
|
11
11
|
"_A_ALERT_GROUP_CLOSABLE_HEADER_": "Zatvaranje upozorenja",
|
|
12
|
-
"_A_ALERT_GROUP_CSS_DESCRIPTION_": "<p>
|
|
12
|
+
"_A_ALERT_GROUP_CSS_DESCRIPTION_": "<p>Ovi parameteri mjenjaju prikaz pojedinačnih elemenata komponente.</p>",
|
|
13
13
|
"_A_ALERT_GROUP_CSS_HEADER_": "Dodatni CSS parametri",
|
|
14
|
+
"_A_ALERT_GROUP_EXPOSES_BTN_CLOSE_": "Zatvori komponentu",
|
|
15
|
+
"_A_ALERT_GROUP_EXPOSES_BTN_SHOW_": "Prikaži komponentu",
|
|
14
16
|
"_A_ALERT_GROUP_EXPOSES_HEADER_": "Prikaz javnih property-ja i metoda korištenjem funkcije <strong>expose</strong>",
|
|
15
|
-
"_A_ALERT_GROUP_HTML_DESCRIPTION_": "<p>Parametar
|
|
17
|
+
"_A_ALERT_GROUP_HTML_DESCRIPTION_": "<p>Parametar <strong>html</strong> omogućuje prikaz HTML-a unutar upozorenja. Na ovaj sadržaj se primjenjuje sanitizacija.</p>",
|
|
16
18
|
"_A_ALERT_GROUP_HTML_HEADER_": "HTML",
|
|
17
|
-
"_A_ALERT_GROUP_ICONS_CUSTOM_DESCRIPTION_": "<p>
|
|
19
|
+
"_A_ALERT_GROUP_ICONS_CUSTOM_DESCRIPTION_": "<p>Uporabom parametra <strong>icon</strong> moguće je, umjesto standardne, dodavanje ikone po želji.</p>",
|
|
18
20
|
"_A_ALERT_GROUP_ICONS_CUSTOM_HEADER_": "Prikaz s korisnički prilagođenom ikonom",
|
|
19
|
-
"_A_ALERT_GROUP_ICONS_DEFAULT_DESCRIPTION_": "<p>
|
|
21
|
+
"_A_ALERT_GROUP_ICONS_DEFAULT_DESCRIPTION_": "<p>Dodavanjem ikone poboljšava se čitljivost upozorenja.</p>",
|
|
20
22
|
"_A_ALERT_GROUP_ICONS_DEFAULT_HEADER_": "Prikaz sa standardnom ikonom",
|
|
21
|
-
"
|
|
23
|
+
"_A_ALERT_GROUP_SAFE_HTML_DESCRIPTION_": "<p>Sadržaj komponente može se dati u HTML formatu i pomoću parametra <strong>safe-html</strong>. Ovaj se sadržaj smatra sigurnim i na njega se ne primjenjuje sanitizacija.</p>",
|
|
24
|
+
"_A_ALERT_GROUP_SAFE_HTML_HEADER_": "Sigurni HTML",
|
|
25
|
+
"_A_ALERT_GROUP_SLOT_DESCRIPTION_": "<p>Za prikaz sadržaj upozorenja može se, osim parametara text, html te safe-html, koristiti i <strong>default</strong> slot.</p>",
|
|
22
26
|
"_A_ALERT_GROUP_SLOT_HEADER_": "Slot",
|
|
23
|
-
"
|
|
27
|
+
"_A_ALERT_GROUP_TEXT_DESCRIPTION_": "<p>Sadržaj komponente može se zadati u formatu običnog teksta pomoću parametra <strong>text</strong>.</p>",
|
|
28
|
+
"_A_ALERT_GROUP_TEXT_HEADER_": "Tekst",
|
|
29
|
+
"_A_ALERT_GROUP_TYPES_DESCRIPTION_": "<p>Prikazuje komponentu u različitim shemama boja.</p>",
|
|
24
30
|
"_A_ALERT_GROUP_TYPES_HEADER_": "Tip upozorenja",
|
|
25
31
|
"_A_ALERT_PROPS_ALERT_CLASS_DESCRIPTION_": "Dodatna CSS klasa za upozorenje.",
|
|
26
32
|
"_A_ALERT_PROPS_ALERT_CONTENT_CLASS_DESCRIPTION_": "Dodatna CSS klasa za sadržaj upozorenja.",
|
|
27
33
|
"_A_ALERT_PROPS_CLOSABLE_DESCRIPTION_": "Zatvaranje upozorenja moguće ili ne.",
|
|
28
|
-
"
|
|
34
|
+
"_A_ALERT_PROPS_REMOVE_ALERT_ON_CLOSE_DESCRIPTION_": "Upravljanje zatvaranjem upozorenja izvan komponente.",
|
|
29
35
|
"_A_ALERT_PROPS_HAS_ICON_DESCRIPTION_": "Prikazivanje ikone uz sadržaj upozorenja.",
|
|
30
36
|
"_A_ALERT_PROPS_HTML_DESCRIPTION_": "HTML za prikazivanje unutar upozorenja.",
|
|
31
37
|
"_A_ALERT_PROPS_ICON_CLASS_DESCRIPTION_": "Dodatna CSS klasa za ikonu upozorenja.",
|
|
32
38
|
"_A_ALERT_PROPS_ICON_DESCRIPTION_": "Ikona. Bilo koja ikona dostupna za <strong>AIcon</strong> može biti korištena i za upozorenje.",
|
|
33
39
|
"_A_ALERT_PROPS_IS_VISIBLE_DESCRIPTION_": "Vidljivost komponente.",
|
|
40
|
+
"_A_ALERT_PROPS_SAFE_HTML_DESCRIPTION_": "Sigurni HTML za prikazivanje unutar upozorenja.",
|
|
34
41
|
"_A_ALERT_PROPS_TEXT_CLOSE_DESCRIPTION_": "Tekst dugmeta za zatvaranje upozorenja kojeg će pročitati čitač zaslona.",
|
|
42
|
+
"_A_ALERT_PROPS_TEXT_DESCRIPTION_": "Običan tekst za prikazivanje unutar upozorenja.",
|
|
35
43
|
"_A_ALERT_PROPS_TYPE_DESCRIPTION_": "Tip upozorenja.",
|
|
36
44
|
"_A_ALERT_SLOTS_DEFAULT_DESCRIPTION_": "Proslijeđeni sadržaj upozorenja."
|
|
37
45
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import AlohaPage from "../../../global/components/AlohaPage/AlohaPage.vue";
|
|
2
|
+
import ATranslation from "../../../../../src/ATranslation/ATranslation";
|
|
3
|
+
import PageOnHooksExample from "./PageOnHooksExample/PageOnHooksExample.vue";
|
|
4
|
+
|
|
5
|
+
import PageTitleAPI from "./compositionAPI/PageTitleAPI";
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
name: "PageOnHooks",
|
|
9
|
+
components: {
|
|
10
|
+
AlohaPage,
|
|
11
|
+
ATranslation,
|
|
12
|
+
PageOnHooksExample,
|
|
13
|
+
},
|
|
14
|
+
setup() {
|
|
15
|
+
const {
|
|
16
|
+
pageTitle,
|
|
17
|
+
} = PageTitleAPI();
|
|
18
|
+
|
|
19
|
+
return {
|
|
20
|
+
pageTitle,
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import AlohaExample from "../../../../global/components/AlohaExample/AlohaExample.vue";
|
|
2
|
+
|
|
3
|
+
import AOnHooks from "../../../../../../src/directives/AOnHooks";
|
|
4
|
+
|
|
5
|
+
import HtmlAPI from "./compositionAPI/HtmlAPI";
|
|
6
|
+
import JsAPI from "./compositionAPI/JsAPI";
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
name: "PageOnHooksExample",
|
|
10
|
+
components: {
|
|
11
|
+
AlohaExample,
|
|
12
|
+
},
|
|
13
|
+
directives: {
|
|
14
|
+
AOnHooks,
|
|
15
|
+
},
|
|
16
|
+
setup() {
|
|
17
|
+
const {
|
|
18
|
+
codeHtml,
|
|
19
|
+
} = HtmlAPI();
|
|
20
|
+
|
|
21
|
+
const {
|
|
22
|
+
codeJs,
|
|
23
|
+
} = JsAPI();
|
|
24
|
+
|
|
25
|
+
const onCreated = (el, binding) => {
|
|
26
|
+
console.log("created", el, binding);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
const onBeforeMount = (el, binding) => {
|
|
30
|
+
console.log("beforeMount", el, binding);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const onMounted = (el, binding) => {
|
|
34
|
+
console.log("mounted", el, binding);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const onBeforeUnmount = (el, binding) => {
|
|
38
|
+
console.log("beforeUnmount", el, binding);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const onUnmounted = (el, binding) => {
|
|
42
|
+
console.log("unmounted", el, binding);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
return {
|
|
46
|
+
codeHtml,
|
|
47
|
+
codeJs,
|
|
48
|
+
onBeforeMount,
|
|
49
|
+
onBeforeUnmount,
|
|
50
|
+
onCreated,
|
|
51
|
+
onMounted,
|
|
52
|
+
onUnmounted,
|
|
53
|
+
};
|
|
54
|
+
},
|
|
55
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
aloha-example(
|
|
2
|
+
:code-html="codeHtml"
|
|
3
|
+
:code-js="codeJs"
|
|
4
|
+
header="_A_BASIC_USAGE_"
|
|
5
|
+
)
|
|
6
|
+
div(
|
|
7
|
+
v-a-on-hooks="{ created: onCreated, beforeMount: onBeforeMount, mounted: onMounted, beforeUnmount: onBeforeUnmount, unmounted: onUnmounted }"
|
|
8
|
+
) Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
package/docs/src/views/PageDirectives/PageOnHooks/PageOnHooksExample/compositionAPI/HtmlAPI.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default function HtmlAPI() {
|
|
2
|
+
const codeHtml = `<div
|
|
3
|
+
v-a-on-hooks="{ created: onCreated, beforeMount: onBeforeMount, mounted: onMounted, beforeUnmount: onBeforeUnmount, unmounted: onUnmounted }"
|
|
4
|
+
>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>`;
|
|
5
|
+
|
|
6
|
+
return {
|
|
7
|
+
codeHtml,
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export default function JsAPI() {
|
|
2
|
+
const codeJs = `import AOnHooks from "aloha-vue/src/directives/AOnHooks";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
name: "PageOnHooksExample",
|
|
6
|
+
directives: {
|
|
7
|
+
AOnHooks,
|
|
8
|
+
},
|
|
9
|
+
setup() {
|
|
10
|
+
const onCreated = (el, binding) => {
|
|
11
|
+
console.log("created", el, binding);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const onBeforeMount = (el, binding) => {
|
|
15
|
+
console.log("beforeMount", el, binding);
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const onMounted = (el, binding) => {
|
|
19
|
+
console.log("mounted", el, binding);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const onBeforeUnmount = (el, binding) => {
|
|
23
|
+
console.log("beforeUnmount", el, binding);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const onUnmounted = (el, binding) => {
|
|
27
|
+
console.log("unmounted", el, binding);
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
return {
|
|
31
|
+
onBeforeMount,
|
|
32
|
+
onBeforeUnmount,
|
|
33
|
+
onCreated,
|
|
34
|
+
onMounted,
|
|
35
|
+
onUnmounted,
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
};`;
|
|
39
|
+
|
|
40
|
+
return {
|
|
41
|
+
codeJs,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
} from "vue";
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
getTranslatedText,
|
|
7
|
+
} from "../../../../../../src/ATranslation/compositionAPI/UtilsAPI";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export default function PageTitleAPI() {
|
|
11
|
+
const componentNameTranslated = computed(() => {
|
|
12
|
+
return getTranslatedText({
|
|
13
|
+
placeholder: "_A_ON_HOOKS_DIRECTIVE_NAME_",
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
const pageTitle = computed(() => {
|
|
18
|
+
return `AOnHooks${ componentNameTranslated.value ? ` (${ componentNameTranslated.value })` : "" }`;
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
return {
|
|
22
|
+
pageTitle,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import ar from "./ar.json";
|
|
2
|
+
import de from "./de.json";
|
|
3
|
+
import en from "./en.json";
|
|
4
|
+
import es from "./es.json";
|
|
5
|
+
import fr from "./fr.json";
|
|
6
|
+
import hr from "./hr.json";
|
|
7
|
+
import it from "./it.json";
|
|
8
|
+
import ru from "./ru.json";
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
ar,
|
|
12
|
+
de,
|
|
13
|
+
en,
|
|
14
|
+
es,
|
|
15
|
+
fr,
|
|
16
|
+
hr,
|
|
17
|
+
it,
|
|
18
|
+
ru,
|
|
19
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_A_ALERT_COMPONENT_DESCRIPTION_": "Displays important alert messages.",
|
|
3
|
+
"_A_ALERT_COMPONENT_NAME_": "warning",
|
|
4
|
+
"_A_ALERT_EVENTS_CLOSE_DESCRIPTION_": "Trigger when alert is closed",
|
|
5
|
+
"_A_ALERT_EXPOSES_CLOSE_DESCRIPTION_": "Function: close alert",
|
|
6
|
+
"_A_ALERT_EXPOSES_IS_HIDDEN_DESCRIPTION_": "Is the alert closed?",
|
|
7
|
+
"_A_ALERT_GROUP_CLOSABLE_DESCRIPTION_": "<p>The parameter <strong>:closable=\"true\"</strong> adds a close function for the component.</p>",
|
|
8
|
+
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_DESCRIPTION_": "The parameter <strong>:closable-from-outside=\"true\"</strong> allows you to control the closing of the component from the outside.",
|
|
9
|
+
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_HEADER_": "Closing component with external control",
|
|
10
|
+
"_A_ALERT_GROUP_CLOSABLE_FROM_OUTSIDE_SHOW_ALERT_": "Show component",
|
|
11
|
+
"_A_ALERT_GROUP_CLOSABLE_HEADER_": "Closable",
|
|
12
|
+
"_A_ALERT_GROUP_CSS_DESCRIPTION_": "<p>You can change the appearance of individual elements in the component.</p>",
|
|
13
|
+
"_A_ALERT_GROUP_CSS_HEADER_": "Additional CSS classes",
|
|
14
|
+
"_A_ALERT_GROUP_EXPOSES_BTN_CLOSE_": "Close component",
|
|
15
|
+
"_A_ALERT_GROUP_EXPOSES_BTN_SHOW_": "Show component",
|
|
16
|
+
"_A_ALERT_GROUP_EXPOSES_HEADER_": "Exposes: Public Properties",
|
|
17
|
+
"_A_ALERT_GROUP_HTML_DESCRIPTION_": "<p>The parameter <strong>html</strong> allows you to display HTML. The content will be sanitized.</p>",
|
|
18
|
+
"_A_ALERT_GROUP_HTML_HEADER_": "HTML",
|
|
19
|
+
"_A_ALERT_GROUP_ICONS_CUSTOM_DESCRIPTION_": "<p>The parameter <strong>icon</strong> allows you to display any icon.</p>",
|
|
20
|
+
"_A_ALERT_GROUP_ICONS_CUSTOM_HEADER_": "With custom icon",
|
|
21
|
+
"_A_ALERT_GROUP_ICONS_DEFAULT_DESCRIPTION_": "Displaying an icon improves readability.",
|
|
22
|
+
"_A_ALERT_GROUP_ICONS_DEFAULT_HEADER_": "With Icon",
|
|
23
|
+
"_A_ALERT_GROUP_SAFE_HTML_DESCRIPTION_": "<p>The content of the component can be specified in HTML format using the <strong>safe-html</strong> parameter. This content is considered safe and will not be sanitized.</p>",
|
|
24
|
+
"_A_ALERT_GROUP_SAFE_HTML_HEADER_": "Safe HTML",
|
|
25
|
+
"_A_ALERT_GROUP_SLOT_DESCRIPTION_": "<p>Instead of an html parameter <strong>html</strong>, you can use a slot <strong>default</strong>.</p>",
|
|
26
|
+
"_A_ALERT_GROUP_SLOT_HEADER_": "Slot",
|
|
27
|
+
"_A_ALERT_GROUP_TEXT_DESCRIPTION_": "<p>The content of the component can be specified in Plain Text format using the <strong>text</strong> parameter.</p>",
|
|
28
|
+
"_A_ALERT_GROUP_TEXT_HEADER_": "Text",
|
|
29
|
+
"_A_ALERT_GROUP_TYPES_DESCRIPTION_": "<p>Displays the component in a different color scheme.</p>",
|
|
30
|
+
"_A_ALERT_GROUP_TYPES_HEADER_": "Types",
|
|
31
|
+
"_A_ALERT_PROPS_ALERT_CLASS_DESCRIPTION_": "Additional CSS class",
|
|
32
|
+
"_A_ALERT_PROPS_ALERT_CONTENT_CLASS_DESCRIPTION_": "Additional CSS class for content",
|
|
33
|
+
"_A_ALERT_PROPS_CLOSABLE_DESCRIPTION_": "Whether alert can be dismissed",
|
|
34
|
+
"_A_ALERT_PROPS_REMOVE_ALERT_ON_CLOSE_DESCRIPTION_": "Controlling the closure of an alert from outside a component",
|
|
35
|
+
"_A_ALERT_PROPS_HAS_ICON_DESCRIPTION_": "Whether a type icon is displayed",
|
|
36
|
+
"_A_ALERT_PROPS_HTML_DESCRIPTION_": "HTML to be shown inside the component",
|
|
37
|
+
"_A_ALERT_PROPS_ICON_CLASS_DESCRIPTION_": "Additional CSS class for the icon",
|
|
38
|
+
"_A_ALERT_PROPS_ICON_DESCRIPTION_": "Icon. Any icon available for the <strong>AIcon</strong> component can be used",
|
|
39
|
+
"_A_ALERT_PROPS_IS_VISIBLE_DESCRIPTION_": "Whether the component is shown",
|
|
40
|
+
"_A_ALERT_PROPS_SAFE_HTML_DESCRIPTION_": "Safe HTML to be shown inside the component",
|
|
41
|
+
"_A_ALERT_PROPS_TEXT_CLOSE_DESCRIPTION_": "The text for the close button to be read by the screen reader",
|
|
42
|
+
"_A_ALERT_PROPS_TEXT_DESCRIPTION_": "Plain Text to be shown inside the component",
|
|
43
|
+
"_A_ALERT_PROPS_TYPE_DESCRIPTION_": "Alert type",
|
|
44
|
+
"_A_ALERT_SLOTS_DEFAULT_DESCRIPTION_": "Content of the alert"
|
|
45
|
+
}
|