@lambo-design/shared 1.0.0-beta.379 → 1.0.0-beta.381
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/nstyles/components/tree.less +94 -0
- package/package.json +3 -3
- package/utils/platform.js +3 -0
|
@@ -163,4 +163,98 @@
|
|
|
163
163
|
|
|
164
164
|
.ivu-tree li ul {
|
|
165
165
|
padding: var(--ivu-tree-ul-padding);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// ==================== LamboNNewTree (ag-grid based tree) ====================
|
|
169
|
+
.lambo-new-tree-wrapper {
|
|
170
|
+
--ind-ag-row-group-indent-size: 18px;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
|
|
173
|
+
.lambo-grid-table {
|
|
174
|
+
padding: 0 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.ag-root-wrapper {
|
|
178
|
+
border: none !important;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ag-header {
|
|
182
|
+
opacity: 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
#agTable.ag-theme-balham {
|
|
186
|
+
position: relative;
|
|
187
|
+
top: -51px;
|
|
188
|
+
--ag-icon-size: 22px;
|
|
189
|
+
--ind-ag-cell-widget-spacing: 6px;
|
|
190
|
+
height: calc(100% + 51px) !important;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.ind-radio .ag-checkbox-input-wrapper {
|
|
194
|
+
display: none !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.ag-checkbox-input-wrapper:focus-within,
|
|
198
|
+
.ag-checkbox-input-wrapper:active {
|
|
199
|
+
box-shadow: none !important;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.ag-checkbox-input-wrapper::after {
|
|
203
|
+
font-size: 18px !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.ag-row-selected:has(.ind-radio) {
|
|
207
|
+
.ag-group-value {
|
|
208
|
+
background: var(--ind-blue);
|
|
209
|
+
color: var(--ind-white);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.ag-row {
|
|
214
|
+
border-bottom: none;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ag-row-odd,
|
|
218
|
+
.ag-row-hover:not(.ag-full-width-row)::before,
|
|
219
|
+
.ag-row-hover.ag-full-width-row.ag-row-group::before,
|
|
220
|
+
.ag-row-selected::before {
|
|
221
|
+
background-color: var(--ind-white) !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.ag-row-hover.ag-row-selected::before {
|
|
225
|
+
background-image: none !important;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.lambo-grid-table .ag-theme-balham .ag-ltr .ag-cell {
|
|
229
|
+
border-right-color: var(--ind-white) !important;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.ind-checkbox-bottom {
|
|
233
|
+
padding-left: 10px;
|
|
234
|
+
top: 8px;
|
|
235
|
+
color: var(--ind-text-color-1);
|
|
236
|
+
|
|
237
|
+
.ag-checkbox-input-wrapper {
|
|
238
|
+
background-color: var(--ind-white);
|
|
239
|
+
|
|
240
|
+
&::after {
|
|
241
|
+
color: #7f8c8d;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&.ag-checked::after {
|
|
245
|
+
color: var(--ag-checkbox-checked-color);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.ag-checkbox-input-wrapper:focus-within,
|
|
250
|
+
.ag-checkbox-input-wrapper:active {
|
|
251
|
+
box-shadow: unset;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&.lambo-new-tree-widthheader {
|
|
256
|
+
.ag-theme-balham {
|
|
257
|
+
top: -10px;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
166
260
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambo-design/shared",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.381",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"nanoid": "^3.3.7",
|
|
27
27
|
"node-rsa": "^1.1.1",
|
|
28
28
|
"qs": "^6.11.0",
|
|
29
|
-
"@lambo-design/xlsx
|
|
30
|
-
"@lambo-design/xlsx": "^1.0.0-beta.
|
|
29
|
+
"@lambo-design/xlsx": "^1.0.0-beta.2",
|
|
30
|
+
"@lambo-design/xlsx-style": "^1.0.0-beta.9"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"vue": "^2.6.12"
|
package/utils/platform.js
CHANGED