codeapp-js 0.1.1 → 0.2.1
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 +317 -74
- package/codeApp/dist/index.js +1 -1
- package/codeApp/dist/power-apps-data.js +2952 -2531
- package/dev files/customConnector.js +98 -0
- package/dev files/dataverse.js +22 -7
- package/dev files/environmentVar.js +1 -1
- package/dev files/office365groups.js +1 -1
- package/dev files/office365users.js +1 -1
- package/dev files/outlook.js +1 -1
- package/dev files/power-apps-data.js +2952 -0
- package/dev files/sharepoint.js +1 -1
- package/examples/combined demo/dist/codeapp.js +1098 -0
- package/examples/combined demo/dist/index.js +470 -515
- package/examples/combined demo/dist/power-apps-data.js +3007 -2531
- package/examples/dataverse Demo/dist/codeapp.js +1085 -0
- package/examples/dataverse Demo/dist/index.js +38 -26
- package/examples/dataverse Demo/dist/power-apps-data.js +2912 -2531
- package/examples/groups Demo/dist/codeapp.js +1085 -0
- package/examples/groups Demo/dist/index.js +113 -113
- package/examples/groups Demo/dist/power-apps-data.js +2912 -2531
- package/examples/kanban/dist/power-apps-data.js +2953 -2531
- package/examples/myProfile/dist/power-apps-data.js +2953 -2531
- package/examples/outlook Demo/dist/codeapp.js +1085 -0
- package/examples/outlook Demo/dist/index.js +39 -35
- package/examples/outlook Demo/dist/power-apps-data.js +2912 -2531
- package/examples/planning Poker/dist/power-apps-data.js +2953 -2531
- package/examples/sharePoint Demo/dist/codeapp.js +1085 -0
- package/examples/sharePoint Demo/dist/index.js +262 -269
- package/examples/sharePoint Demo/dist/power-apps-data.js +2912 -2531
- 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/power-apps-data.js +2953 -2531
- package/package.json +1 -8
- package/.github/instructions/wyattdave.instructions.md +0 -39
- 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
- package/scripts/build-power-sdk.mjs +0 -69
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--bg: #081014;
|
|
3
|
-
--panel: #0e1b21;
|
|
4
|
-
--panel-2: #12262d;
|
|
5
|
-
--line: rgba(130, 239, 214, 0.18);
|
|
6
|
-
--text: #d9fff7;
|
|
7
|
-
--muted: #7cb9ad;
|
|
8
|
-
--accent: #7df3d5;
|
|
9
|
-
--warning: #f7b267;
|
|
10
|
-
--shadow: 0 18px 56px rgba(0, 0, 0, 0.36);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
* {
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html {
|
|
18
|
-
scroll-behavior: smooth;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
body {
|
|
22
|
-
margin: 0;
|
|
23
|
-
min-height: 100vh;
|
|
24
|
-
background:
|
|
25
|
-
radial-gradient(circle at top right, rgba(125, 243, 213, 0.08), transparent 24%),
|
|
26
|
-
linear-gradient(180deg, #061015, var(--bg));
|
|
27
|
-
color: var(--text);
|
|
28
|
-
font-family: 'IBM Plex Mono', monospace;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.layout {
|
|
32
|
-
display: grid;
|
|
33
|
-
grid-template-columns: 280px minmax(0, 1fr);
|
|
34
|
-
min-height: 100vh;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.sidebar {
|
|
38
|
-
position: sticky;
|
|
39
|
-
top: 0;
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-direction: column;
|
|
42
|
-
gap: 20px;
|
|
43
|
-
height: 100vh;
|
|
44
|
-
padding: 28px;
|
|
45
|
-
border-right: 1px solid var(--line);
|
|
46
|
-
background: linear-gradient(180deg, rgba(5, 14, 18, 0.94), rgba(9, 21, 26, 0.98));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.brand,
|
|
50
|
-
.sidebar nav a {
|
|
51
|
-
color: var(--text);
|
|
52
|
-
text-decoration: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.brand,
|
|
56
|
-
.hero h1,
|
|
57
|
-
.connectorMatrix h2,
|
|
58
|
-
.exampleStrip h2 {
|
|
59
|
-
font-family: 'Archivo', sans-serif;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.brand {
|
|
63
|
-
font-size: 1.35rem;
|
|
64
|
-
font-weight: 800;
|
|
65
|
-
letter-spacing: 0.06em;
|
|
66
|
-
text-transform: uppercase;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.versionBadge {
|
|
70
|
-
width: fit-content;
|
|
71
|
-
margin: 0;
|
|
72
|
-
padding: 6px 10px;
|
|
73
|
-
border: 1px solid var(--line);
|
|
74
|
-
border-radius: 999px;
|
|
75
|
-
color: var(--accent);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.sidebar nav {
|
|
79
|
-
display: grid;
|
|
80
|
-
gap: 12px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.sidebar nav a {
|
|
84
|
-
color: var(--muted);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.sidebarPanel,
|
|
88
|
-
.heroMetricGrid article,
|
|
89
|
-
.eventFeed,
|
|
90
|
-
.commandDeck,
|
|
91
|
-
.matrixCard,
|
|
92
|
-
.exampleCard,
|
|
93
|
-
.terminalWindow {
|
|
94
|
-
border: 1px solid var(--line);
|
|
95
|
-
border-radius: 24px;
|
|
96
|
-
background: linear-gradient(180deg, rgba(14, 27, 33, 0.96), rgba(9, 18, 22, 0.96));
|
|
97
|
-
box-shadow: var(--shadow);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.sidebarPanel {
|
|
101
|
-
margin-top: auto;
|
|
102
|
-
padding: 18px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.sidebarPanel p:last-child,
|
|
106
|
-
.heroText,
|
|
107
|
-
.eventFeed li,
|
|
108
|
-
.matrixCard span,
|
|
109
|
-
.exampleCard p {
|
|
110
|
-
color: var(--muted);
|
|
111
|
-
line-height: 1.7;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.mainPanel {
|
|
115
|
-
padding: 30px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.hero {
|
|
119
|
-
display: grid;
|
|
120
|
-
grid-template-columns: 1.15fr 0.85fr;
|
|
121
|
-
gap: 22px;
|
|
122
|
-
align-items: stretch;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.signalTag,
|
|
126
|
-
.panelLabel {
|
|
127
|
-
margin: 0;
|
|
128
|
-
color: var(--warning);
|
|
129
|
-
font-size: 0.78rem;
|
|
130
|
-
font-weight: 700;
|
|
131
|
-
letter-spacing: 0.16em;
|
|
132
|
-
text-transform: uppercase;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.hero h1 {
|
|
136
|
-
margin: 16px 0 0;
|
|
137
|
-
font-size: clamp(3rem, 6vw, 5.2rem);
|
|
138
|
-
line-height: 0.92;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.heroText {
|
|
142
|
-
max-width: 720px;
|
|
143
|
-
margin: 18px 0 0;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.heroMetricGrid {
|
|
147
|
-
display: grid;
|
|
148
|
-
gap: 16px;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.heroMetricGrid article {
|
|
152
|
-
display: grid;
|
|
153
|
-
gap: 6px;
|
|
154
|
-
padding: 22px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.heroMetricGrid span {
|
|
158
|
-
color: var(--muted);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.heroMetricGrid strong {
|
|
162
|
-
color: var(--accent);
|
|
163
|
-
font-size: 1.25rem;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.pipeline {
|
|
167
|
-
display: grid;
|
|
168
|
-
grid-template-columns: 1.15fr 0.85fr;
|
|
169
|
-
gap: 22px;
|
|
170
|
-
margin-top: 22px;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.terminalWindow {
|
|
174
|
-
overflow: hidden;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.windowBar {
|
|
178
|
-
display: flex;
|
|
179
|
-
gap: 8px;
|
|
180
|
-
padding: 14px 16px;
|
|
181
|
-
border-bottom: 1px solid var(--line);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.windowBar span {
|
|
185
|
-
width: 10px;
|
|
186
|
-
height: 10px;
|
|
187
|
-
border-radius: 50%;
|
|
188
|
-
background: rgba(125, 243, 213, 0.4);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
pre,
|
|
192
|
-
.tabPanel code {
|
|
193
|
-
margin: 0;
|
|
194
|
-
white-space: pre-wrap;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
pre {
|
|
198
|
-
padding: 20px;
|
|
199
|
-
color: var(--accent);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.eventFeed {
|
|
203
|
-
padding: 22px;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.eventFeed ul {
|
|
207
|
-
margin: 16px 0 0;
|
|
208
|
-
padding-left: 18px;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.commandDeck {
|
|
212
|
-
padding: 22px;
|
|
213
|
-
margin-top: 22px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.deckHeader {
|
|
217
|
-
display: flex;
|
|
218
|
-
justify-content: space-between;
|
|
219
|
-
gap: 16px;
|
|
220
|
-
align-items: center;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.tabRow {
|
|
224
|
-
display: flex;
|
|
225
|
-
flex-wrap: wrap;
|
|
226
|
-
gap: 8px;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.tabButton {
|
|
230
|
-
border: 1px solid var(--line);
|
|
231
|
-
border-radius: 999px;
|
|
232
|
-
padding: 10px 14px;
|
|
233
|
-
background: transparent;
|
|
234
|
-
color: var(--muted);
|
|
235
|
-
font: inherit;
|
|
236
|
-
cursor: pointer;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.tabButton.is-active {
|
|
240
|
-
background: var(--accent);
|
|
241
|
-
color: #06201b;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.tabPanel {
|
|
245
|
-
display: none;
|
|
246
|
-
margin-top: 18px;
|
|
247
|
-
padding: 20px;
|
|
248
|
-
border-radius: 18px;
|
|
249
|
-
background: rgba(4, 11, 14, 0.76);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.tabPanel.is-active {
|
|
253
|
-
display: block;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.connectorMatrix,
|
|
257
|
-
.exampleStrip {
|
|
258
|
-
display: grid;
|
|
259
|
-
grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
|
|
260
|
-
gap: 18px;
|
|
261
|
-
margin-top: 22px;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.connectorMatrix h2,
|
|
265
|
-
.exampleStrip h2 {
|
|
266
|
-
margin: 14px 0 0;
|
|
267
|
-
font-size: clamp(2rem, 4vw, 3.2rem);
|
|
268
|
-
line-height: 0.95;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.matrixCard,
|
|
272
|
-
.exampleCard {
|
|
273
|
-
padding: 20px;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.matrixCard strong,
|
|
277
|
-
.exampleCard span {
|
|
278
|
-
display: block;
|
|
279
|
-
margin-bottom: 8px;
|
|
280
|
-
color: var(--accent);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
@media (max-width: 1080px) {
|
|
284
|
-
.layout {
|
|
285
|
-
grid-template-columns: 1fr;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.sidebar {
|
|
289
|
-
position: relative;
|
|
290
|
-
height: auto;
|
|
291
|
-
border-right: 0;
|
|
292
|
-
border-bottom: 1px solid var(--line);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
@media (max-width: 880px) {
|
|
297
|
-
.hero,
|
|
298
|
-
.pipeline,
|
|
299
|
-
.connectorMatrix,
|
|
300
|
-
.exampleStrip {
|
|
301
|
-
grid-template-columns: 1fr;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.deckHeader {
|
|
305
|
-
flex-direction: column;
|
|
306
|
-
align-items: flex-start;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
@media (max-width: 720px) {
|
|
311
|
-
.mainPanel {
|
|
312
|
-
padding: 20px;
|
|
313
|
-
}
|
|
314
|
-
}
|
package/docs-mockups/styles.css
DELETED
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--bg: #f3f6fb;
|
|
3
|
-
--panel: #ffffff;
|
|
4
|
-
--text: #17253b;
|
|
5
|
-
--muted: #55657d;
|
|
6
|
-
--line: #d9e2ef;
|
|
7
|
-
--accent: #0f6cbd;
|
|
8
|
-
--accent-soft: #dcecff;
|
|
9
|
-
--teal: #1f8f8a;
|
|
10
|
-
--shadow: 0 18px 40px rgba(15, 30, 58, 0.08);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
* {
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html,
|
|
18
|
-
body {
|
|
19
|
-
margin: 0;
|
|
20
|
-
min-height: 100%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
body {
|
|
24
|
-
background:
|
|
25
|
-
linear-gradient(180deg, #f7f9fc, var(--bg));
|
|
26
|
-
color: var(--text);
|
|
27
|
-
font-family: 'Segoe UI Variable Text', 'Segoe UI', sans-serif;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.shell {
|
|
31
|
-
width: min(1240px, calc(100% - 40px));
|
|
32
|
-
margin: 0 auto;
|
|
33
|
-
padding: 22px 0 40px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.topbar {
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: space-between;
|
|
39
|
-
gap: 16px;
|
|
40
|
-
align-items: center;
|
|
41
|
-
padding: 10px 0 22px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.brandBlock {
|
|
45
|
-
display: flex;
|
|
46
|
-
gap: 16px;
|
|
47
|
-
align-items: center;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.suiteMark {
|
|
51
|
-
display: grid;
|
|
52
|
-
place-items: center;
|
|
53
|
-
width: 48px;
|
|
54
|
-
height: 48px;
|
|
55
|
-
border-radius: 14px;
|
|
56
|
-
background: linear-gradient(135deg, #0f6cbd, #3a96dd);
|
|
57
|
-
color: #ffffff;
|
|
58
|
-
font-size: 1.4rem;
|
|
59
|
-
font-weight: 800;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.eyebrow {
|
|
63
|
-
margin: 0 0 6px;
|
|
64
|
-
color: var(--accent);
|
|
65
|
-
font-size: 0.8rem;
|
|
66
|
-
font-weight: 700;
|
|
67
|
-
letter-spacing: 0.12em;
|
|
68
|
-
text-transform: uppercase;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.topbar h1 {
|
|
72
|
-
max-width: 860px;
|
|
73
|
-
margin: 0;
|
|
74
|
-
font-size: clamp(2rem, 4.8vw, 3.9rem);
|
|
75
|
-
font-weight: 700;
|
|
76
|
-
line-height: 1.05;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.topbarMeta {
|
|
80
|
-
display: flex;
|
|
81
|
-
gap: 10px;
|
|
82
|
-
flex-wrap: wrap;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.topbarMeta span {
|
|
86
|
-
padding: 8px 12px;
|
|
87
|
-
border: 1px solid var(--line);
|
|
88
|
-
border-radius: 999px;
|
|
89
|
-
background: rgba(255, 255, 255, 0.9);
|
|
90
|
-
color: var(--muted);
|
|
91
|
-
font-size: 0.9rem;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.heroPanel {
|
|
95
|
-
display: grid;
|
|
96
|
-
grid-template-columns: 1.2fr 0.8fr;
|
|
97
|
-
gap: 20px;
|
|
98
|
-
padding: 24px;
|
|
99
|
-
border: 1px solid var(--line);
|
|
100
|
-
border-radius: 24px;
|
|
101
|
-
background: var(--panel);
|
|
102
|
-
box-shadow: var(--shadow);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.heroLead {
|
|
106
|
-
max-width: 760px;
|
|
107
|
-
margin: 0;
|
|
108
|
-
color: var(--muted);
|
|
109
|
-
font-size: 1.04rem;
|
|
110
|
-
line-height: 1.7;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.heroActions {
|
|
114
|
-
display: flex;
|
|
115
|
-
flex-wrap: wrap;
|
|
116
|
-
gap: 14px;
|
|
117
|
-
margin-top: 28px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.heroActions a {
|
|
121
|
-
border-radius: 8px;
|
|
122
|
-
padding: 12px 18px;
|
|
123
|
-
text-decoration: none;
|
|
124
|
-
font-weight: 700;
|
|
125
|
-
transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.primaryAction {
|
|
129
|
-
background: var(--accent);
|
|
130
|
-
color: #ffffff;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.secondaryAction {
|
|
134
|
-
border: 1px solid var(--line);
|
|
135
|
-
background: #ffffff;
|
|
136
|
-
color: var(--text);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.heroActions a:hover,
|
|
140
|
-
.heroActions a:focus-visible,
|
|
141
|
-
.conceptCard:hover,
|
|
142
|
-
.conceptCard:focus-within {
|
|
143
|
-
transform: translateY(-2px);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.heroStats {
|
|
147
|
-
display: grid;
|
|
148
|
-
gap: 12px;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.heroStats article {
|
|
152
|
-
display: grid;
|
|
153
|
-
gap: 4px;
|
|
154
|
-
padding: 18px;
|
|
155
|
-
border: 1px solid var(--line);
|
|
156
|
-
border-radius: 18px;
|
|
157
|
-
background: linear-gradient(180deg, #fdfefe, #f6f9fd);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.heroStats strong {
|
|
161
|
-
color: var(--accent);
|
|
162
|
-
font-size: 1.2rem;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.conceptGrid {
|
|
166
|
-
display: grid;
|
|
167
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
168
|
-
gap: 20px;
|
|
169
|
-
margin: 20px 0 28px;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.conceptCard {
|
|
173
|
-
display: flex;
|
|
174
|
-
flex-direction: column;
|
|
175
|
-
min-height: 340px;
|
|
176
|
-
padding: 26px;
|
|
177
|
-
border: 1px solid var(--line);
|
|
178
|
-
border-radius: 22px;
|
|
179
|
-
background: var(--panel);
|
|
180
|
-
box-shadow: var(--shadow);
|
|
181
|
-
transition: transform 180ms ease, border-color 180ms ease;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.makerCard {
|
|
185
|
-
background:
|
|
186
|
-
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96)),
|
|
187
|
-
linear-gradient(90deg, transparent, transparent);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.workspaceCard {
|
|
191
|
-
background:
|
|
192
|
-
linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(239, 245, 252, 0.98));
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.conceptNumber {
|
|
196
|
-
margin: 0;
|
|
197
|
-
color: var(--accent);
|
|
198
|
-
font-size: 0.85rem;
|
|
199
|
-
font-weight: 700;
|
|
200
|
-
letter-spacing: 0.08em;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.conceptCard h2 {
|
|
204
|
-
margin: 18px 0 8px;
|
|
205
|
-
font-size: 2.05rem;
|
|
206
|
-
font-weight: 700;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.conceptTone {
|
|
210
|
-
margin: 0;
|
|
211
|
-
color: var(--teal);
|
|
212
|
-
font-weight: 700;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.conceptBody {
|
|
216
|
-
flex: 1;
|
|
217
|
-
color: var(--muted);
|
|
218
|
-
line-height: 1.7;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.tags {
|
|
222
|
-
display: flex;
|
|
223
|
-
flex-wrap: wrap;
|
|
224
|
-
gap: 10px;
|
|
225
|
-
padding: 0;
|
|
226
|
-
margin: 0 0 24px;
|
|
227
|
-
list-style: none;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.tags li {
|
|
231
|
-
border: 1px solid var(--line);
|
|
232
|
-
border-radius: 999px;
|
|
233
|
-
padding: 8px 12px;
|
|
234
|
-
font-size: 0.84rem;
|
|
235
|
-
font-weight: 600;
|
|
236
|
-
background: #f7fafe;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.conceptCard a {
|
|
240
|
-
color: var(--accent);
|
|
241
|
-
font-weight: 700;
|
|
242
|
-
text-decoration: none;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.footerNote {
|
|
246
|
-
padding-bottom: 22px;
|
|
247
|
-
color: var(--muted);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.is-visible {
|
|
251
|
-
animation: riseIn 520ms ease forwards;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
@keyframes riseIn {
|
|
255
|
-
from {
|
|
256
|
-
opacity: 0;
|
|
257
|
-
transform: translateY(18px);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
to {
|
|
261
|
-
opacity: 1;
|
|
262
|
-
transform: translateY(0);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
@media (max-width: 980px) {
|
|
267
|
-
.heroPanel,
|
|
268
|
-
.conceptGrid {
|
|
269
|
-
grid-template-columns: 1fr;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
@media (max-width: 720px) {
|
|
274
|
-
.shell {
|
|
275
|
-
width: min(100% - 20px, 1240px);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.topbar {
|
|
279
|
-
flex-direction: column;
|
|
280
|
-
align-items: flex-start;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.heroActions a {
|
|
284
|
-
width: 100%;
|
|
285
|
-
text-align: center;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { getClient } from "@microsoft/power-apps/data";
|
|
2
|
-
|
|
3
|
-
// ── All Table Definitions ──────────────────────────────────────
|
|
4
|
-
const ALL_DATA_SOURCES = {
|
|
5
|
-
wd_pokersessions: { tableId: '', version: '', primaryKey: 'wd_pokersessionid', dataSourceType: 'Dataverse', apis: {} },
|
|
6
|
-
wd_pokerparticipants: { tableId: '', version: '', primaryKey: 'wd_pokerparticipantid', dataSourceType: 'Dataverse', apis: {} },
|
|
7
|
-
wd_pokerrounds: { tableId: '', version: '', primaryKey: 'wd_pokerroundid', dataSourceType: 'Dataverse', apis: {} },
|
|
8
|
-
wd_pokervotes: { tableId: '', version: '', primaryKey: 'wd_pokervoteid', dataSourceType: 'Dataverse', apis: {} },
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
// ── Initialize SDK & Client ────────────────────────────────────
|
|
12
|
-
let oSharedClient = null;
|
|
13
|
-
|
|
14
|
-
function getSharedClient() {
|
|
15
|
-
if (!oSharedClient) {
|
|
16
|
-
oSharedClient = getClient(ALL_DATA_SOURCES);
|
|
17
|
-
}
|
|
18
|
-
return oSharedClient;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// ── Unwrap SDK response ────────────────────────────────────────
|
|
22
|
-
function unwrapResult(result) {
|
|
23
|
-
if (result && result.success === false) {
|
|
24
|
-
var sMsg = result.error ? (result.error.message || JSON.stringify(result.error)) : 'Operation failed';
|
|
25
|
-
throw new Error(sMsg);
|
|
26
|
-
}
|
|
27
|
-
return result && 'data' in result ? result.data : result;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// ── Create ─────────────────────────────────────────────────────
|
|
31
|
-
export async function createItem(tableName, primaryKey, record) {
|
|
32
|
-
const client = getSharedClient();
|
|
33
|
-
const result = await client.createRecordAsync(tableName, record);
|
|
34
|
-
return unwrapResult(result);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// ── Read (single) ──────────────────────────────────────────────
|
|
38
|
-
export async function getItem(tableName, primaryKey, id, select) {
|
|
39
|
-
const client = getSharedClient();
|
|
40
|
-
const options = select ? { select } : undefined;
|
|
41
|
-
const result = await client.retrieveRecordAsync(tableName, id, options);
|
|
42
|
-
return unwrapResult(result);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// ── List (multiple) ────────────────────────────────────────────
|
|
46
|
-
export async function listItems(tableName, primaryKey, { filter, select, orderBy, top, skip } = {}) {
|
|
47
|
-
const client = getSharedClient();
|
|
48
|
-
const result = await client.retrieveMultipleRecordsAsync(tableName, {
|
|
49
|
-
filter,
|
|
50
|
-
select,
|
|
51
|
-
orderBy,
|
|
52
|
-
top,
|
|
53
|
-
skip,
|
|
54
|
-
});
|
|
55
|
-
var unwrapped = unwrapResult(result);
|
|
56
|
-
return { entities: Array.isArray(unwrapped) ? unwrapped : [] };
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// ── Update ─────────────────────────────────────────────────────
|
|
60
|
-
export async function updateItem(tableName, primaryKey, id, changedFields) {
|
|
61
|
-
const client = getSharedClient();
|
|
62
|
-
const result = await client.updateRecordAsync(tableName, id, changedFields);
|
|
63
|
-
return unwrapResult(result);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// ── Delete ─────────────────────────────────────────────────────
|
|
67
|
-
export async function deleteItem(tableName, primaryKey, id) {
|
|
68
|
-
const client = getSharedClient();
|
|
69
|
-
const result = await client.deleteRecordAsync(tableName, id);
|
|
70
|
-
return unwrapResult(result);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// ── Unbound Action ─────────────────────────────────────────────
|
|
74
|
-
export async function callUnboundAction(tableName, primaryKey, actionName, params) {
|
|
75
|
-
const client = getSharedClient();
|
|
76
|
-
const result = await client.invokeActionAsync(tableName, actionName, params);
|
|
77
|
-
return unwrapResult(result);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// ── WhoAmI ─────────────────────────────────────────────────────
|
|
81
|
-
export async function whoAmI() {
|
|
82
|
-
const client = getSharedClient();
|
|
83
|
-
const result = await client.invokeActionAsync('', 'WhoAmI', {});
|
|
84
|
-
var data = unwrapResult(result);
|
|
85
|
-
return data.UserId || data.userid || data.systemuserid || data;
|
|
86
|
-
}
|