@dialpad/dialtone 9.139.0 → 9.139.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/dist/tokens/doc.json +48827 -48827
- package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.js +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs.map +1 -1
- package/dist/vue2/lib/pagination/pagination.js +6 -3
- package/dist/vue2/lib/pagination/pagination.js.map +1 -1
- package/dist/vue2/lib/tooltip/tooltip.cjs +1 -1
- package/dist/vue2/lib/tooltip/tooltip.cjs.map +1 -1
- package/dist/vue2/lib/tooltip/tooltip.js +1 -1
- package/dist/vue2/lib/tooltip/tooltip.js.map +1 -1
- package/dist/vue2/lib/tooltip-directive/tooltip.cjs +1 -1
- package/dist/vue2/lib/tooltip-directive/tooltip.cjs.map +1 -1
- package/dist/vue2/lib/tooltip-directive/tooltip.js +19 -14
- package/dist/vue2/lib/tooltip-directive/tooltip.js.map +1 -1
- package/dist/vue2/localization/ja-JP.cjs +2 -0
- package/dist/vue2/localization/ja-JP.cjs.map +1 -1
- package/dist/vue2/localization/ja-JP.js +2 -0
- package/dist/vue2/localization/ja-JP.js.map +1 -1
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue2/types/directives/tooltip_directive/tooltip.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.js +5 -4
- package/dist/vue3/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue3/lib/pagination/pagination.cjs +1 -1
- package/dist/vue3/lib/pagination/pagination.cjs.map +1 -1
- package/dist/vue3/lib/pagination/pagination.js +37 -32
- package/dist/vue3/lib/pagination/pagination.js.map +1 -1
- package/dist/vue3/lib/tooltip/tooltip.cjs +1 -1
- package/dist/vue3/lib/tooltip/tooltip.cjs.map +1 -1
- package/dist/vue3/lib/tooltip/tooltip.js +1 -1
- package/dist/vue3/lib/tooltip/tooltip.js.map +1 -1
- package/dist/vue3/lib/tooltip-directive/tooltip.cjs +1 -1
- package/dist/vue3/lib/tooltip-directive/tooltip.cjs.map +1 -1
- package/dist/vue3/lib/tooltip-directive/tooltip.js +19 -14
- package/dist/vue3/lib/tooltip-directive/tooltip.js.map +1 -1
- package/dist/vue3/localization/ja-JP.cjs +2 -0
- package/dist/vue3/localization/ja-JP.cjs.map +1 -1
- package/dist/vue3/localization/ja-JP.js +2 -0
- package/dist/vue3/localization/ja-JP.js.map +1 -1
- package/dist/vue3/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/vue3/types/directives/tooltip_directive/tooltip.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { getUniqueString as
|
|
1
|
+
import { getUniqueString as u } from "../../common/utils/index.js";
|
|
2
2
|
import n from "../tooltip/tooltip.js";
|
|
3
|
-
import { TOOLTIP_DIRECTIONS as
|
|
3
|
+
import { TOOLTIP_DIRECTIONS as c } from "../tooltip/tooltip-constants.js";
|
|
4
4
|
const T = {
|
|
5
5
|
name: "dt-tooltip-directive",
|
|
6
6
|
install(r) {
|
|
7
|
-
const
|
|
8
|
-
document.body.appendChild(
|
|
9
|
-
const
|
|
7
|
+
const d = document.createElement("div");
|
|
8
|
+
document.body.appendChild(d);
|
|
9
|
+
const s = "top", a = new r({
|
|
10
10
|
name: "DtTooltipDirectiveApp",
|
|
11
11
|
components: { DtTooltip: n },
|
|
12
12
|
data() {
|
|
@@ -46,32 +46,37 @@ const T = {
|
|
|
46
46
|
);
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
a.$mount(
|
|
49
|
+
a.$mount(d), r.directive("dt-tooltip", {
|
|
50
50
|
bind(e, t) {
|
|
51
|
-
|
|
51
|
+
p(e, t);
|
|
52
52
|
},
|
|
53
53
|
update(e, t) {
|
|
54
|
-
t.value !== t.oldValue &&
|
|
54
|
+
t.value !== t.oldValue && p(e, t);
|
|
55
55
|
},
|
|
56
56
|
unbind(e) {
|
|
57
57
|
a.removeTooltip(e.getAttribute("data-dt-tooltip-id"));
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
|
-
function
|
|
61
|
-
|
|
60
|
+
function p(e, t) {
|
|
61
|
+
if (t.value === null || t.value === void 0) {
|
|
62
|
+
const l = e.getAttribute("data-dt-tooltip-id");
|
|
63
|
+
l && a.removeTooltip(l);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const o = e.getAttribute("data-dt-tooltip-id") || u();
|
|
62
67
|
let i;
|
|
63
68
|
if (typeof t.value == "string")
|
|
64
69
|
i = {
|
|
65
70
|
message: t.value,
|
|
66
|
-
placement: t.arg ||
|
|
71
|
+
placement: t.arg || s
|
|
67
72
|
};
|
|
68
73
|
else if (typeof t.value == "object" && t.value !== null)
|
|
69
74
|
i = {
|
|
70
|
-
placement: t.arg || t.value.placement ||
|
|
75
|
+
placement: t.arg || t.value.placement || s,
|
|
71
76
|
...t.value
|
|
72
77
|
};
|
|
73
78
|
else {
|
|
74
|
-
console.error("DtTooltipDirective: binding value must be
|
|
79
|
+
console.error("DtTooltipDirective: binding value must be string, object, null or undefined");
|
|
75
80
|
return;
|
|
76
81
|
}
|
|
77
82
|
Object.keys(t.modifiers).forEach((l) => {
|
|
@@ -86,7 +91,7 @@ const T = {
|
|
|
86
91
|
i.transition = !1;
|
|
87
92
|
break;
|
|
88
93
|
default:
|
|
89
|
-
|
|
94
|
+
c.includes(l) && (i.placement = l);
|
|
90
95
|
break;
|
|
91
96
|
}
|
|
92
97
|
}), e.setAttribute("data-dt-tooltip-id", o), a.addOrUpdateTooltip(o, i);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sources":["../../../directives/tooltip_directive/tooltip.js"],"sourcesContent":["import { DtTooltip, TOOLTIP_DIRECTIONS } from '@/components/tooltip';\nimport { getUniqueString } from '@/common/utils';\n\nexport const DtTooltipDirective = {\n name: 'dt-tooltip-directive',\n install (Vue) {\n const mountPoint = document.createElement('div');\n document.body.appendChild(mountPoint);\n\n const DEFAULT_PLACEMENT = 'top';\n const DtTooltipDirectiveApp = new Vue({\n name: 'DtTooltipDirectiveApp',\n components: { DtTooltip },\n data () {\n return {\n tooltips: [],\n };\n },\n\n methods: {\n addOrUpdateTooltip (id, tooltipConfig) {\n const index = this.tooltips.findIndex(tooltip => tooltip.id === id);\n if (index !== -1) {\n // Update existing tooltip\n this.tooltips.splice(index, 1, { id, ...tooltipConfig });\n } else {\n // Add new tooltip\n this.tooltips.push({ id, ...tooltipConfig });\n }\n },\n\n removeTooltip (id) {\n this.tooltips = this.tooltips.filter(tooltip => tooltip.id !== id);\n },\n },\n\n render (h) {\n return h('div',\n {\n domProps: { id: 'dt-tooltip-directive-app' },\n },\n [\n this.tooltips.map(({ id, ...tooltipProps }) => {\n return h(DtTooltip, {\n key: id,\n props: {\n ...tooltipProps,\n sticky: tooltipProps.sticky !== undefined ? tooltipProps.sticky : true,\n /**\n * Set the delay to false when running tests only.\n */\n delay: tooltipProps.delay !== undefined ? tooltipProps.delay : (process.env.NODE_ENV !== 'test'),\n externalAnchor: `[data-dt-tooltip-id=\"${id}\"]`,\n },\n });\n }),\n ],\n );\n },\n });\n\n DtTooltipDirectiveApp.$mount(mountPoint);\n\n Vue.directive('dt-tooltip', {\n bind (anchor, binding) {\n // Initial tooltip setup\n setupTooltip(anchor, binding);\n },\n update (anchor, binding) {\n // Update tooltip on binding value change\n if (binding.value !== binding.oldValue) {\n setupTooltip(anchor, binding);\n }\n },\n unbind (anchor) {\n DtTooltipDirectiveApp.removeTooltip(anchor.getAttribute('data-dt-tooltip-id'));\n },\n });\n\n function setupTooltip (anchor, binding) {\n const tooltipId = anchor.getAttribute('data-dt-tooltip-id') || getUniqueString();\n\n let tooltipConfig;\n if (typeof binding.value === 'string') {\n tooltipConfig = {\n message: binding.value,\n placement: binding.arg || DEFAULT_PLACEMENT,\n };\n } else if (typeof binding.value === 'object' && binding.value !== null) {\n tooltipConfig = {\n placement: binding.arg || binding.value.placement || DEFAULT_PLACEMENT,\n ...binding.value,\n };\n } else {\n console.error('DtTooltipDirective: binding value must be
|
|
1
|
+
{"version":3,"file":"tooltip.js","sources":["../../../directives/tooltip_directive/tooltip.js"],"sourcesContent":["import { DtTooltip, TOOLTIP_DIRECTIONS } from '@/components/tooltip';\nimport { getUniqueString } from '@/common/utils';\n\nexport const DtTooltipDirective = {\n name: 'dt-tooltip-directive',\n install (Vue) {\n const mountPoint = document.createElement('div');\n document.body.appendChild(mountPoint);\n\n const DEFAULT_PLACEMENT = 'top';\n const DtTooltipDirectiveApp = new Vue({\n name: 'DtTooltipDirectiveApp',\n components: { DtTooltip },\n data () {\n return {\n tooltips: [],\n };\n },\n\n methods: {\n addOrUpdateTooltip (id, tooltipConfig) {\n const index = this.tooltips.findIndex(tooltip => tooltip.id === id);\n if (index !== -1) {\n // Update existing tooltip\n this.tooltips.splice(index, 1, { id, ...tooltipConfig });\n } else {\n // Add new tooltip\n this.tooltips.push({ id, ...tooltipConfig });\n }\n },\n\n removeTooltip (id) {\n this.tooltips = this.tooltips.filter(tooltip => tooltip.id !== id);\n },\n },\n\n render (h) {\n return h('div',\n {\n domProps: { id: 'dt-tooltip-directive-app' },\n },\n [\n this.tooltips.map(({ id, ...tooltipProps }) => {\n return h(DtTooltip, {\n key: id,\n props: {\n ...tooltipProps,\n sticky: tooltipProps.sticky !== undefined ? tooltipProps.sticky : true,\n /**\n * Set the delay to false when running tests only.\n */\n delay: tooltipProps.delay !== undefined ? tooltipProps.delay : (process.env.NODE_ENV !== 'test'),\n externalAnchor: `[data-dt-tooltip-id=\"${id}\"]`,\n },\n });\n }),\n ],\n );\n },\n });\n\n DtTooltipDirectiveApp.$mount(mountPoint);\n\n Vue.directive('dt-tooltip', {\n bind (anchor, binding) {\n // Initial tooltip setup\n setupTooltip(anchor, binding);\n },\n update (anchor, binding) {\n // Update tooltip on binding value change\n if (binding.value !== binding.oldValue) {\n setupTooltip(anchor, binding);\n }\n },\n unbind (anchor) {\n DtTooltipDirectiveApp.removeTooltip(anchor.getAttribute('data-dt-tooltip-id'));\n },\n });\n\n function setupTooltip (anchor, binding) {\n if (binding.value === null || binding.value === undefined) {\n const tooltipId = anchor.getAttribute('data-dt-tooltip-id');\n if (tooltipId) {\n DtTooltipDirectiveApp.removeTooltip(tooltipId);\n }\n return;\n }\n\n const tooltipId = anchor.getAttribute('data-dt-tooltip-id') || getUniqueString();\n\n let tooltipConfig;\n if (typeof binding.value === 'string') {\n tooltipConfig = {\n message: binding.value,\n placement: binding.arg || DEFAULT_PLACEMENT,\n };\n } else if (typeof binding.value === 'object' && binding.value !== null) {\n tooltipConfig = {\n placement: binding.arg || binding.value.placement || DEFAULT_PLACEMENT,\n ...binding.value,\n };\n } else {\n console.error('DtTooltipDirective: binding value must be string, object, null or undefined');\n return;\n }\n\n Object.keys(binding.modifiers).forEach(modifier => {\n switch (modifier) {\n case 'inverted':\n tooltipConfig.inverted = true;\n break;\n case 'no-delay':\n tooltipConfig.delay = false;\n break;\n case 'no-transition':\n tooltipConfig.transition = false;\n break;\n default:\n if (TOOLTIP_DIRECTIONS.includes(modifier)) {\n tooltipConfig.placement = modifier;\n }\n break;\n }\n });\n\n anchor.setAttribute('data-dt-tooltip-id', tooltipId);\n DtTooltipDirectiveApp.addOrUpdateTooltip(tooltipId, tooltipConfig);\n }\n },\n};\n\nexport default DtTooltipDirective;\n"],"names":["DtTooltipDirective","Vue","mountPoint","DEFAULT_PLACEMENT","DtTooltipDirectiveApp","DtTooltip","id","tooltipConfig","index","tooltip","h","tooltipProps","anchor","binding","setupTooltip","tooltipId","getUniqueString","modifier","TOOLTIP_DIRECTIONS"],"mappings":";;;AAGY,MAACA,IAAqB;AAAA,EAChC,MAAM;AAAA,EACN,QAASC,GAAK;AACZ,UAAMC,IAAa,SAAS,cAAc,KAAK;AAC/C,aAAS,KAAK,YAAYA,CAAU;AAEpC,UAAMC,IAAoB,OACpBC,IAAwB,IAAIH,EAAI;AAAA,MACpC,MAAM;AAAA,MACN,YAAY,EAAE,WAAAI,EAAS;AAAA,MACvB,OAAQ;AACN,eAAO;AAAA,UACL,UAAU,CAAA;AAAA,QACpB;AAAA,MACM;AAAA,MAEA,SAAS;AAAA,QACP,mBAAoBC,GAAIC,GAAe;AACrC,gBAAMC,IAAQ,KAAK,SAAS,UAAU,CAAAC,MAAWA,EAAQ,OAAOH,CAAE;AAClE,UAAIE,MAAU,KAEZ,KAAK,SAAS,OAAOA,GAAO,GAAG,EAAE,IAAAF,GAAI,GAAGC,GAAe,IAGvD,KAAK,SAAS,KAAK,EAAE,IAAAD,GAAI,GAAGC,EAAa,CAAE;AAAA,QAE/C;AAAA,QAEA,cAAeD,GAAI;AACjB,eAAK,WAAW,KAAK,SAAS,OAAO,CAAAG,MAAWA,EAAQ,OAAOH,CAAE;AAAA,QACnE;AAAA,MACR;AAAA,MAEM,OAAQI,GAAG;AACT,eAAOA;AAAA,UAAE;AAAA,UACP;AAAA,YACE,UAAU,EAAE,IAAI,2BAA0B;AAAA,UACtD;AAAA,UACU;AAAA,YACE,KAAK,SAAS,IAAI,CAAC,EAAE,IAAAJ,GAAI,GAAGK,QACnBD,EAAEL,GAAW;AAAA,cAClB,KAAKC;AAAA,cACL,OAAO;AAAA,gBACL,GAAGK;AAAA,gBACH,QAAQA,EAAa,WAAW,SAAYA,EAAa,SAAS;AAAA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QA,GAAQ;AAAA,UACd,KAAK;AACH,YAAAV,EAAc,WAAW;AACzB;AAAA,UACF,KAAK;AACH,YAAAA,EAAc,QAAQ;AACtB;AAAA,UACF,KAAK;AACH,YAAAA,EAAc,aAAa;AAC3B;AAAA,UACF;AACE,YAAIW,EAAmB,SAASD,CAAQ,MACtCV,EAAc,YAAYU;AAE5B;AAAA,QACZ;AAAA,MACM,CAAC,GAEDL,EAAO,aAAa,sBAAsBG,CAAS,GACnDX,EAAsB,mBAAmBW,GAAWR,CAAa;AAAA,IACnE;AAAA,EACF;AACF;"}
|
|
@@ -157,5 +157,7 @@ STORYBOOK_LANGUAGE_RUSSIAN = ロシア語
|
|
|
157
157
|
STORYBOOK_LANGUAGE_SPANISH = スペイン語
|
|
158
158
|
STORYBOOK_SET_LANGUAGE = 言語を設定
|
|
159
159
|
STORYBOOK_YOU = 自分
|
|
160
|
+
STORYBOOK_REACTION_NAMES_2 = Olivia Chen、Benjamin Carter、Sophia Rodriguez、William KimとIsabella Garcia
|
|
161
|
+
STORYBOOK_REACTION_NAMES_3 = Olivia Chenと{ STORYBOOK_YOU }
|
|
160
162
|
`;exports.default=_;
|
|
161
163
|
//# sourceMappingURL=ja-JP.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja-JP.cjs","sources":["../../localization/ja-JP.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = クリックして閉じる\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = ブレッドクラム\\nDIALTONE_LOADING = 読み込んでいます\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] 未読メッセージはありません\\n [1] 1件の未読メッセージ\\n *[other] { $unreadCount }件の未読メッセージ\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] 未読メンションはありません\\n [1] 1件の未読メンション\\n *[other] { $unreadCount }件の未読メンション\\n }\\nDIALTONE_TYPING_TEXT = 入力中\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = クリックして開く\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = アップロードしています...\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = 前へ\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = 次へ\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = ドロップダウンを開く\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = ポップオーバーを開く\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = メニューを開く\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = 前月\\nDIALTONE_DATEPICKER_NEXT_MONTH = 来月\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = 前年\\nDIALTONE_DATEPICKER_NEXT_YEAR = 来年\\nDIALTONE_DATEPICKER_SELECT_DAY = 曜日を選択\\nDIALTONE_DATEPICKER_CHANGE_TO = 次に変更 :\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = 確認\\n .aria-label = 設定リンクを確定\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = 削除\\n .aria-label = リンクを削除\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = キャンセル\\n .aria-label = 設定リンクをキャンセル\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = テンプレート\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = 太字\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = 斜体\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = 下線\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = 取り消し線\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = 左揃え\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = 中央揃え\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = 右揃え\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = 両端揃え\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = 箇条書きリスト\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = 番号付きリスト\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = 引用\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = コード\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = 画像\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = リンク\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = リンクを追加\\n .aria-label = リンクを追加するための入力フィールド\\nDIALTONE_EMOJI_ROW_REACTION_LABEL =\\n { $personCount ->\\n *[other] が { $reaction } で反応しました\\n }\\nDIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = 絵文字を追加\\nDIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = 見つかりません\\nDIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = 検索結果\\nDIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL = 検索...\\nDIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL = デフォルトの肌の色を変更\\nDIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL = 最近使用\\nDIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL = スマイリー&人物\\nDIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL = 自然\\nDIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL = 食べ物\\nDIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL = アクティビティ\\nDIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL = 旅行\\nDIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL = オブジェクト\\nDIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL = 記号\\nDIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL = フラグ\\nDIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL = カスタム\\nDIALTONE_FEED_ITEM_PILL_ARIA_LABEL = クリックして展開\\nDIALTONE_GENERAL_ROW_ACTIVE_VOICE_CHAT_TEXT = 進行中の音声チャット\\nDIALTONE_GENERAL_ROW_CALL_BUTTON_TOOLTIP = 発信\\nDIALTONE_GENERAL_ROW_DND_TEXT_TOOLTIP = プライバシーモード\\nDIALTONE_GROUP_ROW_GROUP_COUNT_TEXT =\\n { $count ->\\n [1] 1ユーザー\\n *[other] { $count } ユーザー\\n }\\nDIALTONE_IVR_NODE_MENU_BUTTON_ARIA_LABEL = メニューを開く\\nDIALTONE_IVR_NODE_PROMPTMENU_ARIA_LABEL = プロンプトメニューノード\\nDIALTONE_IVR_NODE_PROMPTCOLLECT_ARIA_LABEL = プロンプト収集ノード\\nDIALTONE_IVR_NODE_PROMPTPLAY_ARIA_LABEL = プロンプト再生ノード\\nDIALTONE_IVR_NODE_GOTOEXPERT_ARIA_LABEL = Expertノードへ移動\\nDIALTONE_IVR_NODE_BRANCH_ARIA_LABEL = ブランチノード\\nDIALTONE_IVR_NODE_GOTO_ARIA_LABEL = ノードへ\\nDIALTONE_IVR_NODE_ASSIGN_ARIA_LABEL = ノードを割り当て\\nDIALTONE_IVR_NODE_CUSTOMERDATA_ARIA_LABEL = 顧客データノード\\nDIALTONE_IVR_NODE_TRANSFER_ARIA_LABEL = 転送ノード\\nDIALTONE_IVR_NODE_HANGUP_ARIA_LABEL = 通話終了ノード\\nDIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL = 送信\\nDIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL = 画像を添付\\nDIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL = 絵文字を選択\\nDIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL = キャンセル\\nDIALTONE_MESSAGE_INPUT_BOLD_BUTTON_LABEL =\\n .aria-label = 選択したテキストの太字を切り替え\\n .tooltip-text = 太字\\nDIALTONE_MESSAGE_INPUT_ITALIC_BUTTON_LABEL =\\n .aria-label = 選択したテキストの斜体を切り替え\\n .tooltip-text = 斜体\\nDIALTONE_MESSAGE_INPUT_STRIKETHROUGH_BUTTON_LABEL =\\n .aria-label = 選択したテキストの取り消し線を切り替え\\n .tooltip-text = 取り消し線\\nDIALTONE_MESSAGE_INPUT_BULLET_LIST_BUTTON_LABEL =\\n .aria-label = 選択したテキストの箇条書きを作成・編集\\n .tooltip-text = 箇条書きリスト\\nDIALTONE_MESSAGE_INPUT_ORDERED_LIST_BUTTON_LABEL =\\n .aria-label = 選択したテキストの番号付きリストを作成・編集\\n .tooltip-text = 番号付きリスト\\nDIALTONE_MESSAGE_INPUT_BLOCK_QUOTE_BUTTON_LABEL =\\n .aria-label = 選択したテキストの引用ブロックを作成・編集\\n .tooltip-text = 引用ブロック\\nDIALTONE_MESSAGE_INPUT_CODE_BUTTON_LABEL =\\n .aria-label = 選択したテキストのコードを作成・編集\\n .tooltip-text = コード\\nDIALTONE_MESSAGE_INPUT_CODE_BLOCK_BUTTON_LABEL =\\n .aria-label = 選択したテキストのコードブロックを作成・編集\\n .tooltip-text = コードブロック\\nDIALTONE_MESSAGE_INPUT_LINK_BUTTON_LABEL =\\n .aria-label = 選択したテキストのリンクを作成・編集\\n .tooltip-text = リンク\\nDIALTONE_MESSAGE_INPUT_LINK_DIALOG_TITLE = リンクを追加\\nDIALTONE_MESSAGE_INPUT_LINK_TEXT_LABEL = 表示するテキスト (任意)\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_LABEL = リンク\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_PLACEHOLDER = 例 : https://www.dialpad.com\\nDIALTONE_MESSAGE_INPUT_LINK_REMOVE_LABEL = 削除\\nDIALTONE_MESSAGE_INPUT_LINK_CANCEL_LABEL = キャンセル\\nDIALTONE_MESSAGE_INPUT_LINK_CONFIRM_LABEL = 完了\\nDIALTONE_PAGINATION_FIRST_PAGE = 最初のページ\\nDIALTONE_PAGINATION_PREVIOUS_PAGE = 前のページ\\nDIALTONE_PAGINATION_NEXT_PAGE = 次のページ\\nDIALTONE_PAGINATION_LAST_PAGE = 最後のページ\\nDIALTONE_PAGINATION_PAGE_NUMBER = ページ番号 { $page }\\nDIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL = 編集\\nDIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL = リンクを開く\\nDIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL = 削除\\nDIALTONE_SETTINGS_MENU_DEFAULT_BUTTON_LABEL = 設定\\nDIALTONE_SETTINGS_MENU_UPDATE_BUTTON_LABEL = アップデート\\nDIALTONE_UNREAD_PILL_MENTIONS_TEXT = 未読のメンション\\nDIALTONE_UNREAD_PILL_MESSAGES_TEXT = 未読メッセージ\\n# Storybook only\\nSTORYBOOK_LANGUAGE_ENGLISH = 英語\\nSTORYBOOK_LANGUAGE_CHINESE = 中国語\\nSTORYBOOK_LANGUAGE_DUTCH = オランダ語\\nSTORYBOOK_LANGUAGE_FRENCH = フランス語\\nSTORYBOOK_LANGUAGE_GERMAN = ドイツ語\\nSTORYBOOK_LANGUAGE_ITALIAN = イタリア語\\nSTORYBOOK_LANGUAGE_JAPANESE = 日本語\\nSTORYBOOK_LANGUAGE_PORTUGUESE = ポルトガル語\\nSTORYBOOK_LANGUAGE_RUSSIAN = ロシア語\\nSTORYBOOK_LANGUAGE_SPANISH = スペイン語\\nSTORYBOOK_SET_LANGUAGE = 言語を設定\\nSTORYBOOK_YOU = 自分\\n\""],"names":["jaJP"],"mappings":"4GAAA,MAAAA,EAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"ja-JP.cjs","sources":["../../localization/ja-JP.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = クリックして閉じる\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = ブレッドクラム\\nDIALTONE_LOADING = 読み込んでいます\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] 未読メッセージはありません\\n [1] 1件の未読メッセージ\\n *[other] { $unreadCount }件の未読メッセージ\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] 未読メンションはありません\\n [1] 1件の未読メンション\\n *[other] { $unreadCount }件の未読メンション\\n }\\nDIALTONE_TYPING_TEXT = 入力中\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = クリックして開く\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = アップロードしています...\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = 前へ\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = 次へ\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = ドロップダウンを開く\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = ポップオーバーを開く\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = メニューを開く\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = 前月\\nDIALTONE_DATEPICKER_NEXT_MONTH = 来月\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = 前年\\nDIALTONE_DATEPICKER_NEXT_YEAR = 来年\\nDIALTONE_DATEPICKER_SELECT_DAY = 曜日を選択\\nDIALTONE_DATEPICKER_CHANGE_TO = 次に変更 :\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = 確認\\n .aria-label = 設定リンクを確定\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = 削除\\n .aria-label = リンクを削除\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = キャンセル\\n .aria-label = 設定リンクをキャンセル\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = テンプレート\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = 太字\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = 斜体\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = 下線\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = 取り消し線\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = 左揃え\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = 中央揃え\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = 右揃え\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = 両端揃え\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = 箇条書きリスト\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = 番号付きリスト\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = 引用\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = コード\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = 画像\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = リンク\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = リンクを追加\\n .aria-label = リンクを追加するための入力フィールド\\nDIALTONE_EMOJI_ROW_REACTION_LABEL =\\n { $personCount ->\\n *[other] が { $reaction } で反応しました\\n }\\nDIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = 絵文字を追加\\nDIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = 見つかりません\\nDIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = 検索結果\\nDIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL = 検索...\\nDIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL = デフォルトの肌の色を変更\\nDIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL = 最近使用\\nDIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL = スマイリー&人物\\nDIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL = 自然\\nDIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL = 食べ物\\nDIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL = アクティビティ\\nDIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL = 旅行\\nDIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL = オブジェクト\\nDIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL = 記号\\nDIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL = フラグ\\nDIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL = カスタム\\nDIALTONE_FEED_ITEM_PILL_ARIA_LABEL = クリックして展開\\nDIALTONE_GENERAL_ROW_ACTIVE_VOICE_CHAT_TEXT = 進行中の音声チャット\\nDIALTONE_GENERAL_ROW_CALL_BUTTON_TOOLTIP = 発信\\nDIALTONE_GENERAL_ROW_DND_TEXT_TOOLTIP = プライバシーモード\\nDIALTONE_GROUP_ROW_GROUP_COUNT_TEXT =\\n { $count ->\\n [1] 1ユーザー\\n *[other] { $count } ユーザー\\n }\\nDIALTONE_IVR_NODE_MENU_BUTTON_ARIA_LABEL = メニューを開く\\nDIALTONE_IVR_NODE_PROMPTMENU_ARIA_LABEL = プロンプトメニューノード\\nDIALTONE_IVR_NODE_PROMPTCOLLECT_ARIA_LABEL = プロンプト収集ノード\\nDIALTONE_IVR_NODE_PROMPTPLAY_ARIA_LABEL = プロンプト再生ノード\\nDIALTONE_IVR_NODE_GOTOEXPERT_ARIA_LABEL = Expertノードへ移動\\nDIALTONE_IVR_NODE_BRANCH_ARIA_LABEL = ブランチノード\\nDIALTONE_IVR_NODE_GOTO_ARIA_LABEL = ノードへ\\nDIALTONE_IVR_NODE_ASSIGN_ARIA_LABEL = ノードを割り当て\\nDIALTONE_IVR_NODE_CUSTOMERDATA_ARIA_LABEL = 顧客データノード\\nDIALTONE_IVR_NODE_TRANSFER_ARIA_LABEL = 転送ノード\\nDIALTONE_IVR_NODE_HANGUP_ARIA_LABEL = 通話終了ノード\\nDIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL = 送信\\nDIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL = 画像を添付\\nDIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL = 絵文字を選択\\nDIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL = キャンセル\\nDIALTONE_MESSAGE_INPUT_BOLD_BUTTON_LABEL =\\n .aria-label = 選択したテキストの太字を切り替え\\n .tooltip-text = 太字\\nDIALTONE_MESSAGE_INPUT_ITALIC_BUTTON_LABEL =\\n .aria-label = 選択したテキストの斜体を切り替え\\n .tooltip-text = 斜体\\nDIALTONE_MESSAGE_INPUT_STRIKETHROUGH_BUTTON_LABEL =\\n .aria-label = 選択したテキストの取り消し線を切り替え\\n .tooltip-text = 取り消し線\\nDIALTONE_MESSAGE_INPUT_BULLET_LIST_BUTTON_LABEL =\\n .aria-label = 選択したテキストの箇条書きを作成・編集\\n .tooltip-text = 箇条書きリスト\\nDIALTONE_MESSAGE_INPUT_ORDERED_LIST_BUTTON_LABEL =\\n .aria-label = 選択したテキストの番号付きリストを作成・編集\\n .tooltip-text = 番号付きリスト\\nDIALTONE_MESSAGE_INPUT_BLOCK_QUOTE_BUTTON_LABEL =\\n .aria-label = 選択したテキストの引用ブロックを作成・編集\\n .tooltip-text = 引用ブロック\\nDIALTONE_MESSAGE_INPUT_CODE_BUTTON_LABEL =\\n .aria-label = 選択したテキストのコードを作成・編集\\n .tooltip-text = コード\\nDIALTONE_MESSAGE_INPUT_CODE_BLOCK_BUTTON_LABEL =\\n .aria-label = 選択したテキストのコードブロックを作成・編集\\n .tooltip-text = コードブロック\\nDIALTONE_MESSAGE_INPUT_LINK_BUTTON_LABEL =\\n .aria-label = 選択したテキストのリンクを作成・編集\\n .tooltip-text = リンク\\nDIALTONE_MESSAGE_INPUT_LINK_DIALOG_TITLE = リンクを追加\\nDIALTONE_MESSAGE_INPUT_LINK_TEXT_LABEL = 表示するテキスト (任意)\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_LABEL = リンク\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_PLACEHOLDER = 例 : https://www.dialpad.com\\nDIALTONE_MESSAGE_INPUT_LINK_REMOVE_LABEL = 削除\\nDIALTONE_MESSAGE_INPUT_LINK_CANCEL_LABEL = キャンセル\\nDIALTONE_MESSAGE_INPUT_LINK_CONFIRM_LABEL = 完了\\nDIALTONE_PAGINATION_FIRST_PAGE = 最初のページ\\nDIALTONE_PAGINATION_PREVIOUS_PAGE = 前のページ\\nDIALTONE_PAGINATION_NEXT_PAGE = 次のページ\\nDIALTONE_PAGINATION_LAST_PAGE = 最後のページ\\nDIALTONE_PAGINATION_PAGE_NUMBER = ページ番号 { $page }\\nDIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL = 編集\\nDIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL = リンクを開く\\nDIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL = 削除\\nDIALTONE_SETTINGS_MENU_DEFAULT_BUTTON_LABEL = 設定\\nDIALTONE_SETTINGS_MENU_UPDATE_BUTTON_LABEL = アップデート\\nDIALTONE_UNREAD_PILL_MENTIONS_TEXT = 未読のメンション\\nDIALTONE_UNREAD_PILL_MESSAGES_TEXT = 未読メッセージ\\n# Storybook only\\nSTORYBOOK_LANGUAGE_ENGLISH = 英語\\nSTORYBOOK_LANGUAGE_CHINESE = 中国語\\nSTORYBOOK_LANGUAGE_DUTCH = オランダ語\\nSTORYBOOK_LANGUAGE_FRENCH = フランス語\\nSTORYBOOK_LANGUAGE_GERMAN = ドイツ語\\nSTORYBOOK_LANGUAGE_ITALIAN = イタリア語\\nSTORYBOOK_LANGUAGE_JAPANESE = 日本語\\nSTORYBOOK_LANGUAGE_PORTUGUESE = ポルトガル語\\nSTORYBOOK_LANGUAGE_RUSSIAN = ロシア語\\nSTORYBOOK_LANGUAGE_SPANISH = スペイン語\\nSTORYBOOK_SET_LANGUAGE = 言語を設定\\nSTORYBOOK_YOU = 自分\\nSTORYBOOK_REACTION_NAMES_2 = Olivia Chen、Benjamin Carter、Sophia Rodriguez、William KimとIsabella Garcia\\nSTORYBOOK_REACTION_NAMES_3 = Olivia Chenと{ STORYBOOK_YOU }\\n\""],"names":["jaJP"],"mappings":"4GAAA,MAAAA,EAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA"}
|
|
@@ -157,6 +157,8 @@ STORYBOOK_LANGUAGE_RUSSIAN = ロシア語
|
|
|
157
157
|
STORYBOOK_LANGUAGE_SPANISH = スペイン語
|
|
158
158
|
STORYBOOK_SET_LANGUAGE = 言語を設定
|
|
159
159
|
STORYBOOK_YOU = 自分
|
|
160
|
+
STORYBOOK_REACTION_NAMES_2 = Olivia Chen、Benjamin Carter、Sophia Rodriguez、William KimとIsabella Garcia
|
|
161
|
+
STORYBOOK_REACTION_NAMES_3 = Olivia Chenと{ STORYBOOK_YOU }
|
|
160
162
|
`;
|
|
161
163
|
export {
|
|
162
164
|
_ as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja-JP.js","sources":["../../localization/ja-JP.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = クリックして閉じる\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = ブレッドクラム\\nDIALTONE_LOADING = 読み込んでいます\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] 未読メッセージはありません\\n [1] 1件の未読メッセージ\\n *[other] { $unreadCount }件の未読メッセージ\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] 未読メンションはありません\\n [1] 1件の未読メンション\\n *[other] { $unreadCount }件の未読メンション\\n }\\nDIALTONE_TYPING_TEXT = 入力中\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = クリックして開く\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = アップロードしています...\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = 前へ\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = 次へ\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = ドロップダウンを開く\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = ポップオーバーを開く\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = メニューを開く\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = 前月\\nDIALTONE_DATEPICKER_NEXT_MONTH = 来月\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = 前年\\nDIALTONE_DATEPICKER_NEXT_YEAR = 来年\\nDIALTONE_DATEPICKER_SELECT_DAY = 曜日を選択\\nDIALTONE_DATEPICKER_CHANGE_TO = 次に変更 :\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = 確認\\n .aria-label = 設定リンクを確定\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = 削除\\n .aria-label = リンクを削除\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = キャンセル\\n .aria-label = 設定リンクをキャンセル\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = テンプレート\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = 太字\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = 斜体\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = 下線\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = 取り消し線\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = 左揃え\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = 中央揃え\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = 右揃え\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = 両端揃え\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = 箇条書きリスト\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = 番号付きリスト\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = 引用\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = コード\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = 画像\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = リンク\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = リンクを追加\\n .aria-label = リンクを追加するための入力フィールド\\nDIALTONE_EMOJI_ROW_REACTION_LABEL =\\n { $personCount ->\\n *[other] が { $reaction } で反応しました\\n }\\nDIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = 絵文字を追加\\nDIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = 見つかりません\\nDIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = 検索結果\\nDIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL = 検索...\\nDIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL = デフォルトの肌の色を変更\\nDIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL = 最近使用\\nDIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL = スマイリー&人物\\nDIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL = 自然\\nDIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL = 食べ物\\nDIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL = アクティビティ\\nDIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL = 旅行\\nDIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL = オブジェクト\\nDIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL = 記号\\nDIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL = フラグ\\nDIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL = カスタム\\nDIALTONE_FEED_ITEM_PILL_ARIA_LABEL = クリックして展開\\nDIALTONE_GENERAL_ROW_ACTIVE_VOICE_CHAT_TEXT = 進行中の音声チャット\\nDIALTONE_GENERAL_ROW_CALL_BUTTON_TOOLTIP = 発信\\nDIALTONE_GENERAL_ROW_DND_TEXT_TOOLTIP = プライバシーモード\\nDIALTONE_GROUP_ROW_GROUP_COUNT_TEXT =\\n { $count ->\\n [1] 1ユーザー\\n *[other] { $count } ユーザー\\n }\\nDIALTONE_IVR_NODE_MENU_BUTTON_ARIA_LABEL = メニューを開く\\nDIALTONE_IVR_NODE_PROMPTMENU_ARIA_LABEL = プロンプトメニューノード\\nDIALTONE_IVR_NODE_PROMPTCOLLECT_ARIA_LABEL = プロンプト収集ノード\\nDIALTONE_IVR_NODE_PROMPTPLAY_ARIA_LABEL = プロンプト再生ノード\\nDIALTONE_IVR_NODE_GOTOEXPERT_ARIA_LABEL = Expertノードへ移動\\nDIALTONE_IVR_NODE_BRANCH_ARIA_LABEL = ブランチノード\\nDIALTONE_IVR_NODE_GOTO_ARIA_LABEL = ノードへ\\nDIALTONE_IVR_NODE_ASSIGN_ARIA_LABEL = ノードを割り当て\\nDIALTONE_IVR_NODE_CUSTOMERDATA_ARIA_LABEL = 顧客データノード\\nDIALTONE_IVR_NODE_TRANSFER_ARIA_LABEL = 転送ノード\\nDIALTONE_IVR_NODE_HANGUP_ARIA_LABEL = 通話終了ノード\\nDIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL = 送信\\nDIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL = 画像を添付\\nDIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL = 絵文字を選択\\nDIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL = キャンセル\\nDIALTONE_MESSAGE_INPUT_BOLD_BUTTON_LABEL =\\n .aria-label = 選択したテキストの太字を切り替え\\n .tooltip-text = 太字\\nDIALTONE_MESSAGE_INPUT_ITALIC_BUTTON_LABEL =\\n .aria-label = 選択したテキストの斜体を切り替え\\n .tooltip-text = 斜体\\nDIALTONE_MESSAGE_INPUT_STRIKETHROUGH_BUTTON_LABEL =\\n .aria-label = 選択したテキストの取り消し線を切り替え\\n .tooltip-text = 取り消し線\\nDIALTONE_MESSAGE_INPUT_BULLET_LIST_BUTTON_LABEL =\\n .aria-label = 選択したテキストの箇条書きを作成・編集\\n .tooltip-text = 箇条書きリスト\\nDIALTONE_MESSAGE_INPUT_ORDERED_LIST_BUTTON_LABEL =\\n .aria-label = 選択したテキストの番号付きリストを作成・編集\\n .tooltip-text = 番号付きリスト\\nDIALTONE_MESSAGE_INPUT_BLOCK_QUOTE_BUTTON_LABEL =\\n .aria-label = 選択したテキストの引用ブロックを作成・編集\\n .tooltip-text = 引用ブロック\\nDIALTONE_MESSAGE_INPUT_CODE_BUTTON_LABEL =\\n .aria-label = 選択したテキストのコードを作成・編集\\n .tooltip-text = コード\\nDIALTONE_MESSAGE_INPUT_CODE_BLOCK_BUTTON_LABEL =\\n .aria-label = 選択したテキストのコードブロックを作成・編集\\n .tooltip-text = コードブロック\\nDIALTONE_MESSAGE_INPUT_LINK_BUTTON_LABEL =\\n .aria-label = 選択したテキストのリンクを作成・編集\\n .tooltip-text = リンク\\nDIALTONE_MESSAGE_INPUT_LINK_DIALOG_TITLE = リンクを追加\\nDIALTONE_MESSAGE_INPUT_LINK_TEXT_LABEL = 表示するテキスト (任意)\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_LABEL = リンク\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_PLACEHOLDER = 例 : https://www.dialpad.com\\nDIALTONE_MESSAGE_INPUT_LINK_REMOVE_LABEL = 削除\\nDIALTONE_MESSAGE_INPUT_LINK_CANCEL_LABEL = キャンセル\\nDIALTONE_MESSAGE_INPUT_LINK_CONFIRM_LABEL = 完了\\nDIALTONE_PAGINATION_FIRST_PAGE = 最初のページ\\nDIALTONE_PAGINATION_PREVIOUS_PAGE = 前のページ\\nDIALTONE_PAGINATION_NEXT_PAGE = 次のページ\\nDIALTONE_PAGINATION_LAST_PAGE = 最後のページ\\nDIALTONE_PAGINATION_PAGE_NUMBER = ページ番号 { $page }\\nDIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL = 編集\\nDIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL = リンクを開く\\nDIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL = 削除\\nDIALTONE_SETTINGS_MENU_DEFAULT_BUTTON_LABEL = 設定\\nDIALTONE_SETTINGS_MENU_UPDATE_BUTTON_LABEL = アップデート\\nDIALTONE_UNREAD_PILL_MENTIONS_TEXT = 未読のメンション\\nDIALTONE_UNREAD_PILL_MESSAGES_TEXT = 未読メッセージ\\n# Storybook only\\nSTORYBOOK_LANGUAGE_ENGLISH = 英語\\nSTORYBOOK_LANGUAGE_CHINESE = 中国語\\nSTORYBOOK_LANGUAGE_DUTCH = オランダ語\\nSTORYBOOK_LANGUAGE_FRENCH = フランス語\\nSTORYBOOK_LANGUAGE_GERMAN = ドイツ語\\nSTORYBOOK_LANGUAGE_ITALIAN = イタリア語\\nSTORYBOOK_LANGUAGE_JAPANESE = 日本語\\nSTORYBOOK_LANGUAGE_PORTUGUESE = ポルトガル語\\nSTORYBOOK_LANGUAGE_RUSSIAN = ロシア語\\nSTORYBOOK_LANGUAGE_SPANISH = スペイン語\\nSTORYBOOK_SET_LANGUAGE = 言語を設定\\nSTORYBOOK_YOU = 自分\\n\""],"names":["jaJP"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
1
|
+
{"version":3,"file":"ja-JP.js","sources":["../../localization/ja-JP.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = クリックして閉じる\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = ブレッドクラム\\nDIALTONE_LOADING = 読み込んでいます\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] 未読メッセージはありません\\n [1] 1件の未読メッセージ\\n *[other] { $unreadCount }件の未読メッセージ\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] 未読メンションはありません\\n [1] 1件の未読メンション\\n *[other] { $unreadCount }件の未読メンション\\n }\\nDIALTONE_TYPING_TEXT = 入力中\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = クリックして開く\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = アップロードしています...\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = 前へ\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = 次へ\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = ドロップダウンを開く\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = ポップオーバーを開く\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = メニューを開く\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = 前月\\nDIALTONE_DATEPICKER_NEXT_MONTH = 来月\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = 前年\\nDIALTONE_DATEPICKER_NEXT_YEAR = 来年\\nDIALTONE_DATEPICKER_SELECT_DAY = 曜日を選択\\nDIALTONE_DATEPICKER_CHANGE_TO = 次に変更 :\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = 確認\\n .aria-label = 設定リンクを確定\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = 削除\\n .aria-label = リンクを削除\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = キャンセル\\n .aria-label = 設定リンクをキャンセル\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = テンプレート\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = 太字\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = 斜体\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = 下線\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = 取り消し線\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = 左揃え\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = 中央揃え\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = 右揃え\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = 両端揃え\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = 箇条書きリスト\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = 番号付きリスト\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = 引用\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = コード\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = 画像\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = リンク\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = リンクを追加\\n .aria-label = リンクを追加するための入力フィールド\\nDIALTONE_EMOJI_ROW_REACTION_LABEL =\\n { $personCount ->\\n *[other] が { $reaction } で反応しました\\n }\\nDIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = 絵文字を追加\\nDIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = 見つかりません\\nDIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = 検索結果\\nDIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL = 検索...\\nDIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL = デフォルトの肌の色を変更\\nDIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL = 最近使用\\nDIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL = スマイリー&人物\\nDIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL = 自然\\nDIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL = 食べ物\\nDIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL = アクティビティ\\nDIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL = 旅行\\nDIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL = オブジェクト\\nDIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL = 記号\\nDIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL = フラグ\\nDIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL = カスタム\\nDIALTONE_FEED_ITEM_PILL_ARIA_LABEL = クリックして展開\\nDIALTONE_GENERAL_ROW_ACTIVE_VOICE_CHAT_TEXT = 進行中の音声チャット\\nDIALTONE_GENERAL_ROW_CALL_BUTTON_TOOLTIP = 発信\\nDIALTONE_GENERAL_ROW_DND_TEXT_TOOLTIP = プライバシーモード\\nDIALTONE_GROUP_ROW_GROUP_COUNT_TEXT =\\n { $count ->\\n [1] 1ユーザー\\n *[other] { $count } ユーザー\\n }\\nDIALTONE_IVR_NODE_MENU_BUTTON_ARIA_LABEL = メニューを開く\\nDIALTONE_IVR_NODE_PROMPTMENU_ARIA_LABEL = プロンプトメニューノード\\nDIALTONE_IVR_NODE_PROMPTCOLLECT_ARIA_LABEL = プロンプト収集ノード\\nDIALTONE_IVR_NODE_PROMPTPLAY_ARIA_LABEL = プロンプト再生ノード\\nDIALTONE_IVR_NODE_GOTOEXPERT_ARIA_LABEL = Expertノードへ移動\\nDIALTONE_IVR_NODE_BRANCH_ARIA_LABEL = ブランチノード\\nDIALTONE_IVR_NODE_GOTO_ARIA_LABEL = ノードへ\\nDIALTONE_IVR_NODE_ASSIGN_ARIA_LABEL = ノードを割り当て\\nDIALTONE_IVR_NODE_CUSTOMERDATA_ARIA_LABEL = 顧客データノード\\nDIALTONE_IVR_NODE_TRANSFER_ARIA_LABEL = 転送ノード\\nDIALTONE_IVR_NODE_HANGUP_ARIA_LABEL = 通話終了ノード\\nDIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL = 送信\\nDIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL = 画像を添付\\nDIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL = 絵文字を選択\\nDIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL = キャンセル\\nDIALTONE_MESSAGE_INPUT_BOLD_BUTTON_LABEL =\\n .aria-label = 選択したテキストの太字を切り替え\\n .tooltip-text = 太字\\nDIALTONE_MESSAGE_INPUT_ITALIC_BUTTON_LABEL =\\n .aria-label = 選択したテキストの斜体を切り替え\\n .tooltip-text = 斜体\\nDIALTONE_MESSAGE_INPUT_STRIKETHROUGH_BUTTON_LABEL =\\n .aria-label = 選択したテキストの取り消し線を切り替え\\n .tooltip-text = 取り消し線\\nDIALTONE_MESSAGE_INPUT_BULLET_LIST_BUTTON_LABEL =\\n .aria-label = 選択したテキストの箇条書きを作成・編集\\n .tooltip-text = 箇条書きリスト\\nDIALTONE_MESSAGE_INPUT_ORDERED_LIST_BUTTON_LABEL =\\n .aria-label = 選択したテキストの番号付きリストを作成・編集\\n .tooltip-text = 番号付きリスト\\nDIALTONE_MESSAGE_INPUT_BLOCK_QUOTE_BUTTON_LABEL =\\n .aria-label = 選択したテキストの引用ブロックを作成・編集\\n .tooltip-text = 引用ブロック\\nDIALTONE_MESSAGE_INPUT_CODE_BUTTON_LABEL =\\n .aria-label = 選択したテキストのコードを作成・編集\\n .tooltip-text = コード\\nDIALTONE_MESSAGE_INPUT_CODE_BLOCK_BUTTON_LABEL =\\n .aria-label = 選択したテキストのコードブロックを作成・編集\\n .tooltip-text = コードブロック\\nDIALTONE_MESSAGE_INPUT_LINK_BUTTON_LABEL =\\n .aria-label = 選択したテキストのリンクを作成・編集\\n .tooltip-text = リンク\\nDIALTONE_MESSAGE_INPUT_LINK_DIALOG_TITLE = リンクを追加\\nDIALTONE_MESSAGE_INPUT_LINK_TEXT_LABEL = 表示するテキスト (任意)\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_LABEL = リンク\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_PLACEHOLDER = 例 : https://www.dialpad.com\\nDIALTONE_MESSAGE_INPUT_LINK_REMOVE_LABEL = 削除\\nDIALTONE_MESSAGE_INPUT_LINK_CANCEL_LABEL = キャンセル\\nDIALTONE_MESSAGE_INPUT_LINK_CONFIRM_LABEL = 完了\\nDIALTONE_PAGINATION_FIRST_PAGE = 最初のページ\\nDIALTONE_PAGINATION_PREVIOUS_PAGE = 前のページ\\nDIALTONE_PAGINATION_NEXT_PAGE = 次のページ\\nDIALTONE_PAGINATION_LAST_PAGE = 最後のページ\\nDIALTONE_PAGINATION_PAGE_NUMBER = ページ番号 { $page }\\nDIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL = 編集\\nDIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL = リンクを開く\\nDIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL = 削除\\nDIALTONE_SETTINGS_MENU_DEFAULT_BUTTON_LABEL = 設定\\nDIALTONE_SETTINGS_MENU_UPDATE_BUTTON_LABEL = アップデート\\nDIALTONE_UNREAD_PILL_MENTIONS_TEXT = 未読のメンション\\nDIALTONE_UNREAD_PILL_MESSAGES_TEXT = 未読メッセージ\\n# Storybook only\\nSTORYBOOK_LANGUAGE_ENGLISH = 英語\\nSTORYBOOK_LANGUAGE_CHINESE = 中国語\\nSTORYBOOK_LANGUAGE_DUTCH = オランダ語\\nSTORYBOOK_LANGUAGE_FRENCH = フランス語\\nSTORYBOOK_LANGUAGE_GERMAN = ドイツ語\\nSTORYBOOK_LANGUAGE_ITALIAN = イタリア語\\nSTORYBOOK_LANGUAGE_JAPANESE = 日本語\\nSTORYBOOK_LANGUAGE_PORTUGUESE = ポルトガル語\\nSTORYBOOK_LANGUAGE_RUSSIAN = ロシア語\\nSTORYBOOK_LANGUAGE_SPANISH = スペイン語\\nSTORYBOOK_SET_LANGUAGE = 言語を設定\\nSTORYBOOK_YOU = 自分\\nSTORYBOOK_REACTION_NAMES_2 = Olivia Chen、Benjamin Carter、Sophia Rodriguez、William KimとIsabella Garcia\\nSTORYBOOK_REACTION_NAMES_3 = Olivia Chenと{ STORYBOOK_YOU }\\n\""],"names":["jaJP"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.vue.d.ts","sourceRoot":"","sources":["../../../../components/pagination/pagination.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pagination.vue.d.ts","sourceRoot":"","sources":["../../../../components/pagination/pagination.vue"],"names":[],"mappings":"AAiEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAqQqC,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../directives/tooltip_directive/tooltip.js"],"names":[],"mappings":";;IAKE,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../directives/tooltip_directive/tooltip.js"],"names":[],"mappings":";;IAKE,iCA2HC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji_row.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/emoji_row/emoji_row.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emoji_row.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/emoji_row/emoji_row.vue"],"names":[],"mappings":"AA6DA;;;;;;;;;;;;;;;;;;;;;;;qCAoIqC,gBAAgB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _=require("./emoji-row-constants.cjs"),p=require("../../localization/index.cjs"),u=require("../../common/emoji/index.cjs"),e=require("vue"),j=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),h=require("../emoji-text-wrapper/emoji-text-wrapper.cjs"),w=require("../emoji/emoji.cjs"),b=require("../button/button.cjs"),f=require("../tooltip/tooltip.cjs"),C={compatConfig:{MODE:3},name:"DtRecipeEmojiRow",components:{DtTooltip:f.default,DtButton:b.default,DtEmoji:w.default,DtEmojiTextWrapper:h.default},props:{reactions:{type:Array,default:()=>[],validator:o=>{for(const i of o)if(!_.REACTIONS_ATTRIBUTES.every(l=>i[l]!==void 0))return!1;return!0}}},emits:["emoji-clicked","emoji-hovered"],data(){return{i18n:new p.DialtoneLocalization}},methods:{emojiClicked(o){this.$emit("emoji-clicked",o.emojiUnicodeOrShortname)},emojiHovered(o,i){this.$emit("emoji-hovered",{reaction:o.emojiUnicodeOrShortname,state:i})},reactionLabel(o){return this.i18n.$t("DIALTONE_EMOJI_ROW_REACTION_LABEL",{reaction:u.getEmojiShortCode(o.emojiUnicodeOrShortname),personCount:o.num})}}},E={class:"d-recipe-emoji-row"},S={"aria-hidden":"true"},k={class:"d-recipe-emoji-row__tooltip-emoji"},v=e.createElementVNode("br",null,null,-1),x={class:"d-recipe-emoji-row__tooltip-names"},N=["textContent"],O={class:"d-recipe-emoji-row__emoji"},V={class:"d-recipe-emoji-row__reaction-number"};function g(o,i,c,l,T,n){const a=e.resolveComponent("dt-emoji-text-wrapper"),s=e.resolveComponent("dt-emoji"),m=e.resolveComponent("dt-button"),d=e.resolveComponent("dt-tooltip");return e.openBlock(),e.createElementBlock("span",E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.reactions,t=>(e.openBlock(),e.createElementBlock("span",{key:t.unicodeOutput},[e.createVNode(d,{class:"d-recipe-emoji-row__tooltip","content-class":"d-recipe-emoji-row__tooltip-content","fallback-placements":["top","bottom"],sticky:"popper",onShown:r=>n.emojiHovered(t,r)},{anchor:e.withCtx(({attrs:r})=>[e.createVNode(m,{importance:"clear",size:"sm","data-qa":"feed-item-reaction-button",class:e.normalizeClass(["d-recipe-emoji-row__reaction",t.isSelected?"d-recipe-emoji-row__reaction--selected":""]),"aria-label":n.reactionLabel(t),attrs:r,onClick:q=>n.emojiClicked(t)},{default:e.withCtx(()=>[e.createElementVNode("span",O,[e.createVNode(s,{class:"d-recipe-emoji-row__emoji","img-class":"d-recipe-emoji-row__emoji-img",code:t.emojiUnicodeOrShortname},null,8,["code"])]),e.createElementVNode("span",V,e.toDisplayString(t.num),1)]),_:2},1032,["class","aria-label","attrs","onClick"])]),default:e.withCtx(()=>[e.createElementVNode("span",S,[e.createVNode(a,{size:"800"},{default:e.withCtx(()=>[e.createElementVNode("p",k,e.toDisplayString(t.emojiUnicodeOrShortname),1),v,e.createElementVNode("p",x,[e.createTextVNode(e.toDisplayString(t.names)+" ",1),e.createElementVNode("span",{class:"d-recipe-emoji-row__tooltip-label",textContent:e.toDisplayString(n.reactionLabel(t))},null,8,N)])]),_:2},1024)])]),_:2},1032,["onShown"])]))),128)),e.renderSlot(o.$slots,"picker")])}const D=j._(C,[["render",g]]);exports.default=D;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _=require("./emoji-row-constants.cjs"),p=require("../../localization/index.cjs"),u=require("../../common/emoji/index.cjs"),e=require("vue"),j=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),h=require("../emoji-text-wrapper/emoji-text-wrapper.cjs"),w=require("../emoji/emoji.cjs"),b=require("../button/button.cjs"),f=require("../tooltip/tooltip.cjs"),C={compatConfig:{MODE:3},name:"DtRecipeEmojiRow",components:{DtTooltip:f.default,DtButton:b.default,DtEmoji:w.default,DtEmojiTextWrapper:h.default},props:{reactions:{type:Array,default:()=>[],validator:o=>{for(const i of o)if(!_.REACTIONS_ATTRIBUTES.every(l=>i[l]!==void 0))return!1;return!0}}},emits:["emoji-clicked","emoji-hovered"],data(){return{i18n:new p.DialtoneLocalization}},methods:{emojiClicked(o){this.$emit("emoji-clicked",o.emojiUnicodeOrShortname)},emojiHovered(o,i){this.$emit("emoji-hovered",{reaction:o.emojiUnicodeOrShortname,state:i})},reactionLabel(o){return this.i18n.$t("DIALTONE_EMOJI_ROW_REACTION_LABEL",{reaction:u.getEmojiShortCode(o.emojiUnicodeOrShortname),personCount:o.num})}}},E={class:"d-recipe-emoji-row"},S={"aria-hidden":"true"},k={class:"d-recipe-emoji-row__tooltip-emoji"},v=e.createElementVNode("br",null,null,-1),x={class:"d-recipe-emoji-row__tooltip-names"},N=["textContent"],O={class:"d-recipe-emoji-row__emoji"},V={class:"d-recipe-emoji-row__reaction-number"};function g(o,i,c,l,T,n){const a=e.resolveComponent("dt-emoji-text-wrapper"),s=e.resolveComponent("dt-emoji"),m=e.resolveComponent("dt-button"),d=e.resolveComponent("dt-tooltip");return e.openBlock(),e.createElementBlock("span",E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.reactions,t=>(e.openBlock(),e.createElementBlock("span",{key:t.unicodeOutput},[e.createVNode(d,{class:"d-recipe-emoji-row__tooltip","content-class":"d-recipe-emoji-row__tooltip-content","fallback-placements":["top","bottom"],sticky:"popper",onShown:r=>n.emojiHovered(t,r)},{anchor:e.withCtx(({attrs:r})=>[e.createVNode(m,{importance:"clear",size:"sm","data-qa":"feed-item-reaction-button",class:e.normalizeClass(["d-recipe-emoji-row__reaction",t.isSelected?"d-recipe-emoji-row__reaction--selected":""]),"aria-label":n.reactionLabel(t),attrs:r,onClick:q=>n.emojiClicked(t)},{default:e.withCtx(()=>[e.createElementVNode("span",O,[e.createVNode(s,{class:"d-recipe-emoji-row__emoji",size:"200","img-class":"d-recipe-emoji-row__emoji-img",code:t.emojiUnicodeOrShortname},null,8,["code"])]),e.createElementVNode("span",V,e.toDisplayString(t.num),1)]),_:2},1032,["class","aria-label","attrs","onClick"])]),default:e.withCtx(()=>[e.createElementVNode("span",S,[e.createVNode(a,{size:"800"},{default:e.withCtx(()=>[e.createElementVNode("p",k,e.toDisplayString(t.emojiUnicodeOrShortname),1),v,e.createElementVNode("p",x,[e.createTextVNode(e.toDisplayString(t.names)+" ",1),e.createElementVNode("span",{class:"d-recipe-emoji-row__tooltip-label",textContent:e.toDisplayString(n.reactionLabel(t))},null,8,N)])]),_:2},1024)])]),_:2},1032,["onShown"])]))),128)),e.renderSlot(o.$slots,"picker")])}const D=j._(C,[["render",g]]);exports.default=D;
|
|
2
2
|
//# sourceMappingURL=emoji-row.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji-row.cjs","sources":["../../../recipes/conversation_view/emoji_row/emoji_row.vue"],"sourcesContent":["<template>\n <span class=\"d-recipe-emoji-row\">\n <span\n v-for=\"reaction in reactions\"\n :key=\"reaction.unicodeOutput\"\n >\n <dt-tooltip\n class=\"d-recipe-emoji-row__tooltip\"\n content-class=\"d-recipe-emoji-row__tooltip-content\"\n :fallback-placements=\"['top', 'bottom']\"\n sticky=\"popper\"\n @shown=\"(shown) => emojiHovered(reaction, shown)\"\n >\n <span aria-hidden=\"true\">\n <dt-emoji-text-wrapper size=\"800\">\n <p class=\"d-recipe-emoji-row__tooltip-emoji\">\n {{ reaction.emojiUnicodeOrShortname }}\n </p>\n <br>\n <p class=\"d-recipe-emoji-row__tooltip-names\">\n {{ reaction.names }}\n <span\n class=\"d-recipe-emoji-row__tooltip-label\"\n v-text=\"reactionLabel(reaction)\"\n />\n </p>\n </dt-emoji-text-wrapper>\n </span>\n <template #anchor=\"{ attrs }\">\n <dt-button\n importance=\"clear\"\n size=\"sm\"\n data-qa=\"feed-item-reaction-button\"\n :class=\"[\n 'd-recipe-emoji-row__reaction',\n reaction.isSelected ? 'd-recipe-emoji-row__reaction--selected' : '',\n ]\"\n :aria-label=\"reactionLabel(reaction)\"\n :attrs=\"attrs\"\n @click=\"emojiClicked(reaction)\"\n >\n <span class=\"d-recipe-emoji-row__emoji\">\n <dt-emoji\n class=\"d-recipe-emoji-row__emoji\"\n img-class=\"d-recipe-emoji-row__emoji-img\"\n :code=\"reaction.emojiUnicodeOrShortname\"\n />\n </span>\n <span class=\"d-recipe-emoji-row__reaction-number\">\n {{ reaction.num }}\n </span>\n </dt-button>\n </template>\n </dt-tooltip>\n </span>\n <!-- TODO: Replace picker slot with a button with localized text and emit any event needed -->\n <!-- @slot Slot for emoji picker component, including the anchor. -->\n <slot name=\"picker\" />\n </span>\n</template>\n\n<script>\nimport { REACTIONS_ATTRIBUTES } from './emoji_row_constants.js';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport { DtEmoji } from '@/components/emoji';\nimport { DtEmojiTextWrapper } from '@/components/emoji_text_wrapper';\nimport { DialtoneLocalization } from '@/localization';\nimport { getEmojiShortCode } from '@/common/emoji';\n\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtRecipeEmojiRow',\n\n components: { DtTooltip, DtButton, DtEmoji, DtEmojiTextWrapper },\n\n props: {\n /**\n * Provide an array of reaction objects to be shown.\n */\n reactions: {\n type: Array,\n default: () => [],\n validator: (reactions) => {\n for (const reaction of reactions) {\n const validInput = REACTIONS_ATTRIBUTES.every((attribute) => reaction[attribute] !== undefined);\n if (!validInput) return false;\n }\n return true;\n },\n },\n },\n\n emits: [\n 'emoji-clicked',\n 'emoji-hovered',\n ],\n\n data () {\n return {\n i18n: new DialtoneLocalization(),\n };\n },\n\n methods: {\n emojiClicked (reaction) {\n this.$emit('emoji-clicked', reaction.emojiUnicodeOrShortname);\n },\n\n emojiHovered (reaction, state) {\n this.$emit('emoji-hovered', {\n reaction: reaction.emojiUnicodeOrShortname,\n state,\n });\n },\n\n reactionLabel (reaction) {\n return this.i18n.$t('DIALTONE_EMOJI_ROW_REACTION_LABEL', {\n reaction: getEmojiShortCode(reaction.emojiUnicodeOrShortname),\n personCount: reaction.num,\n });\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtTooltip","DtButton","DtEmoji","DtEmojiTextWrapper","reactions","reaction","REACTIONS_ATTRIBUTES","attribute","DialtoneLocalization","state","getEmojiShortCode","_hoisted_1","_hoisted_2","_hoisted_3","_createElementVNode","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_openBlock","_createElementBlock","_Fragment","_renderList","$props","_createVNode","_component_dt_tooltip","shown","$options","_withCtx","attrs","_component_dt_button","_normalizeClass","$event","_component_dt_emoji","_toDisplayString","_component_dt_emoji_text_wrapper","_hoisted_4","_createTextVNode","_renderSlot","_ctx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"emoji-row.cjs","sources":["../../../recipes/conversation_view/emoji_row/emoji_row.vue"],"sourcesContent":["<template>\n <span class=\"d-recipe-emoji-row\">\n <span\n v-for=\"reaction in reactions\"\n :key=\"reaction.unicodeOutput\"\n >\n <dt-tooltip\n class=\"d-recipe-emoji-row__tooltip\"\n content-class=\"d-recipe-emoji-row__tooltip-content\"\n :fallback-placements=\"['top', 'bottom']\"\n sticky=\"popper\"\n @shown=\"(shown) => emojiHovered(reaction, shown)\"\n >\n <span aria-hidden=\"true\">\n <dt-emoji-text-wrapper size=\"800\">\n <p class=\"d-recipe-emoji-row__tooltip-emoji\">\n {{ reaction.emojiUnicodeOrShortname }}\n </p>\n <br>\n <p class=\"d-recipe-emoji-row__tooltip-names\">\n {{ reaction.names }}\n <span\n class=\"d-recipe-emoji-row__tooltip-label\"\n v-text=\"reactionLabel(reaction)\"\n />\n </p>\n </dt-emoji-text-wrapper>\n </span>\n <template #anchor=\"{ attrs }\">\n <dt-button\n importance=\"clear\"\n size=\"sm\"\n data-qa=\"feed-item-reaction-button\"\n :class=\"[\n 'd-recipe-emoji-row__reaction',\n reaction.isSelected ? 'd-recipe-emoji-row__reaction--selected' : '',\n ]\"\n :aria-label=\"reactionLabel(reaction)\"\n :attrs=\"attrs\"\n @click=\"emojiClicked(reaction)\"\n >\n <span class=\"d-recipe-emoji-row__emoji\">\n <dt-emoji\n class=\"d-recipe-emoji-row__emoji\"\n size=\"200\"\n img-class=\"d-recipe-emoji-row__emoji-img\"\n :code=\"reaction.emojiUnicodeOrShortname\"\n />\n </span>\n <span class=\"d-recipe-emoji-row__reaction-number\">\n {{ reaction.num }}\n </span>\n </dt-button>\n </template>\n </dt-tooltip>\n </span>\n <!-- TODO: Replace picker slot with a button with localized text and emit any event needed -->\n <!-- @slot Slot for emoji picker component, including the anchor. -->\n <slot name=\"picker\" />\n </span>\n</template>\n\n<script>\nimport { REACTIONS_ATTRIBUTES } from './emoji_row_constants.js';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport { DtEmoji } from '@/components/emoji';\nimport { DtEmojiTextWrapper } from '@/components/emoji_text_wrapper';\nimport { DialtoneLocalization } from '@/localization';\nimport { getEmojiShortCode } from '@/common/emoji';\n\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtRecipeEmojiRow',\n\n components: { DtTooltip, DtButton, DtEmoji, DtEmojiTextWrapper },\n\n props: {\n /**\n * Provide an array of reaction objects to be shown.\n */\n reactions: {\n type: Array,\n default: () => [],\n validator: (reactions) => {\n for (const reaction of reactions) {\n const validInput = REACTIONS_ATTRIBUTES.every((attribute) => reaction[attribute] !== undefined);\n if (!validInput) return false;\n }\n return true;\n },\n },\n },\n\n emits: [\n 'emoji-clicked',\n 'emoji-hovered',\n ],\n\n data () {\n return {\n i18n: new DialtoneLocalization(),\n };\n },\n\n methods: {\n emojiClicked (reaction) {\n this.$emit('emoji-clicked', reaction.emojiUnicodeOrShortname);\n },\n\n emojiHovered (reaction, state) {\n this.$emit('emoji-hovered', {\n reaction: reaction.emojiUnicodeOrShortname,\n state,\n });\n },\n\n reactionLabel (reaction) {\n return this.i18n.$t('DIALTONE_EMOJI_ROW_REACTION_LABEL', {\n reaction: getEmojiShortCode(reaction.emojiUnicodeOrShortname),\n personCount: reaction.num,\n });\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtTooltip","DtButton","DtEmoji","DtEmojiTextWrapper","reactions","reaction","REACTIONS_ATTRIBUTES","attribute","DialtoneLocalization","state","getEmojiShortCode","_hoisted_1","_hoisted_2","_hoisted_3","_createElementVNode","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_openBlock","_createElementBlock","_Fragment","_renderList","$props","_createVNode","_component_dt_tooltip","shown","$options","_withCtx","attrs","_component_dt_button","_normalizeClass","$event","_component_dt_emoji","_toDisplayString","_component_dt_emoji_text_wrapper","_hoisted_4","_createTextVNode","_renderSlot","_ctx"],"mappings":"wdAuEKA,EAAU,CACb,aAAc,CAAE,KAAM,GACtB,KAAM,mBAEN,WAAY,CAAA,UAAEC,EAAAA,QAAS,SAAEC,UAAQ,QAAEC,EAAAA,QAAO,mBAAEC,EAAAA,OAAiB,EAE7D,MAAO,CAIL,UAAW,CACT,KAAM,MACN,QAAS,IAAM,CAAA,EACf,UAAYC,GAAc,CACxB,UAAWC,KAAYD,EAErB,GAAI,CADeE,EAAAA,qBAAqB,MAAOC,GAAcF,EAASE,CAAS,IAAM,MAAS,EAC7E,MAAO,GAE1B,MAAO,EACT,IAIJ,MAAO,CACL,gBACA,iBAGF,MAAQ,CACN,MAAO,CACL,KAAM,IA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AAatB,CAAQ,IAvCzC,QAAAuB,EAAAA,QAyCY,IAOO,CAPPd,EAAAA,mBAOO,OAPPG,EAOO,CANLO,EAAAA,YAKES,EAAA,CAJA,MAAM,4BACN,KAAK,MACL,YAAU,gCACT,KAAM5B,EAAS,4CAGpBS,EAAAA,mBAEO,OAFPI,EAEOgB,EAAAA,gBADF7B,EAAS,GAAG,EAAA,CAAA,IAlD7B,EAAA,oDAAA,QAAAuB,EAAAA,QAaQ,IAcO,CAdPd,EAAAA,mBAcO,OAdPF,EAcO,CAbLY,EAAAA,YAYwBW,EAAA,CAZD,KAAK,KAAK,EAAA,CAd3C,QAAAP,EAAAA,QAeY,IAEI,CAFJd,EAAAA,mBAEI,IAFJD,EAEIqB,EAAAA,gBADC7B,EAAS,uBAAuB,EAAA,CAAA,EAErC+B,EACAtB,EAAAA,mBAMI,IANJC,EAMI,CAzBhBsB,EAAAA,gBAAAH,EAAAA,gBAoBiB7B,EAAS,KAAK,EAAG,IACpB,CAAA,EAAAS,EAAAA,mBAGE,OAAA,CAFA,MAAM,oCAtBtB,YAuBgBoB,EAAAA,gBAAQP,EAAA,cAActB,CAAQ,CAAA,CAvB9C,EAAA,KAAA,EAAAW,CAAA,MAAA,EAAA,aAAA,EAAA,+BA0DIsB,aAAsBC,EAAA,OAAA,QAAA"}
|
|
@@ -51,7 +51,7 @@ const g = {
|
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
}, y = { class: "d-recipe-emoji-row" }, A = { "aria-hidden": "true" }, N = { class: "d-recipe-emoji-row__tooltip-emoji" }, R = /* @__PURE__ */ t("br", null, null, -1), U = { class: "d-recipe-emoji-row__tooltip-names" },
|
|
54
|
+
}, y = { class: "d-recipe-emoji-row" }, A = { "aria-hidden": "true" }, N = { class: "d-recipe-emoji-row__tooltip-emoji" }, R = /* @__PURE__ */ t("br", null, null, -1), U = { class: "d-recipe-emoji-row__tooltip-names" }, z = ["textContent"], B = { class: "d-recipe-emoji-row__emoji" }, $ = { class: "d-recipe-emoji-row__reaction-number" };
|
|
55
55
|
function V(e, i, _, p, H, r) {
|
|
56
56
|
const j = n("dt-emoji-text-wrapper"), u = n("dt-emoji"), f = n("dt-button"), h = n("dt-tooltip");
|
|
57
57
|
return d(), l("span", y, [
|
|
@@ -79,14 +79,15 @@ function V(e, i, _, p, H, r) {
|
|
|
79
79
|
onClick: (M) => r.emojiClicked(o)
|
|
80
80
|
}, {
|
|
81
81
|
default: c(() => [
|
|
82
|
-
t("span",
|
|
82
|
+
t("span", B, [
|
|
83
83
|
m(u, {
|
|
84
84
|
class: "d-recipe-emoji-row__emoji",
|
|
85
|
+
size: "200",
|
|
85
86
|
"img-class": "d-recipe-emoji-row__emoji-img",
|
|
86
87
|
code: o.emojiUnicodeOrShortname
|
|
87
88
|
}, null, 8, ["code"])
|
|
88
89
|
]),
|
|
89
|
-
t("span",
|
|
90
|
+
t("span", $, s(o.num), 1)
|
|
90
91
|
]),
|
|
91
92
|
_: 2
|
|
92
93
|
}, 1032, ["class", "aria-label", "attrs", "onClick"])
|
|
@@ -102,7 +103,7 @@ function V(e, i, _, p, H, r) {
|
|
|
102
103
|
t("span", {
|
|
103
104
|
class: "d-recipe-emoji-row__tooltip-label",
|
|
104
105
|
textContent: s(r.reactionLabel(o))
|
|
105
|
-
}, null, 8,
|
|
106
|
+
}, null, 8, z)
|
|
106
107
|
])
|
|
107
108
|
]),
|
|
108
109
|
_: 2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji-row.js","sources":["../../../recipes/conversation_view/emoji_row/emoji_row.vue"],"sourcesContent":["<template>\n <span class=\"d-recipe-emoji-row\">\n <span\n v-for=\"reaction in reactions\"\n :key=\"reaction.unicodeOutput\"\n >\n <dt-tooltip\n class=\"d-recipe-emoji-row__tooltip\"\n content-class=\"d-recipe-emoji-row__tooltip-content\"\n :fallback-placements=\"['top', 'bottom']\"\n sticky=\"popper\"\n @shown=\"(shown) => emojiHovered(reaction, shown)\"\n >\n <span aria-hidden=\"true\">\n <dt-emoji-text-wrapper size=\"800\">\n <p class=\"d-recipe-emoji-row__tooltip-emoji\">\n {{ reaction.emojiUnicodeOrShortname }}\n </p>\n <br>\n <p class=\"d-recipe-emoji-row__tooltip-names\">\n {{ reaction.names }}\n <span\n class=\"d-recipe-emoji-row__tooltip-label\"\n v-text=\"reactionLabel(reaction)\"\n />\n </p>\n </dt-emoji-text-wrapper>\n </span>\n <template #anchor=\"{ attrs }\">\n <dt-button\n importance=\"clear\"\n size=\"sm\"\n data-qa=\"feed-item-reaction-button\"\n :class=\"[\n 'd-recipe-emoji-row__reaction',\n reaction.isSelected ? 'd-recipe-emoji-row__reaction--selected' : '',\n ]\"\n :aria-label=\"reactionLabel(reaction)\"\n :attrs=\"attrs\"\n @click=\"emojiClicked(reaction)\"\n >\n <span class=\"d-recipe-emoji-row__emoji\">\n <dt-emoji\n class=\"d-recipe-emoji-row__emoji\"\n img-class=\"d-recipe-emoji-row__emoji-img\"\n :code=\"reaction.emojiUnicodeOrShortname\"\n />\n </span>\n <span class=\"d-recipe-emoji-row__reaction-number\">\n {{ reaction.num }}\n </span>\n </dt-button>\n </template>\n </dt-tooltip>\n </span>\n <!-- TODO: Replace picker slot with a button with localized text and emit any event needed -->\n <!-- @slot Slot for emoji picker component, including the anchor. -->\n <slot name=\"picker\" />\n </span>\n</template>\n\n<script>\nimport { REACTIONS_ATTRIBUTES } from './emoji_row_constants.js';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport { DtEmoji } from '@/components/emoji';\nimport { DtEmojiTextWrapper } from '@/components/emoji_text_wrapper';\nimport { DialtoneLocalization } from '@/localization';\nimport { getEmojiShortCode } from '@/common/emoji';\n\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtRecipeEmojiRow',\n\n components: { DtTooltip, DtButton, DtEmoji, DtEmojiTextWrapper },\n\n props: {\n /**\n * Provide an array of reaction objects to be shown.\n */\n reactions: {\n type: Array,\n default: () => [],\n validator: (reactions) => {\n for (const reaction of reactions) {\n const validInput = REACTIONS_ATTRIBUTES.every((attribute) => reaction[attribute] !== undefined);\n if (!validInput) return false;\n }\n return true;\n },\n },\n },\n\n emits: [\n 'emoji-clicked',\n 'emoji-hovered',\n ],\n\n data () {\n return {\n i18n: new DialtoneLocalization(),\n };\n },\n\n methods: {\n emojiClicked (reaction) {\n this.$emit('emoji-clicked', reaction.emojiUnicodeOrShortname);\n },\n\n emojiHovered (reaction, state) {\n this.$emit('emoji-hovered', {\n reaction: reaction.emojiUnicodeOrShortname,\n state,\n });\n },\n\n reactionLabel (reaction) {\n return this.i18n.$t('DIALTONE_EMOJI_ROW_REACTION_LABEL', {\n reaction: getEmojiShortCode(reaction.emojiUnicodeOrShortname),\n personCount: reaction.num,\n });\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtTooltip","DtButton","DtEmoji","DtEmojiTextWrapper","reactions","reaction","REACTIONS_ATTRIBUTES","attribute","DialtoneLocalization","state","getEmojiShortCode","_hoisted_1","_hoisted_2","_hoisted_3","_createElementVNode","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_openBlock","_createElementBlock","_Fragment","_renderList","$props","_createVNode","_component_dt_tooltip","shown","$options","_withCtx","attrs","_component_dt_button","_normalizeClass","$event","_component_dt_emoji","_toDisplayString","_component_dt_emoji_text_wrapper","_hoisted_4","_createTextVNode","_renderSlot","_ctx"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"emoji-row.js","sources":["../../../recipes/conversation_view/emoji_row/emoji_row.vue"],"sourcesContent":["<template>\n <span class=\"d-recipe-emoji-row\">\n <span\n v-for=\"reaction in reactions\"\n :key=\"reaction.unicodeOutput\"\n >\n <dt-tooltip\n class=\"d-recipe-emoji-row__tooltip\"\n content-class=\"d-recipe-emoji-row__tooltip-content\"\n :fallback-placements=\"['top', 'bottom']\"\n sticky=\"popper\"\n @shown=\"(shown) => emojiHovered(reaction, shown)\"\n >\n <span aria-hidden=\"true\">\n <dt-emoji-text-wrapper size=\"800\">\n <p class=\"d-recipe-emoji-row__tooltip-emoji\">\n {{ reaction.emojiUnicodeOrShortname }}\n </p>\n <br>\n <p class=\"d-recipe-emoji-row__tooltip-names\">\n {{ reaction.names }}\n <span\n class=\"d-recipe-emoji-row__tooltip-label\"\n v-text=\"reactionLabel(reaction)\"\n />\n </p>\n </dt-emoji-text-wrapper>\n </span>\n <template #anchor=\"{ attrs }\">\n <dt-button\n importance=\"clear\"\n size=\"sm\"\n data-qa=\"feed-item-reaction-button\"\n :class=\"[\n 'd-recipe-emoji-row__reaction',\n reaction.isSelected ? 'd-recipe-emoji-row__reaction--selected' : '',\n ]\"\n :aria-label=\"reactionLabel(reaction)\"\n :attrs=\"attrs\"\n @click=\"emojiClicked(reaction)\"\n >\n <span class=\"d-recipe-emoji-row__emoji\">\n <dt-emoji\n class=\"d-recipe-emoji-row__emoji\"\n size=\"200\"\n img-class=\"d-recipe-emoji-row__emoji-img\"\n :code=\"reaction.emojiUnicodeOrShortname\"\n />\n </span>\n <span class=\"d-recipe-emoji-row__reaction-number\">\n {{ reaction.num }}\n </span>\n </dt-button>\n </template>\n </dt-tooltip>\n </span>\n <!-- TODO: Replace picker slot with a button with localized text and emit any event needed -->\n <!-- @slot Slot for emoji picker component, including the anchor. -->\n <slot name=\"picker\" />\n </span>\n</template>\n\n<script>\nimport { REACTIONS_ATTRIBUTES } from './emoji_row_constants.js';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport { DtEmoji } from '@/components/emoji';\nimport { DtEmojiTextWrapper } from '@/components/emoji_text_wrapper';\nimport { DialtoneLocalization } from '@/localization';\nimport { getEmojiShortCode } from '@/common/emoji';\n\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtRecipeEmojiRow',\n\n components: { DtTooltip, DtButton, DtEmoji, DtEmojiTextWrapper },\n\n props: {\n /**\n * Provide an array of reaction objects to be shown.\n */\n reactions: {\n type: Array,\n default: () => [],\n validator: (reactions) => {\n for (const reaction of reactions) {\n const validInput = REACTIONS_ATTRIBUTES.every((attribute) => reaction[attribute] !== undefined);\n if (!validInput) return false;\n }\n return true;\n },\n },\n },\n\n emits: [\n 'emoji-clicked',\n 'emoji-hovered',\n ],\n\n data () {\n return {\n i18n: new DialtoneLocalization(),\n };\n },\n\n methods: {\n emojiClicked (reaction) {\n this.$emit('emoji-clicked', reaction.emojiUnicodeOrShortname);\n },\n\n emojiHovered (reaction, state) {\n this.$emit('emoji-hovered', {\n reaction: reaction.emojiUnicodeOrShortname,\n state,\n });\n },\n\n reactionLabel (reaction) {\n return this.i18n.$t('DIALTONE_EMOJI_ROW_REACTION_LABEL', {\n reaction: getEmojiShortCode(reaction.emojiUnicodeOrShortname),\n personCount: reaction.num,\n });\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtTooltip","DtButton","DtEmoji","DtEmojiTextWrapper","reactions","reaction","REACTIONS_ATTRIBUTES","attribute","DialtoneLocalization","state","getEmojiShortCode","_hoisted_1","_hoisted_2","_hoisted_3","_createElementVNode","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_openBlock","_createElementBlock","_Fragment","_renderList","$props","_createVNode","_component_dt_tooltip","shown","$options","_withCtx","attrs","_component_dt_button","_normalizeClass","$event","_component_dt_emoji","_toDisplayString","_component_dt_emoji_text_wrapper","_hoisted_4","_createTextVNode","_renderSlot","_ctx"],"mappings":";;;;;;;;;AAuEA,MAAKA,IAAU;AAAA,EACb,cAAc,EAAE,MAAM;EACtB,MAAM;AAAA,EAEN,YAAY,EAAE,WAAAC,GAAW,UAAAC,GAAU,SAAAC,GAAO,oBAAEC,EAAiB;AAAA,EAE7D,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS,MAAM,CAAA;AAAA,MACf,WAAW,CAACC,MAAc;AACxB,mBAAWC,KAAYD;AAErB,cAAI,CADeE,EAAqB,MAAM,CAACC,MAAcF,EAASE,CAAS,MAAM,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ad/dialtone-icons/vue3"),_=require("../../localization/index.cjs"),e=require("vue"),P=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),b=require("../button/button.cjs"),m={compatConfig:{MODE:3},name:"DtPagination",components:{DtButton:b.default,DtIconChevronLeft:u.DtIconChevronLeft,DtIconChevronRight:u.DtIconChevronRight,DtIconMoreHorizontal:u.DtIconMoreHorizontal},props:{ariaLabel:{type:String,required:!0},totalPages:{type:Number,required:!0},activePage:{type:Number,default:1},maxVisible:{type:Number,default:5},hideEdges:{type:Boolean,default:!1}},emits:["change"],data(){return{currentPage:this.activePage,i18n:new _.DialtoneLocalization}},computed:{isFirstPage(){return this.currentPage===1},isLastPage(){return this.currentPage===this.totalPages},pages(){if(this.maxVisible===0)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);let t=this.maxVisible-1,i=this.totalPages-t+1;if(this.hideEdges&&(t=t+1,i=i-1),this.currentPage<t){const r=[...this.range(1,t),"..."];return this.hideEdges||r.push(this.totalPages),r}if(this.currentPage>i){const r=["...",...this.range(i,this.totalPages)];return this.hideEdges||r.unshift(1),r}const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("@dialpad/dialtone-icons/vue3"),_=require("../../localization/index.cjs"),e=require("vue"),P=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),b=require("../button/button.cjs"),m={compatConfig:{MODE:3},name:"DtPagination",components:{DtButton:b.default,DtIconChevronLeft:u.DtIconChevronLeft,DtIconChevronRight:u.DtIconChevronRight,DtIconMoreHorizontal:u.DtIconMoreHorizontal},props:{ariaLabel:{type:String,required:!0},totalPages:{type:Number,required:!0},activePage:{type:Number,default:1},maxVisible:{type:Number,default:5},hideEdges:{type:Boolean,default:!1}},emits:["change"],data(){return{currentPage:this.activePage,i18n:new _.DialtoneLocalization}},computed:{isFirstPage(){return this.currentPage===1},isLastPage(){return this.currentPage===this.totalPages},pages(){if(this.maxVisible===0)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);let t=this.maxVisible-1,i=this.totalPages-t+1;if(this.hideEdges&&(t=t+1,i=i-1),this.currentPage<t){const r=[...this.range(1,t),"..."];return this.hideEdges||r.push(this.totalPages),r}if(this.currentPage>i){const r=["...",...this.range(i,this.totalPages)];return this.hideEdges||r.unshift(1),r}const o=this.maxVisible-(3-this.maxVisible%2),l=Math.floor(o/2);let s=this.currentPage-l,a=this.currentPage+l;this.hideEdges&&(s=s-1,a=a+1);const c=["...",...this.range(s,a),"..."];return this.hideEdges?c:[1,...c,this.totalPages]},prevAriaLabel(){return this.isFirstPage?this.i18n.$t("DIALTONE_PAGINATION_FIRST_PAGE"):this.i18n.$t("DIALTONE_PAGINATION_PREVIOUS_PAGE")},nextAriaLabel(){return this.isLastPage?this.i18n.$t("DIALTONE_PAGINATION_LAST_PAGE"):this.i18n.$t("DIALTONE_PAGINATION_NEXT_PAGE")},pageNumberAriaLabel(){return t=>t===this.totalPages?`${this.i18n.$t("DIALTONE_PAGINATION_LAST_PAGE")} ${t}`:`${this.i18n.$t("DIALTONE_PAGINATION_PAGE_NUMBER",{page:t})}`}},watch:{activePage(){this.currentPage=this.activePage},totalPages(t){(this.currentPage>t||this.currentPage<=0)&&(this.currentPage=t)}},methods:{range(t,i){const o=[];t=t>0?t:1;for(let l=t;l<=i;l++)o.push(l);return o},changePage(t){this.currentPage=t,this.$emit("change",this.currentPage)}}},p=["aria-label"],N={key:0,class:"d-pagination__separator-icon","data-qa":"dt-pagination-separator"};function A(t,i,o,l,s,a){const c=e.resolveComponent("dt-icon-chevron-left"),r=e.resolveComponent("dt-button"),h=e.resolveComponent("dt-icon-more-horizontal"),g=e.resolveComponent("dt-icon-chevron-right");return e.withDirectives((e.openBlock(),e.createElementBlock("nav",{"aria-label":o.ariaLabel,class:"d-pagination"},[e.createVNode(r,{class:"d-pagination__button","data-qa":"dt-pagination-prev","aria-label":a.prevAriaLabel,kind:"muted",importance:"clear",disabled:a.isFirstPage,onClick:i[0]||(i[0]=n=>a.changePage(s.currentPage-1))},{icon:e.withCtx(()=>[e.createVNode(c,{size:"300"})]),_:1},8,["aria-label","disabled"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.pages,(n,d)=>(e.openBlock(),e.createElementBlock("div",{key:`page-${n}-${d}`,class:e.normalizeClass({"d-pagination__separator":isNaN(Number(n))})},[isNaN(Number(n))?(e.openBlock(),e.createElementBlock("div",N,[e.createVNode(h,{size:"300"})])):(e.openBlock(),e.createBlock(r,{key:1,"aria-label":a.pageNumberAriaLabel(n),kind:s.currentPage===n?"default":"muted",importance:s.currentPage===n?"primary":"clear","label-class":"",onClick:f=>a.changePage(n)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n),1)]),_:2},1032,["aria-label","kind","importance","onClick"]))],2))),128)),e.createVNode(r,{class:"d-pagination__button","data-qa":"dt-pagination-next","aria-label":a.nextAriaLabel,disabled:a.isLastPage,kind:"muted",importance:"clear",onClick:i[1]||(i[1]=n=>a.changePage(s.currentPage+1))},{icon:e.withCtx(()=>[e.createVNode(g,{size:"300"})]),_:1},8,["aria-label","disabled"])],8,p)),[[e.vShow,o.totalPages>0]])}const v=P._(m,[["render",A]]);exports.default=v;
|
|
2
2
|
//# sourceMappingURL=pagination.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.cjs","sources":["../../../components/pagination/pagination.vue"],"sourcesContent":["<template>\n <nav\n :aria-label=\"ariaLabel\"\n class=\"d-pagination\"\n >\n <dt-button\n class=\"d-pagination__button\"\n data-qa=\"dt-pagination-prev\"\n :aria-label=\"prevAriaLabel\"\n kind=\"muted\"\n importance=\"clear\"\n :disabled=\"isFirstPage\"\n @click=\"changePage(currentPage - 1)\"\n >\n <template #icon>\n <dt-icon-chevron-left\n size=\"300\"\n />\n </template>\n </dt-button>\n <div\n v-for=\"(page, index) in pages\"\n :key=\"`page-${page}-${index}`\"\n :class=\"{ 'd-pagination__separator': isNaN(Number(page)) }\"\n >\n <!-- eslint-disable vue/no-bare-strings-in-template -->\n <div\n v-if=\"isNaN(Number(page))\"\n class=\"d-pagination__separator-icon\"\n data-qa=\"dt-pagination-separator\"\n >\n <dt-icon-more-horizontal\n size=\"300\"\n />\n <!-- … -->\n </div>\n <dt-button\n v-else\n :aria-label=\"pageNumberAriaLabel(page)\"\n :kind=\"currentPage === page ? 'default' : 'muted'\"\n :importance=\"currentPage === page ? 'primary' : 'clear'\"\n label-class=\"\"\n @click=\"changePage(page)\"\n >\n {{ page }}\n </dt-button>\n </div>\n <dt-button\n class=\"d-pagination__button\"\n data-qa=\"dt-pagination-next\"\n :aria-label=\"nextAriaLabel\"\n :disabled=\"isLastPage\"\n kind=\"muted\"\n importance=\"clear\"\n @click=\"changePage(currentPage + 1)\"\n >\n <template #icon>\n <dt-icon-chevron-right\n size=\"300\"\n />\n </template>\n </dt-button>\n </nav>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtIconChevronLeft, DtIconChevronRight, DtIconMoreHorizontal } from '@dialpad/dialtone-icons/vue3';\nimport { DialtoneLocalization } from '@/localization';\n\n/**\n * Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.\n * @see https://dialtone.dialpad.com/components/pagination.html\n */\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtPagination',\n\n components: {\n DtButton,\n DtIconChevronLeft,\n DtIconChevronRight,\n DtIconMoreHorizontal,\n },\n\n props: {\n /**\n * Descriptive label for the pagination content.\n */\n ariaLabel: {\n type: String,\n required: true,\n },\n\n /**\n * The total number of the pages\n */\n totalPages: {\n type: Number,\n required: true,\n },\n\n /**\n * The active current page in the list of pages, defaults to the first page\n */\n activePage: {\n type: Number,\n default: 1,\n },\n\n /**\n * Determines the max pages to be shown in the list. Using an odd number is recommended.\n * If an even number is given, then it will be rounded down to the nearest odd number to always\n * keep current page in the middle when current page is in the mid-range.\n */\n maxVisible: {\n type: Number,\n default: 5,\n },\n\n /**\n * Sometimes you may need to hide start and end page number buttons when moving in between.\n * This prop will be used to hide the first and last page buttons when not near the edges.\n * This is useful when your backend does not support offset and you can only use cursor based pagination.\n */\n hideEdges: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Page change event\n *\n * @event change\n * @type {Number}\n */\n 'change',\n ],\n\n data () {\n return {\n currentPage: this.activePage,\n i18n: new DialtoneLocalization(),\n };\n },\n\n computed: {\n isFirstPage () {\n return this.currentPage === 1;\n },\n\n isLastPage () {\n return this.currentPage === this.totalPages;\n },\n\n // eslint-disable-next-line complexity\n pages () {\n if (this.maxVisible === 0) {\n return [];\n }\n if (this.totalPages <= this.maxVisible) {\n return this.range(1, this.totalPages);\n }\n\n let start = this.maxVisible - 1;\n let end = this.totalPages - start + 1;\n\n // if hideEdges is true, modify the start and\n // end to account for the hidden pages\n if (this.hideEdges) {\n start = start + 1;\n end = end - 1;\n }\n\n if (this.currentPage < start) {\n const pages = [...this.range(1, start), '...'];\n if (!this.hideEdges) {\n // add last page to the end\n pages.push(this.totalPages);\n }\n return pages;\n }\n\n if (this.currentPage > end) {\n const pages = ['...', ...this.range(end, this.totalPages)];\n if (!this.hideEdges) {\n // add first page to the beginning\n pages.unshift(1);\n }\n return pages;\n }\n\n // rounding to the nearest odd according to the maxlength to always show the page number in the middle.\n const total = this.maxVisible - (3 - this.maxVisible % 2);\n const centerIndex = Math.floor(total / 2);\n let left = this.currentPage - centerIndex;\n let right = this.currentPage + centerIndex;\n\n // if hideEdge is true, modify the left and right to account for the hidden pages\n if (this.hideEdges) {\n left = left - 1;\n right = right + 1;\n }\n\n const pages = ['...', ...this.range(left, right), '...'];\n if (!this.hideEdges) {\n return [1, ...pages, this.totalPages];\n }\n return pages;\n },\n\n prevAriaLabel () {\n return this.isFirstPage ? this.i18n.$t('DIALTONE_PAGINATION_FIRST_PAGE') : this.i18n.$t('DIALTONE_PAGINATION_PREVIOUS_PAGE');\n },\n\n nextAriaLabel () {\n return this.isLastPage ? this.i18n.$t('DIALTONE_PAGINATION_LAST_PAGE') : this.i18n.$t('DIALTONE_PAGINATION_NEXT_PAGE');\n },\n\n pageNumberAriaLabel () {\n return (page) => {\n return page === this.totalPages ? `${this.i18n.$t('DIALTONE_PAGINATION_LAST_PAGE')} ${page}` : `${this.i18n.$t('DIALTONE_PAGINATION_PAGE_NUMBER', { page })}`;\n };\n },\n },\n\n watch: {\n activePage () {\n this.currentPage = this.activePage;\n },\n },\n\n methods: {\n range (from, to) {\n const range = [];\n from = from > 0 ? from : 1;\n for (let i = from; i <= to; i++) {\n range.push(i);\n }\n return range;\n },\n\n changePage (page) {\n this.currentPage = page;\n this.$emit('change', this.currentPage);\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtButton","DtIconChevronLeft","DtIconChevronRight","DtIconMoreHorizontal","DialtoneLocalization","start","end","pages","total","centerIndex","left","right","page","from","to","range","i","_hoisted_1","_createElementBlock","$props","_createVNode","_component_dt_button","$options","_cache","$event","$data","_component_dt_icon_chevron_left","_openBlock","_Fragment","_renderList","index","_normalizeClass","_hoisted_2","_component_dt_icon_more_horizontal","_createBlock","_withCtx","_createTextVNode","_toDisplayString","_component_dt_icon_chevron_right"],"mappings":"mTA0EKA,EAAU,CACb,aAAc,CAAE,KAAM,GACtB,KAAM,eAEN,WAAY,CACV,SAAAC,EAAAA,QACA,kBAAAC,EAAAA,kBACA,mBAAAC,EAAAA,mBACA,qBAAAC,EAAAA,sBAGF,MAAO,CAIL,UAAW,CACT,KAAM,OACN,SAAU,IAMZ,WAAY,CACV,KAAM,OACN,SAAU,IAMZ,WAAY,CACV,KAAM,OACN,QAAS,GAQX,WAAY,CACV,KAAM,OACN,QAAS,GAQX,UAAW,CACT,KAAM,QACN,QAAS,KAIb,MAAO,CAOL,UAGF,MAAQ,CACN,MAAO,CACL,YAAa,KAAK,WAClB,KAAM,IAAIC,EAAAA,qBAEd,EAEA,SAAU,CACR,aAAe,CACb,OAAO,KAAK,cAAgB,CAC9B,EAEA,YAAc,CACZ,OAAO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AK,CAAA,oBAIdC,EAAAA,YASYb,EAAA,CA7ClB,IAAA,EAsCS,aAAYC,EAAA,oBAAoBV,CAAI,EACpC,KAAMa,EAAA,cAAgBb,EAAI,UAAA,QAC1B,WAAYa,EAAA,cAAgBb,EAAI,UAAA,QACjC,cAAY,GACX,QAAKY,GAAEF,EAAA,WAAWV,CAAI,IA1C/B,QAAAuB,EAAAA,QA4CQ,IAAU,CA5ClBC,kBAAAC,EAAAA,gBA4CWzB,CAAI,EAAA,CAAA,IA5Cf,EAAA,mEA+CIQ,EAAAA,YAcYC,EAAA,CAbV,MAAM,uBACN,UAAQ,qBACP,aAAYC,EAAA,cACZ,SAAUA,EAAA,WACX,KAAK,QACL,WAAW,QACV,QAAKC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEF,EAAA,WAAWG,EAAA,YAAW,CAAA,KAEnB,eACT,IAEE,CAFFL,EAAAA,YAEEkB,EAAA,CADA,KAAK,KAAK,CAAA,IA1DpB,EAAA,+BAAA,EAAA,EAAArB,CAAA"}
|
|
1
|
+
{"version":3,"file":"pagination.cjs","sources":["../../../components/pagination/pagination.vue"],"sourcesContent":["<template>\n <nav\n v-show=\"totalPages > 0\"\n :aria-label=\"ariaLabel\"\n class=\"d-pagination\"\n >\n <dt-button\n class=\"d-pagination__button\"\n data-qa=\"dt-pagination-prev\"\n :aria-label=\"prevAriaLabel\"\n kind=\"muted\"\n importance=\"clear\"\n :disabled=\"isFirstPage\"\n @click=\"changePage(currentPage - 1)\"\n >\n <template #icon>\n <dt-icon-chevron-left\n size=\"300\"\n />\n </template>\n </dt-button>\n <div\n v-for=\"(page, index) in pages\"\n :key=\"`page-${page}-${index}`\"\n :class=\"{ 'd-pagination__separator': isNaN(Number(page)) }\"\n >\n <!-- eslint-disable vue/no-bare-strings-in-template -->\n <div\n v-if=\"isNaN(Number(page))\"\n class=\"d-pagination__separator-icon\"\n data-qa=\"dt-pagination-separator\"\n >\n <dt-icon-more-horizontal\n size=\"300\"\n />\n <!-- … -->\n </div>\n <dt-button\n v-else\n :aria-label=\"pageNumberAriaLabel(page)\"\n :kind=\"currentPage === page ? 'default' : 'muted'\"\n :importance=\"currentPage === page ? 'primary' : 'clear'\"\n label-class=\"\"\n @click=\"changePage(page)\"\n >\n {{ page }}\n </dt-button>\n </div>\n <dt-button\n class=\"d-pagination__button\"\n data-qa=\"dt-pagination-next\"\n :aria-label=\"nextAriaLabel\"\n :disabled=\"isLastPage\"\n kind=\"muted\"\n importance=\"clear\"\n @click=\"changePage(currentPage + 1)\"\n >\n <template #icon>\n <dt-icon-chevron-right\n size=\"300\"\n />\n </template>\n </dt-button>\n </nav>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtIconChevronLeft, DtIconChevronRight, DtIconMoreHorizontal } from '@dialpad/dialtone-icons/vue3';\nimport { DialtoneLocalization } from '@/localization';\n\n/**\n * Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.\n * @see https://dialtone.dialpad.com/components/pagination.html\n */\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtPagination',\n\n components: {\n DtButton,\n DtIconChevronLeft,\n DtIconChevronRight,\n DtIconMoreHorizontal,\n },\n\n props: {\n /**\n * Descriptive label for the pagination content.\n */\n ariaLabel: {\n type: String,\n required: true,\n },\n\n /**\n * The total number of the pages\n */\n totalPages: {\n type: Number,\n required: true,\n },\n\n /**\n * The active current page in the list of pages, defaults to the first page\n */\n activePage: {\n type: Number,\n default: 1,\n },\n\n /**\n * Determines the max pages to be shown in the list. Using an odd number is recommended.\n * If an even number is given, then it will be rounded down to the nearest odd number to always\n * keep current page in the middle when current page is in the mid-range.\n */\n maxVisible: {\n type: Number,\n default: 5,\n },\n\n /**\n * Sometimes you may need to hide start and end page number buttons when moving in between.\n * This prop will be used to hide the first and last page buttons when not near the edges.\n * This is useful when your backend does not support offset and you can only use cursor based pagination.\n */\n hideEdges: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Page change event\n *\n * @event change\n * @type {Number}\n */\n 'change',\n ],\n\n data () {\n return {\n currentPage: this.activePage,\n i18n: new DialtoneLocalization(),\n };\n },\n\n computed: {\n isFirstPage () {\n return this.currentPage === 1;\n },\n\n isLastPage () {\n return this.currentPage === this.totalPages;\n },\n\n // eslint-disable-next-line complexity\n pages () {\n if (this.maxVisible === 0) {\n return [];\n }\n if (this.totalPages <= this.maxVisible) {\n return this.range(1, this.totalPages);\n }\n\n let start = this.maxVisible - 1;\n let end = this.totalPages - start + 1;\n\n // if hideEdges is true, modify the start and\n // end to account for the hidden pages\n if (this.hideEdges) {\n start = start + 1;\n end = end - 1;\n }\n\n if (this.currentPage < start) {\n const pages = [...this.range(1, start), '...'];\n if (!this.hideEdges) {\n // add last page to the end\n pages.push(this.totalPages);\n }\n return pages;\n }\n\n if (this.currentPage > end) {\n const pages = ['...', ...this.range(end, this.totalPages)];\n if (!this.hideEdges) {\n // add first page to the beginning\n pages.unshift(1);\n }\n return pages;\n }\n\n // rounding to the nearest odd according to the maxlength to always show the page number in the middle.\n const total = this.maxVisible - (3 - this.maxVisible % 2);\n const centerIndex = Math.floor(total / 2);\n let left = this.currentPage - centerIndex;\n let right = this.currentPage + centerIndex;\n\n // if hideEdge is true, modify the left and right to account for the hidden pages\n if (this.hideEdges) {\n left = left - 1;\n right = right + 1;\n }\n\n const pages = ['...', ...this.range(left, right), '...'];\n if (!this.hideEdges) {\n return [1, ...pages, this.totalPages];\n }\n return pages;\n },\n\n prevAriaLabel () {\n return this.isFirstPage ? this.i18n.$t('DIALTONE_PAGINATION_FIRST_PAGE') : this.i18n.$t('DIALTONE_PAGINATION_PREVIOUS_PAGE');\n },\n\n nextAriaLabel () {\n return this.isLastPage ? this.i18n.$t('DIALTONE_PAGINATION_LAST_PAGE') : this.i18n.$t('DIALTONE_PAGINATION_NEXT_PAGE');\n },\n\n pageNumberAriaLabel () {\n return (page) => {\n return page === this.totalPages ? `${this.i18n.$t('DIALTONE_PAGINATION_LAST_PAGE')} ${page}` : `${this.i18n.$t('DIALTONE_PAGINATION_PAGE_NUMBER', { page })}`;\n };\n },\n },\n\n watch: {\n activePage () {\n this.currentPage = this.activePage;\n },\n\n totalPages (pages) {\n if (this.currentPage > pages || this.currentPage <= 0){\n this.currentPage = pages;\n }\n },\n },\n\n methods: {\n range (from, to) {\n const range = [];\n from = from > 0 ? from : 1;\n for (let i = from; i <= to; i++) {\n range.push(i);\n }\n return range;\n },\n\n changePage (page) {\n this.currentPage = page;\n this.$emit('change', this.currentPage);\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtButton","DtIconChevronLeft","DtIconChevronRight","DtIconMoreHorizontal","DialtoneLocalization","start","end","pages","total","centerIndex","left","right","page","from","to","range","i","_hoisted_1","_createElementBlock","$props","_createVNode","_component_dt_button","$options","_cache","$event","$data","_component_dt_icon_chevron_left","_openBlock","_Fragment","_renderList","index","_normalizeClass","_hoisted_2","_component_dt_icon_more_horizontal","_createBlock","_withCtx","_createTextVNode","_toDisplayString","_component_dt_icon_chevron_right"],"mappings":"mTA2EKA,EAAU,CACb,aAAc,CAAE,KAAM,GACtB,KAAM,eAEN,WAAY,CACV,SAAAC,EAAAA,QACA,kBAAAC,EAAAA,kBACA,mBAAAC,EAAAA,mBACA,qBAAAC,EAAAA,sBAGF,MAAO,CAIL,UAAW,CACT,KAAM,OACN,SAAU,IAMZ,WAAY,CACV,KAAM,OACN,SAAU,IAMZ,WAAY,CACV,KAAM,OACN,QAAS,GAQX,WAAY,CACV,KAAM,OACN,QAAS,GAQX,UAAW,CACT,KAAM,QACN,QAAS,KAIb,MAAO,CAOL,UAGF,MAAQ,CACN,MAAO,CACL,YAAa,KAAK,WAClB,KAAM,IAAIC,EAAAA,qBAEd,EAEA,SAAU,CACR,aAAe,CACb,OAAO,KAAK,cAAgB,CAC9B,EAEA,YAAc,CACZ,OAAO,KAAK,cAAgB,KAAK,UACnC,EAGA,OAAS,CACP,GAAI,KAAK,aAAe,EACtB,MAAO,CAAA,EAET,GAAI,KAAK,YAA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,EAAAA,YASYb,EAAA,CA9ClB,IAAA,EAuCS,aAAYC,EAAA,oBAAoBV,CAAI,EACpC,KAAMa,EAAA,cAAgBb,EAAI,UAAA,QAC1B,WAAYa,EAAA,cAAgBb,EAAI,UAAA,QACjC,cAAY,GACX,QAAKY,GAAEF,EAAA,WAAWV,CAAI,IA3C/B,QAAAuB,EAAAA,QA6CQ,IAAU,CA7ClBC,kBAAAC,EAAAA,gBA6CWzB,CAAI,EAAA,CAAA,IA7Cf,EAAA,mEAgDIQ,EAAAA,YAcYC,EAAA,CAbV,MAAM,uBACN,UAAQ,qBACP,aAAYC,EAAA,cACZ,SAAUA,EAAA,WACX,KAAK,QACL,WAAW,QACV,QAAKC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEF,EAAA,WAAWG,EAAA,YAAW,CAAA,KAEnB,eACT,IAEE,CAFFL,EAAAA,YAEEkB,EAAA,CADA,KAAK,KAAK,CAAA,IA3DpB,EAAA,+BAAA,EAAA,EAAArB,CAAA,GAAA,UAEYE,EAAA,WAAU,CAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DtIconMoreHorizontal as b, DtIconChevronRight as p, DtIconChevronLeft as N } from "@dialpad/dialtone-icons/vue3";
|
|
2
2
|
import { DialtoneLocalization as A } from "../../localization/index.js";
|
|
3
|
-
import { resolveComponent as
|
|
4
|
-
import { _ as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
3
|
+
import { resolveComponent as g, withDirectives as f, createElementBlock as u, openBlock as l, createVNode as c, withCtx as d, Fragment as I, renderList as E, normalizeClass as v, createBlock as L, createTextVNode as T, toDisplayString as x, vShow as D } from "vue";
|
|
4
|
+
import { _ as k } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import O from "../button/button.js";
|
|
6
|
+
const G = {
|
|
7
7
|
compatConfig: { MODE: 3 },
|
|
8
8
|
name: "DtPagination",
|
|
9
9
|
components: {
|
|
10
|
-
DtButton:
|
|
10
|
+
DtButton: O,
|
|
11
11
|
DtIconChevronLeft: N,
|
|
12
12
|
DtIconChevronRight: p,
|
|
13
13
|
DtIconMoreHorizontal: b
|
|
@@ -90,11 +90,11 @@ const D = {
|
|
|
90
90
|
const r = ["...", ...this.range(a, this.totalPages)];
|
|
91
91
|
return this.hideEdges || r.unshift(1), r;
|
|
92
92
|
}
|
|
93
|
-
const
|
|
94
|
-
let n = this.currentPage -
|
|
93
|
+
const s = this.maxVisible - (3 - this.maxVisible % 2), o = Math.floor(s / 2);
|
|
94
|
+
let n = this.currentPage - o, e = this.currentPage + o;
|
|
95
95
|
this.hideEdges && (n = n - 1, e = e + 1);
|
|
96
|
-
const
|
|
97
|
-
return this.hideEdges ?
|
|
96
|
+
const h = ["...", ...this.range(n, e), "..."];
|
|
97
|
+
return this.hideEdges ? h : [1, ...h, this.totalPages];
|
|
98
98
|
},
|
|
99
99
|
prevAriaLabel() {
|
|
100
100
|
return this.isFirstPage ? this.i18n.$t("DIALTONE_PAGINATION_FIRST_PAGE") : this.i18n.$t("DIALTONE_PAGINATION_PREVIOUS_PAGE");
|
|
@@ -109,29 +109,32 @@ const D = {
|
|
|
109
109
|
watch: {
|
|
110
110
|
activePage() {
|
|
111
111
|
this.currentPage = this.activePage;
|
|
112
|
+
},
|
|
113
|
+
totalPages(t) {
|
|
114
|
+
(this.currentPage > t || this.currentPage <= 0) && (this.currentPage = t);
|
|
112
115
|
}
|
|
113
116
|
},
|
|
114
117
|
methods: {
|
|
115
118
|
range(t, a) {
|
|
116
|
-
const
|
|
119
|
+
const s = [];
|
|
117
120
|
t = t > 0 ? t : 1;
|
|
118
|
-
for (let
|
|
119
|
-
|
|
120
|
-
return
|
|
121
|
+
for (let o = t; o <= a; o++)
|
|
122
|
+
s.push(o);
|
|
123
|
+
return s;
|
|
121
124
|
},
|
|
122
125
|
changePage(t) {
|
|
123
126
|
this.currentPage = t, this.$emit("change", this.currentPage);
|
|
124
127
|
}
|
|
125
128
|
}
|
|
126
|
-
},
|
|
129
|
+
}, y = ["aria-label"], C = {
|
|
127
130
|
key: 0,
|
|
128
131
|
class: "d-pagination__separator-icon",
|
|
129
132
|
"data-qa": "dt-pagination-separator"
|
|
130
133
|
};
|
|
131
|
-
function
|
|
132
|
-
const
|
|
133
|
-
return l(),
|
|
134
|
-
"aria-label":
|
|
134
|
+
function V(t, a, s, o, n, e) {
|
|
135
|
+
const h = g("dt-icon-chevron-left"), r = g("dt-button"), P = g("dt-icon-more-horizontal"), _ = g("dt-icon-chevron-right");
|
|
136
|
+
return f((l(), u("nav", {
|
|
137
|
+
"aria-label": s.ariaLabel,
|
|
135
138
|
class: "d-pagination"
|
|
136
139
|
}, [
|
|
137
140
|
c(r, {
|
|
@@ -143,27 +146,27 @@ function y(t, a, o, s, n, e) {
|
|
|
143
146
|
disabled: e.isFirstPage,
|
|
144
147
|
onClick: a[0] || (a[0] = (i) => e.changePage(n.currentPage - 1))
|
|
145
148
|
}, {
|
|
146
|
-
icon:
|
|
147
|
-
c(
|
|
149
|
+
icon: d(() => [
|
|
150
|
+
c(h, { size: "300" })
|
|
148
151
|
]),
|
|
149
152
|
_: 1
|
|
150
153
|
}, 8, ["aria-label", "disabled"]),
|
|
151
|
-
(l(!0),
|
|
154
|
+
(l(!0), u(I, null, E(e.pages, (i, m) => (l(), u("div", {
|
|
152
155
|
key: `page-${i}-${m}`,
|
|
153
|
-
class:
|
|
156
|
+
class: v({ "d-pagination__separator": isNaN(Number(i)) })
|
|
154
157
|
}, [
|
|
155
|
-
isNaN(Number(i)) ? (l(),
|
|
156
|
-
c(
|
|
158
|
+
isNaN(Number(i)) ? (l(), u("div", C, [
|
|
159
|
+
c(P, { size: "300" })
|
|
157
160
|
])) : (l(), L(r, {
|
|
158
161
|
key: 1,
|
|
159
162
|
"aria-label": e.pageNumberAriaLabel(i),
|
|
160
163
|
kind: n.currentPage === i ? "default" : "muted",
|
|
161
164
|
importance: n.currentPage === i ? "primary" : "clear",
|
|
162
165
|
"label-class": "",
|
|
163
|
-
onClick: (
|
|
166
|
+
onClick: (z) => e.changePage(i)
|
|
164
167
|
}, {
|
|
165
|
-
default:
|
|
166
|
-
|
|
168
|
+
default: d(() => [
|
|
169
|
+
T(x(i), 1)
|
|
167
170
|
]),
|
|
168
171
|
_: 2
|
|
169
172
|
}, 1032, ["aria-label", "kind", "importance", "onClick"]))
|
|
@@ -177,15 +180,17 @@ function y(t, a, o, s, n, e) {
|
|
|
177
180
|
importance: "clear",
|
|
178
181
|
onClick: a[1] || (a[1] = (i) => e.changePage(n.currentPage + 1))
|
|
179
182
|
}, {
|
|
180
|
-
icon:
|
|
181
|
-
c(
|
|
183
|
+
icon: d(() => [
|
|
184
|
+
c(_, { size: "300" })
|
|
182
185
|
]),
|
|
183
186
|
_: 1
|
|
184
187
|
}, 8, ["aria-label", "disabled"])
|
|
185
|
-
], 8,
|
|
188
|
+
], 8, y)), [
|
|
189
|
+
[D, s.totalPages > 0]
|
|
190
|
+
]);
|
|
186
191
|
}
|
|
187
|
-
const
|
|
192
|
+
const M = /* @__PURE__ */ k(G, [["render", V]]);
|
|
188
193
|
export {
|
|
189
|
-
|
|
194
|
+
M as default
|
|
190
195
|
};
|
|
191
196
|
//# sourceMappingURL=pagination.js.map
|