first commit
This commit is contained in:
134
F4SDwebService/Publish/Areas/HelpPage/HelpPage.css
Normal file
134
F4SDwebService/Publish/Areas/HelpPage/HelpPage.css
Normal file
@@ -0,0 +1,134 @@
|
||||
.help-page h1,
|
||||
.help-page .h1,
|
||||
.help-page h2,
|
||||
.help-page .h2,
|
||||
.help-page h3,
|
||||
.help-page .h3,
|
||||
#body.help-page,
|
||||
.help-page-table th,
|
||||
.help-page-table pre,
|
||||
.help-page-table p {
|
||||
font-family: "Segoe UI Light", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
|
||||
}
|
||||
|
||||
.help-page pre.wrapped {
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.help-page .warning-message-container {
|
||||
margin-top: 20px;
|
||||
padding: 0 10px;
|
||||
color: #525252;
|
||||
background: #EFDCA9;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
|
||||
.help-page-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
text-align: left;
|
||||
margin: 0px 0px 20px 0px;
|
||||
border-top: 1px solid #D4D4D4;
|
||||
}
|
||||
|
||||
.help-page-table th {
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #D4D4D4;
|
||||
padding: 5px 6px 5px 6px;
|
||||
}
|
||||
|
||||
.help-page-table td {
|
||||
border-bottom: 1px solid #D4D4D4;
|
||||
padding: 10px 8px 10px 8px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.help-page-table pre,
|
||||
.help-page-table p {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-family: inherit;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
.help-page-table tbody tr:hover td {
|
||||
background-color: #F3F3F3;
|
||||
}
|
||||
|
||||
.help-page a:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.help-page .sample-header {
|
||||
border: 2px solid #D4D4D4;
|
||||
background: #00497E;
|
||||
color: #FFFFFF;
|
||||
padding: 8px 15px;
|
||||
border-bottom: none;
|
||||
display: inline-block;
|
||||
margin: 10px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.help-page .sample-content {
|
||||
display: block;
|
||||
border-width: 0;
|
||||
padding: 15px 20px;
|
||||
background: #FFFFFF;
|
||||
border: 2px solid #D4D4D4;
|
||||
margin: 0px 0px 10px 0px;
|
||||
}
|
||||
|
||||
.help-page .api-name {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.help-page .api-documentation {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.help-page .parameter-name {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.help-page .parameter-documentation {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.help-page .parameter-type {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.help-page .parameter-annotations {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.help-page h1,
|
||||
.help-page .h1 {
|
||||
font-size: 36px;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.help-page h2,
|
||||
.help-page .h2 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.help-page h3,
|
||||
.help-page .h3 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#body.help-page {
|
||||
font-size: 14px;
|
||||
line-height: 143%;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.help-page a {
|
||||
color: #0000EE;
|
||||
text-decoration: none;
|
||||
}
|
||||
22
F4SDwebService/Publish/Areas/HelpPage/Views/Help/Api.cshtml
Normal file
22
F4SDwebService/Publish/Areas/HelpPage/Views/Help/Api.cshtml
Normal file
@@ -0,0 +1,22 @@
|
||||
@using System.Web.Http
|
||||
@using F4SDwebService.Areas.HelpPage.Models
|
||||
@model HelpPageApiModel
|
||||
|
||||
@{
|
||||
var description = Model.ApiDescription;
|
||||
ViewBag.Title = description.HttpMethod.Method + " " + description.RelativePath;
|
||||
}
|
||||
|
||||
<link type="text/css" href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" />
|
||||
<div id="body" class="help-page">
|
||||
<section class="featured">
|
||||
<div class="content-wrapper">
|
||||
<p>
|
||||
@Html.ActionLink("Help Page Home", "Index")
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<section class="content-wrapper main-content clear-fix">
|
||||
@Html.DisplayForModel()
|
||||
</section>
|
||||
</div>
|
||||
@@ -0,0 +1,41 @@
|
||||
@using System.Web.Http
|
||||
@using System.Web.Http.Controllers
|
||||
@using System.Web.Http.Description
|
||||
@using F4SDwebService.Areas.HelpPage
|
||||
@using F4SDwebService.Areas.HelpPage.Models
|
||||
@model IGrouping<HttpControllerDescriptor, ApiDescription>
|
||||
|
||||
@{
|
||||
var controllerDocumentation = ViewBag.DocumentationProvider != null ?
|
||||
ViewBag.DocumentationProvider.GetDocumentation(Model.Key) :
|
||||
null;
|
||||
}
|
||||
|
||||
<h2 id="@Model.Key.ControllerName">@Model.Key.ControllerName</h2>
|
||||
@if (!String.IsNullOrEmpty(controllerDocumentation))
|
||||
{
|
||||
<p>@controllerDocumentation</p>
|
||||
}
|
||||
<table class="help-page-table">
|
||||
<thead>
|
||||
<tr><th>API</th><th>Description</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var api in Model)
|
||||
{
|
||||
<tr>
|
||||
<td class="api-name"><a href="@Url.Action("Api", "Help", new { apiId = api.GetFriendlyId() })">@api.HttpMethod.Method @api.RelativePath</a></td>
|
||||
<td class="api-documentation">
|
||||
@if (api.Documentation != null)
|
||||
{
|
||||
<p>@api.Documentation</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>No documentation available.</p>
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,6 @@
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model CollectionModelDescription
|
||||
@if (Model.ElementDescription is ComplexTypeModelDescription)
|
||||
{
|
||||
@Html.DisplayFor(m => m.ElementDescription)
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model ComplexTypeModelDescription
|
||||
@Html.DisplayFor(m => m.Properties, "Parameters")
|
||||
@@ -0,0 +1,4 @@
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model DictionaryModelDescription
|
||||
Dictionary of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
|
||||
and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value]
|
||||
@@ -0,0 +1,24 @@
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model EnumTypeModelDescription
|
||||
|
||||
<p>Possible enumeration values:</p>
|
||||
|
||||
<table class="help-page-table">
|
||||
<thead>
|
||||
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (EnumValueDescription value in Model.Values)
|
||||
{
|
||||
<tr>
|
||||
<td class="enum-name"><b>@value.Name</b></td>
|
||||
<td class="enum-value">
|
||||
<p>@value.Value</p>
|
||||
</td>
|
||||
<td class="enum-description">
|
||||
<p>@value.Documentation</p>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,67 @@
|
||||
@using System.Web.Http
|
||||
@using System.Web.Http.Description
|
||||
@using F4SDwebService.Areas.HelpPage.Models
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model HelpPageApiModel
|
||||
|
||||
@{
|
||||
ApiDescription description = Model.ApiDescription;
|
||||
}
|
||||
<h1>@description.HttpMethod.Method @description.RelativePath</h1>
|
||||
<div>
|
||||
<p>@description.Documentation</p>
|
||||
|
||||
<h2>Request Information</h2>
|
||||
|
||||
<h3>URI Parameters</h3>
|
||||
@Html.DisplayFor(m => m.UriParameters, "Parameters")
|
||||
|
||||
<h3>Body Parameters</h3>
|
||||
|
||||
<p>@Model.RequestDocumentation</p>
|
||||
|
||||
@if (Model.RequestModelDescription != null)
|
||||
{
|
||||
@Html.DisplayFor(m => m.RequestModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.RequestModelDescription })
|
||||
if (Model.RequestBodyParameters != null)
|
||||
{
|
||||
@Html.DisplayFor(m => m.RequestBodyParameters, "Parameters")
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>None.</p>
|
||||
}
|
||||
|
||||
@if (Model.SampleRequests.Count > 0)
|
||||
{
|
||||
<h3>Request Formats</h3>
|
||||
@Html.DisplayFor(m => m.SampleRequests, "Samples")
|
||||
}
|
||||
|
||||
<h2>Response Information</h2>
|
||||
|
||||
<h3>Resource Description</h3>
|
||||
|
||||
<p>@description.ResponseDescription.Documentation</p>
|
||||
|
||||
@if (Model.ResourceDescription != null)
|
||||
{
|
||||
@Html.DisplayFor(m => m.ResourceDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ResourceDescription })
|
||||
if (Model.ResourceProperties != null)
|
||||
{
|
||||
@Html.DisplayFor(m => m.ResourceProperties, "Parameters")
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>None.</p>
|
||||
}
|
||||
|
||||
@if (Model.SampleResponses.Count > 0)
|
||||
{
|
||||
<h3>Response Formats</h3>
|
||||
@Html.DisplayFor(m => m.SampleResponses, "Samples")
|
||||
}
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
@using F4SDwebService.Areas.HelpPage
|
||||
@model ImageSample
|
||||
|
||||
<img src="@Model.Src" />
|
||||
@@ -0,0 +1,13 @@
|
||||
@using F4SDwebService.Areas.HelpPage
|
||||
@model InvalidSample
|
||||
|
||||
@if (HttpContext.Current.IsDebuggingEnabled)
|
||||
{
|
||||
<div class="warning-message-container">
|
||||
<p>@Model.ErrorMessage</p>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>Sample not available.</p>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model KeyValuePairModelDescription
|
||||
Pair of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
|
||||
and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value]
|
||||
@@ -0,0 +1,26 @@
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model Type
|
||||
@{
|
||||
ModelDescription modelDescription = ViewBag.modelDescription;
|
||||
if (modelDescription is ComplexTypeModelDescription || modelDescription is EnumTypeModelDescription)
|
||||
{
|
||||
if (Model == typeof(Object))
|
||||
{
|
||||
@:Object
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.ActionLink(modelDescription.Name, "ResourceModel", "Help", new { modelName = modelDescription.Name }, null)
|
||||
}
|
||||
}
|
||||
else if (modelDescription is CollectionModelDescription)
|
||||
{
|
||||
var collectionDescription = modelDescription as CollectionModelDescription;
|
||||
var elementDescription = collectionDescription.ElementDescription;
|
||||
@:Collection of @Html.DisplayFor(m => elementDescription.ModelType, "ModelDescriptionLink", new { modelDescription = elementDescription })
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.DisplayFor(m => modelDescription)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
@using System.Collections.Generic
|
||||
@using System.Collections.ObjectModel
|
||||
@using System.Web.Http.Description
|
||||
@using System.Threading
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model IList<ParameterDescription>
|
||||
|
||||
@if (Model.Count > 0)
|
||||
{
|
||||
<table class="help-page-table">
|
||||
<thead>
|
||||
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (ParameterDescription parameter in Model)
|
||||
{
|
||||
ModelDescription modelDescription = parameter.TypeDescription;
|
||||
<tr>
|
||||
<td class="parameter-name">@parameter.Name</td>
|
||||
<td class="parameter-documentation">
|
||||
<p>@parameter.Documentation</p>
|
||||
</td>
|
||||
<td class="parameter-type">
|
||||
@Html.DisplayFor(m => modelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = modelDescription })
|
||||
</td>
|
||||
<td class="parameter-annotations">
|
||||
@if (parameter.Annotations.Count > 0)
|
||||
{
|
||||
foreach (var annotation in parameter.Annotations)
|
||||
{
|
||||
<p>@annotation.Documentation</p>
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>None.</p>
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>None.</p>
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
@using System.Net.Http.Headers
|
||||
@model Dictionary<MediaTypeHeaderValue, object>
|
||||
|
||||
@{
|
||||
// Group the samples into a single tab if they are the same.
|
||||
Dictionary<string, object> samples = Model.GroupBy(pair => pair.Value).ToDictionary(
|
||||
pair => String.Join(", ", pair.Select(m => m.Key.ToString()).ToArray()),
|
||||
pair => pair.Key);
|
||||
var mediaTypes = samples.Keys;
|
||||
}
|
||||
<div>
|
||||
@foreach (var mediaType in mediaTypes)
|
||||
{
|
||||
<h4 class="sample-header">@mediaType</h4>
|
||||
<div class="sample-content">
|
||||
<span><b>Sample:</b></span>
|
||||
@{
|
||||
var sample = samples[mediaType];
|
||||
if (sample == null)
|
||||
{
|
||||
<p>Sample not available.</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.DisplayFor(s => sample);
|
||||
}
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model SimpleTypeModelDescription
|
||||
@Model.Documentation
|
||||
@@ -0,0 +1,6 @@
|
||||
@using F4SDwebService.Areas.HelpPage
|
||||
@model TextSample
|
||||
|
||||
<pre class="wrapped">
|
||||
@Model.Text
|
||||
</pre>
|
||||
@@ -0,0 +1,37 @@
|
||||
@using System.Web.Http
|
||||
@using System.Web.Http.Controllers
|
||||
@using System.Web.Http.Description
|
||||
@using System.Collections.ObjectModel
|
||||
@using F4SDwebService.Areas.HelpPage.Models
|
||||
@model Collection<ApiDescription>
|
||||
|
||||
@{
|
||||
ViewBag.Title = "F4SD Web API Help Page";
|
||||
|
||||
// Group APIs by controller
|
||||
ILookup<HttpControllerDescriptor, ApiDescription> apiGroups = Model.ToLookup(api => api.ActionDescriptor.ControllerDescriptor);
|
||||
}
|
||||
|
||||
<link type="text/css" href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" />
|
||||
<header class="help-page">
|
||||
<div class="content-wrapper">
|
||||
<h1>@ViewBag.Title<br></h1>
|
||||
</div>
|
||||
</header>
|
||||
<div id="body" class="help-page">
|
||||
<section class="featured">
|
||||
<div class="content-wrapper">
|
||||
<h2></h2>
|
||||
<p>
|
||||
Provide a general description of the APIs here.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<section class="content-wrapper main-content clear-fix">
|
||||
<br>
|
||||
@foreach (var group in apiGroups)
|
||||
{
|
||||
@Html.DisplayFor(m => group, "ApiGroup")
|
||||
}
|
||||
</section>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
@using System.Web.Http
|
||||
@using F4SDwebService.Areas.HelpPage.ModelDescriptions
|
||||
@model ModelDescription
|
||||
|
||||
<link type="text/css" href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" />
|
||||
<div id="body" class="help-page">
|
||||
<section class="featured">
|
||||
<div class="content-wrapper">
|
||||
<p>
|
||||
@Html.ActionLink("Help Page Home", "Index")
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<h1>@Model.Name</h1>
|
||||
<p>@Model.Documentation</p>
|
||||
<section class="content-wrapper main-content clear-fix">
|
||||
@Html.DisplayFor(m => Model)
|
||||
</section>
|
||||
</div>
|
||||
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>@ViewBag.Title</title>
|
||||
@RenderSection("scripts", required: false)
|
||||
</head>
|
||||
<body>
|
||||
@RenderBody()
|
||||
</body>
|
||||
</html>
|
||||
41
F4SDwebService/Publish/Areas/HelpPage/Views/Web.config
Normal file
41
F4SDwebService/Publish/Areas/HelpPage/Views/Web.config
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.3.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Routing" />
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
<appSettings>
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
</appSettings>
|
||||
|
||||
<system.web>
|
||||
<compilation debug="true">
|
||||
<assemblies>
|
||||
<add assembly="System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
</assemblies>
|
||||
</compilation>
|
||||
</system.web>
|
||||
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="BlockViewHandler"/>
|
||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
@@ -0,0 +1,4 @@
|
||||
@{
|
||||
// Change the Layout path below to blend the look and feel of the help page with your existing web pages.
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
BIN
F4SDwebService/Publish/Areas/HelpPage/logo_FASD_48x48.png
Normal file
BIN
F4SDwebService/Publish/Areas/HelpPage/logo_FASD_48x48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<F4SD-CopyTemplate-Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="F4SD-CopyTemplate-Configuration.xsd">
|
||||
<CopyTemplates Default="Ticket-Information">
|
||||
<CopyTemplate Name="Ticket-Information">
|
||||
<Name Lang="DE">Ticket-Information</Name>
|
||||
<Description Lang="EN">Transfers the relevant information for ticket creation to the clipboard.</Description>
|
||||
<Description Lang="DE">Überträgt die relevanten Informationen für eine Ticket Erstellung in den Zwischenspeicher.</Description>
|
||||
<Icon Name="misc_ticket" IconType="intern"/>
|
||||
<CopyContent Format="UNICODE">%DeviceName.Label% %DeviceName.Value%
|
||||
%UserFullName.Label% %UserFullName.Value%
|
||||
%UserAccount.Label% %UserAccount.Value%
|
||||
%DeviceModel.Label% %DeviceModel.Value%
|
||||
%OsInfo.Label% %OsInfo.Value%
|
||||
%IpAddress.Label% %IpAddress.Value%
|
||||
%LastBoot.Label% %LastBoot.Value%
|
||||
%LastSeen.Label% %LastSeen.Value%</CopyContent>
|
||||
<CopyContent Format="HTML"><table border="1" cellpadding="5,1,5,1"><tbody>
|
||||
<tr><td><em>%DeviceName.Label%</em></td><td style="color: #0000ff;">%DeviceName.Value%</td></tr>
|
||||
<tr><td><em>%UserFullName.Label%</em></td><td>%UserFullName.Value%</td></tr>
|
||||
<tr><td><em>%UserAccount.Label%</em></td><td>%UserAccount.Value%</td></tr>
|
||||
<tr><td><em>%OsInfo.Label%</em></td><td>%OsInfo.Value%</td></tr>
|
||||
<tr><td><em>%IpAddress.Label%</em></td><td>%IpAddress.Value%</td></tr>
|
||||
<tr><td><em>%LastBoot.Label%</em></td><td>%LastBoot.Value%</td></tr>
|
||||
<tr><td><em>%LastSeen.Label%</em></td><td>%LastSeen.Value%</td></tr>
|
||||
</tbody></table></CopyContent>
|
||||
</CopyTemplate>
|
||||
<CopyTemplate Name="Computer name">
|
||||
<Name Lang="DE">Computer Name</Name>
|
||||
<Section>DemoActions</Section>
|
||||
<Icon Name="misc_computer" IconType="intern"/>
|
||||
<CopyContent Format="UNICODE">%DeviceName.Value%</CopyContent>
|
||||
</CopyTemplate>
|
||||
<CopyTemplate Name="User name">
|
||||
<Name Lang="DE">Anwendername</Name>
|
||||
<Icon Name="misc_user" IconType="intern"/>
|
||||
<CopyContent Format="UNICODE">%UserFullName.Value%</CopyContent>
|
||||
</CopyTemplate>
|
||||
<CopyTemplate Name="User account">
|
||||
<Name Lang="DE">Anwender Account</Name>
|
||||
<Icon Name="misc_user" IconType="intern"/>
|
||||
<CopyContent Format="UNICODE">%UserAccount.Value%</CopyContent>
|
||||
</CopyTemplate>
|
||||
</CopyTemplates>
|
||||
</F4SD-CopyTemplate-Configuration>
|
||||
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="CopyTemplateFormatTypeEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="HTML"/>
|
||||
<xs:enumeration value="UNICODE"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="LanguageId">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[A-Z]{2}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="IconTypes">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="material" />
|
||||
<xs:enumeration value="intern" />
|
||||
<xs:enumeration value="byImage" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="F4SD-CopyTemplate-Configuration">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="CopyTemplates" minOccurs="1" maxOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="CopyTemplates">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="CopyTemplate" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Default" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:key name ="CopyTemplateId">
|
||||
<xs:selector xpath ="./CopyTemplate"/>
|
||||
<xs:field xpath ="@Name"/>
|
||||
</xs:key>
|
||||
<xs:keyref name="CopyTemplateKeyRef" refer="CopyTemplateId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@Default"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="CopyTemplate">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element ref="Section" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element ref="Description" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element ref="Icon" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element ref="CopyContent" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="Section" type="xs:NCName" use="optional"/>
|
||||
<xs:attribute name="Description" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="HiddenInTicketDialog" type="xs:boolean" use="optional" default="false"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Name">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Lang" type="LanguageId" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Section">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NCName" />
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Icon">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="IconType" type="IconTypes" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Description">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Lang" type="LanguageId" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="CopyContent">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Format" type="CopyTemplateFormatTypeEnum" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
|
||||
</xs:schema>
|
||||
1538
F4SDwebService/Publish/Config/F4SD-DataClusters-Configuration.xml
Normal file
1538
F4SDwebService/Publish/Config/F4SD-DataClusters-Configuration.xml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,430 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="InformationClassEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="User"/>
|
||||
<xs:enumeration value="Computer"/>
|
||||
<xs:enumeration value="Ticket"/>
|
||||
<xs:enumeration value="VirtualSession"/>
|
||||
<xs:enumeration value="MobileDevice"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="OriginEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="Main"/>
|
||||
<xs:enumeration value="NexthinkNxql"/>
|
||||
<xs:enumeration value="ActiveDirectory"/>
|
||||
<xs:enumeration value="AzureAD"/>
|
||||
<xs:enumeration value="F4sdAgent"/>
|
||||
<xs:enumeration value="M42Wpm"/>
|
||||
<xs:enumeration value="Intune"/>
|
||||
<xs:enumeration value="Citrix"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="TableTypeEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="Static"/>
|
||||
<xs:enumeration value="History"/>
|
||||
<xs:enumeration value="HistoryEvents"/>
|
||||
<xs:enumeration value="Events"/>
|
||||
<xs:enumeration value="Selection"/>
|
||||
<xs:enumeration value="StaticDetails"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="TableCachedEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="Default"/>
|
||||
<xs:enumeration value="Yes"/>
|
||||
<xs:enumeration value="No"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="StaticSourceTypeEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="Query"/>
|
||||
<xs:enumeration value="Static"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="TableColumnTypeEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="string"/>
|
||||
<xs:enumeration value="guid"/>
|
||||
<xs:enumeration value="int"/>
|
||||
<xs:enumeration value="bigint"/>
|
||||
<xs:enumeration value="float"/>
|
||||
<xs:enumeration value="datetime"/>
|
||||
<xs:enumeration value="version"/>
|
||||
<xs:enumeration value="md5"/>
|
||||
<xs:enumeration value="sid"/>
|
||||
<xs:enumeration value="ipv4"/>
|
||||
<xs:enumeration value="ipv6"/>
|
||||
<xs:enumeration value="text"/>
|
||||
<xs:enumeration value="boolean"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="TableColumnCharCaseEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="none"/>
|
||||
<xs:enumeration value="lower"/>
|
||||
<xs:enumeration value="upper"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="AggregationEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="first"/>
|
||||
<xs:enumeration value="min"/>
|
||||
<xs:enumeration value="max"/>
|
||||
<xs:enumeration value="sum"/>
|
||||
<xs:enumeration value="average"/>
|
||||
<xs:enumeration value="count"/>
|
||||
<xs:enumeration value="valuecount"/>
|
||||
<xs:enumeration value="latestValue"/>
|
||||
<xs:enumeration value="latestTime"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="M42PickupSortEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="byPosition"/>
|
||||
<xs:enumeration value="byName"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="guid">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="ColumnList">
|
||||
<xs:list itemType="xs:NCName"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="F4SD-DataClusters-Configuration">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="InformationClasses" minOccurs="1" maxOccurs="1"/>
|
||||
<xs:element ref="DataCluster" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:key name="TableId">
|
||||
<xs:selector xpath="./DataCluster/Table"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:key>
|
||||
|
||||
<xs:unique name="UniqueTables">
|
||||
<xs:selector xpath="./DataCluster/Table"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:unique>
|
||||
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="InformationClasses">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="InformationClass" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="InformationClass">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="InformationClass-Column" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Description" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:complexType name="TableColumnBaseType">
|
||||
<xs:choice>
|
||||
<xs:element ref="DataCategories" minOccurs="0" maxOccurs="1" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Type" use="required" type="TableColumnTypeEnum"/>
|
||||
<xs:attribute name="Cardinal" type="xs:int" use="optional"/>
|
||||
<xs:attribute name="Default" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="CharCase" type="TableColumnCharCaseEnum" use="optional"/>
|
||||
<xs:attribute name="Description" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="DisplayName" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="DataCategories">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Category" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string" />
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="InformationClass-Column">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="TableColumnBaseType">
|
||||
<xs:attribute name="Index" type="xs:boolean" use="optional"/>
|
||||
<xs:attribute name="Search" type="xs:boolean" use="optional"/>
|
||||
<xs:attribute name="Reverse" type="xs:boolean" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="DataCluster">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice maxOccurs="unbounded" minOccurs="1">
|
||||
<xs:element ref="Table"/>
|
||||
<xs:element ref="JoinedTable"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Origin" use="required" type="OriginEnum"/>
|
||||
<xs:attribute name="InformationClass" type="InformationClassEnum" use="required"/>
|
||||
<xs:attribute name="Description" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:complexType name="TableBaseType">
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element ref="Nexthink-NXQL-Template" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Matrix42-Pickup-Template" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Matrix42-DataQueryItems-Template" maxOccurs="1" minOccurs="0"/>
|
||||
</xs:choice>
|
||||
<xs:element ref="Table-Columns" maxOccurs="1" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Description" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="Table">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="TableBaseType">
|
||||
<xs:sequence>
|
||||
<xs:element ref="AdditionalTableName" maxOccurs="unbounded" minOccurs="0"/>
|
||||
<xs:element ref="AutoCreate-Historic-Table" maxOccurs="unbounded" minOccurs="0"/>
|
||||
<xs:element ref="Table-Reference" maxOccurs="unbounded" minOccurs="0"/>
|
||||
<xs:element ref="Table-Index" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="SourceName" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="Type" type="TableTypeEnum" use="required"/>
|
||||
<xs:attribute name="Key" type="ColumnList" use="required"/>
|
||||
<xs:attribute name="Cached" type="TableCachedEnum" use="optional"/>
|
||||
<xs:attribute name="EventTimeCol" type="xs:NCName" use="optional"/>
|
||||
<xs:attribute name="LateDelivery" type="xs:boolean" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:keyref name="TableJoinToRef" refer="TableId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@JoinTo"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="JoinedTable">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="SubTable" maxOccurs="unbounded" minOccurs="1"/>
|
||||
<xs:element ref="Table-Reference" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Type" type="TableTypeEnum" use="required"/>
|
||||
<xs:attribute name="Cached" type="TableCachedEnum" use="optional"/>
|
||||
<xs:attribute name="Key" type="ColumnList" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="SubTable">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="TableBaseType">
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AdditionalTableName">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AutoCreate-Historic-Table">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Nexthink-NXQL-Template">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Limit" type="xs:unsignedLong" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Matrix42-Pickup-Template">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="PickupName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="FilteredGroup" type="xs:positiveInteger" use="optional"/>
|
||||
<xs:attribute name="Sorting" type="M42PickupSortEnum" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Matrix42-DataQueryItems-Template">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="EntityClassName" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="EntityTypeNames" type="ColumnList" use="required"/>
|
||||
<xs:attribute name="OrderBy" type="xs:string " use="optional"/>
|
||||
<xs:attribute name="WhereExpression" type="xs:string " use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Table-Columns">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice maxOccurs="unbounded" minOccurs="1">
|
||||
<xs:element ref="Table-Column"/>
|
||||
<xs:element ref="Table-Column-Computation"/>
|
||||
<xs:element ref="Table-Column-NxtCompute"/>
|
||||
<xs:element ref="Table-Column-NxtCategory"/>
|
||||
<xs:element ref="Table-Column-NxtScore"/>
|
||||
<xs:element ref="Table-Column-NxtAction"/>
|
||||
<xs:element ref="Table-Column-NxtCampaign"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:unique name="UniqueTableColumns">
|
||||
<xs:selector xpath="./Table-Column"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:complexType name="TableColumnType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="TableColumnBaseType">
|
||||
<xs:attribute name="SourceType" use="optional" type="StaticSourceTypeEnum"/>
|
||||
<xs:attribute name="SourceName" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="SourceTable" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="SourceJsonField" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="SourceJsonColumn" type="xs:nonNegativeInteger" use="optional"/>
|
||||
<xs:attribute name="Aggregation" type="AggregationEnum" use="optional"/>
|
||||
<xs:attribute name="FillEmptyEntries" type="xs:boolean" use="optional"/>
|
||||
<xs:attribute name="LateDelivery" type="xs:boolean" use="optional"/>
|
||||
<xs:attribute name="IsWritable" type="xs:boolean" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="Table-Column" type="TableColumnType"/>
|
||||
|
||||
<xs:element name="Table-Column-NxtCompute" type="TableColumnType"/>
|
||||
|
||||
<xs:element name="Table-Column-NxtCategory" type="TableColumnType"/>
|
||||
|
||||
<xs:element name="Table-Column-NxtScore">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="TableColumnBaseType">
|
||||
<xs:attribute name="ScoreName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="ValueName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="ScoreID" type="guid" use="optional"/>
|
||||
<xs:attribute name="ValueID" type="guid" use="optional"/>
|
||||
<xs:attribute name="Payload" type="xs:boolean" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Table-Column-NxtAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="TableColumnBaseType">
|
||||
<xs:attribute name="ActionName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="ValueName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="ActionID" type="guid" use="optional"/>
|
||||
<xs:attribute name="ValueID" type="guid" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Table-Column-NxtCampaign">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="TableColumnBaseType">
|
||||
<xs:attribute name="CampaignName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="ValueName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="CampaignID" type="guid" use="optional"/>
|
||||
<xs:attribute name="ValueID" type="xs:int" use="optional"/>
|
||||
<xs:attribute name="AsText" type="xs:boolean" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Table-Column-Computation">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="TableColumnBaseType">
|
||||
<xs:sequence>
|
||||
<xs:choice maxOccurs="1" minOccurs="1">
|
||||
<xs:element ref="Computation-LinearTransform"/>
|
||||
<xs:element ref="Computation-RegEx"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Computation-LinearTransform">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Column" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="m" type="xs:float" use="required"/>
|
||||
<xs:attribute name="b" type="xs:float" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Computation-RegEx">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Column" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="RegExFilter" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Replacement" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="AutoTrim" type="xs:boolean" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Table-Index">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Columns" type="ColumnList" use="required"/>
|
||||
<xs:attribute name="Unique" type="xs:boolean" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Table-Reference">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="ForeignTable" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Columns" type="ColumnList" use="required"/>
|
||||
<xs:attribute name="ForeignIndex" type="xs:NCName" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
15
F4SDwebService/Publish/Config/F4SD-Global-Configuration.xml
Normal file
15
F4SDwebService/Publish/Config/F4SD-Global-Configuration.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<F4SD-Global-Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="F4SD-Global-Configuration.xsd">
|
||||
|
||||
<ShouldSkipSlimView Policy="Default" Value="true" />
|
||||
<SmallViewAlignment Policy="Default" Value="Right" />
|
||||
<FavouriteBarAlignment Policy="Default" Value="Right" />
|
||||
|
||||
<InformationClassSearchPriority Policy="Hidden">
|
||||
<InformationClass Type="User" />
|
||||
<InformationClass Type="Computer" />
|
||||
<InformationClass Type="VirtualSession" />
|
||||
<InformationClass Type="Ticket" />
|
||||
</InformationClassSearchPriority>
|
||||
|
||||
</F4SD-Global-Configuration>
|
||||
92
F4SDwebService/Publish/Config/F4SD-Global-Configuration.xsd
Normal file
92
F4SDwebService/Publish/Config/F4SD-Global-Configuration.xsd
Normal file
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="InformationClassEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="User"/>
|
||||
<xs:enumeration value="Computer"/>
|
||||
<xs:enumeration value="VirtualSession"/>
|
||||
<xs:enumeration value="Ticket"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="PolicyEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="Default"/>
|
||||
<xs:enumeration value="Mandatory"/>
|
||||
<xs:enumeration value="Hidden"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="HorizontalAlignmentEnum">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="Default"/>
|
||||
<xs:enumeration value="Right"/>
|
||||
<xs:enumeration value="Center"/>
|
||||
<xs:enumeration value="Left"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="StringNode">
|
||||
<xs:attribute name="Policy" type="PolicyEnum" use="required"/>
|
||||
<xs:attribute name="Value" type="xs:string" use="required"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="IntegerNode">
|
||||
<xs:attribute name="Policy" type="PolicyEnum" use="required"/>
|
||||
<xs:attribute name="Value" type="xs:integer" use="required"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="BoolNode">
|
||||
<xs:attribute name="Policy" type="PolicyEnum" use="required"/>
|
||||
<xs:attribute name="Value" type="xs:boolean" use="required"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="PolicyNode">
|
||||
<xs:attribute name="Policy" type="PolicyEnum" use="required"/>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="F4SD-Global-Configuration">
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element name="ShouldSkipSlimView" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType><xs:complexContent><xs:extension base="BoolNode"></xs:extension></xs:complexContent></xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SmallViewAlignment" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType> <xs:complexContent><xs:extension base="PolicyNode">
|
||||
<xs:attribute name="Value" type="HorizontalAlignmentEnum" use="required"/>
|
||||
</xs:extension></xs:complexContent></xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="FavouriteBarAlignment" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="PolicyNode">
|
||||
<xs:attribute name="Value" type="HorizontalAlignmentEnum" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element ref="InformationClassSearchPriority" minOccurs="0" maxOccurs="1"/>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="InformationClassSearchPriority">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="PolicyNode">
|
||||
<xs:sequence>
|
||||
<xs:element ref="InformationClass" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="InformationClass">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Type" type="InformationClassEnum" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
2008
F4SDwebService/Publish/Config/F4SD-HealthCard-Configuration.xml
Normal file
2008
F4SDwebService/Publish/Config/F4SD-HealthCard-Configuration.xml
Normal file
File diff suppressed because it is too large
Load Diff
1162
F4SDwebService/Publish/Config/F4SD-HealthCard-Configuration.xsd
Normal file
1162
F4SDwebService/Publish/Config/F4SD-HealthCard-Configuration.xsd
Normal file
File diff suppressed because it is too large
Load Diff
11
F4SDwebService/Publish/Config/F4SD-Icon-Configuration.xml
Normal file
11
F4SDwebService/Publish/Config/F4SD-Icon-Configuration.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<F4SD-Icon-Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="F4SD-Icon-Configuration.xsd">
|
||||
<IconDefinitions>
|
||||
<IconDefinition-Image Name="TestImage" IconType="byImage">
|
||||
<IconImage SizeX="10" SizeY="10">iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKBAMAAAB/HNKOAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAGUExURf8AbgAAAJpakjMAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAaSURBVBjTY4ADARDBCCYFQCQjRAQLCQEMDAAQ+wCDR98HLQAAAABJRU5ErkJggg==</IconImage>
|
||||
<IconImage SizeX="20" SizeY="20">iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAANjgAADY4BAtAkWgAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xOdTWsmQAAAFwSURBVDhPY5CzydVStM+ZoGifNZMynDMBZBaDrEX8A0WHnP/UwCCzGEAMBfvsbbJWSVKUYJAZILMgBjpkr2WgEIDMGDgDgWqSFe2zTwAD/i7Qa3eA7AuKdllVksZpXFAlpBmo4JCVJ2+fZSBvl+MJZPsr2mXrAvVVgWioEtIMVLNPE1F0yL4GVDcNlDwU7HOuyNtlB0KlwYAkA0FA1SldGujdqQoOOfMU7fJMGUJDmaFSYECygQqOWfIgVynYZrrJ22U6QoXhgCQDFe0ym7DlDqg0GJBkoIJ91k2QOnQMlQYDVAPx5BQZi0JOsIH22V+AmnYDI+cckH4I0mdsnMYKU4ecU+6DGLgwMLlEggwERsYvIB8U00DDst+D5Z0y9ZDVAvF9wqWNbboZxMtgQyYB1W4AJpuLIANU7HNlEGqhpQ0xABaGQIM+QLwOdi1KGJIEwF4GGWaXvQgSjjnXKDYQZAA6hkqTDqhuIDEJGwIYGACByknB6/EnhgAAAABJRU5ErkJggg==</IconImage>
|
||||
<!--<IconImage SizeX="30" SizeY="30">iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeBAMAAADJHrORAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAGUExURQD//wAAALEGeLIAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABLSURBVCjPYyAPCAoKoHAZGBiRBMBsZD6cYEATJIEviMYXQFOOymcUROOia0dTj0VAgIADiHYw1GSEeeDAQ7YP6DpUB2O6lyzAwAAAsakB4ouF7nUAAAAASUVORK5CYII=</IconImage>-->
|
||||
<!--<IconImage SizeX="40" SizeY="40">iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL9SURBVFhH7ZdLaBNRFIb/mTxa+ohtfFRFxQbrq+haoaCgG0UXbqQ7V4IoqKCLghSX4kI3LgSh6kah6kJwKbhxValdKF0UFVubNpQ2zaOvZJ6eM7lJKprOnRmJiH6Em5szM/efc+65594op2z8EVTxXXf+HmHLgpZBdhimJiz+8CxcTGH0Kj5ewvxbYfGHN2Hbxvg9TD/Fwof6Ci9NYHoQtoFwDB2nhdEfHoQtE8kBFKb4oQ3HETso7P7wILz8Faln7G6kDdvOQY0Iuz9khS0DE/dZm56IH0HbIWEnbBMrUyjOcQbIIyVMI2aGMPWE3Y3GsfMiIq3VS4ufMNaP7JCwSCIlrM1j7Aa0WSghdJxBew8URVyyipxuqRfQM8Iiibsw5dTkQ8chG00JdF5BuFFcIrQ5pN/AXIKxKCySuAsXJpF8xJ6FmpG4jtY9wl5Cz0JL8ztZK8IiiYswTeG3ASx9BhTEe7DlLEd7NXoORo47ls7y8rgIU+IkH8PWEWnHrj5EYsJewcjCLPlqOq00awmbBr7cRmGa79p4AusOV3OqAq0iq8Ady+O+vpZwbhgzL2lINGxGVx/CUWFfjZ52gkx4FK55AinmMHQM+ffcbzmATSe5VCn0nipUmuaQUy5szL5GhnYLG103sbufU+HnqPySmsLjDzB6GXaR+0qYR3R65aY8OrtrcSdxDXtv8Z2SwjVD3bofzZ1QyMsGp6URQ+xxaVxyt/SpRFgEXJqaHhtF5N4hM8zpyhG2uJJQS5WZCmeFmVfIj/Br7biA7rsePA50yiSPR3qReg61EdvPo/sOVJoUOdbKalfMZeh57pAerfXfWUBcoMg7i1iJOvGnn9LawYQVx0mb884swHbSW5JAwqEm/hDkrpmvozBlu+qUM4qwpf2Q7a4ECzVRmlTylWqZl6UcVNhY4JZ2a9q+KuVMhqDCLft4DCpt648iXD6IyRBUmCor6akN7DHNt2TZIoL+P9ZySA1ykLf2Vo+eMgQV9k3grPbLf+G68a8JA98BgX8KuPKybbkAAAAASUVORK5CYII=</IconImage>-->
|
||||
</IconDefinition-Image>
|
||||
</IconDefinitions>
|
||||
</F4SD-Icon-Configuration>
|
||||
73
F4SDwebService/Publish/Config/F4SD-Icon-Configuration.xsd
Normal file
73
F4SDwebService/Publish/Config/F4SD-Icon-Configuration.xsd
Normal file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="LanguageId">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[A-Z]{2}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="IconTypes">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="material" />
|
||||
<xs:enumeration value="intern" />
|
||||
<xs:enumeration value="byImage" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="MultiLanguageEntry">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Lang" type="LanguageId" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="F4SD-Icon-Configuration">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="IconDefinitions" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="IconDefinitions">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="IconDefinition-Image" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="IconDefinition-Image">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="IconImage" minOccurs="1" maxOccurs="unbounded" />
|
||||
<xs:element ref="Description" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="IconType" type="IconTypes" use="required" />
|
||||
<xs:attribute name="Description" type="IconTypes" use="optional" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Description">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="IconImage">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="SizeX" type="xs:integer" />
|
||||
<xs:attribute name="SizeY" type="xs:integer" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<F4SD-Infrastructure-Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="F4SD-Infrastructure-Configuration.xsd">
|
||||
<Credentials>
|
||||
<Credential Name="SQL" Domain="c4it" User="tusr_nxt_collector">vmmiabBaKKefRcRRwaKiJCLniIPEzOu+BGwMLrnlNq6jANT4P3Z0802c8XMxEQgxcITj9J3pb9uIGjZUM+nfM719dHbAmS3z6glAre0Wae+uIBTNbDpn3KVjkCJwbQsOk+yeRrGhWwuWAP7DCUYq9OyGd+DY7dYAF2qKFO7zaeo=</Credential>
|
||||
<Credential Name="SQLTest" Domain="" User="sa">WSof9/qG1DikRY7NLa1Bt5hYKQsm9YvNFXukg95J5OvCR/Z0c8U1bo+QvKLW+/K8L9wgVvVbyzJQiSYeWNktbdK5qMkcphw4mciJkLkzYyeRgx27Vr7KzBOlmK9JQ1Z0c40VebDzGOh6mB+s+STfOLp2Tseq5lcz9qf8oP6XlkM=</Credential>
|
||||
<!--qMfZiLQTbTdFmgusoJX4-->
|
||||
<Credential Name="NXT" Domain="" User="tusr_nxt_collector@c4it.intra">R0ICvoG+yjJFGXGgagNQbzAwcBacJr47wRHOIwYhBl/YGDmxpoRWrI1GZ9x1C7ofSqeE1UeZNHX/oqMo/04h+jfUrqk1QHo/6e43Lns1z7UVhWrzOlPSxYwCjv7e4+6wqTWTx6UNGR5jCeD/eHAXHW24dGu7mph9xhcB3VC1kRY=</Credential>
|
||||
<Credential Name="NXCLOUD" Domain="" User="sd002">ZLAAU+jFXU/+x9FVjx4EAZRnK/D+G/OpZGkn4ek56vhDUeoR5QnSAsNu/cMa1yM3Zxa3CgmSjUmpBy+X2gr1Vo8yAeLVhqI8k9hzev+/LhrinTZIqVZZ4CaA5TEiBuNAy2uB8WEkned6uh3hRyIVNavlfoO9sToZn8f+xn8NKrM=</Credential>
|
||||
<Credential Name="AGENTAPI" Domain="" User="management-client">gdZccNCwzFrAdA+qGOA9I9ChD8hJQq/4Xuc5iC2i2I+Rtp6KCRrlgqPU0Wn6zwQ8SKitRLUSeNCJcspzkpewfv0Lnb2VIDMhdDeA5zyxVss0dZqDrMgYRhZcT+odtFTX8GlWUTyqBSQpUh8YQYdggvFZkE5ZOTaFU6kqUoKAgcs=</Credential>
|
||||
<Credential Name="M42API-Demo" Domain="" User="F4SD API Access">a2btKvTS6UnTiD3vTaLX4JjQe3YB8iOpgqwDD3Imy9QzfIZwOBkKuI+jZDtea9VPpFsO6P7pVPmL5y3eZQpVe9oBlw74Ve0hMvX+RrNjAO5DINbBNG8JxZ4gPIMQsUnYVVkHH3pvoiJIJ8AlctQuMEQ2v2slnOvEhTMWiJF2vzQWPgY7vCu6hp92AJvalKIOmK6qT3u7gf45L06R16hpzxD73DbmYwEnMs1ZuF9e1NrLdXRBr+/m4/K8RneZf/hLnW70JJm1IfA/PEVYUEk5HG0fWZFTnsBI3xNXuxXg4OdiR/7Bcrmpj36ATEU6XfWnJBP5qZwhvNzIdMMcDLOnk52b56Szjr5wEOSJIvG93knmZJAFPDIqnRY9BLYtZb6rZ6sCpLMD7R97HKhUy0CFgNNY43CniAtIiARpnGFpdxPISSWeVFsqrckEDeya4hUpZQRUf7T53nTnOBFMuygDgWxfJnMxEl0tg6m5kfAhkguyFDRueA/XkSs0bXQ8xuERBZpKCWA7TJZnMbljK9G22VMYPFCJbB8hHkBjW49wsM8rF0MAS2KvweJdvFjclhqRNSH6sXHKTh4r870YYhYXNnrqobikmP81ZCoq6avKH10/1UPJJAQjBT4MwM488M7TfPv4q9l0ezi7v91fnl2MORRlZljoQ57ao6flIf/KCgQhxl20PtYPz4TcRU/onZ5OKRDXEgaWpkJZkt4ZZX2NgjIvEI8wTEATY3Eu2dBOKeWKD7jwhkPJtnRka8+miNSFanhwJ78WjIx1B/s9jMJ2njCMAzsabjVDMZPwedXigz67zcSl3NnCg4ycCukPnk/Vs2r90XjYKOCuvlU6CsTCeQLLX28Y2AaABY+7vQIEV3XPZVc4kimy6EEShfNZkkLNHQjoZqVXkFp8AKxWCZLzJOFyGFTAX0UqsN9O6soJ/rzAF68ByjYT2y9iggA8GDYUAHZxe0fX/b01+8D+I14c9qPctBaEPhJ2DjYOfJhKRglP1nkIX6U/wd0A19brME7fr50k/ndYpavzGOhVFHrcnxufn6CDJ9/8XeeQ3XdqHwCnYT4G0dUBDEQXcCGWJa0KVkefl4vW25A8Uz5aa4yQoOj7wsnJdLVoijClWEj4a7AWP1AaH9l+dQels1ek7nJ5M8BgjGK5QSSbSrgdNLVRTRZ8PxsSdSjs1tXpSZB6SfSIWW0l48HADpUdmJjr8RlARLvpeHJs+Sqw03TnAPZo+0NOrjrfFnH0UNCVcIaNYwunMhp76s77sUpmozOxL0s95hXNlGPRcJMF5kxTXzV5hbTFr0ZsG/33gmbup9Vo9OJza9EeSbQUZj26TWotabTFrrzU/OgboiHWUmXM9HSwrXatWsCjdOr602+Hve5eDcbYUMAWvXz77QfniJgj54dM4kdNRP3e4iWQRD/EW2crlacOPEyqCGYoHm+BlgtXg2IUUYxuqYJi3/RAn0TZzEKe9oDET2jc7RRRXUzglPVU6LPnw4qPbpu054GVDfddTvPthIPKBwyB21laqmFIDRCqkcmOuVuXBxhF5DLJh7dXl7Azo3X1R7sBhX3gFOynvbDYoGmxpxetR0rKxWP9toh/UPubuYYTtOeAuLGdhIFu9LdeV/LkRHeHlFgtaZjd/CmmHavRMiKs8rKlXCRQAJYIu6DzcDCjkDfOOhEKOoi9PVzCJsLahRmlsvty+bVrbgZwNJoBH9p50dx+5rw9diNKXJrY5zCl5YnacXDHQ7lY4VV8a0f7I3zGOffTYSbADOrQ+V35YQIkzQ8yBNTKHxkKUY+qR4YHkN5P3Wq/xhZkVwAO1UEMyjdZCyibAMnvNsGSZiZSvn1374ygn1xL/gKU7nGGh4xtBU3cCzHkxfWMSDmk3m9Gp7cdFd8/jr0TLaLT1roEO6/Btdwh17XSFU2xUQzYieMIESuZuO/NzEem0V8qtT7Jh3AkfXumzvhBysc2PG0/ydghgL8kO+42zU+bslPhk+hQ7w1UouGNhtMgMi31sjxizjoeS7z2v7qCmC8P9ho3Lsexxoefj/pJ3wgF</Credential>
|
||||
<!-- M42 API KEY: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1bmlxdWVfbmFtZSI6ImltYWdvdmVydW0uY29tXFx2dm9nZWwiLCJuYW1laWQiOiJpbWFnb3ZlcnVtLmNvbVxcdnZvZ2VsIiwiVXNlckZyYWdtZW50SWQiOiI3ZWRhYTljNy03YjMzLWU1MTEtODBmNi0wMDUwNTYyZjk1MTYiLCJpc3MiOiJodHRwczovL3N0cy5tYXRyaXg0Mi5jb20iLCJhdWQiOiJ1cm46bWF0cml4NDJBcGkiLCJleHAiOjIxNDc0ODM2MTIsIm5iZiI6MTY2NTU4Mzc3Mn0.MQntDtbSafCY42UDkyEHiSE8VLZX6B_EIkSg04wdrAc-->
|
||||
<Credential Name="M42API-Demo-Dieter" Domain="" User="F4SD API Access">QbduWLGx6U0/XFMzVkVF4UZGxLrCx3c/R+GpiRctqCbf1mLApqNxMrctKpdUjfSwW04UgCl+ERtERvkgr5gluxto+oY6AtmHhCdANU1ZpzAFObEhjxGA1rQGp4PRBcpLPVg3AyBw0mNv8GqrJSdt/+sDcQY7R405ZNMUaBGdkh6CxZNo8OFstpZ9Q4QlRljO9sh62uTMGTqPw+DCaJnFlcAvRMCas1oVJ4bUJ0ODiaBmjf7N9+aO1OnOFYK5XLnlyRvlBSNMPftjbQewA46efMe8kG1t50drtObXJLsQs/FM6BkmDzKlclG3crSPBWL6MH6QVhf/NDL/Spntxpu+o4a/cfR4BpIyZc/GnLnHDwCzCv7l5uLG+T8GXoFLTbjNTKpdSHFD3EZrOXs9BdFXHxCs2zHDtSZBhftzvDrzRUPyD0t9p6Q4FVT4KTv8QGPCFme+sYLy1I20n9QH4736Dvx0IZO6TBPZc7ryIjvChmWQojudhIz/eObraSsRI2DYfU5COLCESDKd4SwwyAHkwJmh1Qc1YMGBNv9mxOn6qbFk/HQ9me2VxVw1p+YwgFH7xcfWEpk3kyIBxGdDfAqzhWBirYjsFWDbSkRyloczdh8VI1A+51ABIBB9Bd1pMyDbXfZWi/UpIlLjRRJzdfwBJ0U/xlFS2BE5N7hmUOqFIMx+8ZSJoJ0NJLWcerVa6OA3P0IxZukyOxuW9GamX58jyNwdZVY5Mydit/8FS5d/v0JGdiK0EVdCj/snyflHeNukeOsy/lAfkjoX+lDX5/BN6cM+JJtWGoLPY6w5WdrNff/Y+8GzK3m5u2fz60Kfjbmh+X4jGA775xTEZoOsGHGU56WwdVixPQAJBQcQPyulf7I23mKQkOXBQiQi7405sBS0cEnuZdxpi6oBknDs5442P4GFHhNTL5zCRL34zUpSMxelETjKyqMuxsTs5+UFycEmLkgWw6Jxz9hc8uoWAaPkqlhMEJc9aae6z2b4EJr3guKkMOA5A1V8Y9x+rOQxTcCsFU6Sxk5PI4phlfU+yyhgcYtAI5bvNkAo02hBCYwZQdTsrBj/E4bqghwJs42QDYL3Y9etWFUgcDniKTsRN4ig9IWQcJL/VrpcAhWneC+Ih0etKX9YAFFdn1sXhLsamr0RSzP/g587XxdnTi8CYN7cijwNmzXCnNjJy5N55P1+dEKPSwoAcm2fh8oM8XPIV7CLpzt61Vb6CuT08jAWKYfq/gAHN/6KAxhZ7PcstYMkz5z4fieEfpto0yaz6GcAE5Y6SGOqz9P4fyCmxVj4yz4wwBi/QEyWCXeguQoIXgkWtaVm+iLuliMNV7BM1PkFNu/ugQqgqAU4yPd7Zr398aWi/Y77ESvtRylmanZB4yU2KmdTFUCYrFSOImyqe2hz4BcpQeQTCp95UNn/zQ3PdAFlkQM3mde0x0WoxNfQiA1jqOU7GOOzYngSvQNHh3VEno0X7wdzi9bVT2JkNvmGoipjRL6PabhzlphkosV+WuJSIk0xOZa2wGCGNPp92rD2f3YmLACTeYoyReb/C6NzVetroTgdVoULTVPf9nlM9P87tJZlLBQBAU5T4zbhjU4fCCdTSJnW/B2GntO5bioC3ngDCG95pgUjC0Wq8Yl7x+WjK5hBCBWYE8pTLF2pwlBE+xB8QZOM48gh/b23rGrhZMwxix62KgbSyIUvvPjrPwRc+2NMOP13UQe6RK28aomg1M6eqRIT04m4SUMVX4/vdUrqSmzX09FF/Eyw4PlRf5eazXswa6XL+cNiOL+hvnj0kpUgYO9tWRYJJ6UfXHQsVxwBsCjXjQUrvvDd5rNaKQRi68P96nMTNWLFK4nxuJVey1mBBJ2zpx+gCglwXyy+Q+egcQWmsnrus7EZ7VHhRUlg3j76MnMJSJR6SaBFRQQKjOWJxCA5sSVL8lCalojS8gReVqW44LzNAclVMBJtaCOnM9JIj9bq5av1DYxxrGrzNrKQMmSLFsCOlXhT42a89S+l7VzFMBH7YMypyczIEswUsTss4APTMa3fCv2CDZUY4W07ojMQINHqwCy5ip5X/9G19Y5/DY8mu+iu0wmE2VEWuwnRqYrtdAEYCXOpstWbVqkqPTL1O37FTBKvF+pMqiKv4l6tDl4vMoBPhhrByqa+nF92JnXecZoXKxlVz1ksiUH+7CR34EAmryG7nJGNATNvh9bc2oPcAIwdApflNFe8tEs=</Credential>
|
||||
<!-- M42 API KEY: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1bmlxdWVfbmFtZSI6ImltYWdvdmVydW0uY29tXFx3c21zZXJ2aWNlcyIsIm5hbWVpZCI6ImltYWdvdmVydW0uY29tXFx3c21zZXJ2aWNlcyIsIlVzZXJGcmFnbWVudElkIjoiYmZlY2IxOWUtY2MwOS1lNTExLWQzODAtMDA1MDU2MmY5NTE2IiwiaXNzIjoiaHR0cHM6Ly9zdHMubWF0cml4NDIuY29tIiwiYXVkIjoidXJuOm1hdHJpeDQyQXBpIiwiZXhwIjoyMTQ3NDgzNjA3LCJuYmYiOjE2ODMwMjI0MDd9.k4lcNXAHQfkRH28MVOZz6cONe794JoZW3wV9A0V7PAQ -->
|
||||
<Credential Name="AzureAccess" Domain="" User="a818cddc-4c80-4600-bd6d-2f25b65fb679">ZU68NkYtmNMVx9gQiACXzLKXrRT9PsxEtO5mYutTgPD5yX19EBPAy/lHY/7SD8Mqrhx4OWSsYKSg3Zc2E5PzVVm+9HGf68BnsUZqH0AMbh7F7R9cYumOTQ5g9d8KYyTXdpkHaqx+z/Oey/hE/Dbj0AT3p48/+DfpysgPWv8seh0CkewE9Sj7CPEitSxBdRi64L2W5BX6Mo/kkJKxolwY6qjSIFDES9IS5O0pXxVZ3P6N8jriMTuAobk3XSAg9m4l+JNvo7bt137s9dhNqqDVlpVNtcGLhiNlnOVmfCvps56LWu+yF0reqL6VxlSFmD418P2mvhQegVtR151J2QF6kA==</Credential>
|
||||
<Credential Name="AzureAccess_Dieter" Domain="" User="c1cf923b-f286-407b-ae4f-bf60c4c5a85a">BS5gl9Ch0SwtWg2DNwVaphKTtcIDH0KtLnDryUEb4MD+/9Wm8ox01MiB/PgnSQ1mj2RVOv+LPq8Ax7liwuou+BlJMyIM2Z0+V8dCif8zYS6Tnsk/fgv0yP0bvxk9GFOroW5amdQQTpMUEg3jIWwXqNRG0MHwKDwNS+PxqGjfcv9061Q2o1ZPDtkhaxpa+lpNzly6Vl4lyTpUI6aUaMaAETX/qrzB1TdxBBeJN5d7TLAUp5/qVX09Qsol8nC018KgtyI+q2ir1mqGLtmgzQaxpg4NBwStpjfSAHUezV80tGK+je5dVnYZrKuirSNY5l+f+PL5YdrGXxX0vAqAwgT2tw==</Credential>
|
||||
<Credential Name="CitrixAccess" Domain="" User="bd3b468a-8ea2-4e48-9c04-eece3ccda693">N/yOeyE/pc81TA36JWPWws+2tB3pIfteJZp0u/Ko9dKTUaOmJHuvL8qJ+C2cEth0XZC91V6rQQOyoC1bDfrgM7eRvGGn92T01YaVlMI1RPVy/r1OUOGRhCilE7jFoiuEYMxvXLCAOT02j0noNNZn2ko/ssG4scWIf0HHJr71kFE=</Credential>
|
||||
</Credentials>
|
||||
<DB-Connections>
|
||||
<SQL-Connection Name="DataHistoryDB" Credential="SQL" NativeAccount="false" Server="c4-sql03.c4it.intra" Database="C4-FASD-2.0-Dev" Timeout="60"/>
|
||||
<!--<SQL-Connection Name="F4SDAnalyticsDB" Credential="SQL" NativeAccount="false" Server="c4-sql03.c4it.intra" Database="C4-F4SD-Analytics" Timeout="60"/>-->
|
||||
<SQL-Connection Name="F4SDAnalyticsDB" Credential="SQLTest" NativeAccount="true" Server="localhost" Database="C4-F4SD-Analytics_Test2" Timeout="60"/>
|
||||
<!--<SQL-Connection Name="DataHistoryDB" Credential="SQL" NativeAccount="false" Server="localhost" Instance ="MSSQLSERVER17" Database="C4-FASD-2.0-Dev" Timeout="60"/>-->
|
||||
<!--<SQL-Connection Name="DataHistoryDB" Credential="SQL" NativeAccount="false" Server="localhost" Database="C4-FASD-2.0-Dev" Timeout="60"/>-->
|
||||
<SQL-Connection Name="ClientAgentDB" Credential="SQL" NativeAccount="false" Server="c4-sql03.c4it.intra" Database="c4it-fasd-prod-v2" Timeout="60"/>
|
||||
<!--<SQL-Connection Name="ClientAgentDB" Credential="SQL" NativeAccount="false" Server="localhost" Instance ="MSSQLSERVER17" Database="C4IT-F4SD-Agent" Timeout="60"/>-->
|
||||
</DB-Connections>
|
||||
<DataHistory-DB DB-Connection="DataHistoryDB" SearchForPhoneNumbers="true" SearchWithLike="true" DaysToCache="30">
|
||||
<Cleanup-Timeframe StartDay="Mon" StartTime="19:00" StopTime="05:00" Timezone="W. Europe Standard Time"/>
|
||||
<Cleanup-Timeframe StartDay="Tue" StartTime="19:00" StopTime="05:00" Timezone="W. Europe Standard Time"/>
|
||||
<Cleanup-Timeframe StartDay="Wed" StartTime="19:00" StopTime="05:00" Timezone="W. Europe Standard Time"/>
|
||||
<Cleanup-Timeframe StartDay="Thu" StartTime="19:00" StopTime="05:00" Timezone="W. Europe Standard Time"/>
|
||||
<Cleanup-Timeframe StartDay="Fri" StartTime="19:00" StopDay="Mon" StopTime="05:00" Timezone="W. Europe Standard Time"/>
|
||||
</DataHistory-DB>
|
||||
<F4SDAnalytics-DB EnableUserId="false" SessionTimeout = "60" CaseTimeout="2" SessionCheckInterval="20" CaseCheckInterval="1" DB-Connection="F4SDAnalyticsDB"/>
|
||||
<ClientAgent DB-Connection="ClientAgentDB" Server-Url="https://f4sd01.consulting4it.de/f4sdagent/server/" MaxDeviceAge="30" Organization="Consulting4IT" Api-Credential="AGENTAPI">
|
||||
<Scan-Timing ScanInterval="01:00" ScanOffset="20:05" Timezone="W. Europe Standard Time"/>
|
||||
<Local-Account-Assignment Domain="C4IT" RegExFilter="" AccountMask ="*" />
|
||||
<Local-Account-Assignment Domain="Training" RegExFilter="" AccountMask ="*" />
|
||||
</ClientAgent>
|
||||
<Active-Directory ScanPhoneNumbers ="true">
|
||||
<Scan-Timing ScanInterval="24:00" ScanOffset="00:10" Timezone="W. Europe Standard Time"/>
|
||||
<AD-Domains>
|
||||
<AD-Domain Name="C4IT" FQDN="c4it.intra" Credential="SQL">
|
||||
<AD-Server FQDN="c4-dc04.c4it.intra" UseSSL="true" Port="636"/>
|
||||
<AD-Server FQDN="c4-dc01.c4it.intra" UseSSL="true"/>
|
||||
</AD-Domain>
|
||||
<AD-Domain Name="Training" FQDN="training.local" Credential="SQL">
|
||||
<AD-Server FQDN="C4-SCHUL-DC01.Training.local" UseSSL="false"/>
|
||||
</AD-Domain>
|
||||
</AD-Domains>
|
||||
<AD-Scans>
|
||||
<AD-Scan Name="Employee" Type="User">
|
||||
<AD-Scan-Node AD-Domain="C4IT" Path="OU=Employees,OU=_Users" LDAP-Filter="" Filter-Property="distinguishedName" Wildcard-Filter="" RegEx-Filter="" />
|
||||
</AD-Scan>
|
||||
<AD-Scan Name="AdminUser" Type="User">
|
||||
<AD-Scan-Node AD-Domain="C4IT" Path="OU=C4IT-Admins,OU=_Users" LDAP-Filter="" RegEx-Filter=""/>
|
||||
</AD-Scan>
|
||||
<AD-Scan Name="C4itComputer" Type="Computer">
|
||||
<AD-Scan-Node AD-Domain="C4IT" Path="OU=Consulting4IT,OU=Clients,OU=_Computers" LDAP-Filter="" RegEx-Filter=""/>
|
||||
</AD-Scan>
|
||||
<AD-Scan Name="TelesalesComputer" Type="Computer">
|
||||
<AD-Scan-Node AD-Domain="C4IT" Path="OU=Telesales4U,OU=Clients,OU=_Computers" LDAP-Filter="" RegEx-Filter=""/>
|
||||
</AD-Scan>
|
||||
<AD-Scan Name="RemainingUser" Type="User">
|
||||
<AD-Scan-Node AD-Domain="C4IT" Path="" LDAP-Filter="" RegEx-Filter=""/>
|
||||
</AD-Scan>
|
||||
<AD-Scan Name="RemainingComputer" Type="Computer">
|
||||
<AD-Scan-Node AD-Domain="C4IT" Path="" LDAP-Filter="" RegEx-Filter=""/>
|
||||
</AD-Scan>
|
||||
<AD-Scan Name="TrainingUser" Type="User">
|
||||
<AD-Scan-Node AD-Domain="Training" Path="" LDAP-Filter="" Wildcard-Filter="" RegEx-Filter="" />
|
||||
</AD-Scan>
|
||||
<AD-Scan Name="TrainingComputer" Type="Computer">
|
||||
<AD-Scan-Node AD-Domain="Training" Path="" LDAP-Filter="" Wildcard-Filter="" RegEx-Filter="" />
|
||||
</AD-Scan>
|
||||
</AD-Scans>
|
||||
</Active-Directory>
|
||||
<Azure-AD>
|
||||
<Azure-Tenant Domain="c4it365.onmicrosoft.com" TenantID="8f773186-362b-4432-a3e9-d3ad4685f3f1" Credential="AzureAccess" ScanIntuneDevices = "true" />
|
||||
<!--<Azure-Tenant Domain="sd0024.onmicrosoft.com" TenantID="07362148-410e-4636-a9cb-795fba1a5452" Credential="AzureAccess_Dieter"/>-->
|
||||
</Azure-AD>
|
||||
<Matrix42-WPM Server="srvwsm001.imagoverum.com" Credential="M42API-Demo" ClosedTicketHistory="9999" DisplayName="M42 Demo server (imagoverum)" ApiTokenLifetime ="30 days" ActivityQueueFilter="ticketsAndListedQueues">
|
||||
<Matrix42-Ticket DisableAutomaticTimeTracking="1"
|
||||
ShowDocumentCaseDialog="ifRequired"/>
|
||||
<DisplayName Lang="DE">M42 Demo Server (Imagoverum)</DisplayName>
|
||||
<Queues>
|
||||
<Queue QueueName="HR" QueueID="2a7e8099-3d57-f011-1988-00155d320605" />
|
||||
<Queue QueueName="FM" QueueID="2a7a8099-3d47-f011-1988-00155d320505" />
|
||||
</Queues>
|
||||
</Matrix42-WPM>
|
||||
<!--<Matrix42-WPM Server="m42server.imagoverum.com" Credential="M42API-Demo-Dieter" ClosedTicketHistory="9999"/>-->
|
||||
<Nexthink>
|
||||
<Scan-Timing ScanInterval="24:00" ScanOffset="00:10" Timezone="W. Europe Standard Time"/>
|
||||
<!--
|
||||
<Nxt-Portal Name="NxtLocal" Address="c4-nexthink.c4it.intra" Credential="NXT" IsCloud="false">
|
||||
<Nxt-Engine Name="NEXThink" Address="10.33.1.65" Port="1671"/>
|
||||
</Nxt-Portal>
|
||||
-->
|
||||
<Nxt-Portal Name="NxtCloud" Address="c4it.demo.nexthink.cloud" Credential="NXCLOUD" IsCloud="true">
|
||||
<Nxt-Engine Name="engine-1" Address="c4it-engine-1.demo.nexthink.cloud" Port="443"/>
|
||||
</Nxt-Portal>
|
||||
</Nexthink>
|
||||
<Citrix>
|
||||
<Scan-Timing ScanInterval="24:00" ScanOffset="00:10" Timezone="W. Europe Standard Time"/>
|
||||
<Citrix-Tenant Domain="api.cloud.com" TenantID="7wxfk9afgnd7" InstanceID="07ac970e-8bde-454e-b14d-9c7f58cf8a8d" Credential="CitrixAccess"/>
|
||||
</Citrix>
|
||||
<Authorization>
|
||||
<Membership-Groups>
|
||||
<Membership-Groups-AD Domain="C4IT">
|
||||
<Membership-Group-AD Name="C4IT-F4SD-Users" Account="C4IT-F4SD-Users"/>
|
||||
<Membership-Group-AD Name="C4IT-F4SD-Admins" Account="C4IT-F4SD-Admins"/>
|
||||
</Membership-Groups-AD>
|
||||
<Membership-Groups-Matrix42>
|
||||
<Membership-Group-Matrix42 Name="M42_Incident_Management" RoleName="Incident Management" RoleID="2E9F1A61-17C4-42F3-9514-66B5C61E7E17"/>
|
||||
</Membership-Groups-Matrix42>
|
||||
</Membership-Groups>
|
||||
<Roles>
|
||||
<Role Name="Cockpit.User" Group="C4IT-F4SD-Users"/>
|
||||
<Role Name="Cockpit.Admin">
|
||||
<GroupRef Name="C4IT-F4SD-Admins"/>
|
||||
</Role>
|
||||
<Role Name="Cockpit.TicketAgent" Group="M42_Incident_Management"/>
|
||||
</Roles>
|
||||
</Authorization>
|
||||
</F4SD-Infrastructure-Configuration>
|
||||
|
||||
@@ -0,0 +1,707 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="BooleanTypeEnum">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="false"/>
|
||||
<xs:enumeration value="true"/>
|
||||
<xs:enumeration value="0"/>
|
||||
<xs:enumeration value="1"/>
|
||||
<xs:enumeration value="no"/>
|
||||
<xs:enumeration value="yes"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="AdScanTypeEnum">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="User"/>
|
||||
<xs:enumeration value="Computer"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="HourMinuteType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9]{2}:[0-9]{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="DayTypeEnum">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Mon"/>
|
||||
<xs:enumeration value="Tue"/>
|
||||
<xs:enumeration value="Wed"/>
|
||||
<xs:enumeration value="Thu"/>
|
||||
<xs:enumeration value="Fri"/>
|
||||
<xs:enumeration value="Sat"/>
|
||||
<xs:enumeration value="Sun"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="guid">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="NameList">
|
||||
<xs:list itemType="xs:NCName"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="LdapFilterProperyEnum">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="commonName"/>
|
||||
<xs:enumeration value="distinguishedName"/>
|
||||
<xs:enumeration value="samAccountName"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="M42ApiTokenLifetime">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="30 days"/>
|
||||
<xs:enumeration value="90 days"/>
|
||||
<xs:enumeration value="180 days"/>
|
||||
<xs:enumeration value="1 year"/>
|
||||
<xs:enumeration value="never"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Matrix42-Ticket">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="30 days"/>
|
||||
<xs:enumeration value="90 days"/>
|
||||
<xs:enumeration value="180 days"/>
|
||||
<xs:enumeration value="1 year"/>
|
||||
<xs:enumeration value="never"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="TimezoneType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Dateline Standard Time"/>
|
||||
<xs:enumeration value="UTC-11"/>
|
||||
<xs:enumeration value="Hawaiian Standard Time"/>
|
||||
<xs:enumeration value="Alaskan Standard Time"/>
|
||||
<xs:enumeration value="Pacific Standard Time (Mexico)"/>
|
||||
<xs:enumeration value="Pacific Standard Time"/>
|
||||
<xs:enumeration value="US Mountain Standard Time"/>
|
||||
<xs:enumeration value="Mountain Standard Time (Mexico)"/>
|
||||
<xs:enumeration value="Mountain Standard Time"/>
|
||||
<xs:enumeration value="Central Standard Time"/>
|
||||
<xs:enumeration value="Central Standard Time (Mexico)"/>
|
||||
<xs:enumeration value="Central America Standard Time"/>
|
||||
<xs:enumeration value="Canada Central Standard Time"/>
|
||||
<xs:enumeration value="SA Pacific Standard Time"/>
|
||||
<xs:enumeration value="Eastern Standard Time (Mexico)"/>
|
||||
<xs:enumeration value="Eastern Standard Time"/>
|
||||
<xs:enumeration value="US Eastern Standard Time"/>
|
||||
<xs:enumeration value="Venezuela Standard Time"/>
|
||||
<xs:enumeration value="Paraguay Standard Time"/>
|
||||
<xs:enumeration value="Atlantic Standard Time"/>
|
||||
<xs:enumeration value="Central Brazilian Standard Time"/>
|
||||
<xs:enumeration value="SA Western Standard Time"/>
|
||||
<xs:enumeration value="Newfoundland Standard Time"/>
|
||||
<xs:enumeration value="E. South America Standard Time"/>
|
||||
<xs:enumeration value="Argentina Standard Time"/>
|
||||
<xs:enumeration value="SA Eastern Standard Time"/>
|
||||
<xs:enumeration value="Greenland Standard Time"/>
|
||||
<xs:enumeration value="Montevideo Standard Time"/>
|
||||
<xs:enumeration value="Bahia Standard Time"/>
|
||||
<xs:enumeration value="Pacific SA Standard Time"/>
|
||||
<xs:enumeration value="UTC-02"/>
|
||||
<xs:enumeration value="Mid-Atlantic Standard Time"/>
|
||||
<xs:enumeration value="Azores Standard Time"/>
|
||||
<xs:enumeration value="Cape Verde Standard Time"/>
|
||||
<xs:enumeration value="Morocco Standard Time"/>
|
||||
<xs:enumeration value="GMT Standard Time"/>
|
||||
<xs:enumeration value="UTC"/>
|
||||
<xs:enumeration value="Greenwich Standard Time"/>
|
||||
<xs:enumeration value="W. Europe Standard Time"/>
|
||||
<xs:enumeration value="Central Europe Standard Time"/>
|
||||
<xs:enumeration value="Romance Standard Time"/>
|
||||
<xs:enumeration value="Central European Standard Time"/>
|
||||
<xs:enumeration value="W. Central Africa Standard Time"/>
|
||||
<xs:enumeration value="Namibia Standard Time"/>
|
||||
<xs:enumeration value="Jordan Standard Time"/>
|
||||
<xs:enumeration value="GTB Standard Time"/>
|
||||
<xs:enumeration value="Middle East Standard Time"/>
|
||||
<xs:enumeration value="Syria Standard Time"/>
|
||||
<xs:enumeration value="South Africa Standard Time"/>
|
||||
<xs:enumeration value="FLE Standard Time"/>
|
||||
<xs:enumeration value="Turkey Standard Time"/>
|
||||
<xs:enumeration value="Israel Standard Time"/>
|
||||
<xs:enumeration value="Egypt Standard Time"/>
|
||||
<xs:enumeration value="Kaliningrad Standard Time"/>
|
||||
<xs:enumeration value="E. Europe Standard Time"/>
|
||||
<xs:enumeration value="Libya Standard Time"/>
|
||||
<xs:enumeration value="Arabic Standard Time"/>
|
||||
<xs:enumeration value="Arab Standard Time"/>
|
||||
<xs:enumeration value="Belarus Standard Time"/>
|
||||
<xs:enumeration value="Russian Standard Time"/>
|
||||
<xs:enumeration value="E. Africa Standard Time"/>
|
||||
<xs:enumeration value="Iran Standard Time"/>
|
||||
<xs:enumeration value="Arabian Standard Time"/>
|
||||
<xs:enumeration value="Azerbaijan Standard Time"/>
|
||||
<xs:enumeration value="Caucasus Standard Time"/>
|
||||
<xs:enumeration value="Russia Time Zone 3"/>
|
||||
<xs:enumeration value="Mauritius Standard Time"/>
|
||||
<xs:enumeration value="Georgian Standard Time"/>
|
||||
<xs:enumeration value="Afghanistan Standard Time"/>
|
||||
<xs:enumeration value="West Asia Standard Time"/>
|
||||
<xs:enumeration value="Pakistan Standard Time"/>
|
||||
<xs:enumeration value="Ekaterinburg Standard Time"/>
|
||||
<xs:enumeration value="India Standard Time"/>
|
||||
<xs:enumeration value="Sri Lanka Standard Time"/>
|
||||
<xs:enumeration value="Nepal Standard Time"/>
|
||||
<xs:enumeration value="Central Asia Standard Time"/>
|
||||
<xs:enumeration value="Bangladesh Standard Time"/>
|
||||
<xs:enumeration value="N. Central Asia Standard Time"/>
|
||||
<xs:enumeration value="Myanmar Standard Time"/>
|
||||
<xs:enumeration value="SE Asia Standard Time"/>
|
||||
<xs:enumeration value="North Asia Standard Time"/>
|
||||
<xs:enumeration value="North Asia East Standard Time"/>
|
||||
<xs:enumeration value="Singapore Standard Time"/>
|
||||
<xs:enumeration value="China Standard Time"/>
|
||||
<xs:enumeration value="W. Australia Standard Time"/>
|
||||
<xs:enumeration value="Taipei Standard Time"/>
|
||||
<xs:enumeration value="Ulaanbaatar Standard Time"/>
|
||||
<xs:enumeration value="Yakutsk Standard Time"/>
|
||||
<xs:enumeration value="Tokyo Standard Time"/>
|
||||
<xs:enumeration value="Korea Standard Time"/>
|
||||
<xs:enumeration value="Cen. Australia Standard Time"/>
|
||||
<xs:enumeration value="AUS Central Standard Time"/>
|
||||
<xs:enumeration value="E. Australia Standard Time"/>
|
||||
<xs:enumeration value="AUS Eastern Standard Time"/>
|
||||
<xs:enumeration value="West Pacific Standard Time"/>
|
||||
<xs:enumeration value="Tasmania Standard Time"/>
|
||||
<xs:enumeration value="Magadan Standard Time"/>
|
||||
<xs:enumeration value="Vladivostok Standard Time"/>
|
||||
<xs:enumeration value="Central Pacific Standard Time"/>
|
||||
<xs:enumeration value="Russia Time Zone 10"/>
|
||||
<xs:enumeration value="Russia Time Zone 11"/>
|
||||
<xs:enumeration value="New Zealand Standard Time"/>
|
||||
<xs:enumeration value="Fiji Standard Time"/>
|
||||
<xs:enumeration value="UTC+12"/>
|
||||
<xs:enumeration value="Kamchatka Standard Time"/>
|
||||
<xs:enumeration value="Tonga Standard Time"/>
|
||||
<xs:enumeration value="Samoa Standard Time"/>
|
||||
<xs:enumeration value="Line Islands Standard Time"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="LanguageId">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[A-Z]{2}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="MultiLanguageEntry">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Lang" type="LanguageId" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="DisplayName">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="F4SD-Infrastructure-Configuration">
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element ref="Credentials" maxOccurs="1" minOccurs="1"/>
|
||||
<xs:element ref="DB-Connections" maxOccurs="1" minOccurs="1"/>
|
||||
<xs:element ref="DataHistory-DB" maxOccurs="1" minOccurs="1"/>
|
||||
<xs:element ref="F4SDAnalytics-DB" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="ClientAgent" maxOccurs="1" minOccurs="1"/>
|
||||
<xs:element ref="Active-Directory" maxOccurs="1" minOccurs="1"/>
|
||||
<xs:element ref="Azure-AD" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Matrix42-WPM" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Nexthink" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Citrix" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Authorization" maxOccurs="1" minOccurs="0"/>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
<xs:key name="CredentialId">
|
||||
<xs:selector xpath="./Credentials/*"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:key>
|
||||
<xs:key name="DbConnectionId">
|
||||
<xs:selector xpath="./DB-Connections/*"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:key>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Credentials">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Credential" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:unique name="UniqueCredentials">
|
||||
<xs:selector xpath="./*"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Credential">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="User" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Domain" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="Description" type="xs:string" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="DB-Connections">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="SQL-Connection" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:unique name="UniqueSqlConnection">
|
||||
<xs:selector xpath="./*"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="SQL-Connection">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Credential" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="NativeAccount" type="BooleanTypeEnum" use="optional"/>
|
||||
<xs:attribute name="Server" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Instance" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="Database" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Timeout" type="xs:nonNegativeInteger" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:keyref name="SqlConnectionCredentialRef" refer="CredentialId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@Credential"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="F4SDAnalytics-DB">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="DB-Connection" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="EnableUserId" type="xs:boolean" use="optional"/>
|
||||
<xs:attribute name="SessionTimeout" type="xs:positiveInteger" use="optional" default="60"/>
|
||||
<xs:attribute name="CaseTimeout" type="xs:positiveInteger" use="optional" default="5"/>
|
||||
<xs:attribute name="SessionCheckInterval" type="xs:positiveInteger" use="optional" default="20"/>
|
||||
<xs:attribute name="CaseCheckInterval" type="xs:positiveInteger" use="optional" default="2"/>
|
||||
</xs:complexType>
|
||||
<xs:keyref name="F4SDAnalyticsDbSqlConnectionRef" refer="DbConnectionId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@DB-Connection"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="DataHistory-DB">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Cleanup-Timeframe" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="DB-Connection" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="SearchForPhoneNumbers" type="xs:boolean" use="optional"/>
|
||||
<xs:attribute name="SearchWithLike" type="xs:boolean" use="optional"/>
|
||||
<xs:attribute name="DaysToCache" type="xs:positiveInteger" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:keyref name="DataHistoryDbSqlConnectionRef" refer="DbConnectionId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@DB-Connection"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="ClientAgent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Scan-Timing" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Local-Account-Assignment" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="DB-Connection" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Server-Url" type="xs:anyURI" use="required"/>
|
||||
<xs:attribute name="MaxDeviceAge" type="xs:nonNegativeInteger" use="required"/>
|
||||
<xs:attribute name="Organization" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Api-Credential" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Api-Path" type="xs:anyURI" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:keyref name="ClientAgentDbSqlConnectionRef" refer="DbConnectionId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@DB-Connection"/>
|
||||
</xs:keyref>
|
||||
<xs:keyref name="ApiCredentialRef" refer="CredentialId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@Credential"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
|
||||
<xs:element name="Local-Account-Assignment">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Domain" type="xs:string" use="required"/>
|
||||
<xs:attribute name="RegExFilter" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="AccountMask" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Azure-AD">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Azure-Tenant" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:unique name="UniqueTenants">
|
||||
<xs:selector xpath="./*"/>
|
||||
<xs:field xpath="@Domain"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Azure-Tenant">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Domain" type="xs:string" use="required"/>
|
||||
<xs:attribute name="TenantID" type="guid" use="required"/>
|
||||
<xs:attribute name="Credential" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="ScanIntuneDevices" type="xs:boolean" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:keyref name="AzureTenantCredentialRef" refer="CredentialId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@Credential"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Citrix">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Scan-Timing" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Citrix-Tenant" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:unique name="UniqueCitrixTenants">
|
||||
<xs:selector xpath="./*"/>
|
||||
<xs:field xpath="@Domain"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Citrix-Tenant">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Domain" type="xs:string" use="required"/>
|
||||
<xs:attribute name="TenantID" type="xs:string" use="required"/>
|
||||
<xs:attribute name="InstanceID" type="guid" use="required"/>
|
||||
<xs:attribute name="Credential" type="xs:NCName" use="required"/>
|
||||
</xs:complexType>
|
||||
<xs:keyref name="CitrixTenantCredentialRef" refer="CredentialId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@Credential"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Active-Directory">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Scan-Timing" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="AD-Domains" maxOccurs="unbounded" minOccurs="0"/>
|
||||
<xs:element ref="AD-Scans" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="ScanPhoneNumbers" type="xs:boolean" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:key name="AdDomainId">
|
||||
<xs:selector xpath="./AD-Domains/*"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:key>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Scan-Timing">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="ScanInterval" type="HourMinuteType" use="required"/>
|
||||
<xs:attribute name="ScanOffset" type="HourMinuteType" use="optional"/>
|
||||
<xs:attribute name="Timezone" type="TimezoneType" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Cleanup-Timeframe">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="StartDay" type="DayTypeEnum" use="required"/>
|
||||
<xs:attribute name="StartTime" type="HourMinuteType" use="required"/>
|
||||
<xs:attribute name="StopDay" type="DayTypeEnum" use="optional"/>
|
||||
<xs:attribute name="StopTime" type="HourMinuteType" use="required"/>
|
||||
<xs:attribute name="Timezone" type="TimezoneType" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AD-Domains">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="AD-Domain" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:unique name="UniqueAdDomains">
|
||||
<xs:selector xpath="./*"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AD-Domain">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="AD-Server" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="FQDN" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Credential" type="xs:NCName" use="required"/>
|
||||
</xs:complexType>
|
||||
<xs:unique name="UniqueAdServers">
|
||||
<xs:selector xpath="./*"/>
|
||||
<xs:field xpath="@FQDN"/>
|
||||
</xs:unique>
|
||||
<xs:keyref name="AdDomainCredentialRef" refer="CredentialId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@Credential"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AD-Server">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="FQDN" type="xs:string" use="required"/>
|
||||
<xs:attribute name="UseSSL" type="BooleanTypeEnum" use="required"/>
|
||||
<xs:attribute name="Port" type="xs:integer" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AD-Scans">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="AD-Scan" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:unique name="UniqueAdScans">
|
||||
<xs:selector xpath="./*"/>
|
||||
<xs:field xpath="@Name"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AD-Scan">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="AD-Scan-Node" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="optional"/>
|
||||
<xs:attribute name="Type" type="AdScanTypeEnum" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AD-Scan-Node">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="AD-Domain" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Path" type="xs:string" use="required"/>
|
||||
<xs:attribute name="LDAP-Filter" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="Filter-Property" type="LdapFilterProperyEnum" use="optional"/>
|
||||
<xs:attribute name="Wildcard-Filter" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="RegEx-Filter" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:keyref name="AdScanNodeDomainRef" refer="AdDomainId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@AD-Domain"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Nexthink">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Scan-Timing" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Nxt-Portal" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Nxt-Portal">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Nxt-Engine" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Address" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Credential" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="IsCloud" type="BooleanTypeEnum" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Nxt-Engine">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Address" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Port" type="xs:nonNegativeInteger" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:simpleType name="ShowDocumentCaseDialogOptions">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="always">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Immer fragen</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
<xs:enumeration value="ifRequired">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Fragen, wenn QuickAction und/oder Notizen vorhanden sind (Standard)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
<xs:enumeration value="never">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Niemals fragen</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="ActivityQueueFilterOptions">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="showAll">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Alle anzeigen (Standard)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
<xs:enumeration value="ticketsAndListedQueues">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Alle Tickets / Incidents ohne Queue oder mit angegebener Queue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
<xs:enumeration value="onlyListedQueues">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nur Tickets / Incidents mit angegebener Queue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
<xs:enumeration value="onlyTickets">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nur Tickets / Incidents</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="Matrix42-Ticket">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="DisableAutomaticTimeTracking" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="ShowDocumentCaseDialog" type="ShowDocumentCaseDialogOptions" use="optional" default="ifRequired"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Queues">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Queue" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Queue">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="QueueName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="QueueID" type="guid" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Matrix42-WPM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Matrix42-Ticket" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="DisplayName" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="Queues" maxOccurs="1" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Server" type="xs:string" use="required"/>
|
||||
<xs:attribute name="Credential" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="ClosedTicketHistory" type="xs:nonNegativeInteger" use="required"/>
|
||||
<xs:attribute name="DisplayName" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="ApiTokenLifetime" type="M42ApiTokenLifetime" use="optional"/>
|
||||
<xs:attribute name="ActivityQueueFilter" type="ActivityQueueFilterOptions" use="optional" default="showAll"/>
|
||||
|
||||
</xs:complexType>
|
||||
<xs:keyref name="M42WpmCredentialRef" refer="CredentialId">
|
||||
<xs:selector xpath="."/>
|
||||
<xs:field xpath="@Credential"/>
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Authorization">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Membership-Groups" maxOccurs="1" minOccurs="0"/>
|
||||
<xs:element ref="Roles" maxOccurs="1" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Membership-Groups">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Membership-Groups-AD" maxOccurs="unbounded" minOccurs="0"/>
|
||||
<xs:element ref="Membership-Groups-Matrix42" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Membership-Groups-AD">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Membership-Group-AD" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Domain" type="xs:NCName" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Membership-Group-AD">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Account" type="xs:string" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Roles">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Role" maxOccurs="unbounded" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Role">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="GroupRef" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="Group" type="xs:NCName" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="GroupRef">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Membership-Groups-Matrix42">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Membership-Group-Matrix42" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Membership-Group-Matrix42">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required"/>
|
||||
<xs:attribute name="RoleName" type="xs:string" use="required"/>
|
||||
<xs:attribute name="RoleID" type="guid" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<F4SD-MenuSection-Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="F4SD-MenuSection-Configuration.xsd">
|
||||
<Sections>
|
||||
|
||||
<Section TechName="Ticket" Name="Ticket" Description="Scripts dealing with tickets.">
|
||||
<Name Lang="DE">Ticket</Name>
|
||||
<Description Lang="DE">Skripte, die sich mit Tickets beschäftigen.</Description>
|
||||
<Icon Name="ic_mail" IconType="material"/>
|
||||
</Section>
|
||||
<Section TechName="Favourites" Name="Favourites">
|
||||
<Name Lang="DE">Favoriten</Name>
|
||||
<Icon Name="ic_star" IconType="material"/>
|
||||
</Section>
|
||||
<Section TechName="Communication" Name="Communication" Description="Quick Actions dealing with communication.">
|
||||
<Name Lang="DE">Kommunikation</Name>
|
||||
<Description Lang="DE">Quick Actions, die mit Kommunikation zu tun haben</Description>
|
||||
<Icon IconType="material" Name="ic_perm_phone_msg"/>
|
||||
</Section>
|
||||
<!-- <Section TechName="ActiveDirectory" Name="Active Directory" Description="Scripts dealing with the active directory.">
|
||||
<Name Lang="DE">Active Directory</Name>
|
||||
<Description Lang="DE">Skripte, die sich mit dem Active Directory beschäftigen.</Description>
|
||||
<Icon Name="misc_user" IconType="intern"/>
|
||||
</Section> -->
|
||||
<Section TechName="FastBoot" Name="Fast boot options" Description="Scripts dealing with the windows fast boot option.">
|
||||
<Name Lang="DE">Schnellstart Optionen</Name>
|
||||
<Description Lang="DE">Skripte, die die Windows Schnellstart Option betreffen.</Description>
|
||||
<Icon Name="ic_directions_run" IconType="material"/>
|
||||
</Section>
|
||||
<Section TechName="ClearCache" Name="Clear Cache" Description="Quick Actions for clearing cache.">
|
||||
<Name Lang="DE">Cache leeren</Name>
|
||||
<Description Lang="DE">Quick Actions um Caches zu leeren.</Description>
|
||||
<Icon IconType="material" Name="ic_delete_sweep"/>
|
||||
</Section>
|
||||
<Section TechName="GetInfo" Name="Obtain information" Description="Obtain further information about the computer.">
|
||||
<Name Lang="DE">Informationen einholen</Name>
|
||||
<Description Lang="DE">Weitere Informationen über den Computer einholen.</Description>
|
||||
<Icon IconType="material" Name="ic_add_to_photos"/>
|
||||
</Section>
|
||||
<Section TechName="Intune" Name="Intune">
|
||||
<Name Lang="DE">Intune</Name>
|
||||
<Icon IconType="material" Name="ic_assessment"/>
|
||||
</Section>
|
||||
<Section TechName="Citrix" Name="Citrix">
|
||||
<Name Lang="DE">Citrix</Name>
|
||||
<Icon IconType="material" Name="ic_assessment"/>
|
||||
</Section>
|
||||
<Section TechName="C4ITIntern" Name="C4IT internal" Description="Scripts for C4IT internal purposes.">
|
||||
<Name Lang="DE">C4IT Intern</Name>
|
||||
<Description Lang="DE">Skripte für den internen C4IT Gebrauch.</Description>
|
||||
<Icon IconType="intern" Name="misc_tool" />
|
||||
</Section>
|
||||
<Section TechName="TestSection" Name="Test" Description="Scripts that need testing for release.">
|
||||
<Name Lang="DE">Test</Name>
|
||||
<Description Lang="DE">Skripte, die für das nächste Release getestet werden.</Description>
|
||||
<Icon IconType="intern" Name="misc_tool"/>
|
||||
</Section>
|
||||
<Section TechName="Sandbox" Name="Quick Actions Sandbox" Description="Experimental scripts.">
|
||||
<Name Lang="DE">Quick Actions Sandbox</Name>
|
||||
<Description Lang="DE">Experimentelle Skripte.</Description>
|
||||
<Icon IconType="intern" Name="misc_tool"/>
|
||||
</Section>
|
||||
</Sections>
|
||||
</F4SD-MenuSection-Configuration>
|
||||
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="LanguageId">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[A-Z]{2}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="IconTypes">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="material" />
|
||||
<xs:enumeration value="intern" />
|
||||
<xs:enumeration value="byImage" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="F4SD-MenuSection-Configuration">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Sections" minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Sections">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Section" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Section">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="Description" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="Icon" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
|
||||
<xs:attribute name="TechName" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="Name" type="xs:string" use="optional" />
|
||||
<xs:attribute name="Title" type="xs:string" use="optional" />
|
||||
<xs:attribute name="Description" type="xs:string" use="optional" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:complexType name="MultiLanguageEntry">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Lang" type="LanguageId" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="Name">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Description">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Icon">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="IconType" type="IconTypes" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
1126
F4SDwebService/Publish/Config/F4SD-QuickAction-Configuration.xml
Normal file
1126
F4SDwebService/Publish/Config/F4SD-QuickAction-Configuration.xml
Normal file
File diff suppressed because it is too large
Load Diff
650
F4SDwebService/Publish/Config/F4SD-QuickAction-Configuration.xsd
Normal file
650
F4SDwebService/Publish/Config/F4SD-QuickAction-Configuration.xsd
Normal file
@@ -0,0 +1,650 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="guid">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="LanguageId">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[A-Z]{2}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="IconTypes">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="material" />
|
||||
<xs:enumeration value="intern" />
|
||||
<xs:enumeration value="byImage" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="InformationClass">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Main" />
|
||||
<xs:enumeration value="User" />
|
||||
<xs:enumeration value="Computer" />
|
||||
<xs:enumeration value="Ticket" />
|
||||
<xs:enumeration value="VirtuelSession" />
|
||||
<xs:enumeration value="MobileDevice" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="DisplayTypes">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="STRING" />
|
||||
<xs:enumeration value="INTEGER" />
|
||||
<xs:enumeration value="PERCENT" />
|
||||
<xs:enumeration value="PERCENT100" />
|
||||
<xs:enumeration value="TIME" />
|
||||
<xs:enumeration value="DATE" />
|
||||
<xs:enumeration value="DATETIME" />
|
||||
<xs:enumeration value="DURATION_DAY" />
|
||||
<xs:enumeration value="DURATION_HOUR" />
|
||||
<xs:enumeration value="DURATION_MILLI" />
|
||||
<xs:enumeration value="DURATION_DAY_SINCE_NOW" />
|
||||
<xs:enumeration value="BITS_PERSECOND" />
|
||||
<xs:enumeration value="BYTES" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="Browsers">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Default" />
|
||||
<xs:enumeration value="Google Chrome" />
|
||||
<xs:enumeration value="Internet Explorer" />
|
||||
<xs:enumeration value="Microsoft Edge" />
|
||||
<xs:enumeration value="Mozilla Firefox" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="ResultTypes">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Undefined" />
|
||||
<xs:enumeration value="Information" />
|
||||
<xs:enumeration value="Repair" />
|
||||
<xs:enumeration value="ExternalApplication" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="ExecutionTypes">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Undefined" />
|
||||
<xs:enumeration value="LocalScript" />
|
||||
<xs:enumeration value="RemoteScript" />
|
||||
<xs:enumeration value="ExternalApplication" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="StateLevels">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="None" />
|
||||
<xs:enumeration value="Ok" />
|
||||
<xs:enumeration value="Warning" />
|
||||
<xs:enumeration value="Error" />
|
||||
<xs:enumeration value="Info" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="QuickActionSuccess">
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="finished" />
|
||||
<xs:enumeration value="successfull" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="F4SD-QuickAction-Configuration">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Translations" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="QuickActions" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element ref="QuickTips" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Translations">
|
||||
<xs:complexType>
|
||||
<xs:choice maxOccurs="unbounded">
|
||||
<xs:element ref="Translator" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Translator">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="DefaultTranslation" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="Translation" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:NCName" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="DefaultTranslation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:string" use="required" />
|
||||
<xs:attribute name="StateLevel" type="StateLevels" use="optional" default="None" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Translation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="Value" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string" />
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:string" use="required" />
|
||||
<xs:attribute name="StateLevel" type="StateLevels" use="optional" default="None" />
|
||||
</xs:complexType>
|
||||
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickActions">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="QuickAction" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickAction" abstract="true" />
|
||||
|
||||
<xs:complexType name="QuickAction" abstract="true">
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element ref="Section" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element ref="Description" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element ref="AlternativeDescription" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element ref="Icon" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element ref="CheckNamedParameterValues" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="AdjustableParameters" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element ref="ColumnOutputFormattings" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
|
||||
<xs:attribute name="Id" type="guid" use="optional" />
|
||||
<xs:attribute name="Name" type="xs:string" use="required"/>
|
||||
<xs:attribute name="InformationClass" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:list itemType="InformationClass" />
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Description" type="xs:string" use="optional" />
|
||||
<xs:attribute name="Section" type="xs:NCName" use="optional" />
|
||||
<xs:attribute name="Params" type="xs:string" use="optional" />
|
||||
<xs:attribute name="CheckNamedParameter" type="xs:NCName" use="optional" />
|
||||
<xs:attribute name="CheckFilePath" type="xs:string" use="optional" />
|
||||
<xs:attribute name="CheckRegistryEntry" type="xs:string" use="optional" />
|
||||
<xs:attribute name="Hidden" type="xs:boolean" use="optional" />
|
||||
<xs:attribute name="RunImmediate" type="xs:boolean" use="optional" />
|
||||
<xs:attribute name="ExecutionType" type="ExecutionTypes" use="optional" default="Undefined" />
|
||||
<xs:attribute name="ResultType" type="ResultTypes" use="optional" default="Undefined" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="QuickAction-Local" abstract="true">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction">
|
||||
<xs:attribute name="RequireAdministrator" use="optional" />
|
||||
<xs:attribute name="StartWithAlternateCredentials" type="xs:boolean" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="QuickAction-Local-Script" substitutionGroup="QuickAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction-Local">
|
||||
<xs:sequence>
|
||||
<xs:element ref="Script" minOccurs="1" maxOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickAction-Local-Cmd" substitutionGroup="QuickAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction-Local">
|
||||
<xs:attribute name="Cmd" type="xs:string" use="required" />
|
||||
<xs:attribute name="DontUseShell" type="xs:boolean" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickAction-Local-WebRequest" substitutionGroup="QuickAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction-Local">
|
||||
<xs:sequence>
|
||||
<xs:element ref="QueryString" minOccurs="1" maxOccurs="1"/>
|
||||
<xs:element ref="QueryParameter" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Browser" type="Browsers" use="optional" default="Default" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickAction-Server" substitutionGroup="QuickAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction-Remote">
|
||||
<xs:attribute name="Category" use="optional" />
|
||||
<xs:attribute name="Action" use="optional" />
|
||||
<xs:attribute name="ParamaterType" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickActionMeasure">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:string" use="required" />
|
||||
<xs:attribute name="MeasureId" type="xs:int" use="required" />
|
||||
<xs:attribute name="Display" type="DisplayTypes" use="optional" default="STRING" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickActionMeasures">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="QuickActionMeasure" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickActionMeasureResult">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Id" type="xs:positiveInteger" use="required" />
|
||||
<xs:attribute name="Value" type="xs:string" use="required" />
|
||||
<xs:attribute name="PostValue" type="xs:string" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickActionMeasureResults">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="QuickActionMeasureResult" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickAction-Demo" substitutionGroup="QuickAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction">
|
||||
<xs:sequence>
|
||||
<xs:element ref="DemoResult" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element ref="QuickActionMeasures" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="QuickActionMeasureResults" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="SimulatedClientConnect" type="xs:nonNegativeInteger" use="optional" />
|
||||
<xs:attribute name="SimulatedRuntime" type="xs:nonNegativeInteger" use="optional" />
|
||||
<xs:attribute name="Type" type="ExecutionTypes" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="DemoResult">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Result" type="QuickActionSuccess" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QueryString">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="ParameterName" type="xs:NCName" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QueryParameter">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Name" type="xs:string" use="required"/>
|
||||
<xs:attribute name="ParameterName" type="xs:NCName" use="optional" />
|
||||
<xs:attribute name="ValueRequired" type="xs:boolean" use="optional" default="false" />
|
||||
<xs:attribute name="UseHtmlValue" type="xs:boolean" use="optional" default="false" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:complexType name="QuickAction-Remote" abstract="true">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction">
|
||||
<xs:sequence>
|
||||
<xs:element ref="QuickActionMeasures" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="ScriptId" use="optional" />
|
||||
<xs:attribute name="ScriptName" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="QuickAction-Remote-User" substitutionGroup="QuickAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction-Remote">
|
||||
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickAction-Remote-Computer" substitutionGroup="QuickAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction-Remote">
|
||||
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickAction-Chained" substitutionGroup="QuickAction">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickAction">
|
||||
<xs:sequence>
|
||||
<xs:element ref="QuickAction-Reference" minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickAction-Reference">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="Name" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:complexType name="MultiLanguageEntry">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="Lang" type="LanguageId" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="Name">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Section">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NCName" />
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Description">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AlternativeDescription">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Script">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="IsBase64" type="xs:boolean" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Icon">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="IconType" type="IconTypes" use="required" />
|
||||
<xs:attribute name="Name" type="xs:string" use="required" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="CheckNamedParameterValues">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="CheckNamedParameterValue" minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="CheckNamedParameterValue">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string" />
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AdjustableParameters">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="AdjustableParameter" minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AdjustableParameter" abstract="true" />
|
||||
|
||||
<xs:complexType name="AdjustableParameter" abstract="true">
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element ref="Description" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:string" use="required"/>
|
||||
<xs:attribute name="ParameterName" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="IsOptional" type="xs:boolean" use="optional" default="false" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="AdjustableParameter-Boolean" substitutionGroup="AdjustableParameter">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="AdjustableParameter">
|
||||
<xs:attribute name="Default" type="xs:boolean" use="optional" default="false" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AdjustableParameter-Numerical" substitutionGroup="AdjustableParameter">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="AdjustableParameter">
|
||||
<xs:attribute name="Default" type="xs:double" use="optional" default="0" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AdjustableParameter-DropDown" substitutionGroup="AdjustableParameter">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="AdjustableParameter">
|
||||
<xs:sequence>
|
||||
<xs:element ref="AdjustableParameter-DropDownValue" minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Default" type="xs:string" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AdjustableParameter-DropDownValue">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="AdjustableParameter-DropDownDisplayValue" minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Value" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AdjustableParameter-DropDownDisplayValue">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="ColumnOutputFormattings">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="ColumnOutputFormatting" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="ShowAllOutputContent" type="xs:boolean" use="optional" default="false" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="ColumnOutputFormatting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="ValueName" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="Name" type="xs:string" use="optional" />
|
||||
<xs:attribute name="Translation" type="xs:NCName" use="optional" />
|
||||
<xs:attribute name="Display" type="DisplayTypes" use="optional" />
|
||||
<xs:attribute name="Hidden" type="xs:boolean" use="optional" default="false" />
|
||||
<xs:attribute name="IsSecret" type="xs:boolean" use="optional" default="false" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickTips">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="QuickTip" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickTip">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="Section" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="Description" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="AlternativeDescription" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="Icon" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="QuickTipElements" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
|
||||
<xs:attribute name="Id" type="guid" use="optional" />
|
||||
<xs:attribute name="Name" type="xs:string" use="required" />
|
||||
<xs:attribute name="Description" type="xs:string" use="optional" />
|
||||
<xs:attribute name="Section" type="xs:NCName" use="optional" />
|
||||
<xs:attribute name="Hidden" type="xs:boolean" use="optional" />
|
||||
<xs:attribute name="FixedSequence" type="xs:boolean" use="optional" />
|
||||
<xs:attribute name="InformationClass" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:list itemType="InformationClass" />
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickTipElements">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="QuickTipElement" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="QuickTipElement" abstract="true" />
|
||||
|
||||
<xs:complexType name="QuickTipElement" abstract="true">
|
||||
<xs:sequence>
|
||||
<xs:element ref="Name" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="TextBlock" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="Name" type="xs:string" use="required" />
|
||||
<xs:attribute name="IsRequired" type="xs:boolean" use="optional" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="TextBlock">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="TextElement" substitutionGroup="QuickTipElement">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickTipElement" />
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="ManualStep" substitutionGroup="QuickTipElement">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickTipElement">
|
||||
<xs:sequence>
|
||||
<xs:element ref="Icon" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="Summary" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="Summary">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="MultiLanguageEntry" />
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="AutomatedStep" substitutionGroup="QuickTipElement">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="QuickTipElement">
|
||||
<xs:attribute name="QuickAction" type="xs:string" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
26
F4SDwebService/Publish/Content/Site.css
Normal file
26
F4SDwebService/Publish/Content/Site.css
Normal file
@@ -0,0 +1,26 @@
|
||||
body {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Set padding to keep content from hitting the edges */
|
||||
.body-content {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Set width on the form input elements since they're 100% wide by default */
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
max-width: 280px;
|
||||
}
|
||||
|
||||
.navbar-toggle .icon-bar {
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 0.15rem;
|
||||
background-color: #4f4f4f;
|
||||
border-radius: 1px;
|
||||
margin: 4px;
|
||||
}
|
||||
3872
F4SDwebService/Publish/Content/bootstrap-grid.css
vendored
Normal file
3872
F4SDwebService/Publish/Content/bootstrap-grid.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
F4SDwebService/Publish/Content/bootstrap-grid.css.map
Normal file
1
F4SDwebService/Publish/Content/bootstrap-grid.css.map
Normal file
File diff suppressed because one or more lines are too long
7
F4SDwebService/Publish/Content/bootstrap-grid.min.css
vendored
Normal file
7
F4SDwebService/Publish/Content/bootstrap-grid.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
325
F4SDwebService/Publish/Content/bootstrap-reboot.css
vendored
Normal file
325
F4SDwebService/Publish/Content/bootstrap-reboot.css
vendored
Normal file
@@ -0,0 +1,325 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v4.6.2 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2022 The Bootstrap Authors
|
||||
* Copyright 2011-2022 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
line-height: 1.15;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
[tabindex="-1"]:focus:not(:focus-visible) {
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title],
|
||||
abbr[data-original-title] {
|
||||
text-decoration: underline;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
border-bottom: 0;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: .5rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:not([href]):not([class]) {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not([href]):not([class]):hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
-ms-overflow-style: scrollbar;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
svg {
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.75rem;
|
||||
padding-bottom: 0.75rem;
|
||||
color: #6c757d;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: -webkit-match-parent;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
[role="button"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select {
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
button:not(:disabled),
|
||||
[type="button"]:not(:disabled),
|
||||
[type="reset"]:not(:disabled),
|
||||
[type="submit"]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: .5rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type="search"] {
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
||||
1
F4SDwebService/Publish/Content/bootstrap-reboot.css.map
Normal file
1
F4SDwebService/Publish/Content/bootstrap-reboot.css.map
Normal file
File diff suppressed because one or more lines are too long
8
F4SDwebService/Publish/Content/bootstrap-reboot.min.css
vendored
Normal file
8
F4SDwebService/Publish/Content/bootstrap-reboot.min.css
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v4.6.2 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2022 The Bootstrap Authors
|
||||
* Copyright 2011-2022 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
||||
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
||||
File diff suppressed because one or more lines are too long
10332
F4SDwebService/Publish/Content/bootstrap.css
vendored
Normal file
10332
F4SDwebService/Publish/Content/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
F4SDwebService/Publish/Content/bootstrap.css.map
Normal file
1
F4SDwebService/Publish/Content/bootstrap.css.map
Normal file
File diff suppressed because one or more lines are too long
7
F4SDwebService/Publish/Content/bootstrap.min.css
vendored
Normal file
7
F4SDwebService/Publish/Content/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
F4SDwebService/Publish/Content/bootstrap.min.css.map
Normal file
1
F4SDwebService/Publish/Content/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
1
F4SDwebService/Publish/Global.asax
Normal file
1
F4SDwebService/Publish/Global.asax
Normal file
@@ -0,0 +1 @@
|
||||
<%@ Application Codebehind="Global.asax.cs" Inherits="F4SDwebService.WebApiApplication" Language="C#" %>
|
||||
12
F4SDwebService/Publish/License/F4SD_License.xml
Normal file
12
F4SDwebService/Publish/License/F4SD_License.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<C4IT-License-Info Product="First Aid Service Desk (F4SD)" Id="776D99A6-D341-4B70-BA4B-2CC55B76A079">
|
||||
<License Id="FAE53860-0AE2-4A15-A5D5-7E56D4D29FDE" Revision="1.0" Type="PRODUCTIVE" Customer="Consulting4IT" CustomerId="A3A5E66E-6A91-44E2-9F3A-F04C67642BCB" StartDate="2024-12-01" EndDate="2025-12-31" Signature="SeNeSrKAq/rnvCVui7TMBHkTS4AnygizDBNdLe1w7EdMGaQ2xxTvOcsOrshwqznK/shgGvxofdux0YWV3XyxWeeGwfKqjPobWOnKhp5v3xfeVk+59dx29Yn3/4j+vcJrs8kBhOrZEAkeAHojFVZYsO/SbqWoOcqP5fDw673gjW8=">
|
||||
<License-Metrics Type="ManagedUsers" Count="10000" />
|
||||
<Modules>
|
||||
<Module Name="F4SD client agent connector" Id="F8A3284C-E481-4D08-A921-949D2EBD4E0B" />
|
||||
<Module Name="MS Active Directory connector" Id="B2D48023-56E8-44D5-AB77-BE1DCF4EA4EB" />
|
||||
<Module Name="Matrix42 WPM conntector" Id="9CE1A6BE-6A0C-4A27-94A5-44AB997B8E62" />
|
||||
<Module Name="Nexthink NXQL conntector" Id="51EA7764-3AD3-4F90-89DB-DEB0C60D655C" />
|
||||
</Modules>
|
||||
</License>
|
||||
</C4IT-License-Info>
|
||||
BIN
F4SDwebService/Publish/MediaContent/F4SD-Intro-001.mov
Normal file
BIN
F4SDwebService/Publish/MediaContent/F4SD-Intro-001.mov
Normal file
Binary file not shown.
220
F4SDwebService/Publish/Scripts/README.md
Normal file
220
F4SDwebService/Publish/Scripts/README.md
Normal file
@@ -0,0 +1,220 @@
|
||||
<!-- IGNORE THE HTML BLOCK BELOW, THE INTERESTING PART IS AFTER IT -->
|
||||
|
||||
<h1 align="center">Popper.js</h1>
|
||||
|
||||
<p align="center">
|
||||
<strong>A library used to position poppers in web applications.</strong>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="http://badge-size.now.sh/https://unpkg.com/popper.js/dist/popper.min.js?compression=brotli" alt="Stable Release Size"/>
|
||||
<img src="http://badge-size.now.sh/https://unpkg.com/popper.js/dist/popper.min.js?compression=gzip" alt="Stable Release Size"/>
|
||||
<a href="https://codeclimate.com/github/FezVrasta/popper.js/coverage"><img src="https://codeclimate.com/github/FezVrasta/popper.js/badges/coverage.svg" alt="Istanbul Code Coverage"/></a>
|
||||
<a href="https://www.npmjs.com/browse/depended/popper.js"><img src="https://badgen.net/npm/dependents/popper.js" alt="Dependents packages" /></a>
|
||||
<a href="https://spectrum.chat/popper-js" target="_blank"><img src="https://img.shields.io/badge/chat-on_spectrum-6833F9.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyBpZD0iTGl2ZWxsb18xIiBkYXRhLW5hbWU9IkxpdmVsbG8gMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAgOCI%2BPGRlZnM%2BPHN0eWxlPi5jbHMtMXtmaWxsOiNmZmY7fTwvc3R5bGU%2BPC9kZWZzPjx0aXRsZT5zcGVjdHJ1bTwvdGl0bGU%2BPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNSwwQy40MiwwLDAsLjYzLDAsMy4zNGMwLDEuODQuMTksMi43MiwxLjc0LDMuMWgwVjcuNThhLjQ0LjQ0LDAsMCwwLC42OC4zNUw0LjM1LDYuNjlINWM0LjU4LDAsNS0uNjMsNS0zLjM1UzkuNTgsMCw1LDBaTTIuODMsNC4xOGEuNjMuNjMsMCwxLDEsLjY1LS42M0EuNjQuNjQsMCwwLDEsMi44Myw0LjE4Wk01LDQuMThhLjYzLjYzLDAsMSwxLC42NS0uNjNBLjY0LjY0LDAsMCwxLDUsNC4xOFptMi4xNywwYS42My42MywwLDEsMSwuNjUtLjYzQS42NC42NCwwLDAsMSw3LjE3LDQuMThaIi8%2BPC9zdmc%2B" alt="Get support or discuss"/></a>
|
||||
<br />
|
||||
<a href="https://travis-ci.org/FezVrasta/popper.js/branches" target="_blank"><img src="https://travis-ci.org/FezVrasta/popper.js.svg?branch=master" alt="Build Status"/></a>
|
||||
<a href="https://saucelabs.com/u/popperjs" target="_blank"><img src="https://badges.herokuapp.com/browsers?labels=none&googlechrome=latest&firefox=latestµsoftedge=latest&iexplore=11,10&safari=latest" alt="SauceLabs Reports"/></a>
|
||||
</p>
|
||||
|
||||
<img src="https://raw.githubusercontent.com/FezVrasta/popper.js/master/popperjs.png" align="right" width=250 />
|
||||
|
||||
<!-- 🚨 HEY! HERE BEGINS THE INTERESTING STUFF 🚨 -->
|
||||
|
||||
## Wut? Poppers?
|
||||
|
||||
A popper is an element on the screen which "pops out" from the natural flow of your application.
|
||||
Common examples of poppers are tooltips, popovers and drop-downs.
|
||||
|
||||
|
||||
## So, yet another tooltip library?
|
||||
|
||||
Well, basically, **no**.
|
||||
Popper.js is a **positioning engine**, its purpose is to calculate the position of an element
|
||||
to make it possible to position it near a given reference element.
|
||||
|
||||
The engine is completely modular and most of its features are implemented as **modifiers**
|
||||
(similar to middlewares or plugins).
|
||||
The whole code base is written in ES2015 and its features are automatically tested on real browsers thanks to [SauceLabs](https://saucelabs.com/) and [TravisCI](https://travis-ci.org/).
|
||||
|
||||
Popper.js has zero dependencies. No jQuery, no LoDash, nothing.
|
||||
It's used by big companies like [Twitter in Bootstrap v4](https://getbootstrap.com/), [Microsoft in WebClipper](https://github.com/OneNoteDev/WebClipper) and [Atlassian in AtlasKit](https://aui-cdn.atlassian.com/atlaskit/registry/).
|
||||
|
||||
### Popper.js
|
||||
|
||||
This is the engine, the library that computes and, optionally, applies the styles to
|
||||
the poppers.
|
||||
|
||||
Some of the key points are:
|
||||
|
||||
- Position elements keeping them in their original DOM context (doesn't mess with your DOM!);
|
||||
- Allows to export the computed informations to integrate with React and other view libraries;
|
||||
- Supports Shadow DOM elements;
|
||||
- Completely customizable thanks to the modifiers based structure;
|
||||
|
||||
Visit our [project page](https://fezvrasta.github.io/popper.js) to see a lot of examples of what you can do with Popper.js!
|
||||
|
||||
Find [the documentation here](/docs/_includes/popper-documentation.md).
|
||||
|
||||
|
||||
### Tooltip.js
|
||||
|
||||
Since lots of users just need a simple way to integrate powerful tooltips in their projects,
|
||||
we created **Tooltip.js**.
|
||||
It's a small library that makes it easy to automatically create tooltips using as engine Popper.js.
|
||||
Its API is almost identical to the famous tooltip system of Bootstrap, in this way it will be
|
||||
easy to integrate it in your projects.
|
||||
The tooltips generated by Tooltip.js are accessible thanks to the `aria` tags.
|
||||
|
||||
Find [the documentation here](/docs/_includes/tooltip-documentation.md).
|
||||
|
||||
|
||||
## Installation
|
||||
Popper.js is available on the following package managers and CDNs:
|
||||
|
||||
| Source | |
|
||||
|:-------|:---------------------------------------------------------------------------------|
|
||||
| npm | `npm install popper.js --save` |
|
||||
| yarn | `yarn add popper.js` |
|
||||
| NuGet | `PM> Install-Package popper.js` |
|
||||
| Bower | `bower install popper.js --save` |
|
||||
| unpkg | [`https://unpkg.com/popper.js`](https://unpkg.com/popper.js) |
|
||||
| cdnjs | [`https://cdnjs.com/libraries/popper.js`](https://cdnjs.com/libraries/popper.js) |
|
||||
|
||||
Tooltip.js as well:
|
||||
|
||||
| Source | |
|
||||
|:-------|:---------------------------------------------------------------------------------|
|
||||
| npm | `npm install tooltip.js --save` |
|
||||
| yarn | `yarn add tooltip.js` |
|
||||
| Bower* | `bower install tooltip.js=https://unpkg.com/tooltip.js --save` |
|
||||
| unpkg | [`https://unpkg.com/tooltip.js`](https://unpkg.com/tooltip.js) |
|
||||
| cdnjs | [`https://cdnjs.com/libraries/popper.js`](https://cdnjs.com/libraries/popper.js) |
|
||||
|
||||
\*: Bower isn't officially supported, it can be used to install Tooltip.js only trough the unpkg.com CDN. This method has the limitation of not being able to define a specific version of the library. Bower and Popper.js suggests to use npm or Yarn for your projects.
|
||||
For more info, [read the related issue](https://github.com/FezVrasta/popper.js/issues/390).
|
||||
|
||||
### Dist targets
|
||||
|
||||
Popper.js is currently shipped with 3 targets in mind: UMD, ESM and ESNext.
|
||||
|
||||
- UMD - Universal Module Definition: AMD, RequireJS and globals;
|
||||
- ESM - ES Modules: For webpack/Rollup or browser supporting the spec;
|
||||
- ESNext: Available in `dist/`, can be used with webpack and `babel-preset-env`;
|
||||
|
||||
Make sure to use the right one for your needs. If you want to import it with a `<script>` tag, use UMD.
|
||||
|
||||
## Usage
|
||||
|
||||
Given an existing popper DOM node, ask Popper.js to position it near its button
|
||||
|
||||
```js
|
||||
var reference = document.querySelector('.my-button');
|
||||
var popper = document.querySelector('.my-popper');
|
||||
var anotherPopper = new Popper(
|
||||
reference,
|
||||
popper,
|
||||
{
|
||||
// popper options here
|
||||
}
|
||||
);
|
||||
```
|
||||
|
||||
### Callbacks
|
||||
|
||||
Popper.js supports two kinds of callbacks, the `onCreate` callback is called after
|
||||
the popper has been initialized. The `onUpdate` one is called on any subsequent update.
|
||||
|
||||
```js
|
||||
const reference = document.querySelector('.my-button');
|
||||
const popper = document.querySelector('.my-popper');
|
||||
new Popper(reference, popper, {
|
||||
onCreate: (data) => {
|
||||
// data is an object containing all the informations computed
|
||||
// by Popper.js and used to style the popper and its arrow
|
||||
// The complete description is available in Popper.js documentation
|
||||
},
|
||||
onUpdate: (data) => {
|
||||
// same as `onCreate` but called on subsequent updates
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
### Writing your own modifiers
|
||||
|
||||
Popper.js is based on a "plugin-like" architecture, most of its features are fully encapsulated "modifiers".
|
||||
A modifier is a function that is called each time Popper.js needs to compute the position of the popper. For this reason, modifiers should be very performant to avoid bottlenecks.
|
||||
|
||||
To learn how to create a modifier, [read the modifiers documentation](docs/_includes/popper-documentation.md#modifiers--object)
|
||||
|
||||
|
||||
### React, Vue.js, Angular, AngularJS, Ember.js (etc...) integration
|
||||
|
||||
Integrating 3rd party libraries in React or other libraries can be a pain because
|
||||
they usually alter the DOM and drive the libraries crazy.
|
||||
Popper.js limits all its DOM modifications inside the `applyStyle` modifier,
|
||||
you can simply disable it and manually apply the popper coordinates using
|
||||
your library of choice.
|
||||
|
||||
For a comprehensive list of libraries that let you use Popper.js into existing
|
||||
frameworks, visit the [MENTIONS](/MENTIONS.md) page.
|
||||
|
||||
Alternatively, you may even override your own `applyStyles` with your custom one and
|
||||
integrate Popper.js by yourself!
|
||||
|
||||
```js
|
||||
function applyReactStyle(data) {
|
||||
// export data in your framework and use its content to apply the style to your popper
|
||||
};
|
||||
|
||||
const reference = document.querySelector('.my-button');
|
||||
const popper = document.querySelector('.my-popper');
|
||||
new Popper(reference, popper, {
|
||||
modifiers: {
|
||||
applyStyle: { enabled: false },
|
||||
applyReactStyle: {
|
||||
enabled: true,
|
||||
fn: applyReactStyle,
|
||||
order: 800,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
### Migration from Popper.js v0
|
||||
|
||||
Since the API changed, we prepared some migration instructions to make it easy to upgrade to
|
||||
Popper.js v1.
|
||||
|
||||
https://github.com/FezVrasta/popper.js/issues/62
|
||||
|
||||
Feel free to comment inside the issue if you have any questions.
|
||||
|
||||
### Performances
|
||||
|
||||
Popper.js is very performant. It usually takes 0.5ms to compute a popper's position (on an iMac with 3.5G GHz Intel Core i5).
|
||||
This means that it will not cause any [jank](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/anatomy-of-jank), leading to a smooth user experience.
|
||||
|
||||
## Notes
|
||||
|
||||
### Libraries using Popper.js
|
||||
|
||||
The aim of Popper.js is to provide a stable and powerful positioning engine ready to
|
||||
be used in 3rd party libraries.
|
||||
|
||||
Visit the [MENTIONS](/MENTIONS.md) page for an updated list of projects.
|
||||
|
||||
|
||||
### Credits
|
||||
I want to thank some friends and projects for the work they did:
|
||||
|
||||
- [@AndreaScn](https://github.com/AndreaScn) for his work on the GitHub Page and the manual testing he did during the development;
|
||||
- [@vampolo](https://github.com/vampolo) for the original idea and for the name of the library;
|
||||
- [Sysdig](https://github.com/Draios) for all the awesome things I learned during these years that made it possible for me to write this library;
|
||||
- [Tether.js](http://github.hubspot.com/tether/) for having inspired me in writing a positioning library ready for the real world;
|
||||
- [The Contributors](https://github.com/FezVrasta/popper.js/graphs/contributors) for their much appreciated Pull Requests and bug reports;
|
||||
- **you** for the star you'll give to this project and for being so awesome to give this project a try 🙂
|
||||
|
||||
### Copyright and license
|
||||
Code and documentation copyright 2016 **Federico Zivolo**. Code released under the [MIT license](LICENSE.md). Docs released under Creative Commons.
|
||||
6971
F4SDwebService/Publish/Scripts/bootstrap.bundle.js
vendored
Normal file
6971
F4SDwebService/Publish/Scripts/bootstrap.bundle.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
F4SDwebService/Publish/Scripts/bootstrap.bundle.js.map
Normal file
1
F4SDwebService/Publish/Scripts/bootstrap.bundle.js.map
Normal file
File diff suppressed because one or more lines are too long
7
F4SDwebService/Publish/Scripts/bootstrap.bundle.min.js
vendored
Normal file
7
F4SDwebService/Publish/Scripts/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4356
F4SDwebService/Publish/Scripts/bootstrap.js
vendored
Normal file
4356
F4SDwebService/Publish/Scripts/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
F4SDwebService/Publish/Scripts/bootstrap.js.map
Normal file
1
F4SDwebService/Publish/Scripts/bootstrap.js.map
Normal file
File diff suppressed because one or more lines are too long
7
F4SDwebService/Publish/Scripts/bootstrap.min.js
vendored
Normal file
7
F4SDwebService/Publish/Scripts/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
F4SDwebService/Publish/Scripts/bootstrap.min.js.map
Normal file
1
F4SDwebService/Publish/Scripts/bootstrap.min.js.map
Normal file
File diff suppressed because one or more lines are too long
1113
F4SDwebService/Publish/Scripts/esm/popper-utils.js
Normal file
1113
F4SDwebService/Publish/Scripts/esm/popper-utils.js
Normal file
File diff suppressed because it is too large
Load Diff
1
F4SDwebService/Publish/Scripts/esm/popper-utils.js.map
Normal file
1
F4SDwebService/Publish/Scripts/esm/popper-utils.js.map
Normal file
File diff suppressed because one or more lines are too long
5
F4SDwebService/Publish/Scripts/esm/popper-utils.min.js
vendored
Normal file
5
F4SDwebService/Publish/Scripts/esm/popper-utils.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2616
F4SDwebService/Publish/Scripts/esm/popper.js
Normal file
2616
F4SDwebService/Publish/Scripts/esm/popper.js
Normal file
File diff suppressed because it is too large
Load Diff
1
F4SDwebService/Publish/Scripts/esm/popper.js.map
Normal file
1
F4SDwebService/Publish/Scripts/esm/popper.js.map
Normal file
File diff suppressed because one or more lines are too long
5
F4SDwebService/Publish/Scripts/esm/popper.min.js
vendored
Normal file
5
F4SDwebService/Publish/Scripts/esm/popper.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
F4SDwebService/Publish/Scripts/esm/popper.min.js.map
Normal file
1
F4SDwebService/Publish/Scripts/esm/popper.min.js.map
Normal file
File diff suppressed because one or more lines are too long
156
F4SDwebService/Publish/Scripts/index.js.flow
Normal file
156
F4SDwebService/Publish/Scripts/index.js.flow
Normal file
@@ -0,0 +1,156 @@
|
||||
// @flow
|
||||
|
||||
export type Position = 'top' | 'right' | 'bottom' | 'left';
|
||||
|
||||
export type Placement =
|
||||
| 'auto-start'
|
||||
| 'auto'
|
||||
| 'auto-end'
|
||||
| 'top-start'
|
||||
| 'top'
|
||||
| 'top-end'
|
||||
| 'right-start'
|
||||
| 'right'
|
||||
| 'right-end'
|
||||
| 'bottom-end'
|
||||
| 'bottom'
|
||||
| 'bottom-start'
|
||||
| 'left-end'
|
||||
| 'left'
|
||||
| 'left-start';
|
||||
|
||||
export type Offset = {
|
||||
top: number,
|
||||
left: number,
|
||||
width: number,
|
||||
height: number,
|
||||
position: Position,
|
||||
};
|
||||
|
||||
export type Boundary = 'scrollParent' | 'viewport' | 'window';
|
||||
|
||||
export type Behavior = 'flip' | 'clockwise' | 'counterclockwise';
|
||||
|
||||
export type Data = {
|
||||
instance: Popper,
|
||||
placement: Placement,
|
||||
originalPlacement: Placement,
|
||||
flipped: boolean,
|
||||
hide: boolean,
|
||||
arrowElement: Element,
|
||||
styles: CSSStyleDeclaration,
|
||||
arrowStyles: CSSStyleDeclaration,
|
||||
boundaries: Object,
|
||||
offsets: {
|
||||
popper: Offset,
|
||||
reference: Offset,
|
||||
arrow: {
|
||||
top: number,
|
||||
left: number,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export type ModifierFn = (data: Data, options: Object) => Data;
|
||||
|
||||
export type Padding = {
|
||||
top?: number,
|
||||
bottom?: number,
|
||||
left?: number,
|
||||
right?: number,
|
||||
};
|
||||
|
||||
export type BaseModifier = {
|
||||
order?: number,
|
||||
enabled?: boolean,
|
||||
fn?: ModifierFn,
|
||||
};
|
||||
|
||||
export type Modifiers = {
|
||||
shift?: BaseModifier,
|
||||
offset?: BaseModifier & {
|
||||
offset?: number | string,
|
||||
},
|
||||
preventOverflow?: BaseModifier & {
|
||||
priority?: Position[],
|
||||
padding?: number | Padding,
|
||||
boundariesElement?: Boundary | Element,
|
||||
escapeWithReference?: boolean,
|
||||
},
|
||||
keepTogether?: BaseModifier,
|
||||
arrow?: BaseModifier & {
|
||||
element?: string | Element | null,
|
||||
},
|
||||
flip?: BaseModifier & {
|
||||
behavior?: Behavior | Position[],
|
||||
padding?: number | Padding,
|
||||
boundariesElement?: Boundary | Element,
|
||||
flipVariations?: boolean,
|
||||
flipVariationsByContent?: boolean,
|
||||
},
|
||||
inner?: BaseModifier,
|
||||
hide?: BaseModifier,
|
||||
applyStyle?: BaseModifier & {
|
||||
onLoad?: Function,
|
||||
gpuAcceleration?: boolean,
|
||||
},
|
||||
computeStyle?: BaseModifier & {
|
||||
gpuAcceleration?: boolean,
|
||||
x?: 'bottom' | 'top',
|
||||
y?: 'left' | 'right',
|
||||
},
|
||||
|
||||
[name: string]: (BaseModifier & { [string]: * }) | null,
|
||||
};
|
||||
|
||||
export type Options = {
|
||||
placement?: Placement,
|
||||
positionFixed?: boolean,
|
||||
eventsEnabled?: boolean,
|
||||
modifiers?: Modifiers,
|
||||
removeOnDestroy?: boolean,
|
||||
|
||||
onCreate?: (data: Data) => void,
|
||||
|
||||
onUpdate?: (data: Data) => void,
|
||||
};
|
||||
|
||||
export type ReferenceObject = {
|
||||
+clientHeight: number,
|
||||
+clientWidth: number,
|
||||
+referenceNode?: Node,
|
||||
|
||||
getBoundingClientRect():
|
||||
| ClientRect
|
||||
| {
|
||||
width: number,
|
||||
height: number,
|
||||
top: number,
|
||||
right: number,
|
||||
bottom: number,
|
||||
left: number,
|
||||
},
|
||||
};
|
||||
|
||||
export type Instance = {
|
||||
destroy: () => void,
|
||||
scheduleUpdate: () => void,
|
||||
update: () => void,
|
||||
enableEventListeners: () => void,
|
||||
disableEventListeners: () => void,
|
||||
};
|
||||
|
||||
declare class Popper {
|
||||
static placements: Placement;
|
||||
|
||||
popper: Element;
|
||||
reference: Element | ReferenceObject;
|
||||
|
||||
constructor(
|
||||
reference: Element | ReferenceObject,
|
||||
popper: Element,
|
||||
options?: Options
|
||||
): Instance;
|
||||
}
|
||||
|
||||
declare export default typeof Popper;
|
||||
10716
F4SDwebService/Publish/Scripts/jquery-3.7.1.js
vendored
Normal file
10716
F4SDwebService/Publish/Scripts/jquery-3.7.1.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2
F4SDwebService/Publish/Scripts/jquery-3.7.1.min.js
vendored
Normal file
2
F4SDwebService/Publish/Scripts/jquery-3.7.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
F4SDwebService/Publish/Scripts/jquery-3.7.1.min.map
Normal file
1
F4SDwebService/Publish/Scripts/jquery-3.7.1.min.map
Normal file
File diff suppressed because one or more lines are too long
8617
F4SDwebService/Publish/Scripts/jquery-3.7.1.slim.js
Normal file
8617
F4SDwebService/Publish/Scripts/jquery-3.7.1.slim.js
Normal file
File diff suppressed because it is too large
Load Diff
2
F4SDwebService/Publish/Scripts/jquery-3.7.1.slim.min.js
vendored
Normal file
2
F4SDwebService/Publish/Scripts/jquery-3.7.1.slim.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
F4SDwebService/Publish/Scripts/jquery-3.7.1.slim.min.map
Normal file
1
F4SDwebService/Publish/Scripts/jquery-3.7.1.slim.min.map
Normal file
File diff suppressed because one or more lines are too long
1406
F4SDwebService/Publish/Scripts/modernizr-2.8.3.js
vendored
Normal file
1406
F4SDwebService/Publish/Scripts/modernizr-2.8.3.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1062
F4SDwebService/Publish/Scripts/popper-utils.js
Normal file
1062
F4SDwebService/Publish/Scripts/popper-utils.js
Normal file
File diff suppressed because it is too large
Load Diff
1
F4SDwebService/Publish/Scripts/popper-utils.js.map
Normal file
1
F4SDwebService/Publish/Scripts/popper-utils.js.map
Normal file
File diff suppressed because one or more lines are too long
5
F4SDwebService/Publish/Scripts/popper-utils.min.js
vendored
Normal file
5
F4SDwebService/Publish/Scripts/popper-utils.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
F4SDwebService/Publish/Scripts/popper-utils.min.js.map
Normal file
1
F4SDwebService/Publish/Scripts/popper-utils.min.js.map
Normal file
File diff suppressed because one or more lines are too long
2462
F4SDwebService/Publish/Scripts/popper.js
Normal file
2462
F4SDwebService/Publish/Scripts/popper.js
Normal file
File diff suppressed because it is too large
Load Diff
1
F4SDwebService/Publish/Scripts/popper.js.map
Normal file
1
F4SDwebService/Publish/Scripts/popper.js.map
Normal file
File diff suppressed because one or more lines are too long
5
F4SDwebService/Publish/Scripts/popper.min.js
vendored
Normal file
5
F4SDwebService/Publish/Scripts/popper.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
F4SDwebService/Publish/Scripts/popper.min.js.map
Normal file
1
F4SDwebService/Publish/Scripts/popper.min.js.map
Normal file
File diff suppressed because one or more lines are too long
154
F4SDwebService/Publish/Scripts/src/index.js
Normal file
154
F4SDwebService/Publish/Scripts/src/index.js
Normal file
@@ -0,0 +1,154 @@
|
||||
// Utils
|
||||
import debounce from './utils/debounce';
|
||||
import isFunction from './utils/isFunction';
|
||||
|
||||
// Methods
|
||||
import update from './methods/update';
|
||||
import destroy from './methods/destroy';
|
||||
import enableEventListeners from './methods/enableEventListeners';
|
||||
import disableEventListeners from './methods/disableEventListeners';
|
||||
import Defaults from './methods/defaults';
|
||||
import placements from './methods/placements';
|
||||
|
||||
export default class Popper {
|
||||
/**
|
||||
* Creates a new Popper.js instance.
|
||||
* @class Popper
|
||||
* @param {Element|referenceObject} reference - The reference element used to position the popper
|
||||
* @param {Element} popper - The HTML / XML element used as the popper
|
||||
* @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)
|
||||
* @return {Object} instance - The generated Popper.js instance
|
||||
*/
|
||||
constructor(reference, popper, options = {}) {
|
||||
// make update() debounced, so that it only runs at most once-per-tick
|
||||
this.update = debounce(this.update.bind(this));
|
||||
|
||||
// with {} we create a new object with the options inside it
|
||||
this.options = { ...Popper.Defaults, ...options };
|
||||
|
||||
// init state
|
||||
this.state = {
|
||||
isDestroyed: false,
|
||||
isCreated: false,
|
||||
scrollParents: [],
|
||||
};
|
||||
|
||||
// get reference and popper elements (allow jQuery wrappers)
|
||||
this.reference = reference && reference.jquery ? reference[0] : reference;
|
||||
this.popper = popper && popper.jquery ? popper[0] : popper;
|
||||
|
||||
// Deep merge modifiers options
|
||||
this.options.modifiers = {};
|
||||
Object.keys({
|
||||
...Popper.Defaults.modifiers,
|
||||
...options.modifiers,
|
||||
}).forEach(name => {
|
||||
this.options.modifiers[name] = {
|
||||
// If it's a built-in modifier, use it as base
|
||||
...(Popper.Defaults.modifiers[name] || {}),
|
||||
// If there are custom options, override and merge with default ones
|
||||
...(options.modifiers ? options.modifiers[name] : {}),
|
||||
};
|
||||
});
|
||||
|
||||
// Refactoring modifiers' list (Object => Array)
|
||||
this.modifiers = Object.keys(this.options.modifiers)
|
||||
.map(name => ({
|
||||
name,
|
||||
...this.options.modifiers[name],
|
||||
}))
|
||||
// sort the modifiers by order
|
||||
.sort((a, b) => a.order - b.order);
|
||||
|
||||
// modifiers have the ability to execute arbitrary code when Popper.js get inited
|
||||
// such code is executed in the same order of its modifier
|
||||
// they could add new properties to their options configuration
|
||||
// BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!
|
||||
this.modifiers.forEach(modifierOptions => {
|
||||
if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {
|
||||
modifierOptions.onLoad(
|
||||
this.reference,
|
||||
this.popper,
|
||||
this.options,
|
||||
modifierOptions,
|
||||
this.state
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
// fire the first update to position the popper in the right place
|
||||
this.update();
|
||||
|
||||
const eventsEnabled = this.options.eventsEnabled;
|
||||
if (eventsEnabled) {
|
||||
// setup event listeners, they will take care of update the position in specific situations
|
||||
this.enableEventListeners();
|
||||
}
|
||||
|
||||
this.state.eventsEnabled = eventsEnabled;
|
||||
}
|
||||
|
||||
// We can't use class properties because they don't get listed in the
|
||||
// class prototype and break stuff like Sinon stubs
|
||||
update() {
|
||||
return update.call(this);
|
||||
}
|
||||
destroy() {
|
||||
return destroy.call(this);
|
||||
}
|
||||
enableEventListeners() {
|
||||
return enableEventListeners.call(this);
|
||||
}
|
||||
disableEventListeners() {
|
||||
return disableEventListeners.call(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Schedules an update. It will run on the next UI update available.
|
||||
* @method scheduleUpdate
|
||||
* @memberof Popper
|
||||
*/
|
||||
scheduleUpdate = () => requestAnimationFrame(this.update);
|
||||
|
||||
/**
|
||||
* Collection of utilities useful when writing custom modifiers.
|
||||
* Starting from version 1.7, this method is available only if you
|
||||
* include `popper-utils.js` before `popper.js`.
|
||||
*
|
||||
* **DEPRECATION**: This way to access PopperUtils is deprecated
|
||||
* and will be removed in v2! Use the PopperUtils module directly instead.
|
||||
* Due to the high instability of the methods contained in Utils, we can't
|
||||
* guarantee them to follow semver. Use them at your own risk!
|
||||
* @static
|
||||
* @private
|
||||
* @type {Object}
|
||||
* @deprecated since version 1.8
|
||||
* @member Utils
|
||||
* @memberof Popper
|
||||
*/
|
||||
static Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;
|
||||
|
||||
static placements = placements;
|
||||
|
||||
static Defaults = Defaults;
|
||||
}
|
||||
|
||||
/**
|
||||
* The `referenceObject` is an object that provides an interface compatible with Popper.js
|
||||
* and lets you use it as replacement of a real DOM node.<br />
|
||||
* You can use this method to position a popper relatively to a set of coordinates
|
||||
* in case you don't have a DOM node to use as reference.
|
||||
*
|
||||
* ```
|
||||
* new Popper(referenceObject, popperNode);
|
||||
* ```
|
||||
*
|
||||
* NB: This feature isn't supported in Internet Explorer 10.
|
||||
* @name referenceObject
|
||||
* @property {Function} data.getBoundingClientRect
|
||||
* A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.
|
||||
* @property {number} data.clientWidth
|
||||
* An ES6 getter that will return the width of the virtual reference element.
|
||||
* @property {number} data.clientHeight
|
||||
* An ES6 getter that will return the height of the virtual reference element.
|
||||
*/
|
||||
79
F4SDwebService/Publish/Scripts/src/methods/defaults.js
Normal file
79
F4SDwebService/Publish/Scripts/src/methods/defaults.js
Normal file
@@ -0,0 +1,79 @@
|
||||
import modifiers from '../modifiers/index';
|
||||
|
||||
/**
|
||||
* Default options provided to Popper.js constructor.<br />
|
||||
* These can be overridden using the `options` argument of Popper.js.<br />
|
||||
* To override an option, simply pass an object with the same
|
||||
* structure of the `options` object, as the 3rd argument. For example:
|
||||
* ```
|
||||
* new Popper(ref, pop, {
|
||||
* modifiers: {
|
||||
* preventOverflow: { enabled: false }
|
||||
* }
|
||||
* })
|
||||
* ```
|
||||
* @type {Object}
|
||||
* @static
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default {
|
||||
/**
|
||||
* Popper's placement.
|
||||
* @prop {Popper.placements} placement='bottom'
|
||||
*/
|
||||
placement: 'bottom',
|
||||
|
||||
/**
|
||||
* Set this to true if you want popper to position it self in 'fixed' mode
|
||||
* @prop {Boolean} positionFixed=false
|
||||
*/
|
||||
positionFixed: false,
|
||||
|
||||
/**
|
||||
* Whether events (resize, scroll) are initially enabled.
|
||||
* @prop {Boolean} eventsEnabled=true
|
||||
*/
|
||||
eventsEnabled: true,
|
||||
|
||||
/**
|
||||
* Set to true if you want to automatically remove the popper when
|
||||
* you call the `destroy` method.
|
||||
* @prop {Boolean} removeOnDestroy=false
|
||||
*/
|
||||
removeOnDestroy: false,
|
||||
|
||||
/**
|
||||
* Callback called when the popper is created.<br />
|
||||
* By default, it is set to no-op.<br />
|
||||
* Access Popper.js instance with `data.instance`.
|
||||
* @prop {onCreate}
|
||||
*/
|
||||
onCreate: () => {},
|
||||
|
||||
/**
|
||||
* Callback called when the popper is updated. This callback is not called
|
||||
* on the initialization/creation of the popper, but only on subsequent
|
||||
* updates.<br />
|
||||
* By default, it is set to no-op.<br />
|
||||
* Access Popper.js instance with `data.instance`.
|
||||
* @prop {onUpdate}
|
||||
*/
|
||||
onUpdate: () => {},
|
||||
|
||||
/**
|
||||
* List of modifiers used to modify the offsets before they are applied to the popper.
|
||||
* They provide most of the functionalities of Popper.js.
|
||||
* @prop {modifiers}
|
||||
*/
|
||||
modifiers,
|
||||
};
|
||||
|
||||
/**
|
||||
* @callback onCreate
|
||||
* @param {dataObject} data
|
||||
*/
|
||||
|
||||
/**
|
||||
* @callback onUpdate
|
||||
* @param {dataObject} data
|
||||
*/
|
||||
32
F4SDwebService/Publish/Scripts/src/methods/destroy.js
Normal file
32
F4SDwebService/Publish/Scripts/src/methods/destroy.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import isModifierEnabled from '../utils/isModifierEnabled';
|
||||
import getSupportedPropertyName from '../utils/getSupportedPropertyName';
|
||||
|
||||
/**
|
||||
* Destroys the popper.
|
||||
* @method
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default function destroy() {
|
||||
this.state.isDestroyed = true;
|
||||
|
||||
// touch DOM only if `applyStyle` modifier is enabled
|
||||
if (isModifierEnabled(this.modifiers, 'applyStyle')) {
|
||||
this.popper.removeAttribute('x-placement');
|
||||
this.popper.style.position = '';
|
||||
this.popper.style.top = '';
|
||||
this.popper.style.left = '';
|
||||
this.popper.style.right = '';
|
||||
this.popper.style.bottom = '';
|
||||
this.popper.style.willChange = '';
|
||||
this.popper.style[getSupportedPropertyName('transform')] = '';
|
||||
}
|
||||
|
||||
this.disableEventListeners();
|
||||
|
||||
// remove the popper if user explicitly asked for the deletion on destroy
|
||||
// do not use `remove` because IE11 doesn't support it
|
||||
if (this.options.removeOnDestroy) {
|
||||
this.popper.parentNode.removeChild(this.popper);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import removeEventListeners from '../utils/removeEventListeners';
|
||||
|
||||
/**
|
||||
* It will remove resize/scroll events and won't recalculate popper position
|
||||
* when they are triggered. It also won't trigger `onUpdate` callback anymore,
|
||||
* unless you call `update` method manually.
|
||||
* @method
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default function disableEventListeners() {
|
||||
if (this.state.eventsEnabled) {
|
||||
cancelAnimationFrame(this.scheduleUpdate);
|
||||
this.state = removeEventListeners(this.reference, this.state);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import setupEventListeners from '../utils/setupEventListeners';
|
||||
|
||||
/**
|
||||
* It will add resize/scroll events and start recalculating
|
||||
* position of the popper element when they are triggered.
|
||||
* @method
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default function enableEventListeners() {
|
||||
if (!this.state.eventsEnabled) {
|
||||
this.state = setupEventListeners(
|
||||
this.reference,
|
||||
this.options,
|
||||
this.state,
|
||||
this.scheduleUpdate
|
||||
);
|
||||
}
|
||||
}
|
||||
48
F4SDwebService/Publish/Scripts/src/methods/placements.js
Normal file
48
F4SDwebService/Publish/Scripts/src/methods/placements.js
Normal file
@@ -0,0 +1,48 @@
|
||||
/**
|
||||
* List of accepted placements to use as values of the `placement` option.<br />
|
||||
* Valid placements are:
|
||||
* - `auto`
|
||||
* - `top`
|
||||
* - `right`
|
||||
* - `bottom`
|
||||
* - `left`
|
||||
*
|
||||
* Each placement can have a variation from this list:
|
||||
* - `-start`
|
||||
* - `-end`
|
||||
*
|
||||
* Variations are interpreted easily if you think of them as the left to right
|
||||
* written languages. Horizontally (`top` and `bottom`), `start` is left and `end`
|
||||
* is right.<br />
|
||||
* Vertically (`left` and `right`), `start` is top and `end` is bottom.
|
||||
*
|
||||
* Some valid examples are:
|
||||
* - `top-end` (on top of reference, right aligned)
|
||||
* - `right-start` (on right of reference, top aligned)
|
||||
* - `bottom` (on bottom, centered)
|
||||
* - `auto-end` (on the side with more space available, alignment depends by placement)
|
||||
*
|
||||
* @static
|
||||
* @type {Array}
|
||||
* @enum {String}
|
||||
* @readonly
|
||||
* @method placements
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default [
|
||||
'auto-start',
|
||||
'auto',
|
||||
'auto-end',
|
||||
'top-start',
|
||||
'top',
|
||||
'top-end',
|
||||
'right-start',
|
||||
'right',
|
||||
'right-end',
|
||||
'bottom-end',
|
||||
'bottom',
|
||||
'bottom-start',
|
||||
'left-end',
|
||||
'left',
|
||||
'left-start',
|
||||
];
|
||||
75
F4SDwebService/Publish/Scripts/src/methods/update.js
Normal file
75
F4SDwebService/Publish/Scripts/src/methods/update.js
Normal file
@@ -0,0 +1,75 @@
|
||||
import computeAutoPlacement from '../utils/computeAutoPlacement';
|
||||
import getReferenceOffsets from '../utils/getReferenceOffsets';
|
||||
import getPopperOffsets from '../utils/getPopperOffsets';
|
||||
import runModifiers from '../utils/runModifiers';
|
||||
|
||||
/**
|
||||
* Updates the position of the popper, computing the new offsets and applying
|
||||
* the new style.<br />
|
||||
* Prefer `scheduleUpdate` over `update` because of performance reasons.
|
||||
* @method
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default function update() {
|
||||
// if popper is destroyed, don't perform any further update
|
||||
if (this.state.isDestroyed) {
|
||||
return;
|
||||
}
|
||||
|
||||
let data = {
|
||||
instance: this,
|
||||
styles: {},
|
||||
arrowStyles: {},
|
||||
attributes: {},
|
||||
flipped: false,
|
||||
offsets: {},
|
||||
};
|
||||
|
||||
// compute reference element offsets
|
||||
data.offsets.reference = getReferenceOffsets(
|
||||
this.state,
|
||||
this.popper,
|
||||
this.reference,
|
||||
this.options.positionFixed
|
||||
);
|
||||
|
||||
// compute auto placement, store placement inside the data object,
|
||||
// modifiers will be able to edit `placement` if needed
|
||||
// and refer to originalPlacement to know the original value
|
||||
data.placement = computeAutoPlacement(
|
||||
this.options.placement,
|
||||
data.offsets.reference,
|
||||
this.popper,
|
||||
this.reference,
|
||||
this.options.modifiers.flip.boundariesElement,
|
||||
this.options.modifiers.flip.padding
|
||||
);
|
||||
|
||||
// store the computed placement inside `originalPlacement`
|
||||
data.originalPlacement = data.placement;
|
||||
|
||||
data.positionFixed = this.options.positionFixed;
|
||||
|
||||
// compute the popper offsets
|
||||
data.offsets.popper = getPopperOffsets(
|
||||
this.popper,
|
||||
data.offsets.reference,
|
||||
data.placement
|
||||
);
|
||||
|
||||
data.offsets.popper.position = this.options.positionFixed
|
||||
? 'fixed'
|
||||
: 'absolute';
|
||||
|
||||
// run the modifiers
|
||||
data = runModifiers(this.modifiers, data);
|
||||
|
||||
// the first `update` will call `onCreate` callback
|
||||
// the other ones will call `onUpdate` callback
|
||||
if (!this.state.isCreated) {
|
||||
this.state.isCreated = true;
|
||||
this.options.onCreate(data);
|
||||
} else {
|
||||
this.options.onUpdate(data);
|
||||
}
|
||||
}
|
||||
73
F4SDwebService/Publish/Scripts/src/modifiers/applyStyle.js
Normal file
73
F4SDwebService/Publish/Scripts/src/modifiers/applyStyle.js
Normal file
@@ -0,0 +1,73 @@
|
||||
import setStyles from '../utils/setStyles';
|
||||
import setAttributes from '../utils/setAttributes';
|
||||
import getReferenceOffsets from '../utils/getReferenceOffsets';
|
||||
import computeAutoPlacement from '../utils/computeAutoPlacement';
|
||||
|
||||
/**
|
||||
* @function
|
||||
* @memberof Modifiers
|
||||
* @argument {Object} data - The data object generated by `update` method
|
||||
* @argument {Object} data.styles - List of style properties - values to apply to popper element
|
||||
* @argument {Object} data.attributes - List of attribute properties - values to apply to popper element
|
||||
* @argument {Object} options - Modifiers configuration and options
|
||||
* @returns {Object} The same data object
|
||||
*/
|
||||
export default function applyStyle(data) {
|
||||
// any property present in `data.styles` will be applied to the popper,
|
||||
// in this way we can make the 3rd party modifiers add custom styles to it
|
||||
// Be aware, modifiers could override the properties defined in the previous
|
||||
// lines of this modifier!
|
||||
setStyles(data.instance.popper, data.styles);
|
||||
|
||||
// any property present in `data.attributes` will be applied to the popper,
|
||||
// they will be set as HTML attributes of the element
|
||||
setAttributes(data.instance.popper, data.attributes);
|
||||
|
||||
// if arrowElement is defined and arrowStyles has some properties
|
||||
if (data.arrowElement && Object.keys(data.arrowStyles).length) {
|
||||
setStyles(data.arrowElement, data.arrowStyles);
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the x-placement attribute before everything else because it could be used
|
||||
* to add margins to the popper margins needs to be calculated to get the
|
||||
* correct popper offsets.
|
||||
* @method
|
||||
* @memberof Popper.modifiers
|
||||
* @param {HTMLElement} reference - The reference element used to position the popper
|
||||
* @param {HTMLElement} popper - The HTML element used as popper
|
||||
* @param {Object} options - Popper.js options
|
||||
*/
|
||||
export function applyStyleOnLoad(
|
||||
reference,
|
||||
popper,
|
||||
options,
|
||||
modifierOptions,
|
||||
state
|
||||
) {
|
||||
// compute reference element offsets
|
||||
const referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);
|
||||
|
||||
// compute auto placement, store placement inside the data object,
|
||||
// modifiers will be able to edit `placement` if needed
|
||||
// and refer to originalPlacement to know the original value
|
||||
const placement = computeAutoPlacement(
|
||||
options.placement,
|
||||
referenceOffsets,
|
||||
popper,
|
||||
reference,
|
||||
options.modifiers.flip.boundariesElement,
|
||||
options.modifiers.flip.padding
|
||||
);
|
||||
|
||||
popper.setAttribute('x-placement', placement);
|
||||
|
||||
// Apply `position` to popper before anything else because
|
||||
// without the position applied we can't guarantee correct computations
|
||||
setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });
|
||||
|
||||
return options;
|
||||
}
|
||||
89
F4SDwebService/Publish/Scripts/src/modifiers/arrow.js
Normal file
89
F4SDwebService/Publish/Scripts/src/modifiers/arrow.js
Normal file
@@ -0,0 +1,89 @@
|
||||
import getClientRect from '../utils/getClientRect';
|
||||
import getOuterSizes from '../utils/getOuterSizes';
|
||||
import isModifierRequired from '../utils/isModifierRequired';
|
||||
import getStyleComputedProperty from '../utils/getStyleComputedProperty';
|
||||
|
||||
/**
|
||||
* @function
|
||||
* @memberof Modifiers
|
||||
* @argument {Object} data - The data object generated by update method
|
||||
* @argument {Object} options - Modifiers configuration and options
|
||||
* @returns {Object} The data object, properly modified
|
||||
*/
|
||||
export default function arrow(data, options) {
|
||||
// arrow depends on keepTogether in order to work
|
||||
if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {
|
||||
return data;
|
||||
}
|
||||
|
||||
let arrowElement = options.element;
|
||||
|
||||
// if arrowElement is a string, suppose it's a CSS selector
|
||||
if (typeof arrowElement === 'string') {
|
||||
arrowElement = data.instance.popper.querySelector(arrowElement);
|
||||
|
||||
// if arrowElement is not found, don't run the modifier
|
||||
if (!arrowElement) {
|
||||
return data;
|
||||
}
|
||||
} else {
|
||||
// if the arrowElement isn't a query selector we must check that the
|
||||
// provided DOM node is child of its popper node
|
||||
if (!data.instance.popper.contains(arrowElement)) {
|
||||
console.warn(
|
||||
'WARNING: `arrow.element` must be child of its popper element!'
|
||||
);
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
const placement = data.placement.split('-')[0];
|
||||
const { popper, reference } = data.offsets;
|
||||
const isVertical = ['left', 'right'].indexOf(placement) !== -1;
|
||||
|
||||
const len = isVertical ? 'height' : 'width';
|
||||
const sideCapitalized = isVertical ? 'Top' : 'Left';
|
||||
const side = sideCapitalized.toLowerCase();
|
||||
const altSide = isVertical ? 'left' : 'top';
|
||||
const opSide = isVertical ? 'bottom' : 'right';
|
||||
const arrowElementSize = getOuterSizes(arrowElement)[len];
|
||||
|
||||
//
|
||||
// extends keepTogether behavior making sure the popper and its
|
||||
// reference have enough pixels in conjunction
|
||||
//
|
||||
|
||||
// top/left side
|
||||
if (reference[opSide] - arrowElementSize < popper[side]) {
|
||||
data.offsets.popper[side] -=
|
||||
popper[side] - (reference[opSide] - arrowElementSize);
|
||||
}
|
||||
// bottom/right side
|
||||
if (reference[side] + arrowElementSize > popper[opSide]) {
|
||||
data.offsets.popper[side] +=
|
||||
reference[side] + arrowElementSize - popper[opSide];
|
||||
}
|
||||
data.offsets.popper = getClientRect(data.offsets.popper);
|
||||
|
||||
// compute center of the popper
|
||||
const center = reference[side] + reference[len] / 2 - arrowElementSize / 2;
|
||||
|
||||
// Compute the sideValue using the updated popper offsets
|
||||
// take popper margin in account because we don't have this info available
|
||||
const css = getStyleComputedProperty(data.instance.popper);
|
||||
const popperMarginSide = parseFloat(css[`margin${sideCapitalized}`]);
|
||||
const popperBorderSide = parseFloat(css[`border${sideCapitalized}Width`]);
|
||||
let sideValue =
|
||||
center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
|
||||
|
||||
// prevent arrowElement from being placed not contiguously to its popper
|
||||
sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);
|
||||
|
||||
data.arrowElement = arrowElement;
|
||||
data.offsets.arrow = {
|
||||
[side]: Math.round(sideValue),
|
||||
[altSide]: '', // make sure to unset any eventual altSide value from the DOM node
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
112
F4SDwebService/Publish/Scripts/src/modifiers/computeStyle.js
Normal file
112
F4SDwebService/Publish/Scripts/src/modifiers/computeStyle.js
Normal file
@@ -0,0 +1,112 @@
|
||||
import getSupportedPropertyName from '../utils/getSupportedPropertyName';
|
||||
import find from '../utils/find';
|
||||
import getOffsetParent from '../utils/getOffsetParent';
|
||||
import getBoundingClientRect from '../utils/getBoundingClientRect';
|
||||
import getRoundedOffsets from '../utils/getRoundedOffsets';
|
||||
import isBrowser from '../utils/isBrowser';
|
||||
|
||||
const isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);
|
||||
|
||||
/**
|
||||
* @function
|
||||
* @memberof Modifiers
|
||||
* @argument {Object} data - The data object generated by `update` method
|
||||
* @argument {Object} options - Modifiers configuration and options
|
||||
* @returns {Object} The data object, properly modified
|
||||
*/
|
||||
export default function computeStyle(data, options) {
|
||||
const { x, y } = options;
|
||||
const { popper } = data.offsets;
|
||||
|
||||
// Remove this legacy support in Popper.js v2
|
||||
const legacyGpuAccelerationOption = find(
|
||||
data.instance.modifiers,
|
||||
modifier => modifier.name === 'applyStyle'
|
||||
).gpuAcceleration;
|
||||
if (legacyGpuAccelerationOption !== undefined) {
|
||||
console.warn(
|
||||
'WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'
|
||||
);
|
||||
}
|
||||
const gpuAcceleration =
|
||||
legacyGpuAccelerationOption !== undefined
|
||||
? legacyGpuAccelerationOption
|
||||
: options.gpuAcceleration;
|
||||
|
||||
const offsetParent = getOffsetParent(data.instance.popper);
|
||||
const offsetParentRect = getBoundingClientRect(offsetParent);
|
||||
|
||||
// Styles
|
||||
const styles = {
|
||||
position: popper.position,
|
||||
};
|
||||
|
||||
const offsets = getRoundedOffsets(
|
||||
data,
|
||||
window.devicePixelRatio < 2 || !isFirefox
|
||||
);
|
||||
|
||||
const sideA = x === 'bottom' ? 'top' : 'bottom';
|
||||
const sideB = y === 'right' ? 'left' : 'right';
|
||||
|
||||
// if gpuAcceleration is set to `true` and transform is supported,
|
||||
// we use `translate3d` to apply the position to the popper we
|
||||
// automatically use the supported prefixed version if needed
|
||||
const prefixedProperty = getSupportedPropertyName('transform');
|
||||
|
||||
// now, let's make a step back and look at this code closely (wtf?)
|
||||
// If the content of the popper grows once it's been positioned, it
|
||||
// may happen that the popper gets misplaced because of the new content
|
||||
// overflowing its reference element
|
||||
// To avoid this problem, we provide two options (x and y), which allow
|
||||
// the consumer to define the offset origin.
|
||||
// If we position a popper on top of a reference element, we can set
|
||||
// `x` to `top` to make the popper grow towards its top instead of
|
||||
// its bottom.
|
||||
let left, top;
|
||||
if (sideA === 'bottom') {
|
||||
// when offsetParent is <html> the positioning is relative to the bottom of the screen (excluding the scrollbar)
|
||||
// and not the bottom of the html element
|
||||
if (offsetParent.nodeName === 'HTML') {
|
||||
top = -offsetParent.clientHeight + offsets.bottom;
|
||||
} else {
|
||||
top = -offsetParentRect.height + offsets.bottom;
|
||||
}
|
||||
} else {
|
||||
top = offsets.top;
|
||||
}
|
||||
if (sideB === 'right') {
|
||||
if (offsetParent.nodeName === 'HTML') {
|
||||
left = -offsetParent.clientWidth + offsets.right;
|
||||
} else {
|
||||
left = -offsetParentRect.width + offsets.right;
|
||||
}
|
||||
} else {
|
||||
left = offsets.left;
|
||||
}
|
||||
if (gpuAcceleration && prefixedProperty) {
|
||||
styles[prefixedProperty] = `translate3d(${left}px, ${top}px, 0)`;
|
||||
styles[sideA] = 0;
|
||||
styles[sideB] = 0;
|
||||
styles.willChange = 'transform';
|
||||
} else {
|
||||
// othwerise, we use the standard `top`, `left`, `bottom` and `right` properties
|
||||
const invertTop = sideA === 'bottom' ? -1 : 1;
|
||||
const invertLeft = sideB === 'right' ? -1 : 1;
|
||||
styles[sideA] = top * invertTop;
|
||||
styles[sideB] = left * invertLeft;
|
||||
styles.willChange = `${sideA}, ${sideB}`;
|
||||
}
|
||||
|
||||
// Attributes
|
||||
const attributes = {
|
||||
'x-placement': data.placement,
|
||||
};
|
||||
|
||||
// Update `data` attributes, styles and arrowStyles
|
||||
data.attributes = { ...attributes, ...data.attributes };
|
||||
data.styles = { ...styles, ...data.styles };
|
||||
data.arrowStyles = { ...data.offsets.arrow, ...data.arrowStyles };
|
||||
|
||||
return data;
|
||||
}
|
||||
146
F4SDwebService/Publish/Scripts/src/modifiers/flip.js
Normal file
146
F4SDwebService/Publish/Scripts/src/modifiers/flip.js
Normal file
@@ -0,0 +1,146 @@
|
||||
import getOppositePlacement from '../utils/getOppositePlacement';
|
||||
import getOppositeVariation from '../utils/getOppositeVariation';
|
||||
import getPopperOffsets from '../utils/getPopperOffsets';
|
||||
import runModifiers from '../utils/runModifiers';
|
||||
import getBoundaries from '../utils/getBoundaries';
|
||||
import isModifierEnabled from '../utils/isModifierEnabled';
|
||||
import clockwise from '../utils/clockwise';
|
||||
|
||||
const BEHAVIORS = {
|
||||
FLIP: 'flip',
|
||||
CLOCKWISE: 'clockwise',
|
||||
COUNTERCLOCKWISE: 'counterclockwise',
|
||||
};
|
||||
|
||||
/**
|
||||
* @function
|
||||
* @memberof Modifiers
|
||||
* @argument {Object} data - The data object generated by update method
|
||||
* @argument {Object} options - Modifiers configuration and options
|
||||
* @returns {Object} The data object, properly modified
|
||||
*/
|
||||
export default function flip(data, options) {
|
||||
// if `inner` modifier is enabled, we can't use the `flip` modifier
|
||||
if (isModifierEnabled(data.instance.modifiers, 'inner')) {
|
||||
return data;
|
||||
}
|
||||
|
||||
if (data.flipped && data.placement === data.originalPlacement) {
|
||||
// seems like flip is trying to loop, probably there's not enough space on any of the flippable sides
|
||||
return data;
|
||||
}
|
||||
|
||||
const boundaries = getBoundaries(
|
||||
data.instance.popper,
|
||||
data.instance.reference,
|
||||
options.padding,
|
||||
options.boundariesElement,
|
||||
data.positionFixed
|
||||
);
|
||||
|
||||
let placement = data.placement.split('-')[0];
|
||||
let placementOpposite = getOppositePlacement(placement);
|
||||
let variation = data.placement.split('-')[1] || '';
|
||||
|
||||
let flipOrder = [];
|
||||
|
||||
switch (options.behavior) {
|
||||
case BEHAVIORS.FLIP:
|
||||
flipOrder = [placement, placementOpposite];
|
||||
break;
|
||||
case BEHAVIORS.CLOCKWISE:
|
||||
flipOrder = clockwise(placement);
|
||||
break;
|
||||
case BEHAVIORS.COUNTERCLOCKWISE:
|
||||
flipOrder = clockwise(placement, true);
|
||||
break;
|
||||
default:
|
||||
flipOrder = options.behavior;
|
||||
}
|
||||
|
||||
flipOrder.forEach((step, index) => {
|
||||
if (placement !== step || flipOrder.length === index + 1) {
|
||||
return data;
|
||||
}
|
||||
|
||||
placement = data.placement.split('-')[0];
|
||||
placementOpposite = getOppositePlacement(placement);
|
||||
|
||||
const popperOffsets = data.offsets.popper;
|
||||
const refOffsets = data.offsets.reference;
|
||||
|
||||
// using floor because the reference offsets may contain decimals we are not going to consider here
|
||||
const floor = Math.floor;
|
||||
const overlapsRef =
|
||||
(placement === 'left' &&
|
||||
floor(popperOffsets.right) > floor(refOffsets.left)) ||
|
||||
(placement === 'right' &&
|
||||
floor(popperOffsets.left) < floor(refOffsets.right)) ||
|
||||
(placement === 'top' &&
|
||||
floor(popperOffsets.bottom) > floor(refOffsets.top)) ||
|
||||
(placement === 'bottom' &&
|
||||
floor(popperOffsets.top) < floor(refOffsets.bottom));
|
||||
|
||||
const overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);
|
||||
const overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);
|
||||
const overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);
|
||||
const overflowsBottom =
|
||||
floor(popperOffsets.bottom) > floor(boundaries.bottom);
|
||||
|
||||
const overflowsBoundaries =
|
||||
(placement === 'left' && overflowsLeft) ||
|
||||
(placement === 'right' && overflowsRight) ||
|
||||
(placement === 'top' && overflowsTop) ||
|
||||
(placement === 'bottom' && overflowsBottom);
|
||||
|
||||
// flip the variation if required
|
||||
const isVertical = ['top', 'bottom'].indexOf(placement) !== -1;
|
||||
|
||||
// flips variation if reference element overflows boundaries
|
||||
const flippedVariationByRef =
|
||||
!!options.flipVariations &&
|
||||
((isVertical && variation === 'start' && overflowsLeft) ||
|
||||
(isVertical && variation === 'end' && overflowsRight) ||
|
||||
(!isVertical && variation === 'start' && overflowsTop) ||
|
||||
(!isVertical && variation === 'end' && overflowsBottom));
|
||||
|
||||
// flips variation if popper content overflows boundaries
|
||||
const flippedVariationByContent =
|
||||
!!options.flipVariationsByContent &&
|
||||
((isVertical && variation === 'start' && overflowsRight) ||
|
||||
(isVertical && variation === 'end' && overflowsLeft) ||
|
||||
(!isVertical && variation === 'start' && overflowsBottom) ||
|
||||
(!isVertical && variation === 'end' && overflowsTop));
|
||||
|
||||
const flippedVariation = flippedVariationByRef || flippedVariationByContent;
|
||||
|
||||
if (overlapsRef || overflowsBoundaries || flippedVariation) {
|
||||
// this boolean to detect any flip loop
|
||||
data.flipped = true;
|
||||
|
||||
if (overlapsRef || overflowsBoundaries) {
|
||||
placement = flipOrder[index + 1];
|
||||
}
|
||||
|
||||
if (flippedVariation) {
|
||||
variation = getOppositeVariation(variation);
|
||||
}
|
||||
|
||||
data.placement = placement + (variation ? '-' + variation : '');
|
||||
|
||||
// this object contains `position`, we want to preserve it along with
|
||||
// any additional property we may add in the future
|
||||
data.offsets.popper = {
|
||||
...data.offsets.popper,
|
||||
...getPopperOffsets(
|
||||
data.instance.popper,
|
||||
data.offsets.reference,
|
||||
data.placement
|
||||
),
|
||||
};
|
||||
|
||||
data = runModifiers(data.instance.modifiers, data, 'flip');
|
||||
}
|
||||
});
|
||||
return data;
|
||||
}
|
||||
46
F4SDwebService/Publish/Scripts/src/modifiers/hide.js
Normal file
46
F4SDwebService/Publish/Scripts/src/modifiers/hide.js
Normal file
@@ -0,0 +1,46 @@
|
||||
import isModifierRequired from '../utils/isModifierRequired';
|
||||
import find from '../utils/find';
|
||||
|
||||
/**
|
||||
* @function
|
||||
* @memberof Modifiers
|
||||
* @argument {Object} data - The data object generated by update method
|
||||
* @argument {Object} options - Modifiers configuration and options
|
||||
* @returns {Object} The data object, properly modified
|
||||
*/
|
||||
export default function hide(data) {
|
||||
if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {
|
||||
return data;
|
||||
}
|
||||
|
||||
const refRect = data.offsets.reference;
|
||||
const bound = find(
|
||||
data.instance.modifiers,
|
||||
modifier => modifier.name === 'preventOverflow'
|
||||
).boundaries;
|
||||
|
||||
if (
|
||||
refRect.bottom < bound.top ||
|
||||
refRect.left > bound.right ||
|
||||
refRect.top > bound.bottom ||
|
||||
refRect.right < bound.left
|
||||
) {
|
||||
// Avoid unnecessary DOM access if visibility hasn't changed
|
||||
if (data.hide === true) {
|
||||
return data;
|
||||
}
|
||||
|
||||
data.hide = true;
|
||||
data.attributes['x-out-of-boundaries'] = '';
|
||||
} else {
|
||||
// Avoid unnecessary DOM access if visibility hasn't changed
|
||||
if (data.hide === false) {
|
||||
return data;
|
||||
}
|
||||
|
||||
data.hide = false;
|
||||
data.attributes['x-out-of-boundaries'] = false;
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
369
F4SDwebService/Publish/Scripts/src/modifiers/index.js
Normal file
369
F4SDwebService/Publish/Scripts/src/modifiers/index.js
Normal file
@@ -0,0 +1,369 @@
|
||||
import applyStyle, { applyStyleOnLoad } from './applyStyle';
|
||||
import computeStyle from './computeStyle';
|
||||
import arrow from './arrow';
|
||||
import flip from './flip';
|
||||
import keepTogether from './keepTogether';
|
||||
import offset from './offset';
|
||||
import preventOverflow from './preventOverflow';
|
||||
import shift from './shift';
|
||||
import hide from './hide';
|
||||
import inner from './inner';
|
||||
|
||||
/**
|
||||
* Modifier function, each modifier can have a function of this type assigned
|
||||
* to its `fn` property.<br />
|
||||
* These functions will be called on each update, this means that you must
|
||||
* make sure they are performant enough to avoid performance bottlenecks.
|
||||
*
|
||||
* @function ModifierFn
|
||||
* @argument {dataObject} data - The data object generated by `update` method
|
||||
* @argument {Object} options - Modifiers configuration and options
|
||||
* @returns {dataObject} The data object, properly modified
|
||||
*/
|
||||
|
||||
/**
|
||||
* Modifiers are plugins used to alter the behavior of your poppers.<br />
|
||||
* Popper.js uses a set of 9 modifiers to provide all the basic functionalities
|
||||
* needed by the library.
|
||||
*
|
||||
* Usually you don't want to override the `order`, `fn` and `onLoad` props.
|
||||
* All the other properties are configurations that could be tweaked.
|
||||
* @namespace modifiers
|
||||
*/
|
||||
export default {
|
||||
/**
|
||||
* Modifier used to shift the popper on the start or end of its reference
|
||||
* element.<br />
|
||||
* It will read the variation of the `placement` property.<br />
|
||||
* It can be one either `-end` or `-start`.
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
shift: {
|
||||
/** @prop {number} order=100 - Index used to define the order of execution */
|
||||
order: 100,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: shift,
|
||||
},
|
||||
|
||||
/**
|
||||
* The `offset` modifier can shift your popper on both its axis.
|
||||
*
|
||||
* It accepts the following units:
|
||||
* - `px` or unit-less, interpreted as pixels
|
||||
* - `%` or `%r`, percentage relative to the length of the reference element
|
||||
* - `%p`, percentage relative to the length of the popper element
|
||||
* - `vw`, CSS viewport width unit
|
||||
* - `vh`, CSS viewport height unit
|
||||
*
|
||||
* For length is intended the main axis relative to the placement of the popper.<br />
|
||||
* This means that if the placement is `top` or `bottom`, the length will be the
|
||||
* `width`. In case of `left` or `right`, it will be the `height`.
|
||||
*
|
||||
* You can provide a single value (as `Number` or `String`), or a pair of values
|
||||
* as `String` divided by a comma or one (or more) white spaces.<br />
|
||||
* The latter is a deprecated method because it leads to confusion and will be
|
||||
* removed in v2.<br />
|
||||
* Additionally, it accepts additions and subtractions between different units.
|
||||
* Note that multiplications and divisions aren't supported.
|
||||
*
|
||||
* Valid examples are:
|
||||
* ```
|
||||
* 10
|
||||
* '10%'
|
||||
* '10, 10'
|
||||
* '10%, 10'
|
||||
* '10 + 10%'
|
||||
* '10 - 5vh + 3%'
|
||||
* '-10px + 5vh, 5px - 6%'
|
||||
* ```
|
||||
* > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap
|
||||
* > with their reference element, unfortunately, you will have to disable the `flip` modifier.
|
||||
* > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).
|
||||
*
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
offset: {
|
||||
/** @prop {number} order=200 - Index used to define the order of execution */
|
||||
order: 200,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: offset,
|
||||
/** @prop {Number|String} offset=0
|
||||
* The offset value as described in the modifier description
|
||||
*/
|
||||
offset: 0,
|
||||
},
|
||||
|
||||
/**
|
||||
* Modifier used to prevent the popper from being positioned outside the boundary.
|
||||
*
|
||||
* A scenario exists where the reference itself is not within the boundaries.<br />
|
||||
* We can say it has "escaped the boundaries" — or just "escaped".<br />
|
||||
* In this case we need to decide whether the popper should either:
|
||||
*
|
||||
* - detach from the reference and remain "trapped" in the boundaries, or
|
||||
* - if it should ignore the boundary and "escape with its reference"
|
||||
*
|
||||
* When `escapeWithReference` is set to`true` and reference is completely
|
||||
* outside its boundaries, the popper will overflow (or completely leave)
|
||||
* the boundaries in order to remain attached to the edge of the reference.
|
||||
*
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
preventOverflow: {
|
||||
/** @prop {number} order=300 - Index used to define the order of execution */
|
||||
order: 300,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: preventOverflow,
|
||||
/**
|
||||
* @prop {Array} [priority=['left','right','top','bottom']]
|
||||
* Popper will try to prevent overflow following these priorities by default,
|
||||
* then, it could overflow on the left and on top of the `boundariesElement`
|
||||
*/
|
||||
priority: ['left', 'right', 'top', 'bottom'],
|
||||
/**
|
||||
* @prop {number} padding=5
|
||||
* Amount of pixel used to define a minimum distance between the boundaries
|
||||
* and the popper. This makes sure the popper always has a little padding
|
||||
* between the edges of its container
|
||||
*/
|
||||
padding: 5,
|
||||
/**
|
||||
* @prop {String|HTMLElement} boundariesElement='scrollParent'
|
||||
* Boundaries used by the modifier. Can be `scrollParent`, `window`,
|
||||
* `viewport` or any DOM element.
|
||||
*/
|
||||
boundariesElement: 'scrollParent',
|
||||
},
|
||||
|
||||
/**
|
||||
* Modifier used to make sure the reference and its popper stay near each other
|
||||
* without leaving any gap between the two. Especially useful when the arrow is
|
||||
* enabled and you want to ensure that it points to its reference element.
|
||||
* It cares only about the first axis. You can still have poppers with margin
|
||||
* between the popper and its reference element.
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
keepTogether: {
|
||||
/** @prop {number} order=400 - Index used to define the order of execution */
|
||||
order: 400,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: keepTogether,
|
||||
},
|
||||
|
||||
/**
|
||||
* This modifier is used to move the `arrowElement` of the popper to make
|
||||
* sure it is positioned between the reference element and its popper element.
|
||||
* It will read the outer size of the `arrowElement` node to detect how many
|
||||
* pixels of conjunction are needed.
|
||||
*
|
||||
* It has no effect if no `arrowElement` is provided.
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
arrow: {
|
||||
/** @prop {number} order=500 - Index used to define the order of execution */
|
||||
order: 500,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: arrow,
|
||||
/** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */
|
||||
element: '[x-arrow]',
|
||||
},
|
||||
|
||||
/**
|
||||
* Modifier used to flip the popper's placement when it starts to overlap its
|
||||
* reference element.
|
||||
*
|
||||
* Requires the `preventOverflow` modifier before it in order to work.
|
||||
*
|
||||
* **NOTE:** this modifier will interrupt the current update cycle and will
|
||||
* restart it if it detects the need to flip the placement.
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
flip: {
|
||||
/** @prop {number} order=600 - Index used to define the order of execution */
|
||||
order: 600,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: flip,
|
||||
/**
|
||||
* @prop {String|Array} behavior='flip'
|
||||
* The behavior used to change the popper's placement. It can be one of
|
||||
* `flip`, `clockwise`, `counterclockwise` or an array with a list of valid
|
||||
* placements (with optional variations)
|
||||
*/
|
||||
behavior: 'flip',
|
||||
/**
|
||||
* @prop {number} padding=5
|
||||
* The popper will flip if it hits the edges of the `boundariesElement`
|
||||
*/
|
||||
padding: 5,
|
||||
/**
|
||||
* @prop {String|HTMLElement} boundariesElement='viewport'
|
||||
* The element which will define the boundaries of the popper position.
|
||||
* The popper will never be placed outside of the defined boundaries
|
||||
* (except if `keepTogether` is enabled)
|
||||
*/
|
||||
boundariesElement: 'viewport',
|
||||
/**
|
||||
* @prop {Boolean} flipVariations=false
|
||||
* The popper will switch placement variation between `-start` and `-end` when
|
||||
* the reference element overlaps its boundaries.
|
||||
*
|
||||
* The original placement should have a set variation.
|
||||
*/
|
||||
flipVariations: false,
|
||||
/**
|
||||
* @prop {Boolean} flipVariationsByContent=false
|
||||
* The popper will switch placement variation between `-start` and `-end` when
|
||||
* the popper element overlaps its reference boundaries.
|
||||
*
|
||||
* The original placement should have a set variation.
|
||||
*/
|
||||
flipVariationsByContent: false,
|
||||
},
|
||||
|
||||
/**
|
||||
* Modifier used to make the popper flow toward the inner of the reference element.
|
||||
* By default, when this modifier is disabled, the popper will be placed outside
|
||||
* the reference element.
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
inner: {
|
||||
/** @prop {number} order=700 - Index used to define the order of execution */
|
||||
order: 700,
|
||||
/** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */
|
||||
enabled: false,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: inner,
|
||||
},
|
||||
|
||||
/**
|
||||
* Modifier used to hide the popper when its reference element is outside of the
|
||||
* popper boundaries. It will set a `x-out-of-boundaries` attribute which can
|
||||
* be used to hide with a CSS selector the popper when its reference is
|
||||
* out of boundaries.
|
||||
*
|
||||
* Requires the `preventOverflow` modifier before it in order to work.
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
hide: {
|
||||
/** @prop {number} order=800 - Index used to define the order of execution */
|
||||
order: 800,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: hide,
|
||||
},
|
||||
|
||||
/**
|
||||
* Computes the style that will be applied to the popper element to gets
|
||||
* properly positioned.
|
||||
*
|
||||
* Note that this modifier will not touch the DOM, it just prepares the styles
|
||||
* so that `applyStyle` modifier can apply it. This separation is useful
|
||||
* in case you need to replace `applyStyle` with a custom implementation.
|
||||
*
|
||||
* This modifier has `850` as `order` value to maintain backward compatibility
|
||||
* with previous versions of Popper.js. Expect the modifiers ordering method
|
||||
* to change in future major versions of the library.
|
||||
*
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
computeStyle: {
|
||||
/** @prop {number} order=850 - Index used to define the order of execution */
|
||||
order: 850,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: computeStyle,
|
||||
/**
|
||||
* @prop {Boolean} gpuAcceleration=true
|
||||
* If true, it uses the CSS 3D transformation to position the popper.
|
||||
* Otherwise, it will use the `top` and `left` properties
|
||||
*/
|
||||
gpuAcceleration: true,
|
||||
/**
|
||||
* @prop {string} [x='bottom']
|
||||
* Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.
|
||||
* Change this if your popper should grow in a direction different from `bottom`
|
||||
*/
|
||||
x: 'bottom',
|
||||
/**
|
||||
* @prop {string} [x='left']
|
||||
* Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.
|
||||
* Change this if your popper should grow in a direction different from `right`
|
||||
*/
|
||||
y: 'right',
|
||||
},
|
||||
|
||||
/**
|
||||
* Applies the computed styles to the popper element.
|
||||
*
|
||||
* All the DOM manipulations are limited to this modifier. This is useful in case
|
||||
* you want to integrate Popper.js inside a framework or view library and you
|
||||
* want to delegate all the DOM manipulations to it.
|
||||
*
|
||||
* Note that if you disable this modifier, you must make sure the popper element
|
||||
* has its position set to `absolute` before Popper.js can do its work!
|
||||
*
|
||||
* Just disable this modifier and define your own to achieve the desired effect.
|
||||
*
|
||||
* @memberof modifiers
|
||||
* @inner
|
||||
*/
|
||||
applyStyle: {
|
||||
/** @prop {number} order=900 - Index used to define the order of execution */
|
||||
order: 900,
|
||||
/** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
|
||||
enabled: true,
|
||||
/** @prop {ModifierFn} */
|
||||
fn: applyStyle,
|
||||
/** @prop {Function} */
|
||||
onLoad: applyStyleOnLoad,
|
||||
/**
|
||||
* @deprecated since version 1.10.0, the property moved to `computeStyle` modifier
|
||||
* @prop {Boolean} gpuAcceleration=true
|
||||
* If true, it uses the CSS 3D transformation to position the popper.
|
||||
* Otherwise, it will use the `top` and `left` properties
|
||||
*/
|
||||
gpuAcceleration: undefined,
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* The `dataObject` is an object containing all the information used by Popper.js.
|
||||
* This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.
|
||||
* @name dataObject
|
||||
* @property {Object} data.instance The Popper.js instance
|
||||
* @property {String} data.placement Placement applied to popper
|
||||
* @property {String} data.originalPlacement Placement originally defined on init
|
||||
* @property {Boolean} data.flipped True if popper has been flipped by flip modifier
|
||||
* @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper
|
||||
* @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier
|
||||
* @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)
|
||||
* @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)
|
||||
* @property {Object} data.boundaries Offsets of the popper boundaries
|
||||
* @property {Object} data.offsets The measurements of popper, reference and arrow elements
|
||||
* @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values
|
||||
* @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values
|
||||
* @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0
|
||||
*/
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user