codeapp-js 0.3.0 → 1.0.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/AI/codeapp.agent.md +105 -0
- package/AI/skills/connections/SKILL.md +47 -0
- package/AI/skills/dataverse/SKILL.md +99 -0
- package/AI/skills/environment-variables/SKILL.md +89 -0
- package/AI/skills/frontend-design/SKILL.md +34 -0
- package/AI/skills/jira/SKILL.md +81 -0
- package/AI/skills/office365-groups/SKILL.md +61 -0
- package/AI/skills/office365-outlook/SKILL.md +52 -0
- package/AI/skills/office365-users/SKILL.md +78 -0
- package/AI/skills/sharepoint/SKILL.md +77 -0
- package/AI/skills/sql/SKILL.md +85 -0
- package/AI/skills/start/SKILL.md +46 -0
- package/AI/skills/teams/SKILL.md +55 -0
- package/{examples/combined demo/.power/schemas/office365groups/office365groups.Schema.json → codeApp/.power/schemas/office365groups/office365groups.Schema.json} +2203 -2203
- package/codeApp/dist/codeapp.js +95 -1792
- package/codeApp/dist/connectors/azureKeyvault.js +459 -0
- package/codeApp/dist/connectors/jira.js +1247 -0
- package/codeApp/dist/connectors/office365groups.js +642 -0
- package/codeApp/dist/connectors/office365users.js +513 -0
- package/codeApp/dist/connectors/outlook.js +1393 -0
- package/codeApp/dist/connectors/sharepoint.js +466 -0
- package/codeApp/dist/connectors/sql.js +149 -0
- package/codeApp/dist/connectors/teams.js +280 -0
- package/codeApp/dist/power-apps-data.js +16 -2
- package/examples/{kanban → apps/kanban}/dist/dataverse.js +94 -94
- package/examples/{kanban → apps/kanban}/dist/environmentVar.js +55 -55
- package/examples/{kanban → apps/kanban}/dist/index.css +605 -605
- package/examples/{kanban → apps/kanban}/dist/index.html +21 -21
- package/examples/{kanban → apps/kanban}/dist/index.js +860 -860
- package/examples/{kanban → apps/kanban}/dist/office365groups.js +97 -97
- package/examples/apps/kanban/dist/office365users.js +451 -0
- package/examples/{kanban → apps/kanban}/dist/outlook.js +162 -162
- package/examples/{planning Poker/dist/power-apps-data.js → apps/kanban/dist/power-apps-data.js} +2953 -2953
- package/examples/{kanban → apps/kanban}/dist/sharepoint.js +435 -339
- package/examples/{kanban → apps/kanban}/power.config.json +35 -35
- package/examples/{planning Poker → apps/planning Poker}/additional files/customizations (tables).xml +6428 -6428
- package/examples/{planning Poker → apps/planning Poker}/additional files/dataverse-tables.json +165 -165
- package/examples/{planning Poker → apps/planning Poker}/additional files/readme.md +122 -122
- package/examples/{planning Poker → apps/planning Poker}/dist/dataverse.js +78 -78
- package/examples/{planning Poker → apps/planning Poker}/dist/index.html +198 -198
- package/examples/{planning Poker → apps/planning Poker}/dist/index.js +954 -954
- package/examples/{todo/dist/power-apps-data.js → apps/planning Poker/dist/power-apps-data.js } +2953 -2953
- package/examples/{planning Poker → apps/planning Poker}/dist/styles.css +815 -815
- package/examples/{planning Poker → apps/planning Poker}/power.config.json +50 -50
- package/examples/{outlook Demo2 → apps/solution explorer}/dist/codeapp.js +9 -245
- package/examples/apps/solution explorer/dist/index.html +80 -0
- package/examples/apps/solution explorer/dist/index.js +735 -0
- package/examples/apps/solution explorer/dist/styles.css +571 -0
- package/examples/apps/solution explorer/power.config.json +151 -0
- package/examples/{todo → apps/todo}/dist/dataverse.js +64 -64
- package/examples/{todo → apps/todo}/dist/index.html +75 -75
- package/examples/{todo → apps/todo}/dist/index.js +8 -8
- package/examples/{kanban → apps/todo}/dist/power-apps-data.js +2953 -2953
- package/examples/{todo → apps/todo}/dist/renderer.js +375 -375
- package/examples/{todo → apps/todo}/dist/styles.css +691 -691
- package/examples/{todo → apps/todo}/power.config.json +34 -34
- package/examples/combined demo/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -7830
- package/examples/combined demo/.power/schemas/jira/jira.Schema.json +6903 -0
- package/examples/combined demo/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
- package/examples/combined demo/.power/schemas/teams/teams.Schema.json +11112 -0
- package/examples/combined demo/dist/codeapp.js +394 -1098
- package/examples/{outlook Demo2/OutlookDemo_1_0_0_1.zip → combined demo/dist/icon-512.png} +0 -0
- package/examples/combined demo/dist/index.html +29 -511
- package/examples/combined demo/dist/index.js +490 -470
- package/examples/combined demo/dist/office365users.js +513 -0
- package/examples/combined demo/dist/outlook.js +1393 -0
- package/examples/combined demo/dist/power-apps-data.js +3079 -3006
- package/examples/combined demo/dist/styles.css +483 -0
- package/examples/combined demo/power.config.json +33 -42
- package/examples/combined demo/src/generated/index.ts +12 -14
- package/examples/combined demo/src/generated/models/AzureKeyVaultModel.ts +107 -0
- package/examples/combined demo/src/generated/models/JiraModel.ts +501 -0
- package/examples/combined demo/src/generated/services/AzureKeyVaultService.ts +257 -0
- package/examples/combined demo/src/generated/services/JiraService.ts +1124 -0
- package/examples/dataverse Demo/dist/codeapp.js +394 -1085
- package/examples/dataverse Demo/dist/icon-512.png +0 -0
- package/examples/dataverse Demo/dist/index.html +146 -54
- package/examples/dataverse Demo/dist/index.js +693 -83
- package/examples/dataverse Demo/dist/power-apps-data.js +3079 -2911
- package/examples/dataverse Demo/dist/styles.css +528 -0
- package/examples/dataverse Demo/power.config.json +41 -35
- package/examples/dataverse Demo/readme.md +79 -79
- package/examples/groups Demo/dist/codeapp.js +394 -1085
- package/examples/groups Demo/dist/icon-512.png +0 -0
- package/examples/groups Demo/dist/index.html +21 -25
- package/examples/groups Demo/dist/index.js +304 -113
- package/examples/groups Demo/dist/office365groups.js +642 -0
- package/examples/groups Demo/dist/power-apps-data.js +3079 -2911
- package/examples/groups Demo/dist/styles.css +509 -0
- package/examples/groups Demo/power.config.json +25 -25
- package/examples/myProfile/dist/codeapp.js +398 -0
- package/examples/myProfile/dist/index.html +21 -184
- package/examples/myProfile/dist/index.js +324 -141
- package/examples/myProfile/dist/office365users.js +517 -169
- package/examples/myProfile/dist/power-apps-data.js +3080 -2953
- package/examples/myProfile/dist/styles.css +458 -0
- package/examples/myProfile/power.config.json +24 -23
- package/examples/outlook Demo/dist/codeapp.js +394 -1085
- package/examples/outlook Demo/dist/index.html +150 -35
- package/examples/outlook Demo/dist/index.js +516 -170
- package/examples/outlook Demo/dist/outlook.js +1393 -121
- package/examples/outlook Demo/dist/power-apps-data.js +3079 -2911
- package/examples/outlook Demo/dist/styles.css +408 -84
- package/examples/outlook Demo/power.config.json +24 -23
- package/examples/outlook Demo/readme.md +92 -82
- package/examples/sharePoint Demo/dist/codeapp.js +394 -1085
- package/examples/sharePoint Demo/dist/icon-512.png +0 -0
- package/examples/sharePoint Demo/dist/index.html +22 -255
- package/examples/sharePoint Demo/dist/index.js +899 -262
- package/examples/sharePoint Demo/dist/power-apps-data.js +3079 -2911
- package/{dev files → examples/sharePoint Demo/dist}/sharepoint.js +239 -112
- package/examples/sharePoint Demo/dist/styles.css +587 -0
- package/examples/sharePoint Demo/power.config.json +23 -22
- package/package.json +1 -1
- package/readme.md +465 -76
- package/.vscode/settings.json +0 -6
- package/dev files/customConnector.js +0 -98
- package/dev files/dataverse.js +0 -120
- package/dev files/environmentVar.js +0 -55
- package/dev files/office365groups.js +0 -65
- package/dev files/office365users.js +0 -169
- package/dev files/outlook.js +0 -330
- package/dev files/power-apps-data.js +0 -2952
- package/examples/combined demo/.power/schemas/office365/office365.Schema.json +0 -21098
- package/examples/combined demo/.power/schemas/office365users/office365users.Schema.json +0 -2094
- package/examples/kanban/agent/decision-log.md +0 -9
- package/examples/kanban/agent/mockup-01-editorial-glass.html +0 -159
- package/examples/kanban/agent/mockup-02-dark-rail.html +0 -147
- package/examples/kanban/agent/mockup-03-paper-grid.html +0 -114
- package/examples/kanban/agent/mockup-04-neon-minimal.html +0 -141
- package/examples/kanban/agent/mockup-05-mono-architect.html +0 -119
- package/examples/kanban/dist/office365users.js +0 -169
- package/examples/kanban/src/generated/index.ts +0 -14
- package/examples/kanban/src/generated/models/Office365GroupsModel.ts +0 -363
- package/examples/kanban/src/generated/models/Office365OutlookModel.ts +0 -2046
- package/examples/kanban/src/generated/models/Office365UsersModel.ts +0 -254
- package/examples/kanban/src/generated/services/Office365GroupsService.ts +0 -326
- package/examples/kanban/src/generated/services/Office365OutlookService.ts +0 -2476
- package/examples/kanban/src/generated/services/Office365UsersService.ts +0 -358
- package/examples/outlook Demo2/agent/decision-log.md +0 -7
- package/examples/outlook Demo2/dist/index.html +0 -98
- package/examples/outlook Demo2/dist/index.js +0 -272
- package/examples/outlook Demo2/dist/styles.css +0 -639
- package/examples/outlook Demo2/power.config.json +0 -23
- package/examples/planning Poker/.vscode/settings.json +0 -5
- package/examples/sharePoint Demo/agent/decision-log.md +0 -17
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/index.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365GroupsModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365OutlookModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365UsersModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365GroupsService.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365OutlookService.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365UsersService.ts +0 -0
- /package/examples/{planning Poker → apps/planning Poker}/additional files/AgilePoker_1_0_0_1.zip +0 -0
- /package/examples/{planning Poker → apps/planning Poker}/additional files/PokerTables_1_0_0_1.zip +0 -0
- /package/examples/{outlook Demo2 → apps/solution explorer}/dist/icon-512.png +0 -0
- /package/examples/{outlook Demo2 → apps/solution explorer}/dist/power-apps-data.js +0 -0
- /package/examples/{todo → apps/todo}/dist/icon192.png +0 -0
|
@@ -1,35 +1,150 @@
|
|
|
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>Outlook
|
|
7
|
-
<script type="importmap">
|
|
8
|
-
{
|
|
9
|
-
"imports": {
|
|
10
|
-
"@microsoft/power-apps/data": "./power-apps-data.js"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
</script>
|
|
14
|
-
<link rel="stylesheet" href="styles.css" />
|
|
15
|
-
</head>
|
|
16
|
-
<body>
|
|
17
|
-
<div id="root">
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
<
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</
|
|
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>Outlook Signal Desk</title>
|
|
7
|
+
<script type="importmap">
|
|
8
|
+
{
|
|
9
|
+
"imports": {
|
|
10
|
+
"@microsoft/power-apps/data": "./power-apps-data.js"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
</script>
|
|
14
|
+
<link rel="stylesheet" href="styles.css" />
|
|
15
|
+
</head>
|
|
16
|
+
<body>
|
|
17
|
+
<div id="root">
|
|
18
|
+
<main class="app-shell">
|
|
19
|
+
<section class="hero-panel">
|
|
20
|
+
<p class="eyebrow">Office 365 Outlook Demo</p>
|
|
21
|
+
<div class="hero-copy">
|
|
22
|
+
<div>
|
|
23
|
+
<h1>Signal Desk</h1>
|
|
24
|
+
<p class="hero-text">A compact Outlook workbench for inbox, calendar, contacts, categories, and connector diagnostics.</p>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="hero-actions">
|
|
27
|
+
<button id="refreshAllButton" class="button button-primary" type="button">Refresh Desk</button>
|
|
28
|
+
<p id="statusLine" class="status-line">Loading Outlook data...</p>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="hero-metrics">
|
|
32
|
+
<article class="metric-card">
|
|
33
|
+
<span class="metric-label">Inbox</span>
|
|
34
|
+
<strong id="inboxCount">0</strong>
|
|
35
|
+
<span class="metric-note">messages loaded</span>
|
|
36
|
+
</article>
|
|
37
|
+
<article class="metric-card">
|
|
38
|
+
<span class="metric-label">Calendar</span>
|
|
39
|
+
<strong id="eventCount">0</strong>
|
|
40
|
+
<span class="metric-note">events in view</span>
|
|
41
|
+
</article>
|
|
42
|
+
<article class="metric-card">
|
|
43
|
+
<span class="metric-label">Contacts</span>
|
|
44
|
+
<strong id="contactCount">0</strong>
|
|
45
|
+
<span class="metric-note">people in folder</span>
|
|
46
|
+
</article>
|
|
47
|
+
<article class="metric-card">
|
|
48
|
+
<span class="metric-label">Categories</span>
|
|
49
|
+
<strong id="categoryCount">0</strong>
|
|
50
|
+
<span class="metric-note">labels available</span>
|
|
51
|
+
</article>
|
|
52
|
+
</div>
|
|
53
|
+
</section>
|
|
54
|
+
|
|
55
|
+
<section class="workspace-grid">
|
|
56
|
+
<article class="panel panel-mail-nav">
|
|
57
|
+
<div class="panel-header">
|
|
58
|
+
<div>
|
|
59
|
+
<p class="panel-kicker">Mail</p>
|
|
60
|
+
<h2>Inbox Navigator</h2>
|
|
61
|
+
</div>
|
|
62
|
+
<button id="refreshInboxButton" class="button" type="button">Refresh Inbox</button>
|
|
63
|
+
</div>
|
|
64
|
+
<form id="inboxForm" class="control-stack">
|
|
65
|
+
<label class="field">
|
|
66
|
+
<span>Search</span>
|
|
67
|
+
<input id="searchInput" name="searchInput" type="search" placeholder="Subject, sender, keyword" />
|
|
68
|
+
</label>
|
|
69
|
+
<label class="toggle-field">
|
|
70
|
+
<input id="unreadOnlyInput" name="unreadOnlyInput" type="checkbox" />
|
|
71
|
+
<span>Unread only</span>
|
|
72
|
+
</label>
|
|
73
|
+
</form>
|
|
74
|
+
<div id="mailList" class="mail-list"></div>
|
|
75
|
+
</article>
|
|
76
|
+
|
|
77
|
+
<article class="panel panel-detail">
|
|
78
|
+
<div class="panel-header">
|
|
79
|
+
<div>
|
|
80
|
+
<p class="panel-kicker">Detail</p>
|
|
81
|
+
<h2>Selected Message</h2>
|
|
82
|
+
</div>
|
|
83
|
+
<button id="markReadButton" class="button button-primary" type="button" disabled>Mark Read</button>
|
|
84
|
+
</div>
|
|
85
|
+
<div id="mailDetail" class="mail-detail empty-state">
|
|
86
|
+
Pick a message to load the full Outlook payload.
|
|
87
|
+
</div>
|
|
88
|
+
</article>
|
|
89
|
+
|
|
90
|
+
<div class="side-column">
|
|
91
|
+
<article class="panel panel-calendar">
|
|
92
|
+
<div class="panel-header">
|
|
93
|
+
<div>
|
|
94
|
+
<p class="panel-kicker">Calendar</p>
|
|
95
|
+
<h2>Three-Day Window</h2>
|
|
96
|
+
</div>
|
|
97
|
+
<button id="refreshCalendarButton" class="button" type="button">Refresh</button>
|
|
98
|
+
</div>
|
|
99
|
+
<div id="calendarList" class="event-list"></div>
|
|
100
|
+
</article>
|
|
101
|
+
|
|
102
|
+
<article class="panel panel-contacts">
|
|
103
|
+
<div class="panel-header">
|
|
104
|
+
<div>
|
|
105
|
+
<p class="panel-kicker">Contacts</p>
|
|
106
|
+
<h2>Folder Browser</h2>
|
|
107
|
+
</div>
|
|
108
|
+
<button id="refreshContactsButton" class="button" type="button">Refresh</button>
|
|
109
|
+
</div>
|
|
110
|
+
<label class="field compact-field">
|
|
111
|
+
<span>Contact folder</span>
|
|
112
|
+
<select id="contactFolderSelect"></select>
|
|
113
|
+
</label>
|
|
114
|
+
<div id="contactList" class="contact-list"></div>
|
|
115
|
+
</article>
|
|
116
|
+
|
|
117
|
+
<article class="panel panel-categories">
|
|
118
|
+
<div class="panel-header">
|
|
119
|
+
<div>
|
|
120
|
+
<p class="panel-kicker">Categories</p>
|
|
121
|
+
<h2>Available Labels</h2>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
<div id="categoryList" class="category-list"></div>
|
|
125
|
+
</article>
|
|
126
|
+
|
|
127
|
+
<article class="panel panel-diagnostics">
|
|
128
|
+
<div class="panel-header">
|
|
129
|
+
<div>
|
|
130
|
+
<p class="panel-kicker">Diagnostics</p>
|
|
131
|
+
<h2>Last Connector Payload</h2>
|
|
132
|
+
</div>
|
|
133
|
+
<select id="diagnosticSelect" class="diagnostic-select">
|
|
134
|
+
<option value="inbox">Inbox</option>
|
|
135
|
+
<option value="message">Message</option>
|
|
136
|
+
<option value="calendar">Calendar</option>
|
|
137
|
+
<option value="contacts">Contacts</option>
|
|
138
|
+
<option value="categories">Categories</option>
|
|
139
|
+
</select>
|
|
140
|
+
</div>
|
|
141
|
+
<pre id="diagnosticOutput" class="diagnostic-output">Waiting for Outlook responses...</pre>
|
|
142
|
+
<div id="errorBanner" class="error-banner is-hidden"></div>
|
|
143
|
+
</article>
|
|
144
|
+
</div>
|
|
145
|
+
</section>
|
|
146
|
+
</main>
|
|
147
|
+
</div>
|
|
148
|
+
<script type="module" src="index.js"></script>
|
|
149
|
+
</body>
|
|
150
|
+
</html>
|