();
74 | }
75 |
76 | // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
77 | public void Configure(
78 | WebApplication app,
79 | IWebHostEnvironment env,
80 | Microsoft.Extensions.Logging.ILoggerFactory loggerFactory
81 | ) {
82 | loggerFactory.UseAsHibernateLoggerFactory();
83 | if (env.IsDevelopment()) {
84 | app.UseDeveloperExceptionPage();
85 | }
86 | else {
87 | app.UseExceptionHandler("/Home/Error");
88 | }
89 |
90 | app.MapStaticAssets();
91 |
92 | app.UseRouting();
93 |
94 | app.UseAuthentication();
95 | app.UseAuthorization();
96 |
97 | app.MapControllerRoute(
98 | name: "default",
99 | pattern: "{controller=Home}/{action=Index}/{id?}"
100 | ).WithStaticAssets();
101 | app.MapRazorPages()
102 | .WithStaticAssets();
103 | }
104 |
105 | }
106 |
--------------------------------------------------------------------------------
/test/WebTest/Views/Home/Index.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewData["Title"] = "Home Page";
3 | }
4 |
5 |
9 |
--------------------------------------------------------------------------------
/test/WebTest/Views/Home/Privacy.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewData["Title"] = "Privacy Policy";
3 | }
4 | @ViewData["Title"]
5 |
6 | Use this page to detail your site's privacy policy.
7 |
--------------------------------------------------------------------------------
/test/WebTest/Views/Shared/Error.cshtml:
--------------------------------------------------------------------------------
1 | @model ErrorViewModel
2 | @{
3 | ViewData["Title"] = "Error";
4 | }
5 |
6 | Error.
7 | An error occurred while processing your request.
8 |
9 | @if (Model.ShowRequestId)
10 | {
11 |
12 | Request ID: @Model.RequestId
13 |
14 | }
15 |
16 | Development Mode
17 |
18 | Swapping to Development environment will display more detailed information about the error that occurred.
19 |
20 |
21 | The Development environment shouldn't be enabled for deployed applications.
22 | It can result in displaying sensitive information from exceptions to end users.
23 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development
24 | and restarting the app.
25 |
26 |
--------------------------------------------------------------------------------
/test/WebTest/Views/Shared/_Layout.cshtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | @ViewData["Title"] - MvcApp
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
MvcApp
16 |
18 |
19 |
20 |
31 |
32 |
33 |
34 |
35 |
36 | @RenderBody()
37 |
38 |
39 |
40 |
45 |
46 |
47 |
48 | @await RenderSectionAsync("Scripts", required: false)
49 |
50 |
51 |
--------------------------------------------------------------------------------
/test/WebTest/Views/Shared/_Layout.cshtml.css:
--------------------------------------------------------------------------------
1 | /* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
2 | for details on configuring this project to bundle and minify static web assets. */
3 |
4 | a.navbar-brand {
5 | white-space: normal;
6 | text-align: center;
7 | word-break: break-all;
8 | }
9 |
10 | a {
11 | color: #0077cc;
12 | }
13 |
14 | .btn-primary {
15 | color: #fff;
16 | background-color: #1b6ec2;
17 | border-color: #1861ac;
18 | }
19 |
20 | .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
21 | color: #fff;
22 | background-color: #1b6ec2;
23 | border-color: #1861ac;
24 | }
25 |
26 | .border-top {
27 | border-top: 1px solid #e5e5e5;
28 | }
29 | .border-bottom {
30 | border-bottom: 1px solid #e5e5e5;
31 | }
32 |
33 | .box-shadow {
34 | box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
35 | }
36 |
37 | button.accept-policy {
38 | font-size: 1rem;
39 | line-height: inherit;
40 | }
41 |
42 | .footer {
43 | position: absolute;
44 | bottom: 0;
45 | width: 100%;
46 | white-space: nowrap;
47 | line-height: 60px;
48 | }
49 |
--------------------------------------------------------------------------------
/test/WebTest/Views/Shared/_LoginPartial.cshtml:
--------------------------------------------------------------------------------
1 | @using Microsoft.AspNetCore.Identity
2 | @inject SignInManager SignInManager
3 | @inject UserManager UserManager
4 |
5 |
27 |
--------------------------------------------------------------------------------
/test/WebTest/Views/Shared/_ValidationScriptsPartial.cshtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/test/WebTest/Views/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @using WebTest
2 | @using WebTest.Models
3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
4 |
--------------------------------------------------------------------------------
/test/WebTest/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "_Layout";
3 | }
4 |
--------------------------------------------------------------------------------
/test/WebTest/WebTest.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | net9.0
4 | enable
5 | enable
6 | aspnet-WebTest-2248A449-FB12-43B9-B501-6761982E7A88
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | Always
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/test/WebTest/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Debug",
5 | "System": "Information",
6 | "Microsoft": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/WebTest/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "ConnectionStrings": {
3 | "DefaultConnection": "DataSource=app.db"
4 | },
5 | "Logging": {
6 | "LogLevel": {
7 | "Default": "Warning"
8 | }
9 | },
10 | "AllowedHosts": "*"
11 | }
12 |
--------------------------------------------------------------------------------
/test/WebTest/hibernate.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | server=127.0.0.1;port=5432;database=nhibernate;user id=postgres;password=aJv6YoG0CkM9YdqP;
5 | NHibernate.Extensions.Npgsql.NpgsqlDriver,NHibernate.Extensions.Npgsql
6 | NHibernate.Extensions.Npgsql.NpgsqlDialect,NHibernate.Extensions.Npgsql
7 | NHibernate.Extensions.Npgsql.LinqToHqlGeneratorsRegistry,NHibernate.Extensions.Npgsql
8 | true
9 | true
10 | 10
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/css/site.css:
--------------------------------------------------------------------------------
1 | html {
2 | font-size: 14px;
3 | }
4 |
5 | @media (min-width: 768px) {
6 | html {
7 | font-size: 16px;
8 | }
9 | }
10 |
11 | .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
12 | box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
13 | }
14 |
15 | html {
16 | position: relative;
17 | min-height: 100%;
18 | }
19 |
20 | body {
21 | margin-bottom: 60px;
22 | }
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nhibernate/NHibernate.AspNetCore.Identity/0a7309f70d29681325f2faf4d7466d20514b2c43/test/WebTest/wwwroot/favicon.ico
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/js/site.js:
--------------------------------------------------------------------------------
1 | // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
2 | // for details on configuring this project to bundle and minify static web assets.
3 |
4 | // Write your JavaScript code.
5 |
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/bootstrap/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2011-2021 Twitter, Inc.
4 | Copyright (c) 2011-2021 The Bootstrap Authors
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap Reboot v5.1.0 (https://getbootstrap.com/)
3 | * Copyright 2011-2021 The Bootstrap Authors
4 | * Copyright 2011-2021 Twitter, Inc.
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
7 | */
8 | *,
9 | *::before,
10 | *::after {
11 | box-sizing: border-box;
12 | }
13 |
14 | @media (prefers-reduced-motion: no-preference) {
15 | :root {
16 | scroll-behavior: smooth;
17 | }
18 | }
19 |
20 | body {
21 | margin: 0;
22 | font-family: var(--bs-body-font-family);
23 | font-size: var(--bs-body-font-size);
24 | font-weight: var(--bs-body-font-weight);
25 | line-height: var(--bs-body-line-height);
26 | color: var(--bs-body-color);
27 | text-align: var(--bs-body-text-align);
28 | background-color: var(--bs-body-bg);
29 | -webkit-text-size-adjust: 100%;
30 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
31 | }
32 |
33 | hr {
34 | margin: 1rem 0;
35 | color: inherit;
36 | background-color: currentColor;
37 | border: 0;
38 | opacity: 0.25;
39 | }
40 |
41 | hr:not([size]) {
42 | height: 1px;
43 | }
44 |
45 | h6, h5, h4, h3, h2, h1 {
46 | margin-top: 0;
47 | margin-bottom: 0.5rem;
48 | font-weight: 500;
49 | line-height: 1.2;
50 | }
51 |
52 | h1 {
53 | font-size: calc(1.375rem + 1.5vw);
54 | }
55 | @media (min-width: 1200px) {
56 | h1 {
57 | font-size: 2.5rem;
58 | }
59 | }
60 |
61 | h2 {
62 | font-size: calc(1.325rem + 0.9vw);
63 | }
64 | @media (min-width: 1200px) {
65 | h2 {
66 | font-size: 2rem;
67 | }
68 | }
69 |
70 | h3 {
71 | font-size: calc(1.3rem + 0.6vw);
72 | }
73 | @media (min-width: 1200px) {
74 | h3 {
75 | font-size: 1.75rem;
76 | }
77 | }
78 |
79 | h4 {
80 | font-size: calc(1.275rem + 0.3vw);
81 | }
82 | @media (min-width: 1200px) {
83 | h4 {
84 | font-size: 1.5rem;
85 | }
86 | }
87 |
88 | h5 {
89 | font-size: 1.25rem;
90 | }
91 |
92 | h6 {
93 | font-size: 1rem;
94 | }
95 |
96 | p {
97 | margin-top: 0;
98 | margin-bottom: 1rem;
99 | }
100 |
101 | abbr[title],
102 | abbr[data-bs-original-title] {
103 | -webkit-text-decoration: underline dotted;
104 | text-decoration: underline dotted;
105 | cursor: help;
106 | -webkit-text-decoration-skip-ink: none;
107 | text-decoration-skip-ink: none;
108 | }
109 |
110 | address {
111 | margin-bottom: 1rem;
112 | font-style: normal;
113 | line-height: inherit;
114 | }
115 |
116 | ol,
117 | ul {
118 | padding-left: 2rem;
119 | }
120 |
121 | ol,
122 | ul,
123 | dl {
124 | margin-top: 0;
125 | margin-bottom: 1rem;
126 | }
127 |
128 | ol ol,
129 | ul ul,
130 | ol ul,
131 | ul ol {
132 | margin-bottom: 0;
133 | }
134 |
135 | dt {
136 | font-weight: 700;
137 | }
138 |
139 | dd {
140 | margin-bottom: 0.5rem;
141 | margin-left: 0;
142 | }
143 |
144 | blockquote {
145 | margin: 0 0 1rem;
146 | }
147 |
148 | b,
149 | strong {
150 | font-weight: bolder;
151 | }
152 |
153 | small {
154 | font-size: 0.875em;
155 | }
156 |
157 | mark {
158 | padding: 0.2em;
159 | background-color: #fcf8e3;
160 | }
161 |
162 | sub,
163 | sup {
164 | position: relative;
165 | font-size: 0.75em;
166 | line-height: 0;
167 | vertical-align: baseline;
168 | }
169 |
170 | sub {
171 | bottom: -0.25em;
172 | }
173 |
174 | sup {
175 | top: -0.5em;
176 | }
177 |
178 | a {
179 | color: #0d6efd;
180 | text-decoration: underline;
181 | }
182 | a:hover {
183 | color: #0a58ca;
184 | }
185 |
186 | a:not([href]):not([class]), a:not([href]):not([class]):hover {
187 | color: inherit;
188 | text-decoration: none;
189 | }
190 |
191 | pre,
192 | code,
193 | kbd,
194 | samp {
195 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
196 | font-size: 1em;
197 | direction: ltr /* rtl:ignore */;
198 | unicode-bidi: bidi-override;
199 | }
200 |
201 | pre {
202 | display: block;
203 | margin-top: 0;
204 | margin-bottom: 1rem;
205 | overflow: auto;
206 | font-size: 0.875em;
207 | }
208 | pre code {
209 | font-size: inherit;
210 | color: inherit;
211 | word-break: normal;
212 | }
213 |
214 | code {
215 | font-size: 0.875em;
216 | color: #d63384;
217 | word-wrap: break-word;
218 | }
219 | a > code {
220 | color: inherit;
221 | }
222 |
223 | kbd {
224 | padding: 0.2rem 0.4rem;
225 | font-size: 0.875em;
226 | color: #fff;
227 | background-color: #212529;
228 | border-radius: 0.2rem;
229 | }
230 | kbd kbd {
231 | padding: 0;
232 | font-size: 1em;
233 | font-weight: 700;
234 | }
235 |
236 | figure {
237 | margin: 0 0 1rem;
238 | }
239 |
240 | img,
241 | svg {
242 | vertical-align: middle;
243 | }
244 |
245 | table {
246 | caption-side: bottom;
247 | border-collapse: collapse;
248 | }
249 |
250 | caption {
251 | padding-top: 0.5rem;
252 | padding-bottom: 0.5rem;
253 | color: #6c757d;
254 | text-align: left;
255 | }
256 |
257 | th {
258 | text-align: inherit;
259 | text-align: -webkit-match-parent;
260 | }
261 |
262 | thead,
263 | tbody,
264 | tfoot,
265 | tr,
266 | td,
267 | th {
268 | border-color: inherit;
269 | border-style: solid;
270 | border-width: 0;
271 | }
272 |
273 | label {
274 | display: inline-block;
275 | }
276 |
277 | button {
278 | border-radius: 0;
279 | }
280 |
281 | button:focus:not(:focus-visible) {
282 | outline: 0;
283 | }
284 |
285 | input,
286 | button,
287 | select,
288 | optgroup,
289 | textarea {
290 | margin: 0;
291 | font-family: inherit;
292 | font-size: inherit;
293 | line-height: inherit;
294 | }
295 |
296 | button,
297 | select {
298 | text-transform: none;
299 | }
300 |
301 | [role=button] {
302 | cursor: pointer;
303 | }
304 |
305 | select {
306 | word-wrap: normal;
307 | }
308 | select:disabled {
309 | opacity: 1;
310 | }
311 |
312 | [list]::-webkit-calendar-picker-indicator {
313 | display: none;
314 | }
315 |
316 | button,
317 | [type=button],
318 | [type=reset],
319 | [type=submit] {
320 | -webkit-appearance: button;
321 | }
322 | button:not(:disabled),
323 | [type=button]:not(:disabled),
324 | [type=reset]:not(:disabled),
325 | [type=submit]:not(:disabled) {
326 | cursor: pointer;
327 | }
328 |
329 | ::-moz-focus-inner {
330 | padding: 0;
331 | border-style: none;
332 | }
333 |
334 | textarea {
335 | resize: vertical;
336 | }
337 |
338 | fieldset {
339 | min-width: 0;
340 | padding: 0;
341 | margin: 0;
342 | border: 0;
343 | }
344 |
345 | legend {
346 | float: left;
347 | width: 100%;
348 | padding: 0;
349 | margin-bottom: 0.5rem;
350 | font-size: calc(1.275rem + 0.3vw);
351 | line-height: inherit;
352 | }
353 | @media (min-width: 1200px) {
354 | legend {
355 | font-size: 1.5rem;
356 | }
357 | }
358 | legend + * {
359 | clear: left;
360 | }
361 |
362 | ::-webkit-datetime-edit-fields-wrapper,
363 | ::-webkit-datetime-edit-text,
364 | ::-webkit-datetime-edit-minute,
365 | ::-webkit-datetime-edit-hour-field,
366 | ::-webkit-datetime-edit-day-field,
367 | ::-webkit-datetime-edit-month-field,
368 | ::-webkit-datetime-edit-year-field {
369 | padding: 0;
370 | }
371 |
372 | ::-webkit-inner-spin-button {
373 | height: auto;
374 | }
375 |
376 | [type=search] {
377 | outline-offset: -2px;
378 | -webkit-appearance: textfield;
379 | }
380 |
381 | /* rtl:raw:
382 | [type="tel"],
383 | [type="url"],
384 | [type="email"],
385 | [type="number"] {
386 | direction: ltr;
387 | }
388 | */
389 | ::-webkit-search-decoration {
390 | -webkit-appearance: none;
391 | }
392 |
393 | ::-webkit-color-swatch-wrapper {
394 | padding: 0;
395 | }
396 |
397 | ::file-selector-button {
398 | font: inherit;
399 | }
400 |
401 | ::-webkit-file-upload-button {
402 | font: inherit;
403 | -webkit-appearance: button;
404 | }
405 |
406 | output {
407 | display: inline-block;
408 | }
409 |
410 | iframe {
411 | border: 0;
412 | }
413 |
414 | summary {
415 | display: list-item;
416 | cursor: pointer;
417 | }
418 |
419 | progress {
420 | vertical-align: baseline;
421 | }
422 |
423 | [hidden] {
424 | display: none !important;
425 | }
426 |
427 | /*# sourceMappingURL=bootstrap-reboot.css.map */
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap Reboot v5.1.0 (https://getbootstrap.com/)
3 | * Copyright 2011-2021 The Bootstrap Authors
4 | * Copyright 2011-2021 Twitter, Inc.
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
7 | */*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){h2{font-size:2rem}}h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){h3{font-size:1.75rem}}h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){h4{font-size:1.5rem}}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}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:.875em}mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),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;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}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,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[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}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}
8 | /*# sourceMappingURL=bootstrap-reboot.min.css.map */
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap Reboot v5.1.0 (https://getbootstrap.com/)
3 | * Copyright 2011-2021 The Bootstrap Authors
4 | * Copyright 2011-2021 Twitter, Inc.
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
7 | */
8 | *,
9 | *::before,
10 | *::after {
11 | box-sizing: border-box;
12 | }
13 |
14 | @media (prefers-reduced-motion: no-preference) {
15 | :root {
16 | scroll-behavior: smooth;
17 | }
18 | }
19 |
20 | body {
21 | margin: 0;
22 | font-family: var(--bs-body-font-family);
23 | font-size: var(--bs-body-font-size);
24 | font-weight: var(--bs-body-font-weight);
25 | line-height: var(--bs-body-line-height);
26 | color: var(--bs-body-color);
27 | text-align: var(--bs-body-text-align);
28 | background-color: var(--bs-body-bg);
29 | -webkit-text-size-adjust: 100%;
30 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
31 | }
32 |
33 | hr {
34 | margin: 1rem 0;
35 | color: inherit;
36 | background-color: currentColor;
37 | border: 0;
38 | opacity: 0.25;
39 | }
40 |
41 | hr:not([size]) {
42 | height: 1px;
43 | }
44 |
45 | h6, h5, h4, h3, h2, h1 {
46 | margin-top: 0;
47 | margin-bottom: 0.5rem;
48 | font-weight: 500;
49 | line-height: 1.2;
50 | }
51 |
52 | h1 {
53 | font-size: calc(1.375rem + 1.5vw);
54 | }
55 | @media (min-width: 1200px) {
56 | h1 {
57 | font-size: 2.5rem;
58 | }
59 | }
60 |
61 | h2 {
62 | font-size: calc(1.325rem + 0.9vw);
63 | }
64 | @media (min-width: 1200px) {
65 | h2 {
66 | font-size: 2rem;
67 | }
68 | }
69 |
70 | h3 {
71 | font-size: calc(1.3rem + 0.6vw);
72 | }
73 | @media (min-width: 1200px) {
74 | h3 {
75 | font-size: 1.75rem;
76 | }
77 | }
78 |
79 | h4 {
80 | font-size: calc(1.275rem + 0.3vw);
81 | }
82 | @media (min-width: 1200px) {
83 | h4 {
84 | font-size: 1.5rem;
85 | }
86 | }
87 |
88 | h5 {
89 | font-size: 1.25rem;
90 | }
91 |
92 | h6 {
93 | font-size: 1rem;
94 | }
95 |
96 | p {
97 | margin-top: 0;
98 | margin-bottom: 1rem;
99 | }
100 |
101 | abbr[title],
102 | abbr[data-bs-original-title] {
103 | -webkit-text-decoration: underline dotted;
104 | text-decoration: underline dotted;
105 | cursor: help;
106 | -webkit-text-decoration-skip-ink: none;
107 | text-decoration-skip-ink: none;
108 | }
109 |
110 | address {
111 | margin-bottom: 1rem;
112 | font-style: normal;
113 | line-height: inherit;
114 | }
115 |
116 | ol,
117 | ul {
118 | padding-right: 2rem;
119 | }
120 |
121 | ol,
122 | ul,
123 | dl {
124 | margin-top: 0;
125 | margin-bottom: 1rem;
126 | }
127 |
128 | ol ol,
129 | ul ul,
130 | ol ul,
131 | ul ol {
132 | margin-bottom: 0;
133 | }
134 |
135 | dt {
136 | font-weight: 700;
137 | }
138 |
139 | dd {
140 | margin-bottom: 0.5rem;
141 | margin-right: 0;
142 | }
143 |
144 | blockquote {
145 | margin: 0 0 1rem;
146 | }
147 |
148 | b,
149 | strong {
150 | font-weight: bolder;
151 | }
152 |
153 | small {
154 | font-size: 0.875em;
155 | }
156 |
157 | mark {
158 | padding: 0.2em;
159 | background-color: #fcf8e3;
160 | }
161 |
162 | sub,
163 | sup {
164 | position: relative;
165 | font-size: 0.75em;
166 | line-height: 0;
167 | vertical-align: baseline;
168 | }
169 |
170 | sub {
171 | bottom: -0.25em;
172 | }
173 |
174 | sup {
175 | top: -0.5em;
176 | }
177 |
178 | a {
179 | color: #0d6efd;
180 | text-decoration: underline;
181 | }
182 | a:hover {
183 | color: #0a58ca;
184 | }
185 |
186 | a:not([href]):not([class]), a:not([href]):not([class]):hover {
187 | color: inherit;
188 | text-decoration: none;
189 | }
190 |
191 | pre,
192 | code,
193 | kbd,
194 | samp {
195 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
196 | font-size: 1em;
197 | direction: ltr ;
198 | unicode-bidi: bidi-override;
199 | }
200 |
201 | pre {
202 | display: block;
203 | margin-top: 0;
204 | margin-bottom: 1rem;
205 | overflow: auto;
206 | font-size: 0.875em;
207 | }
208 | pre code {
209 | font-size: inherit;
210 | color: inherit;
211 | word-break: normal;
212 | }
213 |
214 | code {
215 | font-size: 0.875em;
216 | color: #d63384;
217 | word-wrap: break-word;
218 | }
219 | a > code {
220 | color: inherit;
221 | }
222 |
223 | kbd {
224 | padding: 0.2rem 0.4rem;
225 | font-size: 0.875em;
226 | color: #fff;
227 | background-color: #212529;
228 | border-radius: 0.2rem;
229 | }
230 | kbd kbd {
231 | padding: 0;
232 | font-size: 1em;
233 | font-weight: 700;
234 | }
235 |
236 | figure {
237 | margin: 0 0 1rem;
238 | }
239 |
240 | img,
241 | svg {
242 | vertical-align: middle;
243 | }
244 |
245 | table {
246 | caption-side: bottom;
247 | border-collapse: collapse;
248 | }
249 |
250 | caption {
251 | padding-top: 0.5rem;
252 | padding-bottom: 0.5rem;
253 | color: #6c757d;
254 | text-align: right;
255 | }
256 |
257 | th {
258 | text-align: inherit;
259 | text-align: -webkit-match-parent;
260 | }
261 |
262 | thead,
263 | tbody,
264 | tfoot,
265 | tr,
266 | td,
267 | th {
268 | border-color: inherit;
269 | border-style: solid;
270 | border-width: 0;
271 | }
272 |
273 | label {
274 | display: inline-block;
275 | }
276 |
277 | button {
278 | border-radius: 0;
279 | }
280 |
281 | button:focus:not(:focus-visible) {
282 | outline: 0;
283 | }
284 |
285 | input,
286 | button,
287 | select,
288 | optgroup,
289 | textarea {
290 | margin: 0;
291 | font-family: inherit;
292 | font-size: inherit;
293 | line-height: inherit;
294 | }
295 |
296 | button,
297 | select {
298 | text-transform: none;
299 | }
300 |
301 | [role=button] {
302 | cursor: pointer;
303 | }
304 |
305 | select {
306 | word-wrap: normal;
307 | }
308 | select:disabled {
309 | opacity: 1;
310 | }
311 |
312 | [list]::-webkit-calendar-picker-indicator {
313 | display: none;
314 | }
315 |
316 | button,
317 | [type=button],
318 | [type=reset],
319 | [type=submit] {
320 | -webkit-appearance: button;
321 | }
322 | button:not(:disabled),
323 | [type=button]:not(:disabled),
324 | [type=reset]:not(:disabled),
325 | [type=submit]:not(:disabled) {
326 | cursor: pointer;
327 | }
328 |
329 | ::-moz-focus-inner {
330 | padding: 0;
331 | border-style: none;
332 | }
333 |
334 | textarea {
335 | resize: vertical;
336 | }
337 |
338 | fieldset {
339 | min-width: 0;
340 | padding: 0;
341 | margin: 0;
342 | border: 0;
343 | }
344 |
345 | legend {
346 | float: right;
347 | width: 100%;
348 | padding: 0;
349 | margin-bottom: 0.5rem;
350 | font-size: calc(1.275rem + 0.3vw);
351 | line-height: inherit;
352 | }
353 | @media (min-width: 1200px) {
354 | legend {
355 | font-size: 1.5rem;
356 | }
357 | }
358 | legend + * {
359 | clear: right;
360 | }
361 |
362 | ::-webkit-datetime-edit-fields-wrapper,
363 | ::-webkit-datetime-edit-text,
364 | ::-webkit-datetime-edit-minute,
365 | ::-webkit-datetime-edit-hour-field,
366 | ::-webkit-datetime-edit-day-field,
367 | ::-webkit-datetime-edit-month-field,
368 | ::-webkit-datetime-edit-year-field {
369 | padding: 0;
370 | }
371 |
372 | ::-webkit-inner-spin-button {
373 | height: auto;
374 | }
375 |
376 | [type=search] {
377 | outline-offset: -2px;
378 | -webkit-appearance: textfield;
379 | }
380 |
381 | [type="tel"],
382 | [type="url"],
383 | [type="email"],
384 | [type="number"] {
385 | direction: ltr;
386 | }
387 | ::-webkit-search-decoration {
388 | -webkit-appearance: none;
389 | }
390 |
391 | ::-webkit-color-swatch-wrapper {
392 | padding: 0;
393 | }
394 |
395 | ::file-selector-button {
396 | font: inherit;
397 | }
398 |
399 | ::-webkit-file-upload-button {
400 | font: inherit;
401 | -webkit-appearance: button;
402 | }
403 |
404 | output {
405 | display: inline-block;
406 | }
407 |
408 | iframe {
409 | border: 0;
410 | }
411 |
412 | summary {
413 | display: list-item;
414 | cursor: pointer;
415 | }
416 |
417 | progress {
418 | vertical-align: baseline;
419 | }
420 |
421 | [hidden] {
422 | display: none !important;
423 | }
424 | /*# sourceMappingURL=bootstrap-reboot.rtl.css.map */
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap Reboot v5.1.0 (https://getbootstrap.com/)
3 | * Copyright 2011-2021 The Bootstrap Authors
4 | * Copyright 2011-2021 Twitter, Inc.
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
7 | */*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){h2{font-size:2rem}}h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){h3{font-size:1.75rem}}h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){h4{font-size:1.5rem}}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-right:2rem}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-right:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:.875em}mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),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;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:right}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}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,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[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}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:right;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:right}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=email],[type=number],[type=tel],[type=url]{direction:ltr}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}
8 | /*# sourceMappingURL=bootstrap-reboot.rtl.min.css.map */
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/jquery-validation-unobtrusive/LICENSE.txt:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) .NET Foundation and Contributors
4 |
5 | All rights reserved.
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining a copy
8 | of this software and associated documentation files (the "Software"), to deal
9 | in the Software without restriction, including without limitation the rights
10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 | copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in all
15 | copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 | SOFTWARE.
24 |
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Unobtrusive validation support library for jQuery and jQuery Validate
4 | * Copyright (c) .NET Foundation. All rights reserved.
5 | * Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
6 | * @version v4.0.0
7 | */
8 | !function(a){"function"==typeof define&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery-validation")):jQuery.validator.unobtrusive=a(jQuery)}(function(s){var a,o=s.validator,d="unobtrusiveValidation";function l(a,e,n){a.rules[e]=n,a.message&&(a.messages[e]=a.message)}function u(a){return a.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function n(a){return a.substr(0,a.lastIndexOf(".")+1)}function m(a,e){return a=0===a.indexOf("*.")?a.replace("*.",e):a}function f(a){var e=s(this),n="__jquery_unobtrusive_validation_form_reset";if(!e.data(n)){e.data(n,!0);try{e.data("validator").resetForm()}finally{e.removeData(n)}e.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),e.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function p(n){function a(a,e){(a=r[a])&&s.isFunction(a)&&a.apply(n,e)}var e=s(n),t=e.data(d),i=s.proxy(f,n),r=o.unobtrusive.options||{};return t||(t={options:{errorClass:r.errorClass||"input-validation-error",errorElement:r.errorElement||"span",errorPlacement:function(){!function(a,e){var e=s(this).find("[data-valmsg-for='"+u(e[0].name)+"']"),n=(n=e.attr("data-valmsg-replace"))?!1!==s.parseJSON(n):null;e.removeClass("field-validation-valid").addClass("field-validation-error"),a.data("unobtrusiveContainer",e),n?(e.empty(),a.removeClass("input-validation-error").appendTo(e)):a.hide()}.apply(n,arguments),a("errorPlacement",arguments)},invalidHandler:function(){!function(a,e){var n=s(this).find("[data-valmsg-summary=true]"),t=n.find("ul");t&&t.length&&e.errorList.length&&(t.empty(),n.addClass("validation-summary-errors").removeClass("validation-summary-valid"),s.each(e.errorList,function(){s(" ").html(this.message).appendTo(t)}))}.apply(n,arguments),a("invalidHandler",arguments)},messages:{},rules:{},success:function(){!function(a){var e,n=a.data("unobtrusiveContainer");n&&(e=(e=n.attr("data-valmsg-replace"))?s.parseJSON(e):null,n.addClass("field-validation-valid").removeClass("field-validation-error"),a.removeData("unobtrusiveContainer"),e&&n.empty())}.apply(n,arguments),a("success",arguments)}},attachValidation:function(){e.off("reset."+d,i).on("reset."+d,i).validate(this.options)},validate:function(){return e.validate(),e.valid()}},e.data(d,t)),t}return o.unobtrusive={adapters:[],parseElement:function(t,a){var e,i,r,o=s(t),d=o.parents("form")[0];d&&((e=p(d)).options.rules[t.name]=i={},e.options.messages[t.name]=r={},s.each(this.adapters,function(){var a="data-val-"+this.name,e=o.attr(a),n={};void 0!==e&&(a+="-",s.each(this.params,function(){n[this]=o.attr(a+this)}),this.adapt({element:t,form:d,message:e,params:n,rules:i,messages:r}))}),s.extend(i,{__dummy__:!0}),a||e.attachValidation())},parse:function(a){var a=s(a),e=a.parents().addBack().filter("form").add(a.find("form")).has("[data-val=true]");a.find("[data-val=true]").each(function(){o.unobtrusive.parseElement(this,!0)}),e.each(function(){var a=p(this);a&&a.attachValidation()})}},(a=o.unobtrusive.adapters).add=function(a,e,n){return n||(n=e,e=[]),this.push({name:a,params:e,adapt:n}),this},a.addBool=function(e,n){return this.add(e,function(a){l(a,n||e,!0)})},a.addMinMax=function(a,t,i,r,e,n){return this.add(a,[e||"min",n||"max"],function(a){var e=a.params.min,n=a.params.max;e&&n?l(a,r,[e,n]):e?l(a,t,e):n&&l(a,i,n)})},a.addSingleVal=function(e,n,t){return this.add(e,[n||"val"],function(a){l(a,t||e,a.params[n])})},o.addMethod("__dummy__",function(a,e,n){return!0}),o.addMethod("regex",function(a,e,n){return!!this.optional(e)||(e=new RegExp(n).exec(a))&&0===e.index&&e[0].length===a.length}),o.addMethod("nonalphamin",function(a,e,n){var t;return t=n?(t=a.match(/\W/g))&&t.length>=n:t}),o.methods.extension?(a.addSingleVal("accept","mimtype"),a.addSingleVal("extension","extension")):a.addSingleVal("extension","extension","accept"),a.addSingleVal("regex","pattern"),a.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),a.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),a.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),a.add("equalto",["other"],function(a){var e=n(a.element.name),e=m(a.params.other,e);l(a,"equalTo",s(a.form).find(":input").filter("[name='"+u(e)+"']")[0])}),a.add("required",function(a){"INPUT"===a.element.tagName.toUpperCase()&&"CHECKBOX"===a.element.type.toUpperCase()||l(a,"required",!0)}),a.add("remote",["url","type","additionalfields"],function(t){var i={url:t.params.url,type:t.params.type||"GET",data:{}},r=n(t.element.name);s.each((t.params.additionalfields||t.element.name).replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g),function(a,e){var n=m(e,r);i.data[n]=function(){var a=s(t.form).find(":input").filter("[name='"+u(n)+"']");return a.is(":checkbox")?a.filter(":checked").val()||a.filter(":hidden").val()||"":a.is(":radio")?a.filter(":checked").val()||"":a.val()}}),l(t,"remote",i)}),a.add("password",["min","nonalphamin","regex"],function(a){a.params.min&&l(a,"minlength",a.params.min),a.params.nonalphamin&&l(a,"nonalphamin",a.params.nonalphamin),a.params.regex&&l(a,"regex",a.params.regex)}),a.add("fileextensions",["extensions"],function(a){l(a,"extension",a.params.extensions)}),s(function(){o.unobtrusive.parse(document)}),o.unobtrusive});
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/jquery-validation/LICENSE.md:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 | =====================
3 |
4 | Copyright Jörn Zaefferer
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/test/WebTest/wwwroot/lib/jquery/LICENSE.txt:
--------------------------------------------------------------------------------
1 |
2 | Copyright OpenJS Foundation and other contributors, https://openjsf.org/
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining
5 | a copy of this software and associated documentation files (the
6 | "Software"), to deal in the Software without restriction, including
7 | without limitation the rights to use, copy, modify, merge, publish,
8 | distribute, sublicense, and/or sell copies of the Software, and to
9 | permit persons to whom the Software is furnished to do so, subject to
10 | the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------