codeapp-js 0.1.1 → 0.2.2
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/codeApp/dist/codeapp.js +552 -78
- package/codeApp/dist/power-apps-data.js +2531 -2531
- package/dev files/outlook.js +218 -9
- package/examples/combined demo/dist/codeapp.js +1098 -0
- package/examples/combined demo/dist/index.js +69 -114
- package/examples/combined demo/dist/power-apps-data.js +646 -170
- package/examples/combined demo/power.config.json +42 -42
- package/examples/dataverse Demo/dist/codeapp.js +1085 -0
- package/examples/dataverse Demo/dist/index.html +54 -54
- package/examples/dataverse Demo/dist/index.js +82 -70
- package/examples/dataverse Demo/dist/power-apps-data.js +551 -170
- package/examples/dataverse Demo/power.config.json +34 -34
- package/examples/dataverse Demo/readme.md +79 -79
- package/examples/groups Demo/dist/codeapp.js +1085 -0
- package/examples/groups Demo/dist/index.js +27 -27
- package/examples/groups Demo/dist/power-apps-data.js +551 -170
- package/examples/kanban/dist/dataverse.js +94 -94
- package/examples/kanban/dist/environmentVar.js +55 -55
- package/examples/kanban/dist/office365groups.js +97 -97
- package/examples/kanban/dist/office365users.js +169 -169
- package/examples/kanban/dist/outlook.js +162 -162
- package/examples/kanban/dist/power-apps-data.js +560 -138
- package/examples/kanban/dist/sharepoint.js +339 -339
- package/examples/myProfile/dist/index.html +184 -184
- package/examples/myProfile/dist/index.js +141 -141
- package/examples/myProfile/dist/office365users.js +169 -169
- package/examples/myProfile/dist/power-apps-data.js +560 -138
- package/examples/myProfile/power.config.json +22 -22
- package/examples/myProfile/readme.md +79 -79
- package/examples/outlook Demo/dist/codeapp.js +1085 -0
- package/examples/outlook Demo/dist/index.html +35 -35
- package/examples/outlook Demo/dist/index.js +170 -166
- package/examples/outlook Demo/dist/outlook.js +121 -121
- package/examples/outlook Demo/dist/power-apps-data.js +551 -170
- package/examples/outlook Demo/dist/styles.css +84 -84
- package/examples/outlook Demo/readme.md +82 -82
- package/examples/outlook Demo2/OutlookDemo_1_0_0_1.zip +0 -0
- package/examples/outlook Demo2/agent/decision-log.md +7 -0
- package/examples/outlook Demo2/dist/codeapp.js +1334 -0
- package/examples/outlook Demo2/dist/icon-512.png +0 -0
- package/examples/outlook Demo2/dist/index.html +98 -0
- package/examples/outlook Demo2/dist/index.js +346 -0
- package/examples/outlook Demo2/dist/power-apps-data.js +3007 -0
- package/examples/outlook Demo2/dist/styles.css +639 -0
- package/examples/outlook Demo2/power.config.json +23 -0
- package/examples/outlook Demo2/src/generated/index.ts +14 -0
- package/examples/outlook Demo2/src/generated/models/Office365GroupsModel.ts +363 -0
- package/examples/outlook Demo2/src/generated/models/Office365OutlookModel.ts +2046 -0
- package/examples/outlook Demo2/src/generated/models/Office365UsersModel.ts +254 -0
- package/examples/outlook Demo2/src/generated/services/Office365GroupsService.ts +326 -0
- package/examples/outlook Demo2/src/generated/services/Office365OutlookService.ts +2476 -0
- package/examples/outlook Demo2/src/generated/services/Office365UsersService.ts +358 -0
- package/examples/planning Poker/.vscode/settings.json +4 -4
- package/examples/planning Poker/additional files/customizations (tables).xml +6428 -6428
- package/examples/planning Poker/additional files/dataverse-tables.json +165 -165
- package/examples/planning Poker/additional files/readme.md +122 -122
- package/examples/planning Poker/dist/dataverse.js +78 -78
- package/examples/planning Poker/dist/index.html +198 -198
- package/examples/planning Poker/dist/index.js +954 -954
- package/examples/planning Poker/dist/power-apps-data.js +560 -138
- package/examples/planning Poker/dist/styles.css +815 -815
- package/examples/sharePoint Demo/agent/decision-log.md +5 -5
- package/examples/sharePoint Demo/dist/codeapp.js +1085 -0
- package/examples/sharePoint Demo/dist/index.js +44 -51
- package/examples/sharePoint Demo/dist/power-apps-data.js +551 -170
- package/examples/sharePoint Demo/power.config.json +22 -22
- package/examples/solution explorer/agent/decision-log.md +27 -0
- package/examples/solution explorer/agent/mockup-01-swiss-grid.html +452 -0
- package/examples/solution explorer/agent/mockup-02-dark-glass.html +496 -0
- package/examples/solution explorer/agent/mockup-03-paper-console.html +510 -0
- package/examples/solution explorer/agent/mockup-04-neon-noir.html +546 -0
- package/examples/solution explorer/agent/mockup-05-zen-garden.html +534 -0
- package/examples/solution explorer/dist/codeapp.js +1098 -0
- package/examples/solution explorer/dist/icon-512.png +0 -0
- package/examples/solution explorer/dist/index.html +80 -0
- package/examples/solution explorer/dist/index.js +735 -0
- package/examples/solution explorer/dist/power-apps-data.js +3007 -0
- package/examples/solution explorer/dist/styles.css +571 -0
- package/examples/solution explorer/power.config.json +151 -0
- package/examples/todo/dist/dataverse.js +64 -64
- package/examples/todo/dist/index.html +75 -75
- package/examples/todo/dist/index.js +8 -8
- package/examples/todo/dist/power-apps-data.js +560 -138
- package/examples/todo/dist/renderer.js +375 -375
- package/examples/todo/dist/styles.css +691 -691
- package/examples/todo/power.config.json +34 -34
- package/package.json +1 -8
- package/docs-mockups/atelier/index.html +0 -120
- package/docs-mockups/atelier/script.js +0 -23
- package/docs-mockups/atelier/styles.css +0 -361
- package/docs-mockups/field-guide/index.html +0 -112
- package/docs-mockups/field-guide/script.js +0 -20
- package/docs-mockups/field-guide/styles.css +0 -272
- package/docs-mockups/index.html +0 -80
- package/docs-mockups/maker-hub/index.html +0 -178
- package/docs-mockups/maker-hub/script.js +0 -20
- package/docs-mockups/maker-hub/styles.css +0 -404
- package/docs-mockups/script.js +0 -26
- package/docs-mockups/signal/index.html +0 -146
- package/docs-mockups/signal/script.js +0 -20
- package/docs-mockups/signal/styles.css +0 -314
- package/docs-mockups/styles.css +0 -287
- package/examples/combined demo/dist/dataverse.js +0 -86
- package/examples/combined demo/dist/environmentVar.js +0 -55
- package/examples/combined demo/dist/office365groups.js +0 -97
- package/examples/combined demo/dist/office365users.js +0 -169
- package/examples/combined demo/dist/outlook.js +0 -162
- package/examples/combined demo/dist/sharepoint.js +0 -339
- package/examples/dataverse Demo/dist/dataverse.js +0 -86
- package/examples/groups Demo/dist/dataverse.js +0 -86
- package/examples/groups Demo/dist/environmentVar.js +0 -55
- package/examples/groups Demo/dist/office365groups.js +0 -97
- package/examples/groups Demo/dist/office365users.js +0 -169
- package/examples/groups Demo/dist/outlook.js +0 -162
- package/examples/groups Demo/dist/sharepoint.js +0 -339
- package/examples/sharePoint Demo/dist/dataverse.js +0 -94
- package/examples/sharePoint Demo/dist/environmentVar.js +0 -55
- package/examples/sharePoint Demo/dist/office365groups.js +0 -97
- package/examples/sharePoint Demo/dist/office365users.js +0 -169
- package/examples/sharePoint Demo/dist/outlook.js +0 -162
- package/examples/sharePoint Demo/dist/sharepoint.js +0 -339
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
|
|
2
|
+
/* ===== RESET & BASE ===== */
|
|
3
|
+
*, *::before, *::after {
|
|
4
|
+
margin: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
--ink: #1a1a2e;
|
|
11
|
+
--ink-light: #4a4a6a;
|
|
12
|
+
--ink-muted: #8888a4;
|
|
13
|
+
--surface: #f8f7f4;
|
|
14
|
+
--surface-warm: #f0eeea;
|
|
15
|
+
--surface-hover: #e8e6e0;
|
|
16
|
+
--accent: #c45d3e;
|
|
17
|
+
--accent-hover: #a84b30;
|
|
18
|
+
--accent-light: rgba(196, 93, 62, 0.08);
|
|
19
|
+
--white: #ffffff;
|
|
20
|
+
--border: #e0ded8;
|
|
21
|
+
--border-light: #ece9e4;
|
|
22
|
+
--shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
|
|
23
|
+
--shadow-md: 0 4px 16px rgba(26, 26, 46, 0.08);
|
|
24
|
+
--shadow-lg: 0 8px 32px rgba(26, 26, 46, 0.12);
|
|
25
|
+
--radius-sm: 6px;
|
|
26
|
+
--radius-md: 10px;
|
|
27
|
+
--radius-lg: 14px;
|
|
28
|
+
--transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
29
|
+
--font-display: 'Playfair Display', Georgia, serif;
|
|
30
|
+
--font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
html, body {
|
|
34
|
+
height: 100%;
|
|
35
|
+
font-family: var(--font-body);
|
|
36
|
+
background: var(--surface);
|
|
37
|
+
color: var(--ink);
|
|
38
|
+
-webkit-font-smoothing: antialiased;
|
|
39
|
+
-moz-osx-font-smoothing: grayscale;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
#root {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
height: 100vh;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* ===== HEADER ===== */
|
|
50
|
+
.app-header {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
padding: 16px 28px;
|
|
55
|
+
background: var(--white);
|
|
56
|
+
border-bottom: 1px solid var(--border);
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.app-header__brand {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
gap: 12px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.app-header__icon {
|
|
67
|
+
width: 36px;
|
|
68
|
+
height: 36px;
|
|
69
|
+
background: var(--accent);
|
|
70
|
+
border-radius: var(--radius-sm);
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
color: var(--white);
|
|
75
|
+
font-size: 18px;
|
|
76
|
+
font-weight: 700;
|
|
77
|
+
font-family: var(--font-display);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.app-header__title {
|
|
81
|
+
font-family: var(--font-display);
|
|
82
|
+
font-size: 20px;
|
|
83
|
+
font-weight: 700;
|
|
84
|
+
color: var(--ink);
|
|
85
|
+
letter-spacing: -0.3px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.app-header__actions {
|
|
89
|
+
display: flex;
|
|
90
|
+
gap: 10px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* ===== BUTTONS ===== */
|
|
94
|
+
.btn {
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
gap: 8px;
|
|
98
|
+
padding: 10px 20px;
|
|
99
|
+
border: none;
|
|
100
|
+
border-radius: var(--radius-sm);
|
|
101
|
+
font-family: var(--font-body);
|
|
102
|
+
font-size: 13.5px;
|
|
103
|
+
font-weight: 600;
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
transition: all var(--transition);
|
|
106
|
+
letter-spacing: 0.2px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.btn:disabled {
|
|
110
|
+
opacity: 0.5;
|
|
111
|
+
cursor: not-allowed;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.btn--primary {
|
|
115
|
+
background: var(--accent);
|
|
116
|
+
color: var(--white);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.btn--primary:hover:not(:disabled) {
|
|
120
|
+
background: var(--accent-hover);
|
|
121
|
+
transform: translateY(-1px);
|
|
122
|
+
box-shadow: var(--shadow-md);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.btn--secondary {
|
|
126
|
+
background: var(--surface);
|
|
127
|
+
color: var(--ink);
|
|
128
|
+
border: 1px solid var(--border);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.btn--secondary:hover:not(:disabled) {
|
|
132
|
+
background: var(--surface-hover);
|
|
133
|
+
border-color: var(--ink-muted);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.btn--ghost {
|
|
137
|
+
background: transparent;
|
|
138
|
+
color: var(--ink-light);
|
|
139
|
+
padding: 8px 12px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.btn--ghost:hover:not(:disabled) {
|
|
143
|
+
background: var(--surface);
|
|
144
|
+
color: var(--ink);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* ===== LAYOUT ===== */
|
|
148
|
+
.app-body {
|
|
149
|
+
display: flex;
|
|
150
|
+
flex: 1;
|
|
151
|
+
overflow: hidden;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* ===== INBOX PANEL ===== */
|
|
155
|
+
.inbox-panel {
|
|
156
|
+
width: 420px;
|
|
157
|
+
min-width: 320px;
|
|
158
|
+
display: flex;
|
|
159
|
+
flex-direction: column;
|
|
160
|
+
border-right: 1px solid var(--border);
|
|
161
|
+
background: var(--white);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.inbox-panel__header {
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: space-between;
|
|
168
|
+
padding: 16px 20px;
|
|
169
|
+
border-bottom: 1px solid var(--border-light);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.inbox-panel__title {
|
|
173
|
+
font-family: var(--font-display);
|
|
174
|
+
font-size: 16px;
|
|
175
|
+
font-weight: 700;
|
|
176
|
+
color: var(--ink);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.inbox-panel__count {
|
|
180
|
+
font-size: 12px;
|
|
181
|
+
color: var(--ink-muted);
|
|
182
|
+
background: var(--surface);
|
|
183
|
+
padding: 3px 10px;
|
|
184
|
+
border-radius: 20px;
|
|
185
|
+
font-weight: 600;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.inbox-panel__list {
|
|
189
|
+
flex: 1;
|
|
190
|
+
overflow-y: auto;
|
|
191
|
+
padding: 6px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.inbox-panel__list::-webkit-scrollbar {
|
|
195
|
+
width: 6px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.inbox-panel__list::-webkit-scrollbar-track {
|
|
199
|
+
background: transparent;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.inbox-panel__list::-webkit-scrollbar-thumb {
|
|
203
|
+
background: var(--border);
|
|
204
|
+
border-radius: 3px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* ===== EMAIL ITEM ===== */
|
|
208
|
+
.email-item {
|
|
209
|
+
display: flex;
|
|
210
|
+
gap: 14px;
|
|
211
|
+
padding: 14px 16px;
|
|
212
|
+
border-radius: var(--radius-md);
|
|
213
|
+
cursor: pointer;
|
|
214
|
+
transition: all var(--transition);
|
|
215
|
+
position: relative;
|
|
216
|
+
border: 1px solid transparent;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.email-item:hover {
|
|
220
|
+
background: var(--surface);
|
|
221
|
+
border-color: var(--border-light);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.email-item--active {
|
|
225
|
+
background: var(--accent-light);
|
|
226
|
+
border-color: var(--accent) !important;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.email-item--unread .email-item__subject {
|
|
230
|
+
font-weight: 700;
|
|
231
|
+
color: var(--ink);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.email-item--unread::before {
|
|
235
|
+
content: '';
|
|
236
|
+
position: absolute;
|
|
237
|
+
left: 4px;
|
|
238
|
+
top: 50%;
|
|
239
|
+
transform: translateY(-50%);
|
|
240
|
+
width: 5px;
|
|
241
|
+
height: 5px;
|
|
242
|
+
background: var(--accent);
|
|
243
|
+
border-radius: 50%;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.email-item__avatar {
|
|
247
|
+
width: 40px;
|
|
248
|
+
height: 40px;
|
|
249
|
+
border-radius: 50%;
|
|
250
|
+
background: var(--surface-warm);
|
|
251
|
+
display: flex;
|
|
252
|
+
align-items: center;
|
|
253
|
+
justify-content: center;
|
|
254
|
+
font-size: 14px;
|
|
255
|
+
font-weight: 700;
|
|
256
|
+
color: var(--ink-light);
|
|
257
|
+
flex-shrink: 0;
|
|
258
|
+
letter-spacing: -0.5px;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.email-item__content {
|
|
262
|
+
flex: 1;
|
|
263
|
+
min-width: 0;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.email-item__row {
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: center;
|
|
269
|
+
justify-content: space-between;
|
|
270
|
+
gap: 8px;
|
|
271
|
+
margin-bottom: 3px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.email-item__sender {
|
|
275
|
+
font-size: 13.5px;
|
|
276
|
+
font-weight: 600;
|
|
277
|
+
color: var(--ink);
|
|
278
|
+
white-space: nowrap;
|
|
279
|
+
overflow: hidden;
|
|
280
|
+
text-overflow: ellipsis;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.email-item__time {
|
|
284
|
+
font-size: 11.5px;
|
|
285
|
+
color: var(--ink-muted);
|
|
286
|
+
white-space: nowrap;
|
|
287
|
+
flex-shrink: 0;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.email-item__subject {
|
|
291
|
+
font-size: 13px;
|
|
292
|
+
font-weight: 500;
|
|
293
|
+
color: var(--ink-light);
|
|
294
|
+
white-space: nowrap;
|
|
295
|
+
overflow: hidden;
|
|
296
|
+
text-overflow: ellipsis;
|
|
297
|
+
margin-bottom: 3px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.email-item__preview {
|
|
301
|
+
font-size: 12.5px;
|
|
302
|
+
color: var(--ink-muted);
|
|
303
|
+
white-space: nowrap;
|
|
304
|
+
overflow: hidden;
|
|
305
|
+
text-overflow: ellipsis;
|
|
306
|
+
line-height: 1.4;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* ===== DETAIL PANEL ===== */
|
|
310
|
+
.detail-panel {
|
|
311
|
+
flex: 1;
|
|
312
|
+
display: flex;
|
|
313
|
+
flex-direction: column;
|
|
314
|
+
overflow: hidden;
|
|
315
|
+
background: var(--surface);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.detail-panel__empty {
|
|
319
|
+
flex: 1;
|
|
320
|
+
display: flex;
|
|
321
|
+
flex-direction: column;
|
|
322
|
+
align-items: center;
|
|
323
|
+
justify-content: center;
|
|
324
|
+
color: var(--ink-muted);
|
|
325
|
+
gap: 12px;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.detail-panel__empty-icon {
|
|
329
|
+
font-size: 48px;
|
|
330
|
+
opacity: 0.3;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.detail-panel__empty-text {
|
|
334
|
+
font-size: 14px;
|
|
335
|
+
font-weight: 500;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.detail-panel__content {
|
|
339
|
+
flex: 1;
|
|
340
|
+
overflow-y: auto;
|
|
341
|
+
padding: 32px 40px;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.detail-panel__subject {
|
|
345
|
+
font-family: var(--font-display);
|
|
346
|
+
font-size: 24px;
|
|
347
|
+
font-weight: 700;
|
|
348
|
+
color: var(--ink);
|
|
349
|
+
line-height: 1.35;
|
|
350
|
+
margin-bottom: 20px;
|
|
351
|
+
letter-spacing: -0.3px;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.detail-panel__meta {
|
|
355
|
+
display: flex;
|
|
356
|
+
align-items: flex-start;
|
|
357
|
+
gap: 14px;
|
|
358
|
+
padding-bottom: 24px;
|
|
359
|
+
border-bottom: 1px solid var(--border-light);
|
|
360
|
+
margin-bottom: 28px;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.detail-panel__meta-avatar {
|
|
364
|
+
width: 44px;
|
|
365
|
+
height: 44px;
|
|
366
|
+
border-radius: 50%;
|
|
367
|
+
background: var(--surface-warm);
|
|
368
|
+
display: flex;
|
|
369
|
+
align-items: center;
|
|
370
|
+
justify-content: center;
|
|
371
|
+
font-size: 15px;
|
|
372
|
+
font-weight: 700;
|
|
373
|
+
color: var(--ink-light);
|
|
374
|
+
flex-shrink: 0;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.detail-panel__meta-info {
|
|
378
|
+
flex: 1;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.detail-panel__meta-sender {
|
|
382
|
+
font-size: 14.5px;
|
|
383
|
+
font-weight: 700;
|
|
384
|
+
color: var(--ink);
|
|
385
|
+
margin-bottom: 2px;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.detail-panel__meta-email {
|
|
389
|
+
font-size: 12.5px;
|
|
390
|
+
color: var(--ink-muted);
|
|
391
|
+
margin-bottom: 4px;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.detail-panel__meta-date {
|
|
395
|
+
font-size: 12px;
|
|
396
|
+
color: var(--ink-muted);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.detail-panel__body {
|
|
400
|
+
font-size: 14.5px;
|
|
401
|
+
line-height: 1.75;
|
|
402
|
+
color: var(--ink);
|
|
403
|
+
word-break: break-word;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.detail-panel__body p {
|
|
407
|
+
margin-bottom: 12px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/* ===== COMPOSE MODAL ===== */
|
|
411
|
+
.modal-overlay {
|
|
412
|
+
position: fixed;
|
|
413
|
+
inset: 0;
|
|
414
|
+
background: rgba(26, 26, 46, 0.4);
|
|
415
|
+
backdrop-filter: blur(4px);
|
|
416
|
+
display: flex;
|
|
417
|
+
align-items: center;
|
|
418
|
+
justify-content: center;
|
|
419
|
+
z-index: 1000;
|
|
420
|
+
opacity: 0;
|
|
421
|
+
visibility: hidden;
|
|
422
|
+
transition: all 0.3s ease;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.modal-overlay--visible {
|
|
426
|
+
opacity: 1;
|
|
427
|
+
visibility: visible;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.compose-modal {
|
|
431
|
+
background: var(--white);
|
|
432
|
+
border-radius: var(--radius-lg);
|
|
433
|
+
width: 580px;
|
|
434
|
+
max-width: 90vw;
|
|
435
|
+
max-height: 85vh;
|
|
436
|
+
display: flex;
|
|
437
|
+
flex-direction: column;
|
|
438
|
+
box-shadow: var(--shadow-lg);
|
|
439
|
+
transform: translateY(20px) scale(0.97);
|
|
440
|
+
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.modal-overlay--visible .compose-modal {
|
|
444
|
+
transform: translateY(0) scale(1);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.compose-modal__header {
|
|
448
|
+
display: flex;
|
|
449
|
+
align-items: center;
|
|
450
|
+
justify-content: space-between;
|
|
451
|
+
padding: 20px 24px;
|
|
452
|
+
border-bottom: 1px solid var(--border-light);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.compose-modal__title {
|
|
456
|
+
font-family: var(--font-display);
|
|
457
|
+
font-size: 18px;
|
|
458
|
+
font-weight: 700;
|
|
459
|
+
color: var(--ink);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.compose-modal__close {
|
|
463
|
+
width: 32px;
|
|
464
|
+
height: 32px;
|
|
465
|
+
border: none;
|
|
466
|
+
background: var(--surface);
|
|
467
|
+
border-radius: 50%;
|
|
468
|
+
display: flex;
|
|
469
|
+
align-items: center;
|
|
470
|
+
justify-content: center;
|
|
471
|
+
cursor: pointer;
|
|
472
|
+
font-size: 16px;
|
|
473
|
+
color: var(--ink-light);
|
|
474
|
+
transition: all var(--transition);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.compose-modal__close:hover {
|
|
478
|
+
background: var(--surface-hover);
|
|
479
|
+
color: var(--ink);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.compose-modal__body {
|
|
483
|
+
padding: 24px;
|
|
484
|
+
flex: 1;
|
|
485
|
+
overflow-y: auto;
|
|
486
|
+
display: flex;
|
|
487
|
+
flex-direction: column;
|
|
488
|
+
gap: 16px;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.form-group {
|
|
492
|
+
display: flex;
|
|
493
|
+
flex-direction: column;
|
|
494
|
+
gap: 6px;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.form-group__label {
|
|
498
|
+
font-size: 12px;
|
|
499
|
+
font-weight: 700;
|
|
500
|
+
color: var(--ink-muted);
|
|
501
|
+
text-transform: uppercase;
|
|
502
|
+
letter-spacing: 0.8px;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.form-group__input {
|
|
506
|
+
padding: 10px 14px;
|
|
507
|
+
border: 1px solid var(--border);
|
|
508
|
+
border-radius: var(--radius-sm);
|
|
509
|
+
font-family: var(--font-body);
|
|
510
|
+
font-size: 14px;
|
|
511
|
+
color: var(--ink);
|
|
512
|
+
background: var(--white);
|
|
513
|
+
transition: all var(--transition);
|
|
514
|
+
outline: none;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.form-group__input:focus {
|
|
518
|
+
border-color: var(--accent);
|
|
519
|
+
box-shadow: 0 0 0 3px var(--accent-light);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.form-group__input--textarea {
|
|
523
|
+
min-height: 180px;
|
|
524
|
+
resize: vertical;
|
|
525
|
+
line-height: 1.6;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.compose-modal__footer {
|
|
529
|
+
display: flex;
|
|
530
|
+
align-items: center;
|
|
531
|
+
justify-content: flex-end;
|
|
532
|
+
gap: 10px;
|
|
533
|
+
padding: 16px 24px;
|
|
534
|
+
border-top: 1px solid var(--border-light);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/* ===== STATUS BAR ===== */
|
|
538
|
+
.status-bar {
|
|
539
|
+
padding: 10px 28px;
|
|
540
|
+
font-size: 12.5px;
|
|
541
|
+
color: var(--ink-muted);
|
|
542
|
+
background: var(--white);
|
|
543
|
+
border-top: 1px solid var(--border);
|
|
544
|
+
display: flex;
|
|
545
|
+
align-items: center;
|
|
546
|
+
gap: 8px;
|
|
547
|
+
flex-shrink: 0;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.status-bar__dot {
|
|
551
|
+
width: 7px;
|
|
552
|
+
height: 7px;
|
|
553
|
+
border-radius: 50%;
|
|
554
|
+
background: #4caf50;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.status-bar--error .status-bar__dot {
|
|
558
|
+
background: var(--accent);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.status-bar--loading .status-bar__dot {
|
|
562
|
+
background: #ff9800;
|
|
563
|
+
animation: pulse 1.2s infinite;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
@keyframes pulse {
|
|
567
|
+
0%, 100% { opacity: 1; }
|
|
568
|
+
50% { opacity: 0.3; }
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/* ===== LOADING ===== */
|
|
572
|
+
.loading-skeleton {
|
|
573
|
+
padding: 6px;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.skeleton-item {
|
|
577
|
+
display: flex;
|
|
578
|
+
gap: 14px;
|
|
579
|
+
padding: 14px 16px;
|
|
580
|
+
margin-bottom: 4px;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.skeleton-circle {
|
|
584
|
+
width: 40px;
|
|
585
|
+
height: 40px;
|
|
586
|
+
border-radius: 50%;
|
|
587
|
+
background: linear-gradient(90deg, var(--surface-warm) 25%, var(--surface) 50%, var(--surface-warm) 75%);
|
|
588
|
+
background-size: 200% 100%;
|
|
589
|
+
animation: shimmer 1.5s infinite;
|
|
590
|
+
flex-shrink: 0;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.skeleton-lines {
|
|
594
|
+
flex: 1;
|
|
595
|
+
display: flex;
|
|
596
|
+
flex-direction: column;
|
|
597
|
+
gap: 8px;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.skeleton-line {
|
|
601
|
+
height: 12px;
|
|
602
|
+
border-radius: 4px;
|
|
603
|
+
background: linear-gradient(90deg, var(--surface-warm) 25%, var(--surface) 50%, var(--surface-warm) 75%);
|
|
604
|
+
background-size: 200% 100%;
|
|
605
|
+
animation: shimmer 1.5s infinite;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.skeleton-line--short {
|
|
609
|
+
width: 60%;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.skeleton-line--medium {
|
|
613
|
+
width: 85%;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
@keyframes shimmer {
|
|
617
|
+
0% { background-position: 200% 0; }
|
|
618
|
+
100% { background-position: -200% 0; }
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/* ===== RESPONSIVE ===== */
|
|
622
|
+
@media (max-width: 768px) {
|
|
623
|
+
.inbox-panel {
|
|
624
|
+
width: 100%;
|
|
625
|
+
min-width: 100%;
|
|
626
|
+
}
|
|
627
|
+
.detail-panel {
|
|
628
|
+
display: none;
|
|
629
|
+
}
|
|
630
|
+
.app-body--detail-open .inbox-panel {
|
|
631
|
+
display: none;
|
|
632
|
+
}
|
|
633
|
+
.app-body--detail-open .detail-panel {
|
|
634
|
+
display: flex;
|
|
635
|
+
}
|
|
636
|
+
.detail-panel__content {
|
|
637
|
+
padding: 20px;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"appDisplayName": "Outlook Demo V2",
|
|
3
|
+
"description": "",
|
|
4
|
+
"environmentId": "<ENVIRONMENT_ID>",
|
|
5
|
+
"buildPath": "./dist",
|
|
6
|
+
"buildEntryPoint": "index.html",
|
|
7
|
+
"logoPath": "/dist/icon-512.png",
|
|
8
|
+
"localAppUrl": "http://localhost:3000",
|
|
9
|
+
"region": "prod",
|
|
10
|
+
"connectionReferences": {
|
|
11
|
+
"office365": {
|
|
12
|
+
"id": "/providers/Microsoft.PowerApps/apis/shared_office365",
|
|
13
|
+
"displayName": "Office 365 Outlook",
|
|
14
|
+
"dataSources": [
|
|
15
|
+
"office365"
|
|
16
|
+
],
|
|
17
|
+
"authenticationType": null,
|
|
18
|
+
"sharedConnectionId": "<CONNECTION_ID>",
|
|
19
|
+
"dataSets": {}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"databaseReferences": {}
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* This file is autogenerated. Do not edit this file directly.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// Models
|
|
7
|
+
export * as Office365GroupsModel from './models/Office365GroupsModel';
|
|
8
|
+
export * as Office365OutlookModel from './models/Office365OutlookModel';
|
|
9
|
+
export * as Office365UsersModel from './models/Office365UsersModel';
|
|
10
|
+
|
|
11
|
+
// Services
|
|
12
|
+
export * from './services/Office365GroupsService';
|
|
13
|
+
export * from './services/Office365OutlookService';
|
|
14
|
+
export * from './services/Office365UsersService';
|