aloha-vue 2.87.0 → 2.87.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/CHANGELOG.md +4 -0
- package/dist/aloha-vue.css +13827 -13827
- package/dist/aloha-vue.es.js +60256 -60235
- package/dist/aloha-vue.umd.js +319 -319
- package/package.json +1 -1
- package/scss/components/ui/ACheckbox.scss +17 -17
- package/scss/components/ui/AInputFile.scss +15 -15
- package/scss/utils/border_radius.scss +61 -61
- package/src/AAlert/compositionAPI/IconAPI.js +28 -28
- package/src/ACloak/ACloak.js +135 -135
- package/src/ALoading/ALoading.js +146 -146
- package/src/AMenu/compositionAPI/ResizeAPI.js +1 -1
- package/src/AMenu/compositionAPI/__tests__/ResizeAPI.test.js +33 -0
- package/src/ASpinner/ASpinner.js +71 -71
- package/src/filters/i18n/ar.json +11 -11
- package/src/filters/i18n/de.json +11 -11
- package/src/filters/i18n/en.json +11 -11
- package/src/filters/i18n/es.json +11 -11
- package/src/filters/i18n/fr.json +11 -11
- package/src/filters/i18n/hr.json +10 -10
- package/src/filters/i18n/it.json +11 -11
- package/src/filters/i18n/nl.json +11 -11
- package/src/filters/i18n/pl.json +11 -11
- package/src/filters/i18n/ru.json +10 -10
- package/src/plugins/ACloakPlugin.js +26 -26
- package/src/plugins/AFormPlugin.js +18 -18
- package/src/plugins/AGroupButtonDropdownPlugin.js +26 -26
- package/src/plugins/AInputNumberPlugin.js +29 -29
- package/src/plugins/ALoadingPlugin.js +26 -26
- package/src/plugins/AModalPlugin.js +41 -41
- package/src/plugins/ARouterLinkConfigPlugin.js +88 -88
- package/src/plugins/ASpinnerPlugin.js +26 -26
- package/src/plugins/ATablePlugin.js +28 -28
- package/src/ui/ACheckbox/i18n/ar.json +5 -5
- package/src/ui/ACheckbox/i18n/de.json +5 -5
- package/src/ui/ACheckbox/i18n/en.json +5 -5
- package/src/ui/ACheckbox/i18n/es.json +5 -5
- package/src/ui/ACheckbox/i18n/fr.json +5 -5
- package/src/ui/ACheckbox/i18n/hr.json +5 -5
- package/src/ui/ACheckbox/i18n/it.json +5 -5
- package/src/ui/ACheckbox/i18n/nl.json +4 -4
- package/src/ui/ACheckbox/i18n/pl.json +4 -4
- package/src/ui/ACheckbox/i18n/ru.json +5 -5
- package/src/ui/AColorPicker/AColorPicker.js +15 -11
- package/src/ui/AColorPicker/__tests__/AColorPicker.test.js +41 -0
- package/src/ui/AColorPicker/compositionAPI/ClearAPI.js +23 -0
- package/src/ui/AColorPicker/compositionAPI/IdAPI.js +15 -0
- package/src/ui/ADatepicker/compositionAPI/PlaceholderAPI.js +32 -32
- package/src/ui/AMultiselectOrdered/compositionAPI/TextsAPI.js +55 -55
- package/src/ui/ASlider/__tests__/ASlider.Form.test.js +38 -0
- package/src/ui/AUiComponents.js +2 -0
- package/src/ui/__tests__/ReadonlyValueParentClass.test.js +217 -217
package/src/ALoading/ALoading.js
CHANGED
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
import {
|
|
2
|
-
h,
|
|
3
|
-
} from "vue";
|
|
4
|
-
|
|
5
|
-
import ATranslation from "../ATranslation/ATranslation";
|
|
6
|
-
|
|
7
|
-
import ClassAPI from "../ACloak/compositionAPI/ClassAPI";
|
|
8
|
-
|
|
9
|
-
import ASpinner from "../ASpinner/ASpinner.js";
|
|
10
|
-
import {
|
|
11
|
-
loadingPluginOptions,
|
|
12
|
-
} from "../plugins/ALoadingPlugin";
|
|
13
|
-
import {
|
|
14
|
-
spinnerPluginOptions,
|
|
15
|
-
} from "../plugins/ASpinnerPlugin";
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
name: "ALoading",
|
|
19
|
-
inheritAttrs: false,
|
|
20
|
-
props: {
|
|
21
|
-
align: {
|
|
22
|
-
type: String,
|
|
23
|
-
required: false,
|
|
24
|
-
default: () => loadingPluginOptions.value.propsDefault.align,
|
|
25
|
-
validator: value => ["left", "center", "right"].indexOf(value) !== -1,
|
|
26
|
-
},
|
|
27
|
-
alwaysTranslate: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
required: false,
|
|
30
|
-
},
|
|
31
|
-
extra: {
|
|
32
|
-
type: Object,
|
|
33
|
-
required: false,
|
|
34
|
-
default: () => loadingPluginOptions.value.propsDefault.extra,
|
|
35
|
-
},
|
|
36
|
-
isLoading: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
required: false,
|
|
39
|
-
default: undefined,
|
|
40
|
-
},
|
|
41
|
-
size: {
|
|
42
|
-
type: [String, Number],
|
|
43
|
-
required: false,
|
|
44
|
-
default: () => loadingPluginOptions.value.propsDefault.size,
|
|
45
|
-
validator: size => ["1", "2", "3", "4", "5", "6", "7"].indexOf(`${ size }`) !== -1,
|
|
46
|
-
},
|
|
47
|
-
spinnerClass: {
|
|
48
|
-
type: [String, Object],
|
|
49
|
-
required: false,
|
|
50
|
-
default: undefined,
|
|
51
|
-
},
|
|
52
|
-
spinnerSafeHtml: {
|
|
53
|
-
type: String,
|
|
54
|
-
required: false,
|
|
55
|
-
default: () => spinnerPluginOptions.value.propsDefault.safeHtml,
|
|
56
|
-
},
|
|
57
|
-
spinnerTag: {
|
|
58
|
-
type: String,
|
|
59
|
-
required: false,
|
|
60
|
-
default: () => spinnerPluginOptions.value.propsDefault.tag,
|
|
61
|
-
},
|
|
62
|
-
tag: {
|
|
63
|
-
type: String,
|
|
64
|
-
required: false,
|
|
65
|
-
default: () => loadingPluginOptions.value.propsDefault.tag,
|
|
66
|
-
},
|
|
67
|
-
text: {
|
|
68
|
-
type: String,
|
|
69
|
-
required: false,
|
|
70
|
-
default: () => loadingPluginOptions.value.propsDefault.text,
|
|
71
|
-
},
|
|
72
|
-
textAlign: {
|
|
73
|
-
type: String,
|
|
74
|
-
required: false,
|
|
75
|
-
default: () => loadingPluginOptions.value.propsDefault.textAlign,
|
|
76
|
-
validator: value => ["left", "right"].indexOf(value) !== -1,
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
setup(props) {
|
|
80
|
-
const {
|
|
81
|
-
classAlign,
|
|
82
|
-
classForBox,
|
|
83
|
-
classTextSize,
|
|
84
|
-
} = ClassAPI(props);
|
|
85
|
-
|
|
86
|
-
return {
|
|
87
|
-
classAlign,
|
|
88
|
-
classForBox,
|
|
89
|
-
classTextSize,
|
|
90
|
-
};
|
|
91
|
-
},
|
|
92
|
-
render() {
|
|
93
|
-
const IS_TEXT_LEFT = this.textAlign === "left";
|
|
94
|
-
|
|
95
|
-
const BOX_TEXT = h(ATranslation, {
|
|
96
|
-
alwaysTranslate: this.alwaysTranslate,
|
|
97
|
-
tag: "span",
|
|
98
|
-
class: [
|
|
99
|
-
"a_cloak__text",
|
|
100
|
-
IS_TEXT_LEFT ?
|
|
101
|
-
"a_cloak__text_left" :
|
|
102
|
-
"a_cloak__text_right",
|
|
103
|
-
this.classTextSize,
|
|
104
|
-
],
|
|
105
|
-
text: this.text,
|
|
106
|
-
extra: this.extra,
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
return [
|
|
110
|
-
this.$slots.default && this.$slots.default(),
|
|
111
|
-
this.isLoading && h(
|
|
112
|
-
this.tag,
|
|
113
|
-
{
|
|
114
|
-
...this.$attrs,
|
|
115
|
-
role: "status",
|
|
116
|
-
tabindex: -1,
|
|
117
|
-
class: ["a_loading", this.classAlign],
|
|
118
|
-
},
|
|
119
|
-
[
|
|
120
|
-
|
|
121
|
-
h("div", {
|
|
122
|
-
class: ["a_cloak__box", this.classForBox],
|
|
123
|
-
}, [
|
|
124
|
-
IS_TEXT_LEFT ?
|
|
125
|
-
BOX_TEXT :
|
|
126
|
-
"",
|
|
127
|
-
h(ASpinner, {
|
|
128
|
-
alwaysTranslate: this.alwaysTranslate,
|
|
129
|
-
class: [
|
|
130
|
-
"a_cloak__spinner",
|
|
131
|
-
this.spinnerClass,
|
|
132
|
-
],
|
|
133
|
-
"aria-hidden": "true",
|
|
134
|
-
safeHtml: this.spinnerSafeHtml,
|
|
135
|
-
size: this.size,
|
|
136
|
-
tag: this.spinnerTag,
|
|
137
|
-
}),
|
|
138
|
-
!IS_TEXT_LEFT ?
|
|
139
|
-
BOX_TEXT :
|
|
140
|
-
"",
|
|
141
|
-
]),
|
|
142
|
-
],
|
|
143
|
-
),
|
|
144
|
-
];
|
|
145
|
-
},
|
|
146
|
-
};
|
|
1
|
+
import {
|
|
2
|
+
h,
|
|
3
|
+
} from "vue";
|
|
4
|
+
|
|
5
|
+
import ATranslation from "../ATranslation/ATranslation";
|
|
6
|
+
|
|
7
|
+
import ClassAPI from "../ACloak/compositionAPI/ClassAPI";
|
|
8
|
+
|
|
9
|
+
import ASpinner from "../ASpinner/ASpinner.js";
|
|
10
|
+
import {
|
|
11
|
+
loadingPluginOptions,
|
|
12
|
+
} from "../plugins/ALoadingPlugin";
|
|
13
|
+
import {
|
|
14
|
+
spinnerPluginOptions,
|
|
15
|
+
} from "../plugins/ASpinnerPlugin";
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
name: "ALoading",
|
|
19
|
+
inheritAttrs: false,
|
|
20
|
+
props: {
|
|
21
|
+
align: {
|
|
22
|
+
type: String,
|
|
23
|
+
required: false,
|
|
24
|
+
default: () => loadingPluginOptions.value.propsDefault.align,
|
|
25
|
+
validator: value => ["left", "center", "right"].indexOf(value) !== -1,
|
|
26
|
+
},
|
|
27
|
+
alwaysTranslate: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
required: false,
|
|
30
|
+
},
|
|
31
|
+
extra: {
|
|
32
|
+
type: Object,
|
|
33
|
+
required: false,
|
|
34
|
+
default: () => loadingPluginOptions.value.propsDefault.extra,
|
|
35
|
+
},
|
|
36
|
+
isLoading: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
required: false,
|
|
39
|
+
default: undefined,
|
|
40
|
+
},
|
|
41
|
+
size: {
|
|
42
|
+
type: [String, Number],
|
|
43
|
+
required: false,
|
|
44
|
+
default: () => loadingPluginOptions.value.propsDefault.size,
|
|
45
|
+
validator: size => ["1", "2", "3", "4", "5", "6", "7"].indexOf(`${ size }`) !== -1,
|
|
46
|
+
},
|
|
47
|
+
spinnerClass: {
|
|
48
|
+
type: [String, Object],
|
|
49
|
+
required: false,
|
|
50
|
+
default: undefined,
|
|
51
|
+
},
|
|
52
|
+
spinnerSafeHtml: {
|
|
53
|
+
type: String,
|
|
54
|
+
required: false,
|
|
55
|
+
default: () => spinnerPluginOptions.value.propsDefault.safeHtml,
|
|
56
|
+
},
|
|
57
|
+
spinnerTag: {
|
|
58
|
+
type: String,
|
|
59
|
+
required: false,
|
|
60
|
+
default: () => spinnerPluginOptions.value.propsDefault.tag,
|
|
61
|
+
},
|
|
62
|
+
tag: {
|
|
63
|
+
type: String,
|
|
64
|
+
required: false,
|
|
65
|
+
default: () => loadingPluginOptions.value.propsDefault.tag,
|
|
66
|
+
},
|
|
67
|
+
text: {
|
|
68
|
+
type: String,
|
|
69
|
+
required: false,
|
|
70
|
+
default: () => loadingPluginOptions.value.propsDefault.text,
|
|
71
|
+
},
|
|
72
|
+
textAlign: {
|
|
73
|
+
type: String,
|
|
74
|
+
required: false,
|
|
75
|
+
default: () => loadingPluginOptions.value.propsDefault.textAlign,
|
|
76
|
+
validator: value => ["left", "right"].indexOf(value) !== -1,
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
setup(props) {
|
|
80
|
+
const {
|
|
81
|
+
classAlign,
|
|
82
|
+
classForBox,
|
|
83
|
+
classTextSize,
|
|
84
|
+
} = ClassAPI(props);
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
classAlign,
|
|
88
|
+
classForBox,
|
|
89
|
+
classTextSize,
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
render() {
|
|
93
|
+
const IS_TEXT_LEFT = this.textAlign === "left";
|
|
94
|
+
|
|
95
|
+
const BOX_TEXT = h(ATranslation, {
|
|
96
|
+
alwaysTranslate: this.alwaysTranslate,
|
|
97
|
+
tag: "span",
|
|
98
|
+
class: [
|
|
99
|
+
"a_cloak__text",
|
|
100
|
+
IS_TEXT_LEFT ?
|
|
101
|
+
"a_cloak__text_left" :
|
|
102
|
+
"a_cloak__text_right",
|
|
103
|
+
this.classTextSize,
|
|
104
|
+
],
|
|
105
|
+
text: this.text,
|
|
106
|
+
extra: this.extra,
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
return [
|
|
110
|
+
this.$slots.default && this.$slots.default(),
|
|
111
|
+
this.isLoading && h(
|
|
112
|
+
this.tag,
|
|
113
|
+
{
|
|
114
|
+
...this.$attrs,
|
|
115
|
+
role: "status",
|
|
116
|
+
tabindex: -1,
|
|
117
|
+
class: ["a_loading", this.classAlign],
|
|
118
|
+
},
|
|
119
|
+
[
|
|
120
|
+
|
|
121
|
+
h("div", {
|
|
122
|
+
class: ["a_cloak__box", this.classForBox],
|
|
123
|
+
}, [
|
|
124
|
+
IS_TEXT_LEFT ?
|
|
125
|
+
BOX_TEXT :
|
|
126
|
+
"",
|
|
127
|
+
h(ASpinner, {
|
|
128
|
+
alwaysTranslate: this.alwaysTranslate,
|
|
129
|
+
class: [
|
|
130
|
+
"a_cloak__spinner",
|
|
131
|
+
this.spinnerClass,
|
|
132
|
+
],
|
|
133
|
+
"aria-hidden": "true",
|
|
134
|
+
safeHtml: this.spinnerSafeHtml,
|
|
135
|
+
size: this.size,
|
|
136
|
+
tag: this.spinnerTag,
|
|
137
|
+
}),
|
|
138
|
+
!IS_TEXT_LEFT ?
|
|
139
|
+
BOX_TEXT :
|
|
140
|
+
"",
|
|
141
|
+
]),
|
|
142
|
+
],
|
|
143
|
+
),
|
|
144
|
+
];
|
|
145
|
+
},
|
|
146
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
reactive,
|
|
3
|
+
} from "vue";
|
|
4
|
+
import {
|
|
5
|
+
describe,
|
|
6
|
+
expect,
|
|
7
|
+
it,
|
|
8
|
+
vi,
|
|
9
|
+
} from "vitest";
|
|
10
|
+
|
|
11
|
+
import ResizeAPI from "../ResizeAPI";
|
|
12
|
+
|
|
13
|
+
import EventBus from "../../../utils/EventBus";
|
|
14
|
+
|
|
15
|
+
describe("ResizeAPI", () => {
|
|
16
|
+
it("removes the resize listener on destroy", () => {
|
|
17
|
+
const toggleMenu = vi.fn();
|
|
18
|
+
const {
|
|
19
|
+
destroyEventBusUpdateViewOnResize,
|
|
20
|
+
initEventBusUpdateViewOnResize,
|
|
21
|
+
} = ResizeAPI(reactive({ isMenuOpenInitial: true, onlyMobile: false }), {
|
|
22
|
+
toggleMenu,
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
initEventBusUpdateViewOnResize();
|
|
26
|
+
EventBus.$emit("updateViewOnResize", false);
|
|
27
|
+
expect(toggleMenu).toHaveBeenCalledTimes(1);
|
|
28
|
+
|
|
29
|
+
destroyEventBusUpdateViewOnResize();
|
|
30
|
+
EventBus.$emit("updateViewOnResize", false);
|
|
31
|
+
expect(toggleMenu).toHaveBeenCalledTimes(1);
|
|
32
|
+
});
|
|
33
|
+
});
|
package/src/ASpinner/ASpinner.js
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import {
|
|
2
|
-
h,
|
|
3
|
-
} from "vue";
|
|
4
|
-
|
|
5
|
-
import AriaLabelAPI from "../ATranslation/compositionAPI/AriaLabelAPI";
|
|
6
|
-
import ClassAPI from "./compositionAPI/ClassAPI";
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
spinnerPluginOptions,
|
|
10
|
-
} from "../plugins/ASpinnerPlugin";
|
|
11
|
-
|
|
12
|
-
export default {
|
|
13
|
-
name: "ASpinner",
|
|
14
|
-
props: {
|
|
15
|
-
alwaysTranslate: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
required: false,
|
|
18
|
-
},
|
|
19
|
-
ariaLabel: {
|
|
20
|
-
type: [String, Number, Object],
|
|
21
|
-
required: false,
|
|
22
|
-
default: () => spinnerPluginOptions.value.propsDefault.ariaLabel,
|
|
23
|
-
},
|
|
24
|
-
extra: {
|
|
25
|
-
type: Object,
|
|
26
|
-
required: false,
|
|
27
|
-
default: () => spinnerPluginOptions.value.propsDefault.extra,
|
|
28
|
-
},
|
|
29
|
-
safeHtml: {
|
|
30
|
-
type: String,
|
|
31
|
-
required: false,
|
|
32
|
-
default: () => spinnerPluginOptions.value.propsDefault.safeHtml,
|
|
33
|
-
},
|
|
34
|
-
size: {
|
|
35
|
-
type: [String, Number],
|
|
36
|
-
required: false,
|
|
37
|
-
default: () => spinnerPluginOptions.value.propsDefault.size,
|
|
38
|
-
validator: size => ["1", "2", "3", "4", "5", "6", "7"].indexOf(`${ size }`) !== -1,
|
|
39
|
-
},
|
|
40
|
-
tag: {
|
|
41
|
-
type: String,
|
|
42
|
-
required: false,
|
|
43
|
-
default: () => spinnerPluginOptions.value.propsDefault.tag,
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
setup(props) {
|
|
47
|
-
const {
|
|
48
|
-
ariaLabelAttributes,
|
|
49
|
-
} = AriaLabelAPI(props);
|
|
50
|
-
|
|
51
|
-
const {
|
|
52
|
-
classSize,
|
|
53
|
-
} = ClassAPI(props);
|
|
54
|
-
|
|
55
|
-
return {
|
|
56
|
-
ariaLabelAttributes,
|
|
57
|
-
classSize,
|
|
58
|
-
};
|
|
59
|
-
},
|
|
60
|
-
render() {
|
|
61
|
-
return h(this.tag, {
|
|
62
|
-
class: [
|
|
63
|
-
spinnerPluginOptions.value.propsDefault.class,
|
|
64
|
-
this.classSize,
|
|
65
|
-
],
|
|
66
|
-
role: "status",
|
|
67
|
-
innerHTML: this.safeHtml,
|
|
68
|
-
...this.ariaLabelAttributes,
|
|
69
|
-
});
|
|
70
|
-
},
|
|
71
|
-
};
|
|
1
|
+
import {
|
|
2
|
+
h,
|
|
3
|
+
} from "vue";
|
|
4
|
+
|
|
5
|
+
import AriaLabelAPI from "../ATranslation/compositionAPI/AriaLabelAPI";
|
|
6
|
+
import ClassAPI from "./compositionAPI/ClassAPI";
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
spinnerPluginOptions,
|
|
10
|
+
} from "../plugins/ASpinnerPlugin";
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: "ASpinner",
|
|
14
|
+
props: {
|
|
15
|
+
alwaysTranslate: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
required: false,
|
|
18
|
+
},
|
|
19
|
+
ariaLabel: {
|
|
20
|
+
type: [String, Number, Object],
|
|
21
|
+
required: false,
|
|
22
|
+
default: () => spinnerPluginOptions.value.propsDefault.ariaLabel,
|
|
23
|
+
},
|
|
24
|
+
extra: {
|
|
25
|
+
type: Object,
|
|
26
|
+
required: false,
|
|
27
|
+
default: () => spinnerPluginOptions.value.propsDefault.extra,
|
|
28
|
+
},
|
|
29
|
+
safeHtml: {
|
|
30
|
+
type: String,
|
|
31
|
+
required: false,
|
|
32
|
+
default: () => spinnerPluginOptions.value.propsDefault.safeHtml,
|
|
33
|
+
},
|
|
34
|
+
size: {
|
|
35
|
+
type: [String, Number],
|
|
36
|
+
required: false,
|
|
37
|
+
default: () => spinnerPluginOptions.value.propsDefault.size,
|
|
38
|
+
validator: size => ["1", "2", "3", "4", "5", "6", "7"].indexOf(`${ size }`) !== -1,
|
|
39
|
+
},
|
|
40
|
+
tag: {
|
|
41
|
+
type: String,
|
|
42
|
+
required: false,
|
|
43
|
+
default: () => spinnerPluginOptions.value.propsDefault.tag,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
setup(props) {
|
|
47
|
+
const {
|
|
48
|
+
ariaLabelAttributes,
|
|
49
|
+
} = AriaLabelAPI(props);
|
|
50
|
+
|
|
51
|
+
const {
|
|
52
|
+
classSize,
|
|
53
|
+
} = ClassAPI(props);
|
|
54
|
+
|
|
55
|
+
return {
|
|
56
|
+
ariaLabelAttributes,
|
|
57
|
+
classSize,
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
render() {
|
|
61
|
+
return h(this.tag, {
|
|
62
|
+
class: [
|
|
63
|
+
spinnerPluginOptions.value.propsDefault.class,
|
|
64
|
+
this.classSize,
|
|
65
|
+
],
|
|
66
|
+
role: "status",
|
|
67
|
+
innerHTML: this.safeHtml,
|
|
68
|
+
...this.ariaLabelAttributes,
|
|
69
|
+
});
|
|
70
|
+
},
|
|
71
|
+
};
|
package/src/filters/i18n/ar.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
-
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
-
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
-
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
-
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
-
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
-
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
-
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
-
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
+
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
+
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
+
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
+
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
+
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
+
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
+
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
+
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
+
}
|
package/src/filters/i18n/de.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
-
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
-
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
-
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
-
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
-
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
-
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
-
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
-
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
+
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
+
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
+
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
+
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
+
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
+
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
+
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
+
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
+
}
|
package/src/filters/i18n/en.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
-
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
-
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
-
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
-
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
-
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
-
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
-
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
-
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
+
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
+
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
+
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
+
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
+
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
+
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
+
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
+
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
+
}
|
package/src/filters/i18n/es.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
-
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
-
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
-
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
-
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
-
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
-
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
-
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
-
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
+
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
+
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
+
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
+
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
+
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
+
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
+
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
+
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
+
}
|
package/src/filters/i18n/fr.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
-
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
-
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
-
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
-
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
-
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
-
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
-
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
-
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
+
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
+
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
+
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
+
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
+
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
+
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
+
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
+
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
+
}
|
package/src/filters/i18n/hr.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_A_FILE_SIZE_B_": "B",
|
|
3
|
-
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
-
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
-
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
-
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
-
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
-
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
-
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
-
"_A_FILE_SIZE_YB_": "YB"
|
|
1
|
+
{
|
|
2
|
+
"_A_FILE_SIZE_B_": "B",
|
|
3
|
+
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
+
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
+
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
+
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
+
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
+
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
+
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
+
"_A_FILE_SIZE_YB_": "YB"
|
|
11
11
|
}
|
package/src/filters/i18n/it.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
-
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
-
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
-
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
-
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
-
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
-
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
-
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
-
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
+
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
+
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
+
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
+
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
+
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
+
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
+
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
+
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
+
}
|
package/src/filters/i18n/nl.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
-
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
-
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
-
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
-
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
-
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
-
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
-
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
-
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_A_FILE_SIZE_B_": "Bytes",
|
|
3
|
+
"_A_FILE_SIZE_KB_": "KB",
|
|
4
|
+
"_A_FILE_SIZE_MB_": "MB",
|
|
5
|
+
"_A_FILE_SIZE_GB_": "GB",
|
|
6
|
+
"_A_FILE_SIZE_TB_": "TB",
|
|
7
|
+
"_A_FILE_SIZE_PB_": "PB",
|
|
8
|
+
"_A_FILE_SIZE_EB_": "EB",
|
|
9
|
+
"_A_FILE_SIZE_ZB_": "ZB",
|
|
10
|
+
"_A_FILE_SIZE_YB_": "YB"
|
|
11
|
+
}
|