48 lines
4.0 KiB
JavaScript
48 lines
4.0 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var tslib_1 = require("tslib");
|
|
var React = tslib_1.__importStar(require("react"));
|
|
var ApprovalAdmin_module_scss_1 = tslib_1.__importDefault(require("./ApprovalAdmin.module.scss"));
|
|
var sp_lodash_subset_1 = require("@microsoft/sp-lodash-subset");
|
|
var ApprovalAdmin = /** @class */ (function (_super) {
|
|
tslib_1.__extends(ApprovalAdmin, _super);
|
|
function ApprovalAdmin() {
|
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
}
|
|
ApprovalAdmin.prototype.render = function () {
|
|
var _a = this.props, description = _a.description, isDarkTheme = _a.isDarkTheme, environmentMessage = _a.environmentMessage, hasTeamsContext = _a.hasTeamsContext, userDisplayName = _a.userDisplayName;
|
|
return (React.createElement("section", { className: "".concat(ApprovalAdmin_module_scss_1.default.approvalAdmin, " ").concat(hasTeamsContext ? ApprovalAdmin_module_scss_1.default.teams : '') },
|
|
React.createElement("div", { className: ApprovalAdmin_module_scss_1.default.welcome },
|
|
React.createElement("img", { alt: "", src: isDarkTheme ? require('../assets/welcome-dark.png') : require('../assets/welcome-light.png'), className: ApprovalAdmin_module_scss_1.default.welcomeImage }),
|
|
React.createElement("h2", null,
|
|
"Well done, ",
|
|
(0, sp_lodash_subset_1.escape)(userDisplayName),
|
|
"!"),
|
|
React.createElement("div", null, environmentMessage),
|
|
React.createElement("div", null,
|
|
"Web part property value: ",
|
|
React.createElement("strong", null, (0, sp_lodash_subset_1.escape)(description)))),
|
|
React.createElement("div", null,
|
|
React.createElement("h3", null, "Welcome to SharePoint Framerk!"),
|
|
React.createElement("p", null, "The SharePoint Framework (SPFx) is a extensibility model for Microsoft Viva, Microsoft Teams and SharePoint. It's the easiest way to extend Microsoft 365 with automatic Single Sign On, automatic hosting and industry standard tooling."),
|
|
React.createElement("h4", null, "Learn more about SPFx development:"),
|
|
React.createElement("ul", { className: ApprovalAdmin_module_scss_1.default.links },
|
|
React.createElement("li", null,
|
|
React.createElement("a", { href: "https://aka.ms/spfx", target: "_blank", rel: "noreferrer" }, "SharePoint Framework Overview")),
|
|
React.createElement("li", null,
|
|
React.createElement("a", { href: "https://aka.ms/spfx-yeoman-graph", target: "_blank", rel: "noreferrer" }, "Use Microsoft Graph in your solution")),
|
|
React.createElement("li", null,
|
|
React.createElement("a", { href: "https://aka.ms/spfx-yeoman-teams", target: "_blank", rel: "noreferrer" }, "Build for Microsoft Teams using SharePoint Framework")),
|
|
React.createElement("li", null,
|
|
React.createElement("a", { href: "https://aka.ms/spfx-yeoman-viva", target: "_blank", rel: "noreferrer" }, "Build for Microsoft Viva Connections using SharePoint Framework")),
|
|
React.createElement("li", null,
|
|
React.createElement("a", { href: "https://aka.ms/spfx-yeoman-store", target: "_blank", rel: "noreferrer" }, "Publish SharePoint Framework applications to the marketplace")),
|
|
React.createElement("li", null,
|
|
React.createElement("a", { href: "https://aka.ms/spfx-yeoman-api", target: "_blank", rel: "noreferrer" }, "SharePoint Framework API reference")),
|
|
React.createElement("li", null,
|
|
React.createElement("a", { href: "https://aka.ms/m365pnp", target: "_blank", rel: "noreferrer" }, "Microsoft 365 Developer Community"))))));
|
|
};
|
|
return ApprovalAdmin;
|
|
}(React.Component));
|
|
exports.default = ApprovalAdmin;
|
|
//# sourceMappingURL=ApprovalAdmin.js.map
|