xframelib 0.4.9 → 0.5.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/dist/index.css CHANGED
@@ -1,3 +1,117 @@
1
+ .vcp__header {
2
+ display: flex;
3
+ padding: 12px;
4
+ pointer-events: none;
5
+ }
6
+ .vcp--expandable .vcp__header {
7
+ pointer-events: auto;
8
+ cursor: pointer;
9
+ }
10
+ .vcp__header-title {
11
+ display: flex;
12
+ align-items: center;
13
+ flex: 1;
14
+ }
15
+ .vcp__header-icon {
16
+ display: flex;
17
+ align-items: center;
18
+ transition: transform 0.3s cubic-bezier(0.5, 0.25, 0, 1);
19
+ }
20
+ .vcp--expanded .vcp__header-icon {
21
+ transform-origin: center;
22
+ transform: rotate(180deg);
23
+ }
24
+ .vcp__header-icon > span {
25
+ display: flex;
26
+ height: 24px;
27
+ width: 24px;
28
+ }
29
+ .vcp__header-icon ::v-deep(svg) {
30
+ height: 100%;
31
+ width: 100%;
32
+ }
33
+ .vcp__body {
34
+ overflow: hidden;
35
+ transition: all 0.3s cubic-bezier(0.5, 0.25, 0, 1);
36
+ }
37
+ .vcp__body-content {
38
+ padding: 12px;
39
+ }
40
+
41
+ .slide-enter-from,
42
+ .slide-leave-to {
43
+ opacity: 0.25;
44
+ }
45
+
46
+ .layoutContainer {
47
+ width: 100%;
48
+ height: 100%;
49
+ padding: 0;
50
+ margin: 0;
51
+ --layout-top-height: 77px;
52
+ --layout-left-width: 200px;
53
+ --layout-right-width: 200px;
54
+ --layout-bottom-height: 60px;
55
+ --layout-centerback-backcolor: #020202;
56
+ --layout-top-zindex: 10000;
57
+ --layout-bottom-zindex: 10000;
58
+ --layout-center-zindex: 9999;
59
+ --layout-left-zindex: 10000;
60
+ }
61
+
62
+ .topContainer {
63
+ position: absolute;
64
+ top: 0px;
65
+ left: 0px;
66
+ width: 100%;
67
+ height: var(--layout-top-height);
68
+ z-index: 1000;
69
+ }
70
+
71
+ .bottomContainer {
72
+ position: absolute;
73
+ bottom: 0px;
74
+ left: 0px;
75
+ width: 100%;
76
+ height: var(--layout-bottom-height);
77
+ }
78
+
79
+ .leftContainer {
80
+ position: absolute;
81
+ top: 0px;
82
+ left: 0px;
83
+ width: var(--layout-left-width);
84
+ height: 100%;
85
+ pointer-events: none;
86
+ }
87
+
88
+ .rightContainer {
89
+ position: absolute;
90
+ top: 0px;
91
+ right: 0px;
92
+ width: var(--layout-right-width);
93
+ height: 100%;
94
+ pointer-events: none;
95
+ }
96
+
97
+ .centerdiv {
98
+ position: absolute;
99
+ top: 0px;
100
+ left: 0px;
101
+ bottom: 0px;
102
+ width: 100%;
103
+ background-color: transparent;
104
+ overflow: hidden;
105
+ }
106
+
107
+ .centerContainer {
108
+ pointer-events: none;
109
+ }
110
+
111
+ .mainContainer {
112
+ pointer-events: none;
113
+ }
114
+
1
115
  .vcpg {
2
116
  border: 1px solid var(--border-color);
3
117
  border-radius: 4px;
@@ -139,120 +253,6 @@
139
253
  margin-top: 1px;
140
254
  }
141
255
 
142
- .layoutContainer {
143
- width: 100%;
144
- height: 100%;
145
- padding: 0;
146
- margin: 0;
147
- --layout-top-height: 77px;
148
- --layout-left-width: 200px;
149
- --layout-right-width: 200px;
150
- --layout-bottom-height: 60px;
151
- --layout-centerback-backcolor: #020202;
152
- --layout-top-zindex: 10000;
153
- --layout-bottom-zindex: 10000;
154
- --layout-center-zindex: 9999;
155
- --layout-left-zindex: 10000;
156
- }
157
-
158
- .topContainer {
159
- position: absolute;
160
- top: 0px;
161
- left: 0px;
162
- width: 100%;
163
- height: var(--layout-top-height);
164
- z-index: 1000;
165
- }
166
-
167
- .bottomContainer {
168
- position: absolute;
169
- bottom: 0px;
170
- left: 0px;
171
- width: 100%;
172
- height: var(--layout-bottom-height);
173
- }
174
-
175
- .leftContainer {
176
- position: absolute;
177
- top: 0px;
178
- left: 0px;
179
- width: var(--layout-left-width);
180
- height: 100%;
181
- pointer-events: none;
182
- }
183
-
184
- .rightContainer {
185
- position: absolute;
186
- top: 0px;
187
- right: 0px;
188
- width: var(--layout-right-width);
189
- height: 100%;
190
- pointer-events: none;
191
- }
192
-
193
- .centerdiv {
194
- position: absolute;
195
- top: 0px;
196
- left: 0px;
197
- bottom: 0px;
198
- width: 100%;
199
- background-color: transparent;
200
- overflow: hidden;
201
- }
202
-
203
- .centerContainer {
204
- pointer-events: none;
205
- }
206
-
207
- .mainContainer {
208
- pointer-events: none;
209
- }
210
-
211
- .vcp__header {
212
- display: flex;
213
- padding: 12px;
214
- pointer-events: none;
215
- }
216
- .vcp--expandable .vcp__header {
217
- pointer-events: auto;
218
- cursor: pointer;
219
- }
220
- .vcp__header-title {
221
- display: flex;
222
- align-items: center;
223
- flex: 1;
224
- }
225
- .vcp__header-icon {
226
- display: flex;
227
- align-items: center;
228
- transition: transform 0.3s cubic-bezier(0.5, 0.25, 0, 1);
229
- }
230
- .vcp--expanded .vcp__header-icon {
231
- transform-origin: center;
232
- transform: rotate(180deg);
233
- }
234
- .vcp__header-icon > span {
235
- display: flex;
236
- height: 24px;
237
- width: 24px;
238
- }
239
- .vcp__header-icon ::v-deep(svg) {
240
- height: 100%;
241
- width: 100%;
242
- }
243
- .vcp__body {
244
- overflow: hidden;
245
- transition: all 0.3s cubic-bezier(0.5, 0.25, 0, 1);
246
- }
247
- .vcp__body-content {
248
- padding: 12px;
249
- }
250
-
251
- .slide-enter-from,
252
- .slide-leave-to {
253
- opacity: 0.25;
254
- }
255
-
256
256
  .window {
257
257
  display: flex;
258
258
  flex-flow: column;
package/dist/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export * from './utils';
8
8
  export * from './hprose';
9
9
  export * from './api';
10
10
  export * from './model';
11
+ export * from './permission';