rails_modal_manager 1.0.33 → 1.0.34
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65672101a104fe19120730ac9bfefc6add2e1e0f3e592b9741c9f83d7ed3a46a
|
|
4
|
+
data.tar.gz: 00b57148c22f0ac9b18fea481813facf1020be7f7e36d979faadfc91cbcb4234
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c50a37a75ea2cb8a16edddcd2cd8ad394d8d6e859fa9d735943b64dd71f7509344f17ba9460678eaa9cdaeb89d14828b6678ec617c8cf2d799c2abd31d176b6b
|
|
7
|
+
data.tar.gz: 56b5d8e7e1be002a2d926ae4e18e5d7a73ffd0a8518d1714a08cc42dc141ccd0ed17138b4791b68949fc8728e13ea028391a13bd59accf8530d9b905871d3c3f
|
|
@@ -1171,6 +1171,13 @@
|
|
|
1171
1171
|
opacity: 1;
|
|
1172
1172
|
}
|
|
1173
1173
|
|
|
1174
|
+
.rmm-taskbar-item-index {
|
|
1175
|
+
font-size: 10px;
|
|
1176
|
+
color: rgba(255, 255, 255, 0.5);
|
|
1177
|
+
margin-right: 4px;
|
|
1178
|
+
flex-shrink: 0;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1174
1181
|
.rmm-taskbar-item-title {
|
|
1175
1182
|
max-width: 150px;
|
|
1176
1183
|
overflow: hidden;
|
|
@@ -93,8 +93,12 @@ export default class extends Controller {
|
|
|
93
93
|
const clickEvent = isRestored ? '' : ' click->rmm-taskbar#restoreItem'
|
|
94
94
|
const dataAction = `data-action="${dragEvents}${clickEvent}"`
|
|
95
95
|
|
|
96
|
+
// 1~9번까지만 숫자 인덱스 표시
|
|
97
|
+
const indexNumber = index < 9 ? `<span class="rmm-taskbar-item-index">${index + 1}</span>` : ''
|
|
98
|
+
|
|
96
99
|
return `
|
|
97
100
|
<div class="rmm-taskbar-item${disabledClass}" data-modal-id="${group.leafModalId}" data-root-id="${group.rootModalId}" draggable="true" data-index="${index}" ${dataAction}>
|
|
101
|
+
${indexNumber}
|
|
98
102
|
<span class="rmm-taskbar-item-title">${this.escapeHtml(group.title)}</span>
|
|
99
103
|
${groupBadge}
|
|
100
104
|
<button type="button" class="rmm-taskbar-item-close" data-action="click->rmm-taskbar#closeGroup" data-modal-id="${group.rootModalId}" title="닫기">
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @license MIT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
export const VERSION = "1.0.
|
|
11
|
+
export const VERSION = "1.0.34"
|
|
12
12
|
|
|
13
13
|
// Import core modules for internal use
|
|
14
14
|
import modalStore, { MODAL_CONSTANTS, SIZE_CONFIG, POSITION_CONFIG, CASCADE_OFFSET, modalSizeStorage, modalUtils } from "rails_modal_manager/modal_store"
|