feat: integrate Microsoft Power Apps SDK and enhance email handling
- Added dependency for @microsoft/power-apps to package.json. - Updated power.config.json to include appId, environmentId, and connection references. - Implemented sanitisation function for HTML content in App.tsx to prevent XSS. - Enhanced error handling in email loading and marking as read functionalities. - Updated email display logic to handle HTML content and previews. - Refactored OutlookService to use auto-generated service from @microsoft/power-apps. - Added new methods for sending, marking as read, and deleting emails in OutlookService. - Updated types for Email to include bodyPreview, isHtml, hasAttachments, and importance. - Configured Vite to exclude @microsoft/power-apps/data from the build. - Created .gitignore to exclude build artifacts and environment files. - Added local development shim for @microsoft/power-apps/data to support local testing. - Defined type stubs for @microsoft/power-apps/data to facilitate local development.
This commit is contained in:
24
node_modules/.vite/deps/@fluentui_react-components.js
generated
vendored
24
node_modules/.vite/deps/@fluentui_react-components.js
generated
vendored
@@ -1,12 +1,6 @@
|
||||
import {
|
||||
require_jsx_runtime
|
||||
} from "./chunk-GOUXSCEN.js";
|
||||
import {
|
||||
require_scheduler
|
||||
} from "./chunk-SVR3SNXV.js";
|
||||
import {
|
||||
require_react_dom
|
||||
} from "./chunk-TF4LBITK.js";
|
||||
} from "./chunk-G5LRF5Q3.js";
|
||||
import {
|
||||
ArrowDownRegular,
|
||||
ArrowUpRegular,
|
||||
@@ -117,13 +111,21 @@ import {
|
||||
renderToStyleElements,
|
||||
shorthands,
|
||||
useRenderer
|
||||
} from "./chunk-L54BDX3M.js";
|
||||
} from "./chunk-WF23Q3BR.js";
|
||||
import {
|
||||
require_scheduler
|
||||
} from "./chunk-RYT6YT3P.js";
|
||||
import {
|
||||
require_react_dom
|
||||
} from "./chunk-HJTH342H.js";
|
||||
import {
|
||||
require_react
|
||||
} from "./chunk-KNNXW3SV.js";
|
||||
import {
|
||||
__commonJS,
|
||||
__export,
|
||||
__toESM,
|
||||
require_react
|
||||
} from "./chunk-WBF6APZF.js";
|
||||
__toESM
|
||||
} from "./chunk-DC5AMYBS.js";
|
||||
|
||||
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
|
||||
var require_use_sync_external_store_shim_development = __commonJS({
|
||||
|
||||
Reference in New Issue
Block a user