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
|
@@ -1,404 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--bg: #f5f8fc;
|
|
3
|
-
--shell: #ffffff;
|
|
4
|
-
--panel: #ffffff;
|
|
5
|
-
--panel-soft: #f8fbff;
|
|
6
|
-
--text: #1c2b3a;
|
|
7
|
-
--muted: #5b6b80;
|
|
8
|
-
--line: #dbe4f0;
|
|
9
|
-
--accent: #0f6cbd;
|
|
10
|
-
--accent-2: #0078d4;
|
|
11
|
-
--accent-soft: #dcecff;
|
|
12
|
-
--shadow: 0 10px 30px rgba(20, 46, 87, 0.08);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
* {
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
html,
|
|
20
|
-
body {
|
|
21
|
-
margin: 0;
|
|
22
|
-
min-height: 100%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
body {
|
|
26
|
-
background: var(--bg);
|
|
27
|
-
color: var(--text);
|
|
28
|
-
font-family: 'Segoe UI Variable Text', 'Segoe UI', sans-serif;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.appShell {
|
|
32
|
-
min-height: 100vh;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.suiteBar {
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
gap: 16px;
|
|
39
|
-
align-items: center;
|
|
40
|
-
padding: 12px 20px;
|
|
41
|
-
border-bottom: 1px solid var(--line);
|
|
42
|
-
background: #ffffff;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.suiteLeft,
|
|
46
|
-
.suiteRight {
|
|
47
|
-
display: flex;
|
|
48
|
-
gap: 12px;
|
|
49
|
-
align-items: center;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.suiteBadge,
|
|
53
|
-
.avatar,
|
|
54
|
-
.iconButton {
|
|
55
|
-
display: grid;
|
|
56
|
-
place-items: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.iconButton {
|
|
60
|
-
width: 36px;
|
|
61
|
-
height: 36px;
|
|
62
|
-
border: 1px solid var(--line);
|
|
63
|
-
border-radius: 8px;
|
|
64
|
-
background: #ffffff;
|
|
65
|
-
color: var(--text);
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.suiteBadge {
|
|
70
|
-
width: 34px;
|
|
71
|
-
height: 34px;
|
|
72
|
-
border-radius: 10px;
|
|
73
|
-
background: linear-gradient(135deg, #0f6cbd, #3f98e0);
|
|
74
|
-
color: #ffffff;
|
|
75
|
-
font-weight: 700;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.suiteDivider {
|
|
79
|
-
width: 1px;
|
|
80
|
-
height: 24px;
|
|
81
|
-
background: var(--line);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.suiteLabel {
|
|
85
|
-
color: var(--muted);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.searchBox {
|
|
89
|
-
width: min(340px, 42vw);
|
|
90
|
-
border: 1px solid var(--line);
|
|
91
|
-
border-radius: 8px;
|
|
92
|
-
padding: 10px 12px;
|
|
93
|
-
background: #f9fbfd;
|
|
94
|
-
font: inherit;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.avatar {
|
|
98
|
-
width: 34px;
|
|
99
|
-
height: 34px;
|
|
100
|
-
border-radius: 50%;
|
|
101
|
-
background: #e7eef7;
|
|
102
|
-
font-size: 0.84rem;
|
|
103
|
-
font-weight: 700;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.workspace {
|
|
107
|
-
display: grid;
|
|
108
|
-
grid-template-columns: 240px minmax(0, 1fr);
|
|
109
|
-
min-height: calc(100vh - 61px);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.leftRail {
|
|
113
|
-
padding: 18px 14px;
|
|
114
|
-
border-right: 1px solid var(--line);
|
|
115
|
-
background: #fbfdff;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.railLabel,
|
|
119
|
-
.eyebrow,
|
|
120
|
-
.cardLabel,
|
|
121
|
-
.panelTitle {
|
|
122
|
-
margin: 0;
|
|
123
|
-
color: var(--accent);
|
|
124
|
-
font-size: 0.78rem;
|
|
125
|
-
font-weight: 700;
|
|
126
|
-
letter-spacing: 0.08em;
|
|
127
|
-
text-transform: uppercase;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.railNav {
|
|
131
|
-
display: grid;
|
|
132
|
-
gap: 4px;
|
|
133
|
-
margin-top: 12px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.railNav a {
|
|
137
|
-
border-radius: 8px;
|
|
138
|
-
padding: 10px 12px;
|
|
139
|
-
color: var(--text);
|
|
140
|
-
text-decoration: none;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.railNav a.is-active,
|
|
144
|
-
.railNav a:hover {
|
|
145
|
-
background: var(--accent-soft);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.railPanel {
|
|
149
|
-
margin-top: 24px;
|
|
150
|
-
padding: 16px;
|
|
151
|
-
border: 1px solid var(--line);
|
|
152
|
-
border-radius: 14px;
|
|
153
|
-
background: #ffffff;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.railPanel p {
|
|
157
|
-
margin: 10px 0 6px;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.railPanel span {
|
|
161
|
-
color: var(--muted);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.contentArea {
|
|
165
|
-
padding: 20px;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.commandBar {
|
|
169
|
-
display: flex;
|
|
170
|
-
justify-content: space-between;
|
|
171
|
-
gap: 16px;
|
|
172
|
-
align-items: center;
|
|
173
|
-
padding: 10px 14px;
|
|
174
|
-
border: 1px solid var(--line);
|
|
175
|
-
border-radius: 12px;
|
|
176
|
-
background: #ffffff;
|
|
177
|
-
box-shadow: var(--shadow);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.commandSet {
|
|
181
|
-
display: flex;
|
|
182
|
-
gap: 8px;
|
|
183
|
-
flex-wrap: wrap;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.commandPrimary,
|
|
187
|
-
.commandButton,
|
|
188
|
-
.tabButton {
|
|
189
|
-
border: 1px solid var(--line);
|
|
190
|
-
border-radius: 8px;
|
|
191
|
-
padding: 10px 14px;
|
|
192
|
-
background: #ffffff;
|
|
193
|
-
color: var(--text);
|
|
194
|
-
font: inherit;
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.commandPrimary {
|
|
199
|
-
background: var(--accent);
|
|
200
|
-
border-color: var(--accent);
|
|
201
|
-
color: #ffffff;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.pageHeader {
|
|
205
|
-
display: grid;
|
|
206
|
-
grid-template-columns: 1.2fr 0.8fr;
|
|
207
|
-
gap: 18px;
|
|
208
|
-
align-items: start;
|
|
209
|
-
margin-top: 18px;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.pageHeader h1 {
|
|
213
|
-
margin: 12px 0 0;
|
|
214
|
-
font-size: clamp(2rem, 4vw, 3.2rem);
|
|
215
|
-
line-height: 1.1;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.lead {
|
|
219
|
-
max-width: 760px;
|
|
220
|
-
margin: 14px 0 0;
|
|
221
|
-
color: var(--muted);
|
|
222
|
-
line-height: 1.7;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.summaryCard,
|
|
226
|
-
.infoCard {
|
|
227
|
-
padding: 18px;
|
|
228
|
-
border: 1px solid var(--line);
|
|
229
|
-
border-radius: 16px;
|
|
230
|
-
background: #ffffff;
|
|
231
|
-
box-shadow: var(--shadow);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.summaryCard span,
|
|
235
|
-
.summaryCard p {
|
|
236
|
-
color: var(--muted);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.summaryCard strong {
|
|
240
|
-
display: block;
|
|
241
|
-
margin: 8px 0;
|
|
242
|
-
font-size: 1.2rem;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.tabRow {
|
|
246
|
-
display: flex;
|
|
247
|
-
gap: 8px;
|
|
248
|
-
flex-wrap: wrap;
|
|
249
|
-
margin-top: 18px;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.tabButton.is-active {
|
|
253
|
-
background: var(--accent-soft);
|
|
254
|
-
border-color: #b8d4f5;
|
|
255
|
-
color: var(--accent);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.panelDeck {
|
|
259
|
-
margin-top: 16px;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.contentPanel {
|
|
263
|
-
display: none;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.contentPanel.is-active {
|
|
267
|
-
display: block;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.cardGrid {
|
|
271
|
-
display: grid;
|
|
272
|
-
gap: 16px;
|
|
273
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.wideGrid {
|
|
277
|
-
grid-template-columns: 1.2fr 0.8fr;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.triGrid {
|
|
281
|
-
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.accentCard {
|
|
285
|
-
background: linear-gradient(180deg, #eef5ff, #f8fbff);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.infoCard h2 {
|
|
289
|
-
margin: 10px 0;
|
|
290
|
-
font-size: 1.9rem;
|
|
291
|
-
line-height: 1.15;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.infoCard p,
|
|
295
|
-
.infoCard li,
|
|
296
|
-
.infoCard td {
|
|
297
|
-
color: var(--muted);
|
|
298
|
-
line-height: 1.7;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.checkList {
|
|
302
|
-
padding-left: 18px;
|
|
303
|
-
margin: 12px 0 0;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.compactList {
|
|
307
|
-
margin-top: 10px;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.metricRow {
|
|
311
|
-
display: grid;
|
|
312
|
-
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
313
|
-
gap: 12px;
|
|
314
|
-
margin-top: 14px;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.metricRow div {
|
|
318
|
-
padding: 12px;
|
|
319
|
-
border-radius: 12px;
|
|
320
|
-
background: var(--panel-soft);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.metricRow strong,
|
|
324
|
-
.infoCard strong {
|
|
325
|
-
display: block;
|
|
326
|
-
color: var(--text);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.metricRow span {
|
|
330
|
-
color: var(--muted);
|
|
331
|
-
font-size: 0.88rem;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
pre {
|
|
335
|
-
overflow-x: auto;
|
|
336
|
-
margin: 12px 0 0;
|
|
337
|
-
padding: 14px;
|
|
338
|
-
border-radius: 12px;
|
|
339
|
-
background: #0f1726;
|
|
340
|
-
color: #eff4ff;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
code {
|
|
344
|
-
font-family: Consolas, 'Courier New', monospace;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.miniPills {
|
|
348
|
-
display: flex;
|
|
349
|
-
flex-wrap: wrap;
|
|
350
|
-
gap: 8px;
|
|
351
|
-
margin-top: 14px;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.miniPills span {
|
|
355
|
-
padding: 8px 10px;
|
|
356
|
-
border-radius: 999px;
|
|
357
|
-
background: #eef5ff;
|
|
358
|
-
color: var(--accent);
|
|
359
|
-
font-size: 0.88rem;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
table {
|
|
363
|
-
width: 100%;
|
|
364
|
-
border-collapse: collapse;
|
|
365
|
-
margin-top: 12px;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
td {
|
|
369
|
-
padding: 10px 0;
|
|
370
|
-
border-bottom: 1px solid var(--line);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
td:last-child {
|
|
374
|
-
color: var(--text);
|
|
375
|
-
text-align: right;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
@media (max-width: 1080px) {
|
|
379
|
-
.workspace,
|
|
380
|
-
.pageHeader,
|
|
381
|
-
.wideGrid,
|
|
382
|
-
.triGrid,
|
|
383
|
-
.cardGrid {
|
|
384
|
-
grid-template-columns: 1fr;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
@media (max-width: 760px) {
|
|
389
|
-
.suiteBar,
|
|
390
|
-
.suiteLeft,
|
|
391
|
-
.suiteRight,
|
|
392
|
-
.commandBar {
|
|
393
|
-
flex-direction: column;
|
|
394
|
-
align-items: flex-start;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
.searchBox {
|
|
398
|
-
width: 100%;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.contentArea {
|
|
402
|
-
padding: 14px;
|
|
403
|
-
}
|
|
404
|
-
}
|
package/docs-mockups/script.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
const aCards = Array.from(document.querySelectorAll('.conceptCard'));
|
|
2
|
-
|
|
3
|
-
const revealCards = () => {
|
|
4
|
-
aCards.forEach((eCard, iIndex) => {
|
|
5
|
-
window.setTimeout(() => {
|
|
6
|
-
eCard.classList.add('is-visible');
|
|
7
|
-
}, 90 * iIndex);
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
const openConceptByKey = (sKey) => {
|
|
12
|
-
const oRoutes = {
|
|
13
|
-
'1': './maker-hub/index.html',
|
|
14
|
-
'2': './model-workspace/index.html'
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
if (oRoutes[sKey]) {
|
|
18
|
-
window.location.href = oRoutes[sKey];
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
document.addEventListener('keydown', (oEvent) => {
|
|
23
|
-
openConceptByKey(oEvent.key);
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
revealCards();
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Signal Console | codeapp-js Docs</title>
|
|
7
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
9
|
-
<link href="https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet">
|
|
10
|
-
<link rel="stylesheet" href="./styles.css">
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<div class="layout">
|
|
14
|
-
<aside class="sidebar">
|
|
15
|
-
<a class="brand" href="../index.html">signal.console</a>
|
|
16
|
-
<p class="versionBadge">v0.1.0</p>
|
|
17
|
-
<nav>
|
|
18
|
-
<a href="#mission">Mission</a>
|
|
19
|
-
<a href="#pipeline">Pipeline</a>
|
|
20
|
-
<a href="#commands">Commands</a>
|
|
21
|
-
<a href="#connectors">Connectors</a>
|
|
22
|
-
<a href="#examples">Examples</a>
|
|
23
|
-
</nav>
|
|
24
|
-
<div class="sidebarPanel">
|
|
25
|
-
<p class="panelLabel">Audience fit</p>
|
|
26
|
-
<p>For a docs site that should feel fast, technical, and immediately useful to developers who live in terminals and dashboards.</p>
|
|
27
|
-
</div>
|
|
28
|
-
</aside>
|
|
29
|
-
|
|
30
|
-
<main class="mainPanel">
|
|
31
|
-
<section class="hero" id="mission">
|
|
32
|
-
<div>
|
|
33
|
-
<p class="signalTag">Command-center concept</p>
|
|
34
|
-
<h1>Operational docs for shipping Power Apps code apps in plain JavaScript.</h1>
|
|
35
|
-
<p class="heroText">This direction frames codeapp-js as infrastructure. The page is built from dense panels, direct language, and clear system states rather than narrative marketing.</p>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="heroMetricGrid">
|
|
38
|
-
<article>
|
|
39
|
-
<span>Generated</span>
|
|
40
|
-
<strong>services + models</strong>
|
|
41
|
-
</article>
|
|
42
|
-
<article>
|
|
43
|
-
<span>Local server</span>
|
|
44
|
-
<strong>4173</strong>
|
|
45
|
-
</article>
|
|
46
|
-
<article>
|
|
47
|
-
<span>Workflow</span>
|
|
48
|
-
<strong>npm + pac</strong>
|
|
49
|
-
</article>
|
|
50
|
-
</div>
|
|
51
|
-
</section>
|
|
52
|
-
|
|
53
|
-
<section class="pipeline" id="pipeline">
|
|
54
|
-
<article class="terminalWindow">
|
|
55
|
-
<div class="windowBar">
|
|
56
|
-
<span></span><span></span><span></span>
|
|
57
|
-
</div>
|
|
58
|
-
<pre><code>> npm install codeapp-js
|
|
59
|
-
> npm start
|
|
60
|
-
> pac auth create
|
|
61
|
-
> pac code push --solutionName MySolution
|
|
62
|
-
|
|
63
|
-
status: generated services available
|
|
64
|
-
status: examples ready at /examples/*/dist/</code></pre>
|
|
65
|
-
</article>
|
|
66
|
-
<article class="eventFeed">
|
|
67
|
-
<p class="panelLabel">Pipeline states</p>
|
|
68
|
-
<ul>
|
|
69
|
-
<li><strong>Install</strong> rebuilds local Power Apps data files from npm.</li>
|
|
70
|
-
<li><strong>Serve</strong> hosts the repo root so every example stays linkable.</li>
|
|
71
|
-
<li><strong>Push</strong> updates generated code after config changes.</li>
|
|
72
|
-
</ul>
|
|
73
|
-
</article>
|
|
74
|
-
</section>
|
|
75
|
-
|
|
76
|
-
<section class="commandDeck" id="commands">
|
|
77
|
-
<div class="deckHeader">
|
|
78
|
-
<p class="panelLabel">Command reference</p>
|
|
79
|
-
<div class="tabRow" role="tablist" aria-label="Command sets">
|
|
80
|
-
<button class="tabButton is-active" data-target="installPanel">Bootstrap</button>
|
|
81
|
-
<button class="tabButton" data-target="configPanel">Configure</button>
|
|
82
|
-
<button class="tabButton" data-target="pushPanel">Deploy</button>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
<article class="tabPanel is-active" id="installPanel">
|
|
86
|
-
<code>npm install
|
|
87
|
-
npm start
|
|
88
|
-
npm run start:codeapp</code>
|
|
89
|
-
</article>
|
|
90
|
-
<article class="tabPanel" id="configPanel">
|
|
91
|
-
<code>pac connection list
|
|
92
|
-
pac code add-data-source -a "Dataverse" -c "connection-id"</code>
|
|
93
|
-
</article>
|
|
94
|
-
<article class="tabPanel" id="pushPanel">
|
|
95
|
-
<code>pac env select --environment "environment-id"
|
|
96
|
-
pac code push --solutionName YourSolutionName</code>
|
|
97
|
-
</article>
|
|
98
|
-
</section>
|
|
99
|
-
|
|
100
|
-
<section class="connectorMatrix" id="connectors">
|
|
101
|
-
<article>
|
|
102
|
-
<p class="panelLabel">Connector matrix</p>
|
|
103
|
-
<h2>Document each integration like a supported subsystem.</h2>
|
|
104
|
-
</article>
|
|
105
|
-
<article class="matrixCard">
|
|
106
|
-
<strong>Dataverse</strong>
|
|
107
|
-
<span>Tables via `databaseReferences.default.cds.dataSources`.</span>
|
|
108
|
-
</article>
|
|
109
|
-
<article class="matrixCard">
|
|
110
|
-
<strong>Outlook</strong>
|
|
111
|
-
<span>`shared_office365` connection reference.</span>
|
|
112
|
-
</article>
|
|
113
|
-
<article class="matrixCard">
|
|
114
|
-
<strong>SharePoint</strong>
|
|
115
|
-
<span>`shared_sharepointonline` connector path.</span>
|
|
116
|
-
</article>
|
|
117
|
-
<article class="matrixCard">
|
|
118
|
-
<strong>Groups + Users</strong>
|
|
119
|
-
<span>Generated services aligned to Office 365 connectors.</span>
|
|
120
|
-
</article>
|
|
121
|
-
</section>
|
|
122
|
-
|
|
123
|
-
<section class="exampleStrip" id="examples">
|
|
124
|
-
<article>
|
|
125
|
-
<p class="panelLabel">Example fleet</p>
|
|
126
|
-
<h2>Starter app, connector demos, todo, kanban, planning poker.</h2>
|
|
127
|
-
</article>
|
|
128
|
-
<article class="exampleCard">
|
|
129
|
-
<span>codeApp/dist/</span>
|
|
130
|
-
<p>Use this as the canonical quickstart path.</p>
|
|
131
|
-
</article>
|
|
132
|
-
<article class="exampleCard">
|
|
133
|
-
<span>examples/todo/dist/</span>
|
|
134
|
-
<p>Show generated services in a small app loop.</p>
|
|
135
|
-
</article>
|
|
136
|
-
<article class="exampleCard">
|
|
137
|
-
<span>examples/outlook Demo/dist/</span>
|
|
138
|
-
<p>Prove connector-specific documentation sections.</p>
|
|
139
|
-
</article>
|
|
140
|
-
</section>
|
|
141
|
-
</main>
|
|
142
|
-
</div>
|
|
143
|
-
|
|
144
|
-
<script src="./script.js"></script>
|
|
145
|
-
</body>
|
|
146
|
-
</html>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const aTabButtons = Array.from(document.querySelectorAll('.tabButton'));
|
|
2
|
-
const aTabPanels = Array.from(document.querySelectorAll('.tabPanel'));
|
|
3
|
-
|
|
4
|
-
const activateTab = (sTargetId) => {
|
|
5
|
-
aTabButtons.forEach((eButton) => {
|
|
6
|
-
const bIsMatch = eButton.dataset.target === sTargetId;
|
|
7
|
-
eButton.classList.toggle('is-active', bIsMatch);
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
aTabPanels.forEach((ePanel) => {
|
|
11
|
-
const bIsMatch = ePanel.id === sTargetId;
|
|
12
|
-
ePanel.classList.toggle('is-active', bIsMatch);
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
aTabButtons.forEach((eButton) => {
|
|
17
|
-
eButton.addEventListener('click', () => {
|
|
18
|
-
activateTab(eButton.dataset.target);
|
|
19
|
-
});
|
|
20
|
-
});
|