gridjs-spreadsheet 25.7.0 → 25.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/README.md +44 -329
- package/example/pom.xml +3 -3
- package/example/src/main/java/com/aspose/gridjs/demo/MyConfig.java +2 -14
- package/package.json +1 -1
- package/readme.md +87 -15
- package/xspreadsheet.css +153 -2
- package/xspreadsheet.js +5 -5
package/xspreadsheet.css
CHANGED
|
@@ -2112,12 +2112,26 @@ dialog p {
|
|
|
2112
2112
|
.x-spreadsheet-contextmenu-submenu {
|
|
2113
2113
|
position: absolute;
|
|
2114
2114
|
display: none;
|
|
2115
|
-
padding: 5px 0;
|
|
2116
2115
|
background: #fff;
|
|
2117
2116
|
border: 1px solid #e0e2e4;
|
|
2118
2117
|
box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
|
|
2119
2118
|
z-index: 101;
|
|
2120
|
-
width:
|
|
2119
|
+
width: max-content;
|
|
2120
|
+
}
|
|
2121
|
+
.x-spreadsheet-custom-button {
|
|
2122
|
+
border: 1px solid #ddd;
|
|
2123
|
+
background-color: white;
|
|
2124
|
+
color: #333;
|
|
2125
|
+
padding: 4px 12px;
|
|
2126
|
+
border-radius: 6px;
|
|
2127
|
+
cursor: pointer;
|
|
2128
|
+
font-size: 13px;
|
|
2129
|
+
transition: background-color 0.2s ease;
|
|
2130
|
+
outline: none;
|
|
2131
|
+
}
|
|
2132
|
+
.x-spreadsheet-custom-button:hover {
|
|
2133
|
+
background-color: #e9ecef;
|
|
2134
|
+
border-color: #ccc;
|
|
2121
2135
|
}
|
|
2122
2136
|
.x-spreadsheet-item.parent .label {
|
|
2123
2137
|
float: right;
|
|
@@ -2125,4 +2139,141 @@ dialog p {
|
|
|
2125
2139
|
color: #999;
|
|
2126
2140
|
line-height: inherit;
|
|
2127
2141
|
}
|
|
2142
|
+
.x-spreadsheet-alignment-page {
|
|
2143
|
+
display: flex;
|
|
2144
|
+
padding: 15px;
|
|
2145
|
+
gap: 25px;
|
|
2146
|
+
height: 100%;
|
|
2147
|
+
}
|
|
2148
|
+
.x-spreadsheet-alignment-page .left-section {
|
|
2149
|
+
display: flex;
|
|
2150
|
+
flex-direction: column;
|
|
2151
|
+
gap: 20px;
|
|
2152
|
+
flex: 1;
|
|
2153
|
+
}
|
|
2154
|
+
.x-spreadsheet-alignment-page .right-section {
|
|
2155
|
+
flex: 0 0 160px;
|
|
2156
|
+
}
|
|
2157
|
+
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-section-container {
|
|
2158
|
+
padding-bottom: 10px;
|
|
2159
|
+
border-bottom: 1px solid #e0e2e4;
|
|
2160
|
+
}
|
|
2161
|
+
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-section-container:last-child {
|
|
2162
|
+
border-bottom: none;
|
|
2163
|
+
}
|
|
2164
|
+
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-dropdown {
|
|
2165
|
+
width: 100%;
|
|
2166
|
+
align-items: center;
|
|
2167
|
+
flex-direction: row;
|
|
2168
|
+
}
|
|
2169
|
+
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-dropdown label {
|
|
2170
|
+
flex: 0 0 80px;
|
|
2171
|
+
}
|
|
2172
|
+
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-dropdown select {
|
|
2173
|
+
flex: 1;
|
|
2174
|
+
}
|
|
2175
|
+
.x-spreadsheet-alignment-page .x-spreadsheet-modal-component-checkbox {
|
|
2176
|
+
margin-top: 5px;
|
|
2177
|
+
}
|
|
2178
|
+
.x-spreadsheet-orientation-container {
|
|
2179
|
+
display: flex;
|
|
2180
|
+
align-items: center;
|
|
2181
|
+
flex-direction: column;
|
|
2182
|
+
min-width: unset;
|
|
2183
|
+
}
|
|
2184
|
+
.x-spreadsheet-orientation-box-container {
|
|
2185
|
+
display: flex;
|
|
2186
|
+
height: 200px;
|
|
2187
|
+
align-items: stretch;
|
|
2188
|
+
}
|
|
2189
|
+
.x-spreadsheet-orientation-box {
|
|
2190
|
+
width: 150px;
|
|
2191
|
+
height: 200px;
|
|
2192
|
+
border: 1px solid #999;
|
|
2193
|
+
position: relative;
|
|
2194
|
+
user-select: none;
|
|
2195
|
+
cursor: pointer;
|
|
2196
|
+
}
|
|
2197
|
+
.x-spreadsheet-orientation-pointer {
|
|
2198
|
+
width: 100%;
|
|
2199
|
+
position: absolute;
|
|
2200
|
+
top: 45%;
|
|
2201
|
+
left: calc(10px + 5%);
|
|
2202
|
+
transform-origin: 0 50%;
|
|
2203
|
+
display: flex;
|
|
2204
|
+
align-items: center;
|
|
2205
|
+
}
|
|
2206
|
+
.x-spreadsheet-orientation-pointer .degree-text {
|
|
2207
|
+
color: #333;
|
|
2208
|
+
padding-right: 5px;
|
|
2209
|
+
}
|
|
2210
|
+
.x-spreadsheet-orientation-line {
|
|
2211
|
+
width: 35%;
|
|
2212
|
+
height: 2px;
|
|
2213
|
+
background-color: red;
|
|
2214
|
+
margin-left: 2px;
|
|
2215
|
+
}
|
|
2216
|
+
.x-spreadsheet-orientation-line::after {
|
|
2217
|
+
content: '';
|
|
2218
|
+
position: absolute;
|
|
2219
|
+
right: 58%;
|
|
2220
|
+
top: 50%;
|
|
2221
|
+
transform: translateY(-50%) rotate(45deg);
|
|
2222
|
+
width: 8px;
|
|
2223
|
+
height: 8px;
|
|
2224
|
+
background-color: red;
|
|
2225
|
+
}
|
|
2226
|
+
.x-spreadsheet-orientation-v-btn {
|
|
2227
|
+
display: flex;
|
|
2228
|
+
flex-direction: column;
|
|
2229
|
+
justify-content: center;
|
|
2230
|
+
align-items: center;
|
|
2231
|
+
padding: 10px 5px;
|
|
2232
|
+
margin-right: 10px;
|
|
2233
|
+
border: 1px solid #999;
|
|
2234
|
+
cursor: pointer;
|
|
2235
|
+
background-color: #fff;
|
|
2236
|
+
width: 30px;
|
|
2237
|
+
box-sizing: border-box;
|
|
2238
|
+
}
|
|
2239
|
+
.x-spreadsheet-orientation-v-btn span {
|
|
2240
|
+
display: block;
|
|
2241
|
+
line-height: 1.2;
|
|
2242
|
+
}
|
|
2243
|
+
.x-spreadsheet-orientation-v-btn.active {
|
|
2244
|
+
background-color: #000;
|
|
2245
|
+
border-color: #000;
|
|
2246
|
+
color: #fff;
|
|
2247
|
+
}
|
|
2248
|
+
.x-spreadsheet-orientation-input-container {
|
|
2249
|
+
margin-top: 10px;
|
|
2250
|
+
display: flex;
|
|
2251
|
+
align-items: center;
|
|
2252
|
+
}
|
|
2253
|
+
.x-spreadsheet-orientation-input-container .x-spreadsheet-modal-component-input-div {
|
|
2254
|
+
width: 60px;
|
|
2255
|
+
}
|
|
2256
|
+
.x-spreadsheet-orientation-input-container .x-spreadsheet-modal-component-input-div input {
|
|
2257
|
+
text-align: right;
|
|
2258
|
+
}
|
|
2259
|
+
.x-spreadsheet-orientation-input-container span {
|
|
2260
|
+
margin-left: 5px;
|
|
2261
|
+
}
|
|
2262
|
+
.x-spreadsheet-orientation-point {
|
|
2263
|
+
position: absolute;
|
|
2264
|
+
background-color: black;
|
|
2265
|
+
}
|
|
2266
|
+
.x-spreadsheet-orientation-point.minor {
|
|
2267
|
+
width: 4px;
|
|
2268
|
+
height: 4px;
|
|
2269
|
+
transform: translate(-50%, -50%);
|
|
2270
|
+
}
|
|
2271
|
+
.x-spreadsheet-orientation-point:not(.minor) {
|
|
2272
|
+
width: 8px;
|
|
2273
|
+
height: 8px;
|
|
2274
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
|
2275
|
+
}
|
|
2276
|
+
.x-spreadsheet-orientation-point.active {
|
|
2277
|
+
background-color: red;
|
|
2278
|
+
}
|
|
2128
2279
|
|