xframelib 0.7.7 → 0.7.8
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/README.md +15 -7
- package/dist/controls/vuewindow/index.d.ts +1 -2
- package/dist/controls/xwindow/XWindow.vue.d.ts +129 -0
- package/dist/controls/xwindow/XWindowManager.d.ts +37 -0
- package/dist/controls/xwindow/index.d.ts +4 -0
- package/dist/core/IModel.d.ts +10 -0
- package/dist/index.cjs +7 -17
- package/dist/index.css +145 -76
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -17
- package/dist/model/Config.d.ts +29 -0
- package/package.json +16 -15
- package/dist/controls/collapsepanel/VCollapsiblePanel.vue.d.ts +0 -27
- package/dist/controls/collapsepanel/VCollapsiblePanelGroup.vue.d.ts +0 -33
- package/dist/controls/collapsepanel/color.util.d.ts +0 -1
- package/dist/controls/collapsepanel/composables/store.d.ts +0 -7
- package/dist/controls/collapsepanel/constant.d.ts +0 -1
- package/dist/controls/collapsepanel/index.d.ts +0 -3
package/dist/index.css
CHANGED
|
@@ -108,82 +108,6 @@
|
|
|
108
108
|
margin-top: 1px;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.vcpg {
|
|
112
|
-
border: 1px solid var(--border-color);
|
|
113
|
-
border-radius: 4px;
|
|
114
|
-
width: 100%;
|
|
115
|
-
}
|
|
116
|
-
.vcpg ::v-deep(.vcp) * {
|
|
117
|
-
box-sizing: border-box;
|
|
118
|
-
}
|
|
119
|
-
.vcpg ::v-deep(.vcp) .vcp__header {
|
|
120
|
-
background-color: var(--bg-color-header);
|
|
121
|
-
height: 30px;
|
|
122
|
-
border-bottom: 2px solid #c6bebd;
|
|
123
|
-
transition: background-color 0.3s ease;
|
|
124
|
-
}
|
|
125
|
-
.vcpg ::v-deep(.vcp) .vcp__header .vcp__header:hover {
|
|
126
|
-
background-color: var(--bg-color-header-hover);
|
|
127
|
-
}
|
|
128
|
-
.vcpg ::v-deep(.vcp) .vcp__header .vcp__header:active {
|
|
129
|
-
background-color: var(--bg-color-header-active);
|
|
130
|
-
}
|
|
131
|
-
.vcpg ::v-deep(.vcp) .vcp:not(:first-of-type) .vcp__header {
|
|
132
|
-
border-top: 2px solid var(--border-color);
|
|
133
|
-
}
|
|
134
|
-
.vcpg ::v-deep(.vcp) .vcp__header-title {
|
|
135
|
-
font-weight: 500;
|
|
136
|
-
}
|
|
137
|
-
.vcpg ::v-deep(.vcp) .vcp__body {
|
|
138
|
-
border-top: 1px solid var(--border-color);
|
|
139
|
-
background-color: var(--bg-color-body);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.vcp__header {
|
|
143
|
-
display: flex;
|
|
144
|
-
padding: 12px;
|
|
145
|
-
pointer-events: none;
|
|
146
|
-
}
|
|
147
|
-
.vcp--expandable .vcp__header {
|
|
148
|
-
pointer-events: auto;
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
}
|
|
151
|
-
.vcp__header-title {
|
|
152
|
-
display: flex;
|
|
153
|
-
align-items: center;
|
|
154
|
-
flex: 1;
|
|
155
|
-
}
|
|
156
|
-
.vcp__header-icon {
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
transition: transform 0.3s cubic-bezier(0.5, 0.25, 0, 1);
|
|
160
|
-
}
|
|
161
|
-
.vcp--expanded .vcp__header-icon {
|
|
162
|
-
transform-origin: center;
|
|
163
|
-
transform: rotate(180deg);
|
|
164
|
-
}
|
|
165
|
-
.vcp__header-icon > span {
|
|
166
|
-
display: flex;
|
|
167
|
-
height: 24px;
|
|
168
|
-
width: 24px;
|
|
169
|
-
}
|
|
170
|
-
.vcp__header-icon ::v-deep(svg) {
|
|
171
|
-
height: 100%;
|
|
172
|
-
width: 100%;
|
|
173
|
-
}
|
|
174
|
-
.vcp__body {
|
|
175
|
-
overflow: hidden;
|
|
176
|
-
transition: all 0.3s cubic-bezier(0.5, 0.25, 0, 1);
|
|
177
|
-
}
|
|
178
|
-
.vcp__body-content {
|
|
179
|
-
padding: 12px;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.slide-enter-from,
|
|
183
|
-
.slide-leave-to {
|
|
184
|
-
opacity: 0.25;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
111
|
.window {
|
|
188
112
|
display: flex;
|
|
189
113
|
flex-flow: column;
|
|
@@ -310,6 +234,151 @@
|
|
|
310
234
|
z-index: var(--layout-centerfront-zindex);
|
|
311
235
|
}
|
|
312
236
|
|
|
237
|
+
.iconify {
|
|
238
|
+
color: #000;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.paneltitle {
|
|
242
|
+
display: inline-block;
|
|
243
|
+
vertical-align: middle;
|
|
244
|
+
font-size: 16px;
|
|
245
|
+
font-weight: 600;
|
|
246
|
+
text-wrap: nowrap;
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
margin-left: 5px;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.dragPanelBar {
|
|
252
|
+
float: right;
|
|
253
|
+
padding-right: 10px;
|
|
254
|
+
width: var(--right-bar-width);
|
|
255
|
+
min-width: 40px;
|
|
256
|
+
height: 100%;
|
|
257
|
+
display: flex;
|
|
258
|
+
align-items: center;
|
|
259
|
+
justify-content: space-between;
|
|
260
|
+
}
|
|
261
|
+
.dragPanelBar svg:hover {
|
|
262
|
+
border: 1px solid #333;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.dragWindowPanel {
|
|
266
|
+
position: absolute;
|
|
267
|
+
background-color: #ddd;
|
|
268
|
+
z-index: 10;
|
|
269
|
+
border-radius: 6px;
|
|
270
|
+
display: grid;
|
|
271
|
+
grid-template-rows: min-content auto;
|
|
272
|
+
user-select: none;
|
|
273
|
+
}
|
|
274
|
+
.dragWindowPanel .dragPanelTitle {
|
|
275
|
+
pointer-events: all;
|
|
276
|
+
width: 100%;
|
|
277
|
+
background-color: #eee;
|
|
278
|
+
border-radius: 5px 5px 0 0;
|
|
279
|
+
padding-left: 5px;
|
|
280
|
+
vertical-align: middle;
|
|
281
|
+
pointer-events: all;
|
|
282
|
+
}
|
|
283
|
+
.dragWindowPanel .dragPanelTitle img {
|
|
284
|
+
display: inline-block;
|
|
285
|
+
vertical-align: middle;
|
|
286
|
+
}
|
|
287
|
+
.dragWindowPanel .dragPanelContent {
|
|
288
|
+
margin-top: 1px;
|
|
289
|
+
background-color: #eee;
|
|
290
|
+
height: 100%;
|
|
291
|
+
overflow-x: hidden;
|
|
292
|
+
overflow-y: auto;
|
|
293
|
+
padding: 5px 8px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.drag-pointer-group {
|
|
297
|
+
pointer-events: none;
|
|
298
|
+
position: absolute;
|
|
299
|
+
left: 0;
|
|
300
|
+
top: 0;
|
|
301
|
+
z-index: 11;
|
|
302
|
+
margin: -0.5rem;
|
|
303
|
+
display: grid;
|
|
304
|
+
height: calc(100% + 1rem);
|
|
305
|
+
width: calc(100% + 1rem);
|
|
306
|
+
grid-template-columns: 1rem auto 1rem;
|
|
307
|
+
grid-template-rows: 1rem auto 1rem;
|
|
308
|
+
}
|
|
309
|
+
.drag-pointer-group > * {
|
|
310
|
+
pointer-events: all !important;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.maxPanel {
|
|
314
|
+
top: 0px !important;
|
|
315
|
+
left: 0px !important;
|
|
316
|
+
width: 100% !important;
|
|
317
|
+
height: 100% !important;
|
|
318
|
+
border-radius: 0px !important;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.dragWindowPanel_dark {
|
|
322
|
+
background-color: #043351;
|
|
323
|
+
}
|
|
324
|
+
.dragWindowPanel_dark .iconify {
|
|
325
|
+
color: #eee;
|
|
326
|
+
}
|
|
327
|
+
.dragWindowPanel_dark .dragPanelTitle {
|
|
328
|
+
background-color: #043351;
|
|
329
|
+
color: #eee;
|
|
330
|
+
pointer-events: all;
|
|
331
|
+
width: 100%;
|
|
332
|
+
border-radius: 5px 5px 0 0;
|
|
333
|
+
padding-left: 5px;
|
|
334
|
+
vertical-align: middle;
|
|
335
|
+
pointer-events: all;
|
|
336
|
+
}
|
|
337
|
+
.dragWindowPanel_dark .dragPanelTitle img {
|
|
338
|
+
display: inline-block;
|
|
339
|
+
vertical-align: middle;
|
|
340
|
+
}
|
|
341
|
+
.dragWindowPanel_dark .dragPanelContent {
|
|
342
|
+
background-color: #2f353d;
|
|
343
|
+
margin-top: 1px;
|
|
344
|
+
height: 100%;
|
|
345
|
+
overflow-x: hidden;
|
|
346
|
+
overflow-y: auto;
|
|
347
|
+
padding: 5px 8px;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.cursor-nw-resize {
|
|
351
|
+
cursor: nw-resize;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.cursor-n-resize {
|
|
355
|
+
cursor: n-resize;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.cursor-ne-resize {
|
|
359
|
+
cursor: ne-resize;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.cursor-w-resize {
|
|
363
|
+
cursor: w-resize;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.cursor-e-resize {
|
|
367
|
+
cursor: e-resize;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.cursor-se-resize {
|
|
371
|
+
cursor: se-resize;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.cursor-sw-resize {
|
|
375
|
+
cursor: sw-resize;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.cursor-s-resize {
|
|
379
|
+
cursor: s-resize;
|
|
380
|
+
}
|
|
381
|
+
|
|
313
382
|
.btn {
|
|
314
383
|
background-color: transparent;
|
|
315
384
|
border: none;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './controls/splitpanes';
|
|
2
|
-
export * from './controls/collapsepanel';
|
|
3
2
|
export * from './controls/vuewindow';
|
|
4
3
|
export * from './controls/layoutcontainer';
|
|
5
4
|
export * from './controls/routertransition';
|
|
5
|
+
export * from './controls/xwindow';
|
|
6
6
|
export * from './core';
|
|
7
7
|
export * from './mitt';
|
|
8
8
|
export * from './utils';
|