@semcore/notice-bubble 5.54.0 → 5.54.1-prerelease.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 +6 -0
- package/lib/cjs/NoticeBubble.js +18 -16
- package/lib/cjs/NoticeBubble.js.map +1 -1
- package/lib/es6/NoticeBubble.js +18 -16
- package/lib/es6/NoticeBubble.js.map +1 -1
- package/lib/esm/NoticeBubble.mjs +304 -232
- package/lib/esm/NoticeBubbleManager.mjs +89 -58
- package/lib/esm/index.mjs +9 -9
- package/lib/esm/style/notice-bubble.shadow.css +107 -0
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
- package/lib/esm/translations/de.json.mjs +8 -6
- package/lib/esm/translations/en.json.mjs +8 -6
- package/lib/esm/translations/es.json.mjs +8 -6
- package/lib/esm/translations/fr.json.mjs +8 -6
- package/lib/esm/translations/it.json.mjs +8 -6
- package/lib/esm/translations/ja.json.mjs +8 -6
- package/lib/esm/translations/ko.json.mjs +8 -6
- package/lib/esm/translations/nl.json.mjs +8 -6
- package/lib/esm/translations/pl.json.mjs +8 -6
- package/lib/esm/translations/pt.json.mjs +8 -6
- package/lib/esm/translations/sv.json.mjs +8 -6
- package/lib/esm/translations/tr.json.mjs +8 -6
- package/lib/esm/translations/vi.json.mjs +8 -6
- package/lib/esm/translations/zh.json.mjs +8 -6
- package/lib/esm/utils.mjs +27 -15
- package/package.json +9 -9
|
@@ -1,91 +1,122 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { callAllEventHandlers
|
|
7
|
-
import { setFocus
|
|
8
|
-
import
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
5
|
+
import EventEmitter from "@semcore/utils/lib/eventEmitter";
|
|
6
|
+
import { callAllEventHandlers } from "@semcore/utils/lib/assignProps";
|
|
7
|
+
import { setFocus } from "@semcore/utils/lib/use/useFocusLock";
|
|
8
|
+
import React from "react";
|
|
9
|
+
var EVENT_NAME = "CHANGE";
|
|
10
|
+
var NoticeBubbleManager = /* @__PURE__ */ function() {
|
|
11
|
+
function NoticeBubbleManager2() {
|
|
12
|
+
_classCallCheck(this, NoticeBubbleManager2);
|
|
13
|
+
_defineProperty(this, "items", []);
|
|
14
|
+
_defineProperty(this, "emitter", null);
|
|
15
|
+
_defineProperty(this, "counter", 0);
|
|
16
|
+
_defineProperty(this, "replaceTimer", 0);
|
|
17
|
+
this.emitter = new EventEmitter();
|
|
12
18
|
}
|
|
13
|
-
|
|
19
|
+
_createClass(NoticeBubbleManager2, [{
|
|
14
20
|
key: "addListener",
|
|
15
|
-
value: function(
|
|
16
|
-
return this.emitter.subscribe(
|
|
21
|
+
value: function addListener(fn) {
|
|
22
|
+
return this.emitter.subscribe(EVENT_NAME, fn);
|
|
17
23
|
}
|
|
18
24
|
}, {
|
|
19
25
|
key: "createItem",
|
|
20
|
-
value: function(
|
|
21
|
-
var
|
|
22
|
-
return
|
|
26
|
+
value: function createItem(props) {
|
|
27
|
+
var manager = this;
|
|
28
|
+
return _objectSpread(_objectSpread({
|
|
23
29
|
type: "info"
|
|
24
|
-
},
|
|
25
|
-
onClose:
|
|
26
|
-
|
|
30
|
+
}, props), {}, {
|
|
31
|
+
onClose: callAllEventHandlers(props.onClose, function() {
|
|
32
|
+
manager.remove(props.uid);
|
|
27
33
|
})
|
|
28
34
|
});
|
|
29
35
|
}
|
|
30
36
|
}, {
|
|
31
37
|
key: "emit",
|
|
32
|
-
value: function() {
|
|
33
|
-
this.emitter.emit(
|
|
38
|
+
value: function emit() {
|
|
39
|
+
this.emitter.emit(EVENT_NAME, this.items);
|
|
34
40
|
}
|
|
35
41
|
}, {
|
|
36
42
|
key: "add",
|
|
37
|
-
value: function(
|
|
38
|
-
var
|
|
43
|
+
value: function add(props) {
|
|
44
|
+
var uid = this.counter++;
|
|
45
|
+
var ref = /* @__PURE__ */ React.createRef();
|
|
46
|
+
var focus = function focus2() {
|
|
39
47
|
return setTimeout(function() {
|
|
40
|
-
return
|
|
48
|
+
return setFocus(ref.current);
|
|
41
49
|
}, 0);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
};
|
|
51
|
+
var item = this.createItem(_objectSpread({
|
|
52
|
+
uid,
|
|
53
|
+
visible: props.initialAnimation ? true : void 0,
|
|
54
|
+
forwardRef: ref
|
|
55
|
+
}, props));
|
|
56
|
+
this.items.push(item);
|
|
57
|
+
this.emit();
|
|
58
|
+
return {
|
|
59
|
+
uid,
|
|
60
|
+
update: this.update.bind(this, uid),
|
|
61
|
+
remove: this.remove.bind(this, uid),
|
|
62
|
+
ref,
|
|
52
63
|
// todo Brauer Ilia: remove this property, because we added logic about autofocus in Notice
|
|
53
|
-
focus
|
|
64
|
+
focus
|
|
54
65
|
};
|
|
55
66
|
}
|
|
56
67
|
}, {
|
|
57
68
|
key: "update",
|
|
58
|
-
value: function(
|
|
59
|
-
var
|
|
60
|
-
return
|
|
69
|
+
value: function update(uid, props) {
|
|
70
|
+
var index = this.items.findIndex(function(item) {
|
|
71
|
+
return item.uid === uid;
|
|
61
72
|
});
|
|
62
|
-
|
|
73
|
+
if (index !== -1) {
|
|
74
|
+
this.items[index] = this.createItem(_objectSpread(_objectSpread({}, this.items[index]), props));
|
|
75
|
+
this.emit();
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
return false;
|
|
63
79
|
}
|
|
64
80
|
}, {
|
|
65
81
|
key: "replaceLast",
|
|
66
|
-
value: function(
|
|
67
|
-
var
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
82
|
+
value: function replaceLast(props) {
|
|
83
|
+
var _this = this;
|
|
84
|
+
if (this.replaceTimer) {
|
|
85
|
+
clearTimeout(this.replaceTimer);
|
|
86
|
+
}
|
|
87
|
+
var item = this.items[this.items.length - 1];
|
|
88
|
+
if (item !== null && item !== void 0 && item.visible) {
|
|
89
|
+
this.remove(this.counter - 1);
|
|
90
|
+
}
|
|
91
|
+
this.replaceTimer = setTimeout(function() {
|
|
92
|
+
_this.add(props);
|
|
72
93
|
}, 300);
|
|
73
94
|
}
|
|
74
95
|
}, {
|
|
75
96
|
key: "remove",
|
|
76
|
-
value: function(
|
|
77
|
-
var
|
|
78
|
-
|
|
97
|
+
value: function remove(uid) {
|
|
98
|
+
var _this2 = this;
|
|
99
|
+
var item = this.items.find(function(item2) {
|
|
100
|
+
return item2.uid === uid;
|
|
79
101
|
});
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
102
|
+
if (item) {
|
|
103
|
+
item.visible = false;
|
|
104
|
+
setTimeout(function() {
|
|
105
|
+
_this2.items = _this2.items.filter(function(item2) {
|
|
106
|
+
return item2.uid !== uid;
|
|
107
|
+
});
|
|
108
|
+
_this2.emit();
|
|
109
|
+
}, 1e3);
|
|
110
|
+
this.emit();
|
|
111
|
+
return true;
|
|
112
|
+
}
|
|
113
|
+
return false;
|
|
85
114
|
}
|
|
86
|
-
}])
|
|
87
|
-
|
|
115
|
+
}]);
|
|
116
|
+
return NoticeBubbleManager2;
|
|
117
|
+
}();
|
|
118
|
+
var noticeBubbleDefaultManager = new NoticeBubbleManager();
|
|
88
119
|
export {
|
|
89
|
-
|
|
90
|
-
|
|
120
|
+
NoticeBubbleManager,
|
|
121
|
+
noticeBubbleDefaultManager as default
|
|
91
122
|
};
|
package/lib/esm/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { NoticeBubble
|
|
2
|
-
import
|
|
3
|
-
import { NoticeBubbleManager
|
|
1
|
+
import { NoticeBubble, default as default2, NoticeBubbleWarning } from "./NoticeBubble.mjs";
|
|
2
|
+
import noticeBubbleDefaultManager from "./NoticeBubbleManager.mjs";
|
|
3
|
+
import { NoticeBubbleManager } from "./NoticeBubbleManager.mjs";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
NoticeBubble,
|
|
6
|
+
default2 as NoticeBubbleContainer,
|
|
7
|
+
NoticeBubbleManager,
|
|
8
|
+
NoticeBubbleWarning,
|
|
9
|
+
noticeBubbleDefaultManager as default,
|
|
10
|
+
noticeBubbleDefaultManager
|
|
11
11
|
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
SBubble,
|
|
2
|
+
SView {
|
|
3
|
+
position: relative;
|
|
4
|
+
margin-bottom: var(--intergalactic-spacing-3x, 12px);
|
|
5
|
+
padding: var(--intergalactic-spacing-3x, 12px);
|
|
6
|
+
padding-right: calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-1x, 4px));
|
|
7
|
+
width: 100%;
|
|
8
|
+
border-radius: var(--intergalactic-popper-rounded, 6px);
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
color: var(--intergalactic-text-primary-invert, #ffffff);
|
|
12
|
+
gap: var(--intergalactic-spacing-2x, 8px);
|
|
13
|
+
|
|
14
|
+
&[type='info'] {
|
|
15
|
+
background: var(--intergalactic-bg-primary-invert, #191b23);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[type='warning'] {
|
|
19
|
+
background: var(--intergalactic-bg-primary-critical, #ff4953);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
SContent {
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
gap: var(--intergalactic-spacing-2x, 8px);
|
|
26
|
+
flex: 1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
SMessage {
|
|
30
|
+
font-size: var(--intergalactic-fs-200, 14px);
|
|
31
|
+
line-height: var(--intergalactic-lh-200, 142%);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
SDismiss {
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
position: absolute;
|
|
37
|
+
right: 0;
|
|
38
|
+
top: 0;
|
|
39
|
+
margin-top: var(--intergalactic-spacing-2x, 8px);
|
|
40
|
+
margin-right: var(--intergalactic-spacing-2x, 8px);
|
|
41
|
+
margin-bottom: var(--intergalactic-spacing-2x, 8px);
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
border: 0;
|
|
44
|
+
background: transparent;
|
|
45
|
+
}
|
|
46
|
+
SDismiss[use] {
|
|
47
|
+
/* height: auto; */
|
|
48
|
+
padding: 0 1px;
|
|
49
|
+
}
|
|
50
|
+
SIcon {
|
|
51
|
+
justify-content: center;
|
|
52
|
+
align-items: center;
|
|
53
|
+
height: var(--intergalactic-spacing-5x, 20px);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
SNoticeBubble {
|
|
57
|
+
width: 300px;
|
|
58
|
+
position: fixed;
|
|
59
|
+
right: var(--intergalactic-spacing-3x, 12px);
|
|
60
|
+
top: var(--intergalactic-spacing-3x, 12px);
|
|
61
|
+
|
|
62
|
+
@media (max-width: 767px) {
|
|
63
|
+
width: calc(100% - var(--intergalactic-spacing-6x, 24px));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
SNoticeBubble[disablePortal] {
|
|
68
|
+
position: sticky;
|
|
69
|
+
margin-left: auto;
|
|
70
|
+
height: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
SMessage a {
|
|
74
|
+
color: var(--intergalactic-text-link-invert, #8ecdff);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
SNoticeAriaLiveWrapper {
|
|
78
|
+
display: contents;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@keyframes enter {
|
|
82
|
+
from {
|
|
83
|
+
transform: translate(100%, 0);
|
|
84
|
+
max-height: 0;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
to {
|
|
89
|
+
transform: translate(0, 0);
|
|
90
|
+
max-height: 100vh;
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes exit {
|
|
96
|
+
from {
|
|
97
|
+
max-height: 100vh;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
opacity: 1;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
to {
|
|
103
|
+
max-height: 0;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
opacity: 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
var
|
|
16
|
-
de
|
|
17
|
-
en
|
|
18
|
-
es
|
|
19
|
-
fr
|
|
20
|
-
it
|
|
21
|
-
ja
|
|
22
|
-
ko
|
|
23
|
-
nl
|
|
24
|
-
pt
|
|
25
|
-
tr
|
|
26
|
-
vi
|
|
27
|
-
zh
|
|
28
|
-
pl
|
|
29
|
-
sv
|
|
1
|
+
import de from "./de.json.mjs";
|
|
2
|
+
import en from "./en.json.mjs";
|
|
3
|
+
import es from "./es.json.mjs";
|
|
4
|
+
import fr from "./fr.json.mjs";
|
|
5
|
+
import it from "./it.json.mjs";
|
|
6
|
+
import ja from "./ja.json.mjs";
|
|
7
|
+
import ko from "./ko.json.mjs";
|
|
8
|
+
import nl from "./nl.json.mjs";
|
|
9
|
+
import pt from "./pt.json.mjs";
|
|
10
|
+
import tr from "./tr.json.mjs";
|
|
11
|
+
import vi from "./vi.json.mjs";
|
|
12
|
+
import zh from "./zh.json.mjs";
|
|
13
|
+
import pl from "./pl.json.mjs";
|
|
14
|
+
import sv from "./sv.json.mjs";
|
|
15
|
+
var localizedMessages = {
|
|
16
|
+
de,
|
|
17
|
+
en,
|
|
18
|
+
es,
|
|
19
|
+
fr,
|
|
20
|
+
it,
|
|
21
|
+
ja,
|
|
22
|
+
ko,
|
|
23
|
+
nl,
|
|
24
|
+
pt,
|
|
25
|
+
tr,
|
|
26
|
+
vi,
|
|
27
|
+
zh,
|
|
28
|
+
pl,
|
|
29
|
+
sv
|
|
30
30
|
};
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
localizedMessages
|
|
33
33
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Schließen";
|
|
2
|
+
const notification = "Benachrichtigungen";
|
|
3
|
+
const de = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
de as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Close";
|
|
2
|
+
const notification = "Notifications";
|
|
3
|
+
const en = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
en as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Cerrar";
|
|
2
|
+
const notification = "Notificaciones";
|
|
3
|
+
const es = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
es as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Fermer";
|
|
2
|
+
const notification = "Notifications";
|
|
3
|
+
const fr = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
fr as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Chiudi";
|
|
2
|
+
const notification = "Notifiche";
|
|
3
|
+
const it = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
it as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "閉じる";
|
|
2
|
+
const notification = "通知";
|
|
3
|
+
const ja = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
ja as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "닫기";
|
|
2
|
+
const notification = "알림";
|
|
3
|
+
const ko = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
ko as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Sluiten";
|
|
2
|
+
const notification = "Meldingen";
|
|
3
|
+
const nl = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
nl as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Zamknij";
|
|
2
|
+
const notification = "Powiadomienia";
|
|
3
|
+
const pl = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
pl as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Fechar";
|
|
2
|
+
const notification = "Notificações";
|
|
3
|
+
const pt = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
pt as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Stäng";
|
|
2
|
+
const notification = "Aviseringar";
|
|
3
|
+
const sv = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
sv as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Kapat";
|
|
2
|
+
const notification = "Bildirimler";
|
|
3
|
+
const tr = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
tr as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "Đóng";
|
|
2
|
+
const notification = "Thông báo";
|
|
3
|
+
const vi = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
vi as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const close = "关闭";
|
|
2
|
+
const notification = "通知";
|
|
3
|
+
const zh = {
|
|
4
|
+
close,
|
|
5
|
+
notification
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
close,
|
|
9
|
+
zh as default,
|
|
10
|
+
notification
|
|
9
11
|
};
|