@osovitny/anatoly 3.20.47 → 3.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,8 +4,6 @@ import { BehaviorSubject, forkJoin, Subject, filter, takeUntil, map as map$1, ca
|
|
|
4
4
|
import { map, tap, mergeMap } from 'rxjs/operators';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
6
6
|
import { HttpClient, HttpBackend, HttpResponse, HTTP_INTERCEPTORS, provideHttpClient } from '@angular/common/http';
|
|
7
|
-
import * as i1$2 from '@angular/common';
|
|
8
|
-
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
9
7
|
import { format, formatDistance, formatDistanceToNow } from 'date-fns';
|
|
10
8
|
import js_beautify from 'js-beautify';
|
|
11
9
|
import * as i1$1 from '@angular/router';
|
|
@@ -14,6 +12,8 @@ import { v4 } from 'uuid';
|
|
|
14
12
|
import * as i4 from '@azure/msal-angular';
|
|
15
13
|
import { MSAL_GUARD_CONFIG, MsalGuard, MsalService, MsalBroadcastService, MsalInterceptor, MSAL_INSTANCE, MSAL_INTERCEPTOR_CONFIG, MsalModule } from '@azure/msal-angular';
|
|
16
14
|
import { BrowserUtils, EventType, InteractionStatus, InteractionType, InteractionRequiredAuthError, PromptValue, PublicClientApplication, LogLevel } from '@azure/msal-browser';
|
|
15
|
+
import * as i1$2 from '@angular/common';
|
|
16
|
+
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
17
17
|
import { enUS } from 'date-fns/locale/en-US';
|
|
18
18
|
import * as i1$3 from '@ngx-translate/core';
|
|
19
19
|
import { TranslateModule, TranslateLoader, TranslateService } from '@ngx-translate/core';
|
|
@@ -29,11 +29,11 @@ import * as dropin from 'braintree-web-drop-in';
|
|
|
29
29
|
import * as i4$1 from '@progress/kendo-angular-dialog';
|
|
30
30
|
import { DialogsModule } from '@progress/kendo-angular-dialog';
|
|
31
31
|
import { loadStripe } from '@stripe/stripe-js';
|
|
32
|
-
import * as
|
|
32
|
+
import * as i3 from '@progress/kendo-angular-label';
|
|
33
33
|
import { LabelModule } from '@progress/kendo-angular-label';
|
|
34
|
-
import * as
|
|
34
|
+
import * as i2$1 from '@progress/kendo-angular-dropdowns';
|
|
35
35
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
36
|
-
import * as
|
|
36
|
+
import * as i2$2 from 'angular-froala-wysiwyg';
|
|
37
37
|
import { FERootModule } from 'angular-froala-wysiwyg';
|
|
38
38
|
import * as i1$7 from '@fortawesome/angular-fontawesome';
|
|
39
39
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
@@ -117,17 +117,89 @@ function resetAppCoreSettings() {
|
|
|
117
117
|
IsProdMode = !IsDevMode;
|
|
118
118
|
ClientApps = AppCoreSettings?.clientApps;
|
|
119
119
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
var AssetGroupType;
|
|
121
|
+
(function (AssetGroupType) {
|
|
122
|
+
AssetGroupType[AssetGroupType["App"] = 1] = "App";
|
|
123
|
+
AssetGroupType[AssetGroupType["Lib"] = 2] = "Lib";
|
|
124
|
+
AssetGroupType[AssetGroupType["External"] = 3] = "External";
|
|
125
|
+
})(AssetGroupType || (AssetGroupType = {}));
|
|
126
|
+
/*
|
|
127
|
+
formatAssetsUrl builds a typed asset URL and delegates to formatUrl.
|
|
128
|
+
|
|
129
|
+
Output pattern: {base}/{AppName}/assets/{assetGroup}/{assetType}/{file}
|
|
130
|
+
|
|
131
|
+
assetGroup tokens:
|
|
132
|
+
App → {AppName} e.g. "am"
|
|
133
|
+
Lib → {LibName} e.g. "@nexl"
|
|
134
|
+
External → external/{libname}
|
|
135
|
+
|
|
136
|
+
assetType:
|
|
137
|
+
jsons - JSON data files
|
|
138
|
+
l10n - localization files
|
|
139
|
+
images - image files
|
|
140
|
+
|
|
141
|
+
Examples (AppName = "am", LibName = "@nexl", CDN disabled):
|
|
142
|
+
App → /am/assets/am/jsons/countries.json?v=1
|
|
143
|
+
Lib → /am/assets/@nexl/l10n/en.json?v=1
|
|
144
|
+
External→ /am/assets/external/anatoly/jsons/file.json?v=1
|
|
145
|
+
|
|
146
|
+
Examples (CDN = "https://cdn.novaexpress.ai"):
|
|
147
|
+
App → https://cdn.novaexpress.ai/am/assets/am/jsons/countries.json
|
|
148
|
+
Lib → https://cdn.novaexpress.ai/am/assets/@nexl/l10n/en.json
|
|
149
|
+
External→ https://cdn.novaexpress.ai/am/assets/external/anatoly/jsons/file.json
|
|
150
|
+
*/
|
|
151
|
+
function formatAssetsUrl(assetGroupType, url) {
|
|
152
|
+
const path = url.replace(/^\/+/, '');
|
|
153
|
+
switch (assetGroupType) {
|
|
154
|
+
case AssetGroupType.App:
|
|
155
|
+
return formatUrl(`assets/{AppName}/${path}`);
|
|
156
|
+
case AssetGroupType.Lib:
|
|
157
|
+
return formatUrl(`assets/{LibName}/${path}`);
|
|
158
|
+
case AssetGroupType.External:
|
|
159
|
+
return formatUrl(`assets/external/${path}`);
|
|
160
|
+
default:
|
|
124
161
|
return url;
|
|
125
|
-
}
|
|
126
|
-
const isCDNEnabled = AppCoreSettings.cdn?.enabled;
|
|
127
|
-
const cdnUrl = AppCoreSettings.cdn?.url;
|
|
128
|
-
newUrl = isCDNEnabled ? cdnUrl + url : url;
|
|
129
162
|
}
|
|
130
|
-
|
|
163
|
+
}
|
|
164
|
+
/*
|
|
165
|
+
formatUrl resolves a relative URL to its final form.
|
|
166
|
+
|
|
167
|
+
Output pattern: {base}/{AppName}/{url}
|
|
168
|
+
|
|
169
|
+
Tokens in url are resolved before building the path:
|
|
170
|
+
{AppName} → AppName (e.g. "am")
|
|
171
|
+
{LibName} → LibName (e.g. "@nexl")
|
|
172
|
+
|
|
173
|
+
base:
|
|
174
|
+
CDN disabled → "" (relative URL, e.g. /am/assets/...)
|
|
175
|
+
CDN enabled → "https://cdn.novaexpress.ai"
|
|
176
|
+
|
|
177
|
+
Absolute URLs (starting with "http") are returned as-is.
|
|
178
|
+
*/
|
|
179
|
+
function formatUrl(url) {
|
|
180
|
+
if (!url) {
|
|
181
|
+
return "";
|
|
182
|
+
}
|
|
183
|
+
if (url.startsWith("http")) {
|
|
184
|
+
return url;
|
|
185
|
+
}
|
|
186
|
+
if (!AppCoreSettings) {
|
|
187
|
+
return url;
|
|
188
|
+
}
|
|
189
|
+
const version = AppCoreSettings.version;
|
|
190
|
+
const isCDNEnabled = AppCoreSettings.cdn?.enabled;
|
|
191
|
+
const cdnUrl = AppCoreSettings.cdn?.url;
|
|
192
|
+
const resolved = url
|
|
193
|
+
.replace('{AppName}', AppName ?? '')
|
|
194
|
+
.replace('{LibName}', LibName ?? '');
|
|
195
|
+
const base = (isCDNEnabled && cdnUrl)
|
|
196
|
+
? cdnUrl.replace(/\/+$/, '')
|
|
197
|
+
: '';
|
|
198
|
+
const fullUrl = base + '/' + AppName + '/' + resolved.replace(/^\/+/, '');
|
|
199
|
+
if (fullUrl.endsWith('.json')) {
|
|
200
|
+
return fullUrl + '?v=' + version;
|
|
201
|
+
}
|
|
202
|
+
return fullUrl;
|
|
131
203
|
}
|
|
132
204
|
let AppCoreSettings;
|
|
133
205
|
let AppVersion;
|
|
@@ -135,6 +207,7 @@ let IsDevMode = true;
|
|
|
135
207
|
let IsProdMode = !IsDevMode;
|
|
136
208
|
let ClientApps;
|
|
137
209
|
const AppName = g_AppName;
|
|
210
|
+
const LibName = g_LibName;
|
|
138
211
|
const ApiUrl = g_ApiUrl;
|
|
139
212
|
resetAppCoreSettings();
|
|
140
213
|
|
|
@@ -199,30 +272,14 @@ class ApiServiceBase {
|
|
|
199
272
|
return this._http.get(url);
|
|
200
273
|
}
|
|
201
274
|
//Json Files
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
const isCDNEnabled = AppCoreSettings.cdn.enabled;
|
|
205
|
-
const cdnUrl = AppCoreSettings.cdn.url;
|
|
206
|
-
//const cdnSasToken = AppCoreSettings.cdn.sasToken;
|
|
207
|
-
if (isCDNEnabled) {
|
|
208
|
-
url = (url[0] == '/') ? cdnUrl + url : cdnUrl + '/' + url;
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
url = url + '?v=' + version;
|
|
212
|
-
}
|
|
213
|
-
return this._http.get(url);
|
|
275
|
+
getJsonFile(fileName) {
|
|
276
|
+
return this._http.get(formatAssetsUrl(AssetGroupType.App, `jsons/${fileName}`));
|
|
214
277
|
}
|
|
215
278
|
getLibJsonFile(fileName) {
|
|
216
|
-
|
|
217
|
-
return this.__getJsonFile(url + "/" + fileName);
|
|
218
|
-
}
|
|
219
|
-
getJsonFile(fileName) {
|
|
220
|
-
const url = AppCoreSettings.assetsUrl + '/jsons';
|
|
221
|
-
return this.__getJsonFile(url + "/" + fileName);
|
|
279
|
+
return this._http.get(formatAssetsUrl(AssetGroupType.Lib, `jsons/${fileName}`));
|
|
222
280
|
}
|
|
223
281
|
getExternalJsonFile(libname, fileName) {
|
|
224
|
-
|
|
225
|
-
return this.__getJsonFile(url + "/" + fileName);
|
|
282
|
+
return this._http.get(formatAssetsUrl(AssetGroupType.External, `${libname}/jsons/${fileName}`));
|
|
226
283
|
}
|
|
227
284
|
static { this.ɵfac = function ApiServiceBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ApiServiceBase)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
228
285
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ApiServiceBase, factory: ApiServiceBase.ɵfac }); }
|
|
@@ -2987,15 +3044,9 @@ class LocalizePipe {
|
|
|
2987
3044
|
*/
|
|
2988
3045
|
//Node
|
|
2989
3046
|
function translateLoaderFactory(httpClient) {
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
let cdnUrl = appCoreSettings.cdn.url;
|
|
2994
|
-
let version = AppVersion ?? '1.0.0';
|
|
2995
|
-
if (isCDNEnabled) {
|
|
2996
|
-
url = (url[0] == '/') ? cdnUrl + url : cdnUrl + '/' + url;
|
|
2997
|
-
}
|
|
2998
|
-
return new TranslateHttpLoader(httpClient, `${url}/`, `.json?v=${version}`);
|
|
3047
|
+
const prefix = formatAssetsUrl(AssetGroupType.Lib, 'l10n/');
|
|
3048
|
+
const suffix = `.json?v=${AppVersion ?? '1.0.0'}`;
|
|
3049
|
+
return new TranslateHttpLoader(httpClient, prefix, suffix);
|
|
2999
3050
|
}
|
|
3000
3051
|
let _localizationInjectorInstance;
|
|
3001
3052
|
function getLocalizationInjector() {
|
|
@@ -4340,7 +4391,6 @@ class AReplacerDirective extends ReplacerDirectiveBase {
|
|
|
4340
4391
|
|
|
4341
4392
|
Authors:
|
|
4342
4393
|
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4343
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
4344
4394
|
|
|
4345
4395
|
Created:
|
|
4346
4396
|
4 Jul 2018
|
|
@@ -4350,37 +4400,10 @@ class AReplacerDirective extends ReplacerDirectiveBase {
|
|
|
4350
4400
|
*/
|
|
4351
4401
|
//Node
|
|
4352
4402
|
const _c0$i = ["*"];
|
|
4353
|
-
function
|
|
4354
|
-
i0.ɵɵelementContainer(0);
|
|
4355
|
-
} }
|
|
4356
|
-
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
4357
|
-
i0.ɵɵelementStart(0, "a", 4);
|
|
4358
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
4359
|
-
i0.ɵɵelementEnd();
|
|
4360
|
-
} if (rf & 2) {
|
|
4361
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
4362
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
4363
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4364
|
-
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4365
|
-
i0.ɵɵadvance();
|
|
4366
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
4367
|
-
} }
|
|
4368
|
-
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4403
|
+
function SignUpButtonComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4369
4404
|
i0.ɵɵelementContainer(0);
|
|
4370
4405
|
} }
|
|
4371
|
-
function
|
|
4372
|
-
i0.ɵɵelementStart(0, "a", 6);
|
|
4373
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
4374
|
-
i0.ɵɵelementEnd();
|
|
4375
|
-
} if (rf & 2) {
|
|
4376
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
4377
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
4378
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4379
|
-
i0.ɵɵproperty("routerLink", ctx_r0.url);
|
|
4380
|
-
i0.ɵɵadvance();
|
|
4381
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
4382
|
-
} }
|
|
4383
|
-
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
4406
|
+
function SignUpButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
4384
4407
|
i0.ɵɵelementStart(0, "span");
|
|
4385
4408
|
i0.ɵɵtext(1, "Sign Up");
|
|
4386
4409
|
i0.ɵɵelementEnd();
|
|
@@ -4389,46 +4412,41 @@ function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
4389
4412
|
i0.ɵɵelementStart(0, "span", null, 1);
|
|
4390
4413
|
i0.ɵɵprojection(2);
|
|
4391
4414
|
i0.ɵɵelementEnd();
|
|
4392
|
-
i0.ɵɵ
|
|
4415
|
+
i0.ɵɵconditionalCreate(3, SignUpButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
|
|
4393
4416
|
} if (rf & 2) {
|
|
4394
|
-
const
|
|
4417
|
+
const ref_r1 = i0.ɵɵreference(1);
|
|
4395
4418
|
i0.ɵɵadvance(3);
|
|
4396
|
-
i0.ɵɵ
|
|
4419
|
+
i0.ɵɵconditional(!ref_r1.innerHTML.trim() ? 3 : -1);
|
|
4397
4420
|
} }
|
|
4398
4421
|
class SignUpButtonComponent extends ComponentBase {
|
|
4399
|
-
constructor() {
|
|
4400
|
-
super(...arguments);
|
|
4401
|
-
this.external = false;
|
|
4402
|
-
}
|
|
4403
4422
|
ngOnInit() {
|
|
4404
|
-
|
|
4423
|
+
const url = MSALConfig.ui.signup;
|
|
4405
4424
|
if (url) {
|
|
4406
|
-
this.
|
|
4407
|
-
if (this.external) {
|
|
4408
|
-
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
4409
|
-
}
|
|
4410
|
-
else {
|
|
4411
|
-
this.url = url;
|
|
4412
|
-
}
|
|
4425
|
+
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
4413
4426
|
}
|
|
4414
4427
|
}
|
|
4415
4428
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignUpButtonComponent_BaseFactory; return function SignUpButtonComponent_Factory(__ngFactoryType__) { return (ɵSignUpButtonComponent_BaseFactory || (ɵSignUpButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignUpButtonComponent)))(__ngFactoryType__ || SignUpButtonComponent); }; })(); }
|
|
4416
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$i, decls: 4, vars:
|
|
4429
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$i, decls: 4, vars: 4, consts: [["contentTemplate", ""], ["ref", ""], [3, "href"], [4, "ngTemplateOutlet"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4417
4430
|
i0.ɵɵprojectionDef();
|
|
4418
|
-
i0.ɵɵ
|
|
4431
|
+
i0.ɵɵelementStart(0, "a", 2);
|
|
4432
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_ng_container_1_Template, 1, 0, "ng-container", 3);
|
|
4433
|
+
i0.ɵɵelementEnd();
|
|
4434
|
+
i0.ɵɵtemplate(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
4419
4435
|
} if (rf & 2) {
|
|
4420
|
-
i0.ɵɵ
|
|
4436
|
+
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
4437
|
+
i0.ɵɵclassMap(ctx.classes);
|
|
4438
|
+
i0.ɵɵproperty("href", ctx.url, i0.ɵɵsanitizeUrl);
|
|
4421
4439
|
i0.ɵɵadvance();
|
|
4422
|
-
i0.ɵɵproperty("
|
|
4423
|
-
} }, dependencies: [i1$2.
|
|
4440
|
+
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
4441
|
+
} }, dependencies: [i1$2.NgTemplateOutlet, AReplacerDirective], encapsulation: 2 }); }
|
|
4424
4442
|
}
|
|
4425
4443
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
4426
4444
|
type: Component,
|
|
4427
|
-
args: [{ selector: "anatoly-signup-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\"
|
|
4445
|
+
args: [{ selector: "anatoly-signup-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign Up</span>\n }\n</ng-template>\n" }]
|
|
4428
4446
|
}], null, { qs: [{
|
|
4429
4447
|
type: Input
|
|
4430
4448
|
}] }); })();
|
|
4431
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib/ui/components/identity/signup-button.component.ts", lineNumber:
|
|
4449
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib/ui/components/identity/signup-button.component.ts", lineNumber: 28 }); })();
|
|
4432
4450
|
|
|
4433
4451
|
/*
|
|
4434
4452
|
<file>
|
|
@@ -4446,44 +4464,46 @@ class SignUpButtonComponent extends ComponentBase {
|
|
|
4446
4464
|
</file>
|
|
4447
4465
|
*/
|
|
4448
4466
|
//Node
|
|
4449
|
-
function
|
|
4467
|
+
function BuyAccessButtonComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4450
4468
|
i0.ɵɵelementStart(0, "div");
|
|
4451
|
-
i0.ɵɵelement(1, "anatoly-signup-button",
|
|
4469
|
+
i0.ɵɵelement(1, "anatoly-signup-button", 1);
|
|
4452
4470
|
i0.ɵɵelementEnd();
|
|
4453
4471
|
} }
|
|
4454
|
-
function
|
|
4455
|
-
i0.ɵɵelementStart(0, "button",
|
|
4472
|
+
function BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4473
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
4456
4474
|
i0.ɵɵtext(1, " Your Plan ");
|
|
4457
4475
|
i0.ɵɵelementEnd();
|
|
4458
4476
|
} }
|
|
4459
|
-
function
|
|
4477
|
+
function BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4460
4478
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
4461
|
-
i0.ɵɵelementStart(0, "button",
|
|
4462
|
-
i0.ɵɵlistener("click", function
|
|
4479
|
+
i0.ɵɵelementStart(0, "button", 4);
|
|
4480
|
+
i0.ɵɵlistener("click", function BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onPlanSelect()); });
|
|
4463
4481
|
i0.ɵɵtext(1, " Buy Now ");
|
|
4464
4482
|
i0.ɵɵelementEnd();
|
|
4465
4483
|
} }
|
|
4466
|
-
function
|
|
4484
|
+
function BuyAccessButtonComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4467
4485
|
i0.ɵɵelementStart(0, "div");
|
|
4468
|
-
i0.ɵɵ
|
|
4486
|
+
i0.ɵɵconditionalCreate(1, BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_1_Template, 2, 0, "button", 2);
|
|
4487
|
+
i0.ɵɵconditionalCreate(2, BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template, 2, 0, "button", 3);
|
|
4469
4488
|
i0.ɵɵelementEnd();
|
|
4470
4489
|
} if (rf & 2) {
|
|
4471
4490
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4472
4491
|
i0.ɵɵadvance();
|
|
4473
|
-
i0.ɵɵ
|
|
4492
|
+
i0.ɵɵconditional(ctx_r1.plan == ctx_r1.currentPlanId ? 1 : -1);
|
|
4474
4493
|
i0.ɵɵadvance();
|
|
4475
|
-
i0.ɵɵ
|
|
4494
|
+
i0.ɵɵconditional(ctx_r1.plan != ctx_r1.currentPlanId ? 2 : -1);
|
|
4476
4495
|
} }
|
|
4477
|
-
function
|
|
4478
|
-
i0.ɵɵelementStart(0, "div",
|
|
4479
|
-
i0.ɵɵ
|
|
4496
|
+
function BuyAccessButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
4497
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
4498
|
+
i0.ɵɵconditionalCreate(1, BuyAccessButtonComponent_Conditional_0_Conditional_1_Template, 2, 0, "div");
|
|
4499
|
+
i0.ɵɵconditionalCreate(2, BuyAccessButtonComponent_Conditional_0_Conditional_2_Template, 3, 2, "div");
|
|
4480
4500
|
i0.ɵɵelementEnd();
|
|
4481
4501
|
} if (rf & 2) {
|
|
4482
4502
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4483
4503
|
i0.ɵɵadvance();
|
|
4484
|
-
i0.ɵɵ
|
|
4504
|
+
i0.ɵɵconditional(!ctx_r1.isUserSignedIn && ctx_r1.visibleSignup ? 1 : -1);
|
|
4485
4505
|
i0.ɵɵadvance();
|
|
4486
|
-
i0.ɵɵ
|
|
4506
|
+
i0.ɵɵconditional(ctx_r1.isUserSignedIn && ctx_r1.visiblePlanStatus ? 2 : -1);
|
|
4487
4507
|
} }
|
|
4488
4508
|
class BuyAccessButtonComponent {
|
|
4489
4509
|
constructor(appContext) {
|
|
@@ -4520,15 +4540,15 @@ class BuyAccessButtonComponent {
|
|
|
4520
4540
|
this.planselect.emit(this.plan);
|
|
4521
4541
|
}
|
|
4522
4542
|
static { this.ɵfac = function BuyAccessButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4523
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-billing-buyaccess-button"]], inputs: { plan: "plan", visiblePlanStatus: "visiblePlanStatus", visibleSignup: "visibleSignup" }, outputs: { planselect: "planselect" }, standalone: false, decls: 1, vars: 1, consts: [[
|
|
4524
|
-
i0.ɵɵ
|
|
4543
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-billing-buyaccess-button"]], inputs: { plan: "plan", visiblePlanStatus: "visiblePlanStatus", visibleSignup: "visibleSignup" }, outputs: { planselect: "planselect" }, standalone: false, decls: 1, vars: 1, consts: [[1, "actions"], ["classes", "btn btn-block btn-primary"], [1, "btn", "btn-block", "btn-success", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan", 3, "click"]], template: function BuyAccessButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4544
|
+
i0.ɵɵconditionalCreate(0, BuyAccessButtonComponent_Conditional_0_Template, 3, 2, "div", 0);
|
|
4525
4545
|
} if (rf & 2) {
|
|
4526
|
-
i0.ɵɵ
|
|
4527
|
-
} }, dependencies: [
|
|
4546
|
+
i0.ɵɵconditional(ctx.contextUpdated ? 0 : -1);
|
|
4547
|
+
} }, dependencies: [SignUpButtonComponent], encapsulation: 2 }); }
|
|
4528
4548
|
}
|
|
4529
4549
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
4530
4550
|
type: Component,
|
|
4531
|
-
args: [{ selector: 'anatoly-billing-buyaccess-button', standalone: false, template: "<div class=\"actions\"
|
|
4551
|
+
args: [{ selector: 'anatoly-billing-buyaccess-button', standalone: false, template: "@if (contextUpdated) {\n <div class=\"actions\">\n @if (!isUserSignedIn && visibleSignup) {\n <div>\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\n </div>\n }\n @if (isUserSignedIn && visiblePlanStatus) {\n <div>\n @if (plan == currentPlanId) {\n <button class=\"btn btn-block btn-success selectPlan\">\n Your Plan\n </button>\n }\n @if (plan != currentPlanId) {\n <button class=\"btn btn-block btn-warning selectPlan\"\n (click)=\"onPlanSelect()\">\n Buy Now\n </button>\n }\n </div>\n }\n </div>\n}\n" }]
|
|
4532
4552
|
}], () => [{ type: AppContextService }], { plan: [{
|
|
4533
4553
|
type: Input
|
|
4534
4554
|
}], visiblePlanStatus: [{
|
|
@@ -4556,51 +4576,54 @@ class BuyAccessButtonComponent {
|
|
|
4556
4576
|
</file>
|
|
4557
4577
|
*/
|
|
4558
4578
|
//Node
|
|
4559
|
-
function
|
|
4579
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4560
4580
|
i0.ɵɵelementStart(0, "div");
|
|
4561
|
-
i0.ɵɵelement(1, "anatoly-signup-button",
|
|
4581
|
+
i0.ɵɵelement(1, "anatoly-signup-button", 1);
|
|
4562
4582
|
i0.ɵɵelementEnd();
|
|
4563
4583
|
} }
|
|
4564
|
-
function
|
|
4565
|
-
i0.ɵɵelementStart(0, "button",
|
|
4584
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4585
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
4566
4586
|
i0.ɵɵtext(1, " Your Plan ");
|
|
4567
4587
|
i0.ɵɵelementEnd();
|
|
4568
4588
|
} }
|
|
4569
|
-
function
|
|
4570
|
-
i0.ɵɵelementStart(0, "button",
|
|
4589
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4590
|
+
i0.ɵɵelementStart(0, "button", 3);
|
|
4571
4591
|
i0.ɵɵtext(1, " Requested ");
|
|
4572
4592
|
i0.ɵɵelementEnd();
|
|
4573
4593
|
} }
|
|
4574
|
-
function
|
|
4594
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
4575
4595
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
4576
|
-
i0.ɵɵelementStart(0, "button",
|
|
4577
|
-
i0.ɵɵlistener("click", function
|
|
4596
|
+
i0.ɵɵelementStart(0, "button", 4);
|
|
4597
|
+
i0.ɵɵlistener("click", function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onPlanSelect()); });
|
|
4578
4598
|
i0.ɵɵtext(1, " Subscribe ");
|
|
4579
4599
|
i0.ɵɵelementEnd();
|
|
4580
4600
|
} }
|
|
4581
|
-
function
|
|
4601
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4582
4602
|
i0.ɵɵelementStart(0, "div");
|
|
4583
|
-
i0.ɵɵ
|
|
4603
|
+
i0.ɵɵconditionalCreate(1, SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_1_Template, 2, 0, "button", 2);
|
|
4604
|
+
i0.ɵɵconditionalCreate(2, SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template, 2, 0, "button", 3);
|
|
4605
|
+
i0.ɵɵconditionalCreate(3, SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_3_Template, 2, 0, "button", 3);
|
|
4584
4606
|
i0.ɵɵelementEnd();
|
|
4585
4607
|
} if (rf & 2) {
|
|
4586
4608
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4587
4609
|
i0.ɵɵadvance();
|
|
4588
|
-
i0.ɵɵ
|
|
4610
|
+
i0.ɵɵconditional(ctx_r1.plan == ctx_r1.currentPlanId ? 1 : -1);
|
|
4589
4611
|
i0.ɵɵadvance();
|
|
4590
|
-
i0.ɵɵ
|
|
4612
|
+
i0.ɵɵconditional(ctx_r1.plan == ctx_r1.requestedPlanId ? 2 : -1);
|
|
4591
4613
|
i0.ɵɵadvance();
|
|
4592
|
-
i0.ɵɵ
|
|
4614
|
+
i0.ɵɵconditional(ctx_r1.plan != ctx_r1.currentPlanId && ctx_r1.plan != ctx_r1.requestedPlanId ? 3 : -1);
|
|
4593
4615
|
} }
|
|
4594
|
-
function
|
|
4595
|
-
i0.ɵɵelementStart(0, "div",
|
|
4596
|
-
i0.ɵɵ
|
|
4616
|
+
function SubscribePlanButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
4617
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
4618
|
+
i0.ɵɵconditionalCreate(1, SubscribePlanButtonComponent_Conditional_0_Conditional_1_Template, 2, 0, "div");
|
|
4619
|
+
i0.ɵɵconditionalCreate(2, SubscribePlanButtonComponent_Conditional_0_Conditional_2_Template, 4, 3, "div");
|
|
4597
4620
|
i0.ɵɵelementEnd();
|
|
4598
4621
|
} if (rf & 2) {
|
|
4599
4622
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4600
4623
|
i0.ɵɵadvance();
|
|
4601
|
-
i0.ɵɵ
|
|
4624
|
+
i0.ɵɵconditional(!ctx_r1.isUserSignedIn && ctx_r1.visibleSignup ? 1 : -1);
|
|
4602
4625
|
i0.ɵɵadvance();
|
|
4603
|
-
i0.ɵɵ
|
|
4626
|
+
i0.ɵɵconditional(ctx_r1.isUserSignedIn && ctx_r1.visiblePlanStatus ? 2 : -1);
|
|
4604
4627
|
} }
|
|
4605
4628
|
class SubscribePlanButtonComponent {
|
|
4606
4629
|
constructor(appContext) {
|
|
@@ -4639,15 +4662,15 @@ class SubscribePlanButtonComponent {
|
|
|
4639
4662
|
this.planselect.emit(this.plan);
|
|
4640
4663
|
}
|
|
4641
4664
|
static { this.ɵfac = function SubscribePlanButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4642
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-billing-subscribe-plan-button"]], inputs: { plan: "plan", visiblePlanStatus: "visiblePlanStatus", visibleSignup: "visibleSignup" }, outputs: { planselect: "planselect" }, standalone: false, decls: 1, vars: 1, consts: [[
|
|
4643
|
-
i0.ɵɵ
|
|
4665
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-billing-subscribe-plan-button"]], inputs: { plan: "plan", visiblePlanStatus: "visiblePlanStatus", visibleSignup: "visibleSignup" }, outputs: { planselect: "planselect" }, standalone: false, decls: 1, vars: 1, consts: [[1, "actions"], ["classes", "btn btn-block btn-primary"], [1, "btn", "btn-block", "btn-success", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan", 3, "click"]], template: function SubscribePlanButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4666
|
+
i0.ɵɵconditionalCreate(0, SubscribePlanButtonComponent_Conditional_0_Template, 3, 2, "div", 0);
|
|
4644
4667
|
} if (rf & 2) {
|
|
4645
|
-
i0.ɵɵ
|
|
4646
|
-
} }, dependencies: [
|
|
4668
|
+
i0.ɵɵconditional(ctx.contextUpdated ? 0 : -1);
|
|
4669
|
+
} }, dependencies: [SignUpButtonComponent], encapsulation: 2 }); }
|
|
4647
4670
|
}
|
|
4648
4671
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
4649
4672
|
type: Component,
|
|
4650
|
-
args: [{ selector: 'anatoly-billing-subscribe-plan-button', standalone: false, template: "<div class=\"actions\"
|
|
4673
|
+
args: [{ selector: 'anatoly-billing-subscribe-plan-button', standalone: false, template: "@if (contextUpdated) {\n <div class=\"actions\">\n @if (!isUserSignedIn && visibleSignup) {\n <div>\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\n </div>\n }\n @if (isUserSignedIn && visiblePlanStatus) {\n <div>\n @if (plan == currentPlanId) {\n <button class=\"btn btn-block btn-success selectPlan\">\n Your Plan\n </button>\n }\n @if (plan == requestedPlanId) {\n <button class=\"btn btn-block btn-warning selectPlan\">\n Requested\n </button>\n }\n @if (plan != currentPlanId && plan != requestedPlanId) {\n <button class=\"btn btn-block btn-warning selectPlan\"\n (click)=\"onPlanSelect()\">\n Subscribe\n </button>\n }\n </div>\n }\n </div>\n}\n" }]
|
|
4651
4674
|
}], () => [{ type: AppContextService }], { plan: [{
|
|
4652
4675
|
type: Input
|
|
4653
4676
|
}], visiblePlanStatus: [{
|
|
@@ -7367,7 +7390,7 @@ class CardComponent extends ComponentBase {
|
|
|
7367
7390
|
*/
|
|
7368
7391
|
//Node
|
|
7369
7392
|
const _c0$d = ["*"];
|
|
7370
|
-
function
|
|
7393
|
+
function CardHeaderComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
7371
7394
|
i0.ɵɵelementStart(0, "h3");
|
|
7372
7395
|
i0.ɵɵtext(1);
|
|
7373
7396
|
i0.ɵɵelementEnd();
|
|
@@ -7378,22 +7401,22 @@ function CardHeaderComponent_h3_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7378
7401
|
} }
|
|
7379
7402
|
class CardHeaderComponent extends ComponentBase {
|
|
7380
7403
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardHeaderComponent_BaseFactory; return function CardHeaderComponent_Factory(__ngFactoryType__) { return (ɵCardHeaderComponent_BaseFactory || (ɵCardHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardHeaderComponent)))(__ngFactoryType__ || CardHeaderComponent); }; })(); }
|
|
7381
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeaderComponent, selectors: [["anatoly-card-header"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$d, decls: 4, vars: 4, consts: [[1, "card-title"]
|
|
7404
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeaderComponent, selectors: [["anatoly-card-header"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$d, decls: 4, vars: 4, consts: [[1, "card-title"]], template: function CardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7382
7405
|
i0.ɵɵprojectionDef();
|
|
7383
7406
|
i0.ɵɵelementStart(0, "div")(1, "div", 0);
|
|
7384
|
-
i0.ɵɵ
|
|
7407
|
+
i0.ɵɵconditionalCreate(2, CardHeaderComponent_Conditional_2_Template, 2, 1, "h3");
|
|
7385
7408
|
i0.ɵɵelementEnd();
|
|
7386
7409
|
i0.ɵɵprojection(3);
|
|
7387
7410
|
i0.ɵɵelementEnd();
|
|
7388
7411
|
} if (rf & 2) {
|
|
7389
7412
|
i0.ɵɵclassMap(i0.ɵɵinterpolate1("card-header ", ctx.classes));
|
|
7390
7413
|
i0.ɵɵadvance(2);
|
|
7391
|
-
i0.ɵɵ
|
|
7392
|
-
} },
|
|
7414
|
+
i0.ɵɵconditional(ctx.title ? 2 : -1);
|
|
7415
|
+
} }, encapsulation: 2 }); }
|
|
7393
7416
|
}
|
|
7394
7417
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
|
|
7395
7418
|
type: Component,
|
|
7396
|
-
args: [{ selector: 'anatoly-card-header', standalone: false, template: "<div class='card-header {{ classes }}'>\
|
|
7419
|
+
args: [{ selector: 'anatoly-card-header', standalone: false, template: "<div class='card-header {{ classes }}'>\n <div class=\"card-title\">\n @if (title) {\n <h3>{{ title }}</h3>\n }\n </div>\n <ng-content></ng-content>\n</div>\n" }]
|
|
7397
7420
|
}], null, null); })();
|
|
7398
7421
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardHeaderComponent, { className: "CardHeaderComponent", filePath: "lib/ui/components/card/card-header.component.ts", lineNumber: 27 }); })();
|
|
7399
7422
|
|
|
@@ -7513,17 +7536,17 @@ class NativeElementDirective {
|
|
|
7513
7536
|
</file>
|
|
7514
7537
|
*/
|
|
7515
7538
|
//Node
|
|
7516
|
-
function
|
|
7539
|
+
function CountryDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7517
7540
|
i0.ɵɵelement(0, "div");
|
|
7518
7541
|
} }
|
|
7519
|
-
function
|
|
7520
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7542
|
+
function CountryDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7543
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7521
7544
|
} if (rf & 2) {
|
|
7522
7545
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
7523
7546
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r0.title));
|
|
7524
7547
|
} }
|
|
7525
|
-
function
|
|
7526
|
-
i0.ɵɵelementStart(0, "option",
|
|
7548
|
+
function CountryDropdownlist_Conditional_1_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
7549
|
+
i0.ɵɵelementStart(0, "option", 3);
|
|
7527
7550
|
i0.ɵɵtext(1);
|
|
7528
7551
|
i0.ɵɵelementEnd();
|
|
7529
7552
|
} if (rf & 2) {
|
|
@@ -7532,21 +7555,21 @@ function CountryDropdownlist_div_1_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
7532
7555
|
i0.ɵɵadvance();
|
|
7533
7556
|
i0.ɵɵtextInterpolate1(" ", item_r2.name, " ");
|
|
7534
7557
|
} }
|
|
7535
|
-
function
|
|
7536
|
-
i0.ɵɵelementStart(0, "div",
|
|
7537
|
-
i0.ɵɵ
|
|
7538
|
-
i0.ɵɵelementStart(2, "select",
|
|
7539
|
-
i0.ɵɵ
|
|
7558
|
+
function CountryDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7559
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
7560
|
+
i0.ɵɵconditionalCreate(1, CountryDropdownlist_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7561
|
+
i0.ɵɵelementStart(2, "select", 2);
|
|
7562
|
+
i0.ɵɵrepeaterCreate(3, CountryDropdownlist_Conditional_1_For_4_Template, 2, 2, "option", 3, i0.ɵɵrepeaterTrackByIdentity);
|
|
7540
7563
|
i0.ɵɵelementEnd()();
|
|
7541
7564
|
} if (rf & 2) {
|
|
7542
7565
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
7543
7566
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
7544
7567
|
i0.ɵɵadvance();
|
|
7545
|
-
i0.ɵɵ
|
|
7568
|
+
i0.ɵɵconditional(ctx_r0.isTitleVisible ? 1 : -1);
|
|
7546
7569
|
i0.ɵɵadvance();
|
|
7547
7570
|
i0.ɵɵproperty("formControlName", ctx_r0.controlName);
|
|
7548
7571
|
i0.ɵɵadvance();
|
|
7549
|
-
i0.ɵɵ
|
|
7572
|
+
i0.ɵɵrepeater(ctx_r0.items);
|
|
7550
7573
|
} }
|
|
7551
7574
|
class CountryDropdownlist extends EditComponentBase {
|
|
7552
7575
|
constructor(appContext) {
|
|
@@ -7569,17 +7592,18 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7569
7592
|
}
|
|
7570
7593
|
}
|
|
7571
7594
|
static { this.ɵfac = function CountryDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CountryDropdownlist)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
7572
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CountryDropdownlist, selectors: [["anatoly-country-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
7573
|
-
i0.ɵɵ
|
|
7595
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CountryDropdownlist, selectors: [["anatoly-country-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[3, "formGroup"], [3, "text"], [1, "form-select", 3, "formControlName"], [3, "value"]], template: function CountryDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
7596
|
+
i0.ɵɵconditionalCreate(0, CountryDropdownlist_Conditional_0_Template, 1, 0, "div");
|
|
7597
|
+
i0.ɵɵconditionalCreate(1, CountryDropdownlist_Conditional_1_Template, 5, 3, "div", 0);
|
|
7574
7598
|
} if (rf & 2) {
|
|
7575
|
-
i0.ɵɵ
|
|
7599
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
7576
7600
|
i0.ɵɵadvance();
|
|
7577
|
-
i0.ɵɵ
|
|
7578
|
-
} }, dependencies: [
|
|
7601
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
7602
|
+
} }, dependencies: [i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7579
7603
|
}
|
|
7580
7604
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
7581
7605
|
type: Component,
|
|
7582
|
-
args: [{ selector: 'anatoly-country-dropdownlist', standalone: false, template: "
|
|
7606
|
+
args: [{ selector: 'anatoly-country-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n </div>\n}\n\n@if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <select [formControlName]='controlName' class='form-select'>\n @for (item of items; track item) {\n <option [value]='item.code'>\n {{ item.name }}\n </option>\n }\n </select>\n </div>\n}\n" }]
|
|
7583
7607
|
}], () => [{ type: AppContextService }], null); })();
|
|
7584
7608
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CountryDropdownlist, { className: "CountryDropdownlist", filePath: "lib/ui/components/dropdownlists/country/country.dropdownlist.ts", lineNumber: 29 }); })();
|
|
7585
7609
|
|
|
@@ -7599,25 +7623,25 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7599
7623
|
</file>
|
|
7600
7624
|
*/
|
|
7601
7625
|
//Node
|
|
7602
|
-
function
|
|
7626
|
+
function LanguageDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7603
7627
|
i0.ɵɵelement(0, "div");
|
|
7604
7628
|
} }
|
|
7605
|
-
function
|
|
7606
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7629
|
+
function LanguageDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7630
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7607
7631
|
} if (rf & 2) {
|
|
7608
7632
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
7609
7633
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r0.title));
|
|
7610
7634
|
} }
|
|
7611
|
-
function
|
|
7612
|
-
i0.ɵɵelementStart(0, "div",
|
|
7613
|
-
i0.ɵɵ
|
|
7614
|
-
i0.ɵɵelement(2, "kendo-dropdownlist",
|
|
7635
|
+
function LanguageDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7636
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
7637
|
+
i0.ɵɵconditionalCreate(1, LanguageDropdownlist_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7638
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 2);
|
|
7615
7639
|
i0.ɵɵelementEnd();
|
|
7616
7640
|
} if (rf & 2) {
|
|
7617
7641
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
7618
7642
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
7619
7643
|
i0.ɵɵadvance();
|
|
7620
|
-
i0.ɵɵ
|
|
7644
|
+
i0.ɵɵconditional(ctx_r0.isTitleVisible ? 1 : -1);
|
|
7621
7645
|
i0.ɵɵadvance();
|
|
7622
7646
|
i0.ɵɵproperty("data", ctx_r0.items)("valuePrimitive", true)("formControlName", ctx_r0.controlName);
|
|
7623
7647
|
} }
|
|
@@ -7634,17 +7658,18 @@ class LanguageDropdownlist extends EditComponentBase {
|
|
|
7634
7658
|
});
|
|
7635
7659
|
}
|
|
7636
7660
|
static { this.ɵfac = function LanguageDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageDropdownlist)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
7637
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LanguageDropdownlist, selectors: [["anatoly-language-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
7638
|
-
i0.ɵɵ
|
|
7661
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LanguageDropdownlist, selectors: [["anatoly-language-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[3, "formGroup"], [3, "text"], ["valueField", "code", "textField", "name", 3, "data", "valuePrimitive", "formControlName"]], template: function LanguageDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
7662
|
+
i0.ɵɵconditionalCreate(0, LanguageDropdownlist_Conditional_0_Template, 1, 0, "div");
|
|
7663
|
+
i0.ɵɵconditionalCreate(1, LanguageDropdownlist_Conditional_1_Template, 3, 5, "div", 0);
|
|
7639
7664
|
} if (rf & 2) {
|
|
7640
|
-
i0.ɵɵ
|
|
7665
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
7641
7666
|
i0.ɵɵadvance();
|
|
7642
|
-
i0.ɵɵ
|
|
7643
|
-
} }, dependencies: [
|
|
7667
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
7668
|
+
} }, dependencies: [i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2$1.DropDownListComponent, i3.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7644
7669
|
}
|
|
7645
7670
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
|
|
7646
7671
|
type: Component,
|
|
7647
|
-
args: [{ selector: 'anatoly-language-dropdownlist', standalone: false, template: "
|
|
7672
|
+
args: [{ selector: 'anatoly-language-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n </div>\n}\n\n@if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]='items'\n valueField=\"code\"\n textField=\"name\"\n [valuePrimitive]='true'\n [formControlName]='controlName' />\n </div>\n }\n" }]
|
|
7648
7673
|
}], () => [{ type: AppContextService }], null); })();
|
|
7649
7674
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LanguageDropdownlist, { className: "LanguageDropdownlist", filePath: "lib/ui/components/dropdownlists/language/language.dropdownlist.ts", lineNumber: 30 }); })();
|
|
7650
7675
|
|
|
@@ -7785,8 +7810,8 @@ class ValidationSummaryComponent extends EditComponentBase {
|
|
|
7785
7810
|
</file>
|
|
7786
7811
|
*/
|
|
7787
7812
|
//Node
|
|
7788
|
-
function
|
|
7789
|
-
i0.ɵɵelementStart(0, "li")(1, "span",
|
|
7813
|
+
function ItemValidationSummaryComponent_Conditional_0_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
7814
|
+
i0.ɵɵelementStart(0, "li")(1, "span", 1);
|
|
7790
7815
|
i0.ɵɵtext(2);
|
|
7791
7816
|
i0.ɵɵelementEnd()();
|
|
7792
7817
|
} if (rf & 2) {
|
|
@@ -7794,26 +7819,26 @@ function ItemValidationSummaryComponent_ul_0_li_1_Template(rf, ctx) { if (rf & 1
|
|
|
7794
7819
|
i0.ɵɵadvance(2);
|
|
7795
7820
|
i0.ɵɵtextInterpolate(error_r1);
|
|
7796
7821
|
} }
|
|
7797
|
-
function
|
|
7798
|
-
i0.ɵɵelementStart(0, "ul",
|
|
7799
|
-
i0.ɵɵ
|
|
7822
|
+
function ItemValidationSummaryComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7823
|
+
i0.ɵɵelementStart(0, "ul", 0);
|
|
7824
|
+
i0.ɵɵrepeaterCreate(1, ItemValidationSummaryComponent_Conditional_0_For_2_Template, 3, 1, "li", null, i0.ɵɵrepeaterTrackByIdentity);
|
|
7800
7825
|
i0.ɵɵelementEnd();
|
|
7801
7826
|
} if (rf & 2) {
|
|
7802
7827
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7803
7828
|
i0.ɵɵadvance();
|
|
7804
|
-
i0.ɵɵ
|
|
7829
|
+
i0.ɵɵrepeater(ctx_r1.getValidationMessages(ctx_r1.formGroup.controls[ctx_r1.controlName], ctx_r1.controlName, ctx_r1.controlTitle));
|
|
7805
7830
|
} }
|
|
7806
7831
|
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
7807
7832
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵItemValidationSummaryComponent_BaseFactory; return function ItemValidationSummaryComponent_Factory(__ngFactoryType__) { return (ɵItemValidationSummaryComponent_BaseFactory || (ɵItemValidationSummaryComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ItemValidationSummaryComponent)))(__ngFactoryType__ || ItemValidationSummaryComponent); }; })(); }
|
|
7808
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ItemValidationSummaryComponent, selectors: [["anatoly-item-validation-summary"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[
|
|
7809
|
-
i0.ɵɵ
|
|
7833
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ItemValidationSummaryComponent, selectors: [["anatoly-item-validation-summary"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[1, "list-unstyled"], [1, "help-block"]], template: function ItemValidationSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7834
|
+
i0.ɵɵconditionalCreate(0, ItemValidationSummaryComponent_Conditional_0_Template, 3, 0, "ul", 0);
|
|
7810
7835
|
} if (rf & 2) {
|
|
7811
|
-
i0.ɵɵ
|
|
7812
|
-
} },
|
|
7836
|
+
i0.ɵɵconditional(ctx.isControlInvalid(ctx.controlName) ? 0 : -1);
|
|
7837
|
+
} }, encapsulation: 2 }); }
|
|
7813
7838
|
}
|
|
7814
7839
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
|
|
7815
7840
|
type: Component,
|
|
7816
|
-
args: [{ selector: "anatoly-item-validation-summary", standalone: false, template: "<ul class=\"list-unstyled\"
|
|
7841
|
+
args: [{ selector: "anatoly-item-validation-summary", standalone: false, template: "@if (isControlInvalid(controlName)) {\n <ul class=\"list-unstyled\">\n @for (error of getValidationMessages(formGroup.controls[controlName], controlName, controlTitle); track error) {\n <li>\n <span class=\"help-block\">{{ error }}</span>\n </li>\n }\n </ul>\n}\n\n" }]
|
|
7817
7842
|
}], null, null); })();
|
|
7818
7843
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ItemValidationSummaryComponent, { className: "ItemValidationSummaryComponent", filePath: "lib/ui/validation/item-validation-summary.component.ts", lineNumber: 28 }); })();
|
|
7819
7844
|
|
|
@@ -7832,44 +7857,44 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
7832
7857
|
</file>
|
|
7833
7858
|
*/
|
|
7834
7859
|
//Node
|
|
7835
|
-
function
|
|
7836
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7860
|
+
function ModerationStatusDropdownlist_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7861
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7837
7862
|
} if (rf & 2) {
|
|
7838
7863
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7839
7864
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7840
7865
|
} }
|
|
7841
|
-
function
|
|
7866
|
+
function ModerationStatusDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7842
7867
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7843
7868
|
i0.ɵɵelementStart(0, "div");
|
|
7844
|
-
i0.ɵɵ
|
|
7845
|
-
i0.ɵɵelementStart(2, "kendo-dropdownlist",
|
|
7846
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
7847
|
-
i0.ɵɵlistener("valueChange", function
|
|
7869
|
+
i0.ɵɵconditionalCreate(1, ModerationStatusDropdownlist_Conditional_0_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7870
|
+
i0.ɵɵelementStart(2, "kendo-dropdownlist", 2);
|
|
7871
|
+
i0.ɵɵtwoWayListener("ngModelChange", function ModerationStatusDropdownlist_Conditional_0_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.sv, $event) || (ctx_r1.sv = $event); return i0.ɵɵresetView($event); });
|
|
7872
|
+
i0.ɵɵlistener("valueChange", function ModerationStatusDropdownlist_Conditional_0_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onChange($event)); });
|
|
7848
7873
|
i0.ɵɵelementEnd()();
|
|
7849
7874
|
} if (rf & 2) {
|
|
7850
7875
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7851
7876
|
i0.ɵɵadvance();
|
|
7852
|
-
i0.ɵɵ
|
|
7877
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
7853
7878
|
i0.ɵɵadvance();
|
|
7854
7879
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true);
|
|
7855
7880
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.sv);
|
|
7856
7881
|
} }
|
|
7857
|
-
function
|
|
7858
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7882
|
+
function ModerationStatusDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7883
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7859
7884
|
} if (rf & 2) {
|
|
7860
7885
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7861
7886
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7862
7887
|
} }
|
|
7863
|
-
function
|
|
7864
|
-
i0.ɵɵelementStart(0, "div",
|
|
7865
|
-
i0.ɵɵ
|
|
7866
|
-
i0.ɵɵelement(2, "kendo-dropdownlist",
|
|
7888
|
+
function ModerationStatusDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7889
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
7890
|
+
i0.ɵɵconditionalCreate(1, ModerationStatusDropdownlist_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7891
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 3)(3, "anatoly-item-validation-summary", 4);
|
|
7867
7892
|
i0.ɵɵelementEnd();
|
|
7868
7893
|
} if (rf & 2) {
|
|
7869
7894
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7870
7895
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
7871
7896
|
i0.ɵɵadvance();
|
|
7872
|
-
i0.ɵɵ
|
|
7897
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
7873
7898
|
i0.ɵɵadvance();
|
|
7874
7899
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true)("formControlName", ctx_r1.controlName);
|
|
7875
7900
|
i0.ɵɵadvance();
|
|
@@ -7882,17 +7907,18 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7882
7907
|
this.enumeration = ModerationStatus;
|
|
7883
7908
|
}
|
|
7884
7909
|
static { this.ɵfac = function ModerationStatusDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModerationStatusDropdownlist)(); }; }
|
|
7885
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModerationStatusDropdownlist, selectors: [["anatoly-moderationstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
7886
|
-
i0.ɵɵ
|
|
7910
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModerationStatusDropdownlist, selectors: [["anatoly-moderationstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[3, "formGroup"], [3, "text"], ["valueField", "value", "textField", "text", 3, "ngModelChange", "valueChange", "data", "valuePrimitive", "ngModel"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"], [3, "formGroup", "formSubmitted", "controlName", "controlTitle"]], template: function ModerationStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
7911
|
+
i0.ɵɵconditionalCreate(0, ModerationStatusDropdownlist_Conditional_0_Template, 3, 4, "div");
|
|
7912
|
+
i0.ɵɵconditionalCreate(1, ModerationStatusDropdownlist_Conditional_1_Template, 4, 9, "div", 0);
|
|
7887
7913
|
} if (rf & 2) {
|
|
7888
|
-
i0.ɵɵ
|
|
7914
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
7889
7915
|
i0.ɵɵadvance();
|
|
7890
|
-
i0.ɵɵ
|
|
7891
|
-
} }, dependencies: [
|
|
7916
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
7917
|
+
} }, dependencies: [i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i2$1.DropDownListComponent, i3.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7892
7918
|
}
|
|
7893
7919
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
7894
7920
|
type: Component,
|
|
7895
|
-
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', standalone: false, template: "
|
|
7921
|
+
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]=\"items\"\n valueField=\"value\" textField=\"text\"\n [valuePrimitive]=\"true\"\n [(ngModel)]=\"sv\"\n (valueChange)=\"onChange($event)\" />\n </div>\n }\n\n @if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]=\"items\"\n valueField=\"value\" textField=\"text\"\n [valuePrimitive]=\"true\"\n [formControlName]='controlName' />\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n [controlName]='controlName'\n [controlTitle]='controlTitle' />\n </div>\n }\n" }]
|
|
7896
7922
|
}], () => [], null); })();
|
|
7897
7923
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModerationStatusDropdownlist, { className: "ModerationStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/moderationstatus/moderationstatus.dropdownlist.ts", lineNumber: 28 }); })();
|
|
7898
7924
|
|
|
@@ -7911,44 +7937,44 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7911
7937
|
</file>
|
|
7912
7938
|
*/
|
|
7913
7939
|
//Node
|
|
7914
|
-
function
|
|
7915
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7940
|
+
function PublishStatusDropdownlist_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7941
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7916
7942
|
} if (rf & 2) {
|
|
7917
7943
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7918
7944
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7919
7945
|
} }
|
|
7920
|
-
function
|
|
7946
|
+
function PublishStatusDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7921
7947
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7922
7948
|
i0.ɵɵelementStart(0, "div");
|
|
7923
|
-
i0.ɵɵ
|
|
7924
|
-
i0.ɵɵelementStart(2, "kendo-dropdownlist",
|
|
7925
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
7926
|
-
i0.ɵɵlistener("valueChange", function
|
|
7949
|
+
i0.ɵɵconditionalCreate(1, PublishStatusDropdownlist_Conditional_0_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7950
|
+
i0.ɵɵelementStart(2, "kendo-dropdownlist", 2);
|
|
7951
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PublishStatusDropdownlist_Conditional_0_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.sv, $event) || (ctx_r1.sv = $event); return i0.ɵɵresetView($event); });
|
|
7952
|
+
i0.ɵɵlistener("valueChange", function PublishStatusDropdownlist_Conditional_0_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onChange($event)); });
|
|
7927
7953
|
i0.ɵɵelementEnd()();
|
|
7928
7954
|
} if (rf & 2) {
|
|
7929
7955
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7930
7956
|
i0.ɵɵadvance();
|
|
7931
|
-
i0.ɵɵ
|
|
7957
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
7932
7958
|
i0.ɵɵadvance();
|
|
7933
7959
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true);
|
|
7934
7960
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.sv);
|
|
7935
7961
|
} }
|
|
7936
|
-
function
|
|
7937
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7962
|
+
function PublishStatusDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7963
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7938
7964
|
} if (rf & 2) {
|
|
7939
7965
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7940
7966
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7941
7967
|
} }
|
|
7942
|
-
function
|
|
7943
|
-
i0.ɵɵelementStart(0, "div",
|
|
7944
|
-
i0.ɵɵ
|
|
7945
|
-
i0.ɵɵelement(2, "kendo-dropdownlist",
|
|
7968
|
+
function PublishStatusDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7969
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
7970
|
+
i0.ɵɵconditionalCreate(1, PublishStatusDropdownlist_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7971
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 3)(3, "anatoly-item-validation-summary", 4);
|
|
7946
7972
|
i0.ɵɵelementEnd();
|
|
7947
7973
|
} if (rf & 2) {
|
|
7948
7974
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7949
7975
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
7950
7976
|
i0.ɵɵadvance();
|
|
7951
|
-
i0.ɵɵ
|
|
7977
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
7952
7978
|
i0.ɵɵadvance();
|
|
7953
7979
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true)("formControlName", ctx_r1.controlName);
|
|
7954
7980
|
i0.ɵɵadvance();
|
|
@@ -7961,17 +7987,18 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7961
7987
|
this.enumeration = PublishStatus;
|
|
7962
7988
|
}
|
|
7963
7989
|
static { this.ɵfac = function PublishStatusDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PublishStatusDropdownlist)(); }; }
|
|
7964
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
7965
|
-
i0.ɵɵ
|
|
7990
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[3, "formGroup"], [3, "text"], ["valueField", "value", "textField", "text", 3, "ngModelChange", "valueChange", "data", "valuePrimitive", "ngModel"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"], [3, "formGroup", "formSubmitted", "controlName", "controlTitle"]], template: function PublishStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
7991
|
+
i0.ɵɵconditionalCreate(0, PublishStatusDropdownlist_Conditional_0_Template, 3, 4, "div");
|
|
7992
|
+
i0.ɵɵconditionalCreate(1, PublishStatusDropdownlist_Conditional_1_Template, 4, 9, "div", 0);
|
|
7966
7993
|
} if (rf & 2) {
|
|
7967
|
-
i0.ɵɵ
|
|
7994
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
7968
7995
|
i0.ɵɵadvance();
|
|
7969
|
-
i0.ɵɵ
|
|
7970
|
-
} }, dependencies: [
|
|
7996
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
7997
|
+
} }, dependencies: [i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i2$1.DropDownListComponent, i3.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7971
7998
|
}
|
|
7972
7999
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7973
8000
|
type: Component,
|
|
7974
|
-
args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "
|
|
8001
|
+
args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]=\"items\"\n valueField=\"value\" textField=\"text\"\n [valuePrimitive]=\"true\"\n [(ngModel)]=\"sv\"\n (valueChange)=\"onChange($event)\" />\n </div>\n }\n\n @if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]=\"items\"\n valueField=\"value\" textField=\"text\"\n [valuePrimitive]=\"true\"\n [formControlName]='controlName' />\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n [controlName]='controlName'\n [controlTitle]='controlTitle' />\n </div>\n }\n" }]
|
|
7975
8002
|
}], () => [], null); })();
|
|
7976
8003
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PublishStatusDropdownlist, { className: "PublishStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.ts", lineNumber: 28 }); })();
|
|
7977
8004
|
|
|
@@ -7991,16 +8018,16 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7991
8018
|
</file>
|
|
7992
8019
|
*/
|
|
7993
8020
|
//Node
|
|
7994
|
-
function
|
|
8021
|
+
function TimezoneDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7995
8022
|
i0.ɵɵelement(0, "div");
|
|
7996
8023
|
} }
|
|
7997
|
-
function
|
|
7998
|
-
i0.ɵɵelementStart(0, "label",
|
|
8024
|
+
function TimezoneDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8025
|
+
i0.ɵɵelementStart(0, "label", 1);
|
|
7999
8026
|
i0.ɵɵtext(1, "Timezone");
|
|
8000
8027
|
i0.ɵɵelementEnd();
|
|
8001
8028
|
} }
|
|
8002
|
-
function
|
|
8003
|
-
i0.ɵɵelementStart(0, "option",
|
|
8029
|
+
function TimezoneDropdownlist_Conditional_1_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
8030
|
+
i0.ɵɵelementStart(0, "option", 3);
|
|
8004
8031
|
i0.ɵɵtext(1);
|
|
8005
8032
|
i0.ɵɵelementEnd();
|
|
8006
8033
|
} if (rf & 2) {
|
|
@@ -8009,21 +8036,21 @@ function TimezoneDropdownlist_div_1_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
8009
8036
|
i0.ɵɵadvance();
|
|
8010
8037
|
i0.ɵɵtextInterpolate2(" (", item_r1.offset, ") ", item_r1.name, " ");
|
|
8011
8038
|
} }
|
|
8012
|
-
function
|
|
8013
|
-
i0.ɵɵelementStart(0, "div",
|
|
8014
|
-
i0.ɵɵ
|
|
8015
|
-
i0.ɵɵelementStart(2, "select",
|
|
8016
|
-
i0.ɵɵ
|
|
8039
|
+
function TimezoneDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8040
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
8041
|
+
i0.ɵɵconditionalCreate(1, TimezoneDropdownlist_Conditional_1_Conditional_1_Template, 2, 0, "label", 1);
|
|
8042
|
+
i0.ɵɵelementStart(2, "select", 2);
|
|
8043
|
+
i0.ɵɵrepeaterCreate(3, TimezoneDropdownlist_Conditional_1_For_4_Template, 2, 3, "option", 3, i0.ɵɵrepeaterTrackByIdentity);
|
|
8017
8044
|
i0.ɵɵelementEnd()();
|
|
8018
8045
|
} if (rf & 2) {
|
|
8019
8046
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
8020
8047
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
8021
8048
|
i0.ɵɵadvance();
|
|
8022
|
-
i0.ɵɵ
|
|
8049
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
8023
8050
|
i0.ɵɵadvance();
|
|
8024
8051
|
i0.ɵɵproperty("formControlName", ctx_r1.controlName)("disabled", ctx_r1.disabled);
|
|
8025
8052
|
i0.ɵɵadvance();
|
|
8026
|
-
i0.ɵɵ
|
|
8053
|
+
i0.ɵɵrepeater(ctx_r1.items);
|
|
8027
8054
|
} }
|
|
8028
8055
|
class TimezoneDropdownlist extends EditComponentBase {
|
|
8029
8056
|
constructor(appContext) {
|
|
@@ -8064,17 +8091,18 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
8064
8091
|
}
|
|
8065
8092
|
}
|
|
8066
8093
|
static { this.ɵfac = function TimezoneDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TimezoneDropdownlist)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
8067
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimezoneDropdownlist, selectors: [["anatoly-timezone-dropdownlist"]], inputs: { disabled: "disabled" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
8068
|
-
i0.ɵɵ
|
|
8094
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimezoneDropdownlist, selectors: [["anatoly-timezone-dropdownlist"]], inputs: { disabled: "disabled" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[3, "formGroup"], [1, "col-form-label"], [1, "form-select", 3, "formControlName", "disabled"], [3, "value"]], template: function TimezoneDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
8095
|
+
i0.ɵɵconditionalCreate(0, TimezoneDropdownlist_Conditional_0_Template, 1, 0, "div");
|
|
8096
|
+
i0.ɵɵconditionalCreate(1, TimezoneDropdownlist_Conditional_1_Template, 5, 4, "div", 0);
|
|
8069
8097
|
} if (rf & 2) {
|
|
8070
|
-
i0.ɵɵ
|
|
8098
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
8071
8099
|
i0.ɵɵadvance();
|
|
8072
|
-
i0.ɵɵ
|
|
8073
|
-
} }, dependencies: [
|
|
8100
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
8101
|
+
} }, dependencies: [i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
|
|
8074
8102
|
}
|
|
8075
8103
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
8076
8104
|
type: Component,
|
|
8077
|
-
args: [{ selector: 'anatoly-timezone-dropdownlist', standalone: false, template: "
|
|
8105
|
+
args: [{ selector: 'anatoly-timezone-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n </div>\n}\n\n@if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <label class='col-form-label'>Timezone</label>\n }\n <select [formControlName]='controlName' class='form-select' [disabled]='disabled'>\n @for (item of items; track item) {\n <option [value]='item.code'>\n ({{ item.offset }}) {{ item.name }}\n </option>\n }\n </select>\n </div>\n}\n" }]
|
|
8078
8106
|
}], () => [{ type: AppContextService }], { disabled: [{
|
|
8079
8107
|
type: Input
|
|
8080
8108
|
}] }); })();
|
|
@@ -8270,47 +8298,47 @@ class HtmlEditorComponentBase extends EditComponentBase {
|
|
|
8270
8298
|
</file>
|
|
8271
8299
|
*/
|
|
8272
8300
|
//Node
|
|
8273
|
-
function
|
|
8274
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
8301
|
+
function HtmlEditorComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8302
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
8275
8303
|
} if (rf & 2) {
|
|
8276
8304
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
8277
8305
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
8278
8306
|
} }
|
|
8279
|
-
function
|
|
8307
|
+
function HtmlEditorComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
8280
8308
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
8281
8309
|
i0.ɵɵelementStart(0, "div");
|
|
8282
|
-
i0.ɵɵ
|
|
8283
|
-
i0.ɵɵelementStart(2, "textarea",
|
|
8284
|
-
i0.ɵɵlistener("froalaInit", function
|
|
8310
|
+
i0.ɵɵconditionalCreate(1, HtmlEditorComponent_Conditional_0_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
8311
|
+
i0.ɵɵelementStart(2, "textarea", 2);
|
|
8312
|
+
i0.ɵɵlistener("froalaInit", function HtmlEditorComponent_Conditional_0_Template_textarea_froalaInit_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.initializeControl($event)); });
|
|
8285
8313
|
i0.ɵɵelementEnd()();
|
|
8286
8314
|
} if (rf & 2) {
|
|
8287
8315
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
8288
8316
|
i0.ɵɵadvance();
|
|
8289
|
-
i0.ɵɵ
|
|
8317
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
8290
8318
|
i0.ɵɵadvance();
|
|
8291
8319
|
i0.ɵɵproperty("froalaEditor", ctx_r1.options);
|
|
8292
8320
|
} }
|
|
8293
|
-
function
|
|
8294
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
8321
|
+
function HtmlEditorComponent_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8322
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
8295
8323
|
} if (rf & 2) {
|
|
8296
8324
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
8297
8325
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
8298
8326
|
} }
|
|
8299
|
-
function
|
|
8327
|
+
function HtmlEditorComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8300
8328
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
8301
|
-
i0.ɵɵelementStart(0, "div",
|
|
8302
|
-
i0.ɵɵ
|
|
8303
|
-
i0.ɵɵelementStart(2, "textarea",
|
|
8304
|
-
i0.ɵɵlistener("froalaInit", function
|
|
8305
|
-
i0.ɵɵtext(3, "
|
|
8329
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
8330
|
+
i0.ɵɵconditionalCreate(1, HtmlEditorComponent_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
8331
|
+
i0.ɵɵelementStart(2, "textarea", 3);
|
|
8332
|
+
i0.ɵɵlistener("froalaInit", function HtmlEditorComponent_Conditional_1_Template_textarea_froalaInit_2_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.initializeControl($event)); });
|
|
8333
|
+
i0.ɵɵtext(3, " ");
|
|
8306
8334
|
i0.ɵɵelementEnd();
|
|
8307
|
-
i0.ɵɵelement(4, "anatoly-item-validation-summary",
|
|
8335
|
+
i0.ɵɵelement(4, "anatoly-item-validation-summary", 4);
|
|
8308
8336
|
i0.ɵɵelementEnd();
|
|
8309
8337
|
} if (rf & 2) {
|
|
8310
8338
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
8311
8339
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
8312
8340
|
i0.ɵɵadvance();
|
|
8313
|
-
i0.ɵɵ
|
|
8341
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
8314
8342
|
i0.ɵɵadvance();
|
|
8315
8343
|
i0.ɵɵproperty("froalaEditor", ctx_r1.options)("formControlName", ctx_r1.controlName);
|
|
8316
8344
|
i0.ɵɵattribute("formControlTitle", ctx_r1.controlTitle);
|
|
@@ -8338,17 +8366,18 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
8338
8366
|
});
|
|
8339
8367
|
}
|
|
8340
8368
|
static { this.ɵfac = function HtmlEditorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HtmlEditorComponent)(); }; }
|
|
8341
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HtmlEditorComponent, selectors: [["anatoly-html-editor"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
8342
|
-
i0.ɵɵ
|
|
8369
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HtmlEditorComponent, selectors: [["anatoly-html-editor"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[3, "formGroup"], [3, "text"], [3, "froalaInit", "froalaEditor"], [3, "froalaInit", "froalaEditor", "formControlName"], [3, "formGroup", "formSubmitted", "controlName", "controlTitle"]], template: function HtmlEditorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8370
|
+
i0.ɵɵconditionalCreate(0, HtmlEditorComponent_Conditional_0_Template, 3, 2, "div");
|
|
8371
|
+
i0.ɵɵconditionalCreate(1, HtmlEditorComponent_Conditional_1_Template, 5, 9, "div", 0);
|
|
8343
8372
|
} if (rf & 2) {
|
|
8344
|
-
i0.ɵɵ
|
|
8373
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
8345
8374
|
i0.ɵɵadvance();
|
|
8346
|
-
i0.ɵɵ
|
|
8347
|
-
} }, dependencies: [
|
|
8375
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
8376
|
+
} }, dependencies: [i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2$2.FroalaEditorDirective, i3.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
8348
8377
|
}
|
|
8349
8378
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
8350
8379
|
type: Component,
|
|
8351
|
-
args: [{ selector: "anatoly-html-editor", standalone: false, template: "
|
|
8380
|
+
args: [{ selector: "anatoly-html-editor", standalone: false, template: "@if (isNgModelBased) {\n <div>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <textarea [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\"></textarea>\n </div>\n}\n\n@if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <textarea [froalaEditor]=\"options\"\n [formControlName]=\"controlName\"\n [attr.formControlTitle]=\"controlTitle\"\n (froalaInit)=\"initializeControl($event)\">\n </textarea>\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n [controlName]='controlName'\n [controlTitle]='controlTitle' />\n </div>\n }\n" }]
|
|
8352
8381
|
}], () => [], null); })();
|
|
8353
8382
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HtmlEditorComponent, { className: "HtmlEditorComponent", filePath: "lib/ui/components/html-editor/html-editor.component.ts", lineNumber: 27 }); })();
|
|
8354
8383
|
|
|
@@ -8562,7 +8591,7 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
8562
8591
|
i0.ɵɵconditional(ctx.viewTypesVisible ? 7 : -1);
|
|
8563
8592
|
i0.ɵɵadvance();
|
|
8564
8593
|
i0.ɵɵconditional(ctx.addButtonVisible ? 8 : -1);
|
|
8565
|
-
} }, dependencies: [i1$2.NgClass, i2.NgControlStatus, i2.NgModel, i1$7.FaIconComponent,
|
|
8594
|
+
} }, dependencies: [i1$2.NgClass, i2.NgControlStatus, i2.NgModel, i1$7.FaIconComponent, i2$1.DropDownListComponent, AReplacerDirective], encapsulation: 2 }); }
|
|
8566
8595
|
}
|
|
8567
8596
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
|
|
8568
8597
|
type: Component,
|
|
@@ -8683,7 +8712,6 @@ class DataPagerComponent extends ComponentBase {
|
|
|
8683
8712
|
|
|
8684
8713
|
Authors:
|
|
8685
8714
|
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
8686
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
8687
8715
|
|
|
8688
8716
|
Created:
|
|
8689
8717
|
4 Jul 2018
|
|
@@ -8693,37 +8721,10 @@ class DataPagerComponent extends ComponentBase {
|
|
|
8693
8721
|
*/
|
|
8694
8722
|
//Node
|
|
8695
8723
|
const _c0$8 = ["*"];
|
|
8696
|
-
function
|
|
8724
|
+
function SignInButtonComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8697
8725
|
i0.ɵɵelementContainer(0);
|
|
8698
8726
|
} }
|
|
8699
|
-
function
|
|
8700
|
-
i0.ɵɵelementStart(0, "a", 4);
|
|
8701
|
-
i0.ɵɵtemplate(1, SignInButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8702
|
-
i0.ɵɵelementEnd();
|
|
8703
|
-
} if (rf & 2) {
|
|
8704
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8705
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8706
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
8707
|
-
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
8708
|
-
i0.ɵɵadvance();
|
|
8709
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8710
|
-
} }
|
|
8711
|
-
function SignInButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8712
|
-
i0.ɵɵelementContainer(0);
|
|
8713
|
-
} }
|
|
8714
|
-
function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
8715
|
-
i0.ɵɵelementStart(0, "a", 6);
|
|
8716
|
-
i0.ɵɵtemplate(1, SignInButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8717
|
-
i0.ɵɵelementEnd();
|
|
8718
|
-
} if (rf & 2) {
|
|
8719
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8720
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8721
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
8722
|
-
i0.ɵɵproperty("routerLink", ctx_r0.url);
|
|
8723
|
-
i0.ɵɵadvance();
|
|
8724
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8725
|
-
} }
|
|
8726
|
-
function SignInButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
8727
|
+
function SignInButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
8727
8728
|
i0.ɵɵelementStart(0, "span");
|
|
8728
8729
|
i0.ɵɵtext(1, "Sign In");
|
|
8729
8730
|
i0.ɵɵelementEnd();
|
|
@@ -8732,46 +8733,41 @@ function SignInButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
8732
8733
|
i0.ɵɵelementStart(0, "span", null, 1);
|
|
8733
8734
|
i0.ɵɵprojection(2);
|
|
8734
8735
|
i0.ɵɵelementEnd();
|
|
8735
|
-
i0.ɵɵ
|
|
8736
|
+
i0.ɵɵconditionalCreate(3, SignInButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
|
|
8736
8737
|
} if (rf & 2) {
|
|
8737
|
-
const
|
|
8738
|
+
const ref_r1 = i0.ɵɵreference(1);
|
|
8738
8739
|
i0.ɵɵadvance(3);
|
|
8739
|
-
i0.ɵɵ
|
|
8740
|
+
i0.ɵɵconditional(!ref_r1.innerHTML.trim() ? 3 : -1);
|
|
8740
8741
|
} }
|
|
8741
8742
|
class SignInButtonComponent extends ComponentBase {
|
|
8742
|
-
constructor() {
|
|
8743
|
-
super(...arguments);
|
|
8744
|
-
this.external = false;
|
|
8745
|
-
}
|
|
8746
8743
|
ngOnInit() {
|
|
8747
|
-
|
|
8744
|
+
const url = MSALConfig.ui.signin;
|
|
8748
8745
|
if (url) {
|
|
8749
|
-
this.
|
|
8750
|
-
if (this.external) {
|
|
8751
|
-
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
8752
|
-
}
|
|
8753
|
-
else {
|
|
8754
|
-
this.url = url;
|
|
8755
|
-
}
|
|
8746
|
+
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
8756
8747
|
}
|
|
8757
8748
|
}
|
|
8758
8749
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignInButtonComponent_BaseFactory; return function SignInButtonComponent_Factory(__ngFactoryType__) { return (ɵSignInButtonComponent_BaseFactory || (ɵSignInButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignInButtonComponent)))(__ngFactoryType__ || SignInButtonComponent); }; })(); }
|
|
8759
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$8, decls: 4, vars:
|
|
8750
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$8, decls: 4, vars: 4, consts: [["contentTemplate", ""], ["ref", ""], [3, "href"], [4, "ngTemplateOutlet"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8760
8751
|
i0.ɵɵprojectionDef();
|
|
8761
|
-
i0.ɵɵ
|
|
8752
|
+
i0.ɵɵelementStart(0, "a", 2);
|
|
8753
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_ng_container_1_Template, 1, 0, "ng-container", 3);
|
|
8754
|
+
i0.ɵɵelementEnd();
|
|
8755
|
+
i0.ɵɵtemplate(2, SignInButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
8762
8756
|
} if (rf & 2) {
|
|
8763
|
-
i0.ɵɵ
|
|
8757
|
+
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8758
|
+
i0.ɵɵclassMap(ctx.classes);
|
|
8759
|
+
i0.ɵɵproperty("href", ctx.url, i0.ɵɵsanitizeUrl);
|
|
8764
8760
|
i0.ɵɵadvance();
|
|
8765
|
-
i0.ɵɵproperty("
|
|
8766
|
-
} }, dependencies: [i1$2.
|
|
8761
|
+
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8762
|
+
} }, dependencies: [i1$2.NgTemplateOutlet, AReplacerDirective], encapsulation: 2 }); }
|
|
8767
8763
|
}
|
|
8768
8764
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
8769
8765
|
type: Component,
|
|
8770
|
-
args: [{ selector: "anatoly-signin-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\"
|
|
8766
|
+
args: [{ selector: "anatoly-signin-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign In</span>\n }\n</ng-template>\n" }]
|
|
8771
8767
|
}], null, { qs: [{
|
|
8772
8768
|
type: Input
|
|
8773
8769
|
}] }); })();
|
|
8774
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignInButtonComponent, { className: "SignInButtonComponent", filePath: "lib/ui/components/identity/signin-button.component.ts", lineNumber:
|
|
8770
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignInButtonComponent, { className: "SignInButtonComponent", filePath: "lib/ui/components/identity/signin-button.component.ts", lineNumber: 28 }); })();
|
|
8775
8771
|
|
|
8776
8772
|
/*
|
|
8777
8773
|
<file>
|
|
@@ -8780,7 +8776,6 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8780
8776
|
|
|
8781
8777
|
Authors:
|
|
8782
8778
|
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
8783
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
8784
8779
|
|
|
8785
8780
|
Created:
|
|
8786
8781
|
4 Jul 2018
|
|
@@ -8790,37 +8785,10 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8790
8785
|
*/
|
|
8791
8786
|
//Node
|
|
8792
8787
|
const _c0$7 = ["*"];
|
|
8793
|
-
function
|
|
8788
|
+
function SignOutButtonComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8794
8789
|
i0.ɵɵelementContainer(0);
|
|
8795
8790
|
} }
|
|
8796
|
-
function
|
|
8797
|
-
i0.ɵɵelementStart(0, "a", 4);
|
|
8798
|
-
i0.ɵɵtemplate(1, SignOutButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8799
|
-
i0.ɵɵelementEnd();
|
|
8800
|
-
} if (rf & 2) {
|
|
8801
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8802
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8803
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
8804
|
-
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
8805
|
-
i0.ɵɵadvance();
|
|
8806
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8807
|
-
} }
|
|
8808
|
-
function SignOutButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8809
|
-
i0.ɵɵelementContainer(0);
|
|
8810
|
-
} }
|
|
8811
|
-
function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
8812
|
-
i0.ɵɵelementStart(0, "a", 6);
|
|
8813
|
-
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8814
|
-
i0.ɵɵelementEnd();
|
|
8815
|
-
} if (rf & 2) {
|
|
8816
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8817
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8818
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
8819
|
-
i0.ɵɵproperty("routerLink", ctx_r0.url);
|
|
8820
|
-
i0.ɵɵadvance();
|
|
8821
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8822
|
-
} }
|
|
8823
|
-
function SignOutButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
8791
|
+
function SignOutButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
8824
8792
|
i0.ɵɵelementStart(0, "span");
|
|
8825
8793
|
i0.ɵɵtext(1, "Sign Out");
|
|
8826
8794
|
i0.ɵɵelementEnd();
|
|
@@ -8829,46 +8797,41 @@ function SignOutButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
8829
8797
|
i0.ɵɵelementStart(0, "span", null, 1);
|
|
8830
8798
|
i0.ɵɵprojection(2);
|
|
8831
8799
|
i0.ɵɵelementEnd();
|
|
8832
|
-
i0.ɵɵ
|
|
8800
|
+
i0.ɵɵconditionalCreate(3, SignOutButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
|
|
8833
8801
|
} if (rf & 2) {
|
|
8834
|
-
const
|
|
8802
|
+
const ref_r1 = i0.ɵɵreference(1);
|
|
8835
8803
|
i0.ɵɵadvance(3);
|
|
8836
|
-
i0.ɵɵ
|
|
8804
|
+
i0.ɵɵconditional(!ref_r1.innerHTML.trim() ? 3 : -1);
|
|
8837
8805
|
} }
|
|
8838
8806
|
class SignOutButtonComponent extends ComponentBase {
|
|
8839
|
-
constructor() {
|
|
8840
|
-
super(...arguments);
|
|
8841
|
-
this.external = false;
|
|
8842
|
-
}
|
|
8843
8807
|
ngOnInit() {
|
|
8844
|
-
|
|
8808
|
+
const url = MSALConfig.ui.signout;
|
|
8845
8809
|
if (url) {
|
|
8846
|
-
this.
|
|
8847
|
-
if (this.external) {
|
|
8848
|
-
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
8849
|
-
}
|
|
8850
|
-
else {
|
|
8851
|
-
this.url = url;
|
|
8852
|
-
}
|
|
8810
|
+
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
8853
8811
|
}
|
|
8854
8812
|
}
|
|
8855
8813
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignOutButtonComponent_BaseFactory; return function SignOutButtonComponent_Factory(__ngFactoryType__) { return (ɵSignOutButtonComponent_BaseFactory || (ɵSignOutButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignOutButtonComponent)))(__ngFactoryType__ || SignOutButtonComponent); }; })(); }
|
|
8856
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$7, decls: 4, vars:
|
|
8814
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$7, decls: 4, vars: 4, consts: [["contentTemplate", ""], ["ref", ""], [3, "href"], [4, "ngTemplateOutlet"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8857
8815
|
i0.ɵɵprojectionDef();
|
|
8858
|
-
i0.ɵɵ
|
|
8816
|
+
i0.ɵɵelementStart(0, "a", 2);
|
|
8817
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_ng_container_1_Template, 1, 0, "ng-container", 3);
|
|
8818
|
+
i0.ɵɵelementEnd();
|
|
8819
|
+
i0.ɵɵtemplate(2, SignOutButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
8859
8820
|
} if (rf & 2) {
|
|
8860
|
-
i0.ɵɵ
|
|
8821
|
+
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8822
|
+
i0.ɵɵclassMap(ctx.classes);
|
|
8823
|
+
i0.ɵɵproperty("href", ctx.url, i0.ɵɵsanitizeUrl);
|
|
8861
8824
|
i0.ɵɵadvance();
|
|
8862
|
-
i0.ɵɵproperty("
|
|
8863
|
-
} }, dependencies: [i1$2.
|
|
8825
|
+
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8826
|
+
} }, dependencies: [i1$2.NgTemplateOutlet, AReplacerDirective], encapsulation: 2 }); }
|
|
8864
8827
|
}
|
|
8865
8828
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
8866
8829
|
type: Component,
|
|
8867
|
-
args: [{ selector: "anatoly-signout-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\"
|
|
8830
|
+
args: [{ selector: "anatoly-signout-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign Out</span>\n }\n</ng-template>\n" }]
|
|
8868
8831
|
}], null, { qs: [{
|
|
8869
8832
|
type: Input
|
|
8870
8833
|
}] }); })();
|
|
8871
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib/ui/components/identity/signout-button.component.ts", lineNumber:
|
|
8834
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib/ui/components/identity/signout-button.component.ts", lineNumber: 28 }); })();
|
|
8872
8835
|
|
|
8873
8836
|
/*
|
|
8874
8837
|
<file>
|
|
@@ -8887,9 +8850,9 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8887
8850
|
*/
|
|
8888
8851
|
//Node
|
|
8889
8852
|
const _c0$6 = ["*"];
|
|
8890
|
-
function
|
|
8853
|
+
function NodataComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
8891
8854
|
i0.ɵɵelementStart(0, "div");
|
|
8892
|
-
i0.ɵɵelement(1, "fa-icon",
|
|
8855
|
+
i0.ɵɵelement(1, "fa-icon", 3);
|
|
8893
8856
|
i0.ɵɵelementEnd();
|
|
8894
8857
|
} if (rf & 2) {
|
|
8895
8858
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -8898,8 +8861,8 @@ function NodataComponent_Conditional_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
8898
8861
|
} }
|
|
8899
8862
|
function NodataComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
8900
8863
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
8901
|
-
i0.ɵɵ
|
|
8902
|
-
i0.ɵɵelementStart(3, "h3",
|
|
8864
|
+
i0.ɵɵconditionalCreate(2, NodataComponent_Conditional_0_Conditional_2_Template, 2, 2, "div");
|
|
8865
|
+
i0.ɵɵelementStart(3, "h3", 2);
|
|
8903
8866
|
i0.ɵɵtext(4);
|
|
8904
8867
|
i0.ɵɵelementEnd();
|
|
8905
8868
|
i0.ɵɵprojection(5);
|
|
@@ -8907,7 +8870,7 @@ function NodataComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
8907
8870
|
} if (rf & 2) {
|
|
8908
8871
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
8909
8872
|
i0.ɵɵadvance(2);
|
|
8910
|
-
i0.ɵɵ
|
|
8873
|
+
i0.ɵɵconditional(ctx_r0.icon ? 2 : -1);
|
|
8911
8874
|
i0.ɵɵadvance(2);
|
|
8912
8875
|
i0.ɵɵtextInterpolate(ctx_r0.heading);
|
|
8913
8876
|
} }
|
|
@@ -8917,16 +8880,16 @@ class NodataComponent {
|
|
|
8917
8880
|
this.heading = 'No data found';
|
|
8918
8881
|
}
|
|
8919
8882
|
static { this.ɵfac = function NodataComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NodataComponent)(); }; }
|
|
8920
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading" }, standalone: false, ngContentSelectors: _c0$6, decls: 1, vars: 1, consts: [[1, "no-data"], [1, "loaded", "text-info"], [
|
|
8883
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading" }, standalone: false, ngContentSelectors: _c0$6, decls: 1, vars: 1, consts: [[1, "no-data"], [1, "loaded", "text-info"], [1, "no-data-heading"], [3, "icon", "size"]], template: function NodataComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8921
8884
|
i0.ɵɵprojectionDef();
|
|
8922
8885
|
i0.ɵɵconditionalCreate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
8923
8886
|
} if (rf & 2) {
|
|
8924
8887
|
i0.ɵɵconditional(!ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
8925
|
-
} }, dependencies: [i1$
|
|
8888
|
+
} }, dependencies: [i1$7.FaIconComponent], encapsulation: 2 }); }
|
|
8926
8889
|
}
|
|
8927
8890
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
8928
8891
|
type: Component,
|
|
8929
|
-
args: [{ selector: 'anatoly-nodata', standalone: false, template: "@if (!dataLoading && dataLoaded && !dataFound) {\
|
|
8892
|
+
args: [{ selector: 'anatoly-nodata', standalone: false, template: "@if (!dataLoading && dataLoaded && !dataFound) {\n <div class=\"no-data\">\n <div class='loaded text-info'>\n @if (icon) {\n <div>\n <fa-icon [icon]=\"icon\" [size]=\"iconSize\"></fa-icon>\n </div>\n }\n <h3 class='no-data-heading'>{{heading}}</h3>\n <ng-content></ng-content>\n </div>\n </div>\n}\n" }]
|
|
8930
8893
|
}], null, { dataLoading: [{
|
|
8931
8894
|
type: Input
|
|
8932
8895
|
}], dataLoaded: [{
|
|
@@ -9150,9 +9113,9 @@ class Message2UserComponent extends ComponentBase {
|
|
|
9150
9113
|
</file>
|
|
9151
9114
|
*/
|
|
9152
9115
|
//Node
|
|
9153
|
-
function
|
|
9154
|
-
i0.ɵɵelementStart(0, "div",
|
|
9155
|
-
i0.ɵɵelement(1, "span",
|
|
9116
|
+
function LoadingComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9117
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
9118
|
+
i0.ɵɵelement(1, "span", 1);
|
|
9156
9119
|
i0.ɵɵelementEnd();
|
|
9157
9120
|
} }
|
|
9158
9121
|
class LoadingComponent extends ComponentBase {
|
|
@@ -9169,15 +9132,15 @@ class LoadingComponent extends ComponentBase {
|
|
|
9169
9132
|
});
|
|
9170
9133
|
}
|
|
9171
9134
|
static { this.ɵfac = function LoadingComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
9172
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["anatoly-loading"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["id", "pnlLoading"
|
|
9173
|
-
i0.ɵɵ
|
|
9135
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["anatoly-loading"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["id", "pnlLoading"], [1, "k-icon", "k-i-loading"]], template: function LoadingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9136
|
+
i0.ɵɵconditionalCreate(0, LoadingComponent_Conditional_0_Template, 2, 0, "div", 0);
|
|
9174
9137
|
} if (rf & 2) {
|
|
9175
|
-
i0.ɵɵ
|
|
9176
|
-
} },
|
|
9138
|
+
i0.ɵɵconditional(ctx.show ? 0 : -1);
|
|
9139
|
+
} }, encapsulation: 2 }); }
|
|
9177
9140
|
}
|
|
9178
9141
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
9179
9142
|
type: Component,
|
|
9180
|
-
args: [{ selector: 'anatoly-loading', standalone: false, template: "<div id=\"pnlLoading\"
|
|
9143
|
+
args: [{ selector: 'anatoly-loading', standalone: false, template: "@if (show) {\n <div id=\"pnlLoading\">\n <span class=\"k-icon k-i-loading\"></span>\n </div>\n}\n" }]
|
|
9181
9144
|
}], () => [{ type: LoadingService }], null); })();
|
|
9182
9145
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent", filePath: "lib/ui/components/spinners/loading/loading.component.ts", lineNumber: 29 }); })();
|
|
9183
9146
|
|
|
@@ -9209,9 +9172,9 @@ const Spinkit = {
|
|
|
9209
9172
|
</file>
|
|
9210
9173
|
*/
|
|
9211
9174
|
//Node
|
|
9212
|
-
function
|
|
9213
|
-
i0.ɵɵelementStart(0, "div",
|
|
9214
|
-
i0.ɵɵelement(1, "div",
|
|
9175
|
+
function PageSpinnerComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
9176
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
9177
|
+
i0.ɵɵelement(1, "div", 4);
|
|
9215
9178
|
i0.ɵɵelementEnd();
|
|
9216
9179
|
} if (rf & 2) {
|
|
9217
9180
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -9219,14 +9182,14 @@ function PageSpinnerComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
9219
9182
|
i0.ɵɵadvance();
|
|
9220
9183
|
i0.ɵɵstyleProp("background-color", ctx_r0.backgroundColor);
|
|
9221
9184
|
} }
|
|
9222
|
-
function
|
|
9223
|
-
i0.ɵɵelementStart(0, "div",
|
|
9224
|
-
i0.ɵɵ
|
|
9185
|
+
function PageSpinnerComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9186
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
9187
|
+
i0.ɵɵconditionalCreate(2, PageSpinnerComponent_Conditional_0_Conditional_2_Template, 2, 4, "div", 2);
|
|
9225
9188
|
i0.ɵɵelementEnd()();
|
|
9226
9189
|
} if (rf & 2) {
|
|
9227
9190
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
9228
9191
|
i0.ɵɵadvance(2);
|
|
9229
|
-
i0.ɵɵ
|
|
9192
|
+
i0.ɵɵconditional(ctx_r0.spinner === ctx_r0.Spinkit.skLine ? 2 : -1);
|
|
9230
9193
|
} }
|
|
9231
9194
|
class PageSpinnerComponent {
|
|
9232
9195
|
constructor(router) {
|
|
@@ -9255,15 +9218,15 @@ class PageSpinnerComponent {
|
|
|
9255
9218
|
this.isSpinnerVisible = false;
|
|
9256
9219
|
}
|
|
9257
9220
|
static { this.ɵfac = function PageSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$1.Router)); }; }
|
|
9258
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageSpinnerComponent, selectors: [["anatoly-pagespinner"]], inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, standalone: false, decls: 1, vars: 1, consts: [["id", "http-loader"
|
|
9259
|
-
i0.ɵɵ
|
|
9221
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageSpinnerComponent, selectors: [["anatoly-pagespinner"]], inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, standalone: false, decls: 1, vars: 1, consts: [["id", "http-loader"], [1, "loader-bg"], [1, "sk-line-material", 3, "colored"], [1, "sk-line-material"], [1, "sk-child", "sk-bounce1"]], template: function PageSpinnerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9222
|
+
i0.ɵɵconditionalCreate(0, PageSpinnerComponent_Conditional_0_Template, 3, 1, "div", 0);
|
|
9260
9223
|
} if (rf & 2) {
|
|
9261
|
-
i0.ɵɵ
|
|
9262
|
-
} },
|
|
9224
|
+
i0.ɵɵconditional(ctx.isSpinnerVisible ? 0 : -1);
|
|
9225
|
+
} }, encapsulation: 2 }); }
|
|
9263
9226
|
}
|
|
9264
9227
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
|
|
9265
9228
|
type: Component,
|
|
9266
|
-
args: [{ selector: 'anatoly-pagespinner', standalone: false, encapsulation: ViewEncapsulation.None, template: "<div id=\"http-loader\"
|
|
9229
|
+
args: [{ selector: 'anatoly-pagespinner', standalone: false, encapsulation: ViewEncapsulation.None, template: "@if (isSpinnerVisible) {\n <div id=\"http-loader\">\n <div class=\"loader-bg\">\n @if (spinner === Spinkit.skLine) {\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\n </div>\n }\n </div>\n </div>\n}\n" }]
|
|
9267
9230
|
}], () => [{ type: i1$1.Router }], { backgroundColor: [{
|
|
9268
9231
|
type: Input
|
|
9269
9232
|
}], spinner: [{
|
|
@@ -9338,8 +9301,8 @@ class Copy2ClipboardComponent extends ComponentBase {
|
|
|
9338
9301
|
*/
|
|
9339
9302
|
//Node
|
|
9340
9303
|
const _c0$4 = a0 => ({ "has-error": a0 });
|
|
9341
|
-
function
|
|
9342
|
-
i0.ɵɵelementStart(0, "label",
|
|
9304
|
+
function UrlSlugComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
9305
|
+
i0.ɵɵelementStart(0, "label", 3);
|
|
9343
9306
|
i0.ɵɵtext(1);
|
|
9344
9307
|
i0.ɵɵelementEnd();
|
|
9345
9308
|
} if (rf & 2) {
|
|
@@ -9347,8 +9310,8 @@ function UrlSlugComponent_label_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
9347
9310
|
i0.ɵɵadvance();
|
|
9348
9311
|
i0.ɵɵtextInterpolate(ctx_r0.title);
|
|
9349
9312
|
} }
|
|
9350
|
-
function
|
|
9351
|
-
i0.ɵɵelementStart(0, "a",
|
|
9313
|
+
function UrlSlugComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
9314
|
+
i0.ɵɵelementStart(0, "a", 6);
|
|
9352
9315
|
i0.ɵɵtext(1, "Go");
|
|
9353
9316
|
i0.ɵɵelementEnd();
|
|
9354
9317
|
} if (rf & 2) {
|
|
@@ -9397,18 +9360,18 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9397
9360
|
this.generateUrlSlug(text);
|
|
9398
9361
|
}
|
|
9399
9362
|
static { this.ɵfac = function UrlSlugComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UrlSlugComponent)(); }; }
|
|
9400
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugComponent, selectors: [["anatoly-urlslug"]], inputs: { urlPrefix: "urlPrefix", isGoButtonVisible: "isGoButtonVisible", watchedControlName: "watchedControlName" }, outputs: { generated: "generated" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 12, consts: [[1, "form-group", 3, "formGroup", "ngClass"], [3, "formGroup", "formSubmitted", "controlName"], [1, "input-group", "permalink", 3, "ngClass"], ["for", "urlPrefixId"
|
|
9363
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugComponent, selectors: [["anatoly-urlslug"]], inputs: { urlPrefix: "urlPrefix", isGoButtonVisible: "isGoButtonVisible", watchedControlName: "watchedControlName" }, outputs: { generated: "generated" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 12, consts: [[1, "form-group", 3, "formGroup", "ngClass"], [3, "formGroup", "formSubmitted", "controlName"], [1, "input-group", "permalink", 3, "ngClass"], ["for", "urlPrefixId"], [1, "urlPrefix"], ["type", "text", "id", "urlPrefixId", 1, "form-control", 3, "focusout", "formControlName"], ["target", "_blank", 1, "btn", "btn-primary", 3, "href"]], template: function UrlSlugComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9401
9364
|
i0.ɵɵelementStart(0, "div", 0);
|
|
9402
9365
|
i0.ɵɵelement(1, "anatoly-item-validation-summary", 1);
|
|
9403
9366
|
i0.ɵɵelementStart(2, "div", 2);
|
|
9404
|
-
i0.ɵɵ
|
|
9367
|
+
i0.ɵɵconditionalCreate(3, UrlSlugComponent_Conditional_3_Template, 2, 1, "label", 3);
|
|
9405
9368
|
i0.ɵɵelementStart(4, "div", 4);
|
|
9406
9369
|
i0.ɵɵtext(5);
|
|
9407
9370
|
i0.ɵɵelementEnd();
|
|
9408
9371
|
i0.ɵɵelementStart(6, "input", 5);
|
|
9409
9372
|
i0.ɵɵlistener("focusout", function UrlSlugComponent_Template_input_focusout_6_listener() { return ctx.onUrlSlugChange(); });
|
|
9410
9373
|
i0.ɵɵelementEnd();
|
|
9411
|
-
i0.ɵɵ
|
|
9374
|
+
i0.ɵɵconditionalCreate(7, UrlSlugComponent_Conditional_7_Template, 2, 3, "a", 6);
|
|
9412
9375
|
i0.ɵɵelementEnd()();
|
|
9413
9376
|
} if (rf & 2) {
|
|
9414
9377
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(10, _c0$4, ctx.isControlInvalid(ctx.controlName)));
|
|
@@ -9417,18 +9380,18 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9417
9380
|
i0.ɵɵadvance();
|
|
9418
9381
|
i0.ɵɵproperty("ngClass", ctx.classes);
|
|
9419
9382
|
i0.ɵɵadvance();
|
|
9420
|
-
i0.ɵɵ
|
|
9383
|
+
i0.ɵɵconditional(ctx.isTitleVisible ? 3 : -1);
|
|
9421
9384
|
i0.ɵɵadvance(2);
|
|
9422
9385
|
i0.ɵɵtextInterpolate(ctx.urlPrefix);
|
|
9423
9386
|
i0.ɵɵadvance();
|
|
9424
9387
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
9425
9388
|
i0.ɵɵadvance();
|
|
9426
|
-
i0.ɵɵ
|
|
9427
|
-
} }, dependencies: [i1$2.NgClass,
|
|
9389
|
+
i0.ɵɵconditional(ctx.isGoButtonVisible ? 7 : -1);
|
|
9390
|
+
} }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.LabelDirective, AReplacerDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9428
9391
|
}
|
|
9429
9392
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
9430
9393
|
type: Component,
|
|
9431
|
-
args: [{ selector: 'anatoly-urlslug', standalone: false, template: "<div class=\"form-group\" [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\" >\
|
|
9394
|
+
args: [{ selector: 'anatoly-urlslug', standalone: false, template: "<div class=\"form-group\" [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\" >\n <anatoly-item-validation-summary\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n [controlName]='controlName'>\n </anatoly-item-validation-summary>\n\n <div class=\"input-group permalink\" [ngClass]=\"classes\">\n @if (isTitleVisible) {\n <label for=\"urlPrefixId\">{{ title }}</label>\n }\n <div class=\"urlPrefix\">{{ urlPrefix }}</div>\n <input type=\"text\" class=\"form-control\" id=\"urlPrefixId\" [formControlName]='controlName' (focusout)='onUrlSlugChange()'>\n @if (isGoButtonVisible) {\n <a class=\"btn btn-primary\" href=\"{{urlPrefix}}{{hrefGo}}\" target=\"_blank\" >Go</a>\n }\n </div>\n</div>\n" }]
|
|
9432
9395
|
}], () => [], { urlPrefix: [{
|
|
9433
9396
|
type: Input
|
|
9434
9397
|
}], isGoButtonVisible: [{
|
|
@@ -9455,7 +9418,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9455
9418
|
</file>
|
|
9456
9419
|
*/
|
|
9457
9420
|
//Node
|
|
9458
|
-
function
|
|
9421
|
+
function FeatureWillBeReadyComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
9459
9422
|
i0.ɵɵelementStart(0, "h3");
|
|
9460
9423
|
i0.ɵɵtext(1);
|
|
9461
9424
|
i0.ɵɵelementEnd();
|
|
@@ -9464,27 +9427,28 @@ function FeatureWillBeReadyComponent_h3_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
9464
9427
|
i0.ɵɵadvance();
|
|
9465
9428
|
i0.ɵɵtextInterpolate1("This feature will be ready in ", ctx_r0.readyDate, " ");
|
|
9466
9429
|
} }
|
|
9467
|
-
function
|
|
9430
|
+
function FeatureWillBeReadyComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
9468
9431
|
i0.ɵɵelementStart(0, "h3");
|
|
9469
9432
|
i0.ɵɵtext(1, "This feature will be available soon");
|
|
9470
9433
|
i0.ɵɵelementEnd();
|
|
9471
9434
|
} }
|
|
9472
9435
|
class FeatureWillBeReadyComponent extends ComponentBase {
|
|
9473
9436
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵFeatureWillBeReadyComponent_BaseFactory; return function FeatureWillBeReadyComponent_Factory(__ngFactoryType__) { return (ɵFeatureWillBeReadyComponent_BaseFactory || (ɵFeatureWillBeReadyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FeatureWillBeReadyComponent)))(__ngFactoryType__ || FeatureWillBeReadyComponent); }; })(); }
|
|
9474
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeatureWillBeReadyComponent, selectors: [["anatoly-feature-will-be-ready"]], inputs: { readyDate: "readyDate" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[1, "feature-will-be-ready"]
|
|
9437
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeatureWillBeReadyComponent, selectors: [["anatoly-feature-will-be-ready"]], inputs: { readyDate: "readyDate" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[1, "feature-will-be-ready"]], template: function FeatureWillBeReadyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9475
9438
|
i0.ɵɵelementStart(0, "div", 0);
|
|
9476
|
-
i0.ɵɵ
|
|
9439
|
+
i0.ɵɵconditionalCreate(1, FeatureWillBeReadyComponent_Conditional_1_Template, 2, 1, "h3");
|
|
9440
|
+
i0.ɵɵconditionalCreate(2, FeatureWillBeReadyComponent_Conditional_2_Template, 2, 0, "h3");
|
|
9477
9441
|
i0.ɵɵelementEnd();
|
|
9478
9442
|
} if (rf & 2) {
|
|
9479
9443
|
i0.ɵɵadvance();
|
|
9480
|
-
i0.ɵɵ
|
|
9444
|
+
i0.ɵɵconditional(ctx.readyDate ? 1 : -1);
|
|
9481
9445
|
i0.ɵɵadvance();
|
|
9482
|
-
i0.ɵɵ
|
|
9483
|
-
} },
|
|
9446
|
+
i0.ɵɵconditional(!ctx.readyDate ? 2 : -1);
|
|
9447
|
+
} }, encapsulation: 2 }); }
|
|
9484
9448
|
}
|
|
9485
9449
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureWillBeReadyComponent, [{
|
|
9486
9450
|
type: Component,
|
|
9487
|
-
args: [{ selector: 'anatoly-feature-will-be-ready', standalone: false, template: "<div class='feature-will-be-ready'>\
|
|
9451
|
+
args: [{ selector: 'anatoly-feature-will-be-ready', standalone: false, template: "<div class='feature-will-be-ready'>\n @if (readyDate) {\n <h3>This feature will be ready in {{ readyDate }} </h3>\n }\n @if (!readyDate) {\n <h3>This feature will be available soon</h3>\n }\n</div>\n" }]
|
|
9488
9452
|
}], null, { readyDate: [{
|
|
9489
9453
|
type: Input
|
|
9490
9454
|
}] }); })();
|
|
@@ -9581,7 +9545,7 @@ class YouAgreeToOurTermsComponent extends ComponentBase {
|
|
|
9581
9545
|
</file>
|
|
9582
9546
|
*/
|
|
9583
9547
|
//Node
|
|
9584
|
-
function
|
|
9548
|
+
function FormValidationSummaryComponent_Conditional_0_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
9585
9549
|
i0.ɵɵelementStart(0, "li")(1, "span");
|
|
9586
9550
|
i0.ɵɵtext(2);
|
|
9587
9551
|
i0.ɵɵelementEnd()();
|
|
@@ -9590,17 +9554,17 @@ function FormValidationSummaryComponent_div_0_li_4_Template(rf, ctx) { if (rf &
|
|
|
9590
9554
|
i0.ɵɵadvance(2);
|
|
9591
9555
|
i0.ɵɵtextInterpolate(error_r1);
|
|
9592
9556
|
} }
|
|
9593
|
-
function
|
|
9594
|
-
i0.ɵɵelementStart(0, "div",
|
|
9557
|
+
function FormValidationSummaryComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9558
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "h6", 1);
|
|
9595
9559
|
i0.ɵɵtext(2, "There are problems with the form");
|
|
9596
9560
|
i0.ɵɵelementEnd();
|
|
9597
9561
|
i0.ɵɵelementStart(3, "ul");
|
|
9598
|
-
i0.ɵɵ
|
|
9562
|
+
i0.ɵɵrepeaterCreate(4, FormValidationSummaryComponent_Conditional_0_For_5_Template, 3, 1, "li", null, i0.ɵɵrepeaterTrackByIdentity);
|
|
9599
9563
|
i0.ɵɵelementEnd()();
|
|
9600
9564
|
} if (rf & 2) {
|
|
9601
9565
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
9602
9566
|
i0.ɵɵadvance(4);
|
|
9603
|
-
i0.ɵɵ
|
|
9567
|
+
i0.ɵɵrepeater(ctx_r1.getErrors());
|
|
9604
9568
|
} }
|
|
9605
9569
|
class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
9606
9570
|
constructor() {
|
|
@@ -9632,15 +9596,15 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
9632
9596
|
return messages;
|
|
9633
9597
|
}
|
|
9634
9598
|
static { this.ɵfac = function FormValidationSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormValidationSummaryComponent)(); }; }
|
|
9635
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormValidationSummaryComponent, selectors: [["anatoly-form-validation-summary"]], inputs: { visible: "visible", customerrors: "customerrors", viewtype: "viewtype" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[
|
|
9636
|
-
i0.ɵɵ
|
|
9599
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormValidationSummaryComponent, selectors: [["anatoly-form-validation-summary"]], inputs: { visible: "visible", customerrors: "customerrors", viewtype: "viewtype" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[1, "callout", "callout-danger"], [1, "box-title"]], template: function FormValidationSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9600
|
+
i0.ɵɵconditionalCreate(0, FormValidationSummaryComponent_Conditional_0_Template, 6, 0, "div", 0);
|
|
9637
9601
|
} if (rf & 2) {
|
|
9638
|
-
i0.ɵɵ
|
|
9639
|
-
} },
|
|
9602
|
+
i0.ɵɵconditional(ctx.visible ? 0 : -1);
|
|
9603
|
+
} }, encapsulation: 2 }); }
|
|
9640
9604
|
}
|
|
9641
9605
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
|
|
9642
9606
|
type: Component,
|
|
9643
|
-
args: [{ selector: "anatoly-form-validation-summary", standalone: false, template: "<div class=\"callout callout-danger\"
|
|
9607
|
+
args: [{ selector: "anatoly-form-validation-summary", standalone: false, template: "@if (visible) {\n <div class=\"callout callout-danger\">\n <h6 class=\"box-title\">There are problems with the form</h6>\n <ul>\n @for (error of getErrors(); track error) {\n <li><span>{{error}}</span></li>\n }\n </ul>\n </div>\n}\n\n" }]
|
|
9644
9608
|
}], () => [], { visible: [{
|
|
9645
9609
|
type: Input
|
|
9646
9610
|
}], customerrors: [{
|
|
@@ -9667,8 +9631,8 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
9667
9631
|
*/
|
|
9668
9632
|
//Node
|
|
9669
9633
|
const _c0$3 = a0 => ({ "has-error": a0 });
|
|
9670
|
-
function
|
|
9671
|
-
i0.ɵɵelementStart(0, "option",
|
|
9634
|
+
function ContactUsForm_For_13_Template(rf, ctx) { if (rf & 1) {
|
|
9635
|
+
i0.ɵɵelementStart(0, "option", 9);
|
|
9672
9636
|
i0.ɵɵtext(1);
|
|
9673
9637
|
i0.ɵɵelementEnd();
|
|
9674
9638
|
} if (rf & 2) {
|
|
@@ -9677,13 +9641,13 @@ function ContactUsForm_option_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
9677
9641
|
i0.ɵɵadvance();
|
|
9678
9642
|
i0.ɵɵtextInterpolate1("", topic_r1.value, " ");
|
|
9679
9643
|
} }
|
|
9680
|
-
function
|
|
9644
|
+
function ContactUsForm_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
9681
9645
|
i0.ɵɵelementStart(0, "p");
|
|
9682
9646
|
i0.ɵɵtext(1, "Please indicate the email used for your MailEx login if you already have an account");
|
|
9683
9647
|
i0.ɵɵelementEnd();
|
|
9684
9648
|
} }
|
|
9685
|
-
function
|
|
9686
|
-
i0.ɵɵelementStart(0, "button",
|
|
9649
|
+
function ContactUsForm_Conditional_39_Template(rf, ctx) { if (rf & 1) {
|
|
9650
|
+
i0.ɵɵelementStart(0, "button", 27);
|
|
9687
9651
|
i0.ɵɵtext(1, " Submit ");
|
|
9688
9652
|
i0.ɵɵelementEnd();
|
|
9689
9653
|
} if (rf & 2) {
|
|
@@ -9767,7 +9731,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9767
9731
|
this.selectedTopic = event.target.value;
|
|
9768
9732
|
}
|
|
9769
9733
|
static { this.ɵfac = function ContactUsForm_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContactUsForm)(i0.ɵɵdirectiveInject(i1$9.ReCaptchaV3Service), i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(EmailsApiService), i0.ɵɵdirectiveInject(NotificationService)); }; }
|
|
9770
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm, selectors: [["anatoly-forms-contactus-form"]], inputs: { showActionButtons: "showActionButtons" }, outputs: { submit: "submit" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
9734
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm, selectors: [["anatoly-forms-contactus-form"]], inputs: { showActionButtons: "showActionButtons" }, outputs: { submit: "submit" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 40, vars: 30, consts: [["novalidate", "", 3, "ngSubmit", "formGroup"], [3, "formGroup", "visible"], [1, "contact-us"], [1, "row"], [1, "form-fields", "col-6"], [1, "form-topic", 3, "ngClass"], [1, "form-select-wrapper"], [1, "assistive-text"], ["formControlName", "topic", 1, "form-select", 3, "change"], [3, "value"], ["controlName", "topic", "controlTitle", "topic", 3, "formGroup", "formSubmitted"], [1, "form-name", 3, "ngClass"], ["formControlName", "name", "placeholder", "Name *", "type", "text", 1, "form-control"], ["controlName", "name", "controlTitle", "name", 3, "formGroup", "formSubmitted"], [1, "form-email", 3, "ngClass"], ["formControlName", "email", "placeholder", "E-mail *", "type", "text", 1, "form-control"], ["controlName", "email", "controlTitle", "email", 3, "formGroup", "formSubmitted"], [1, "form-subject", 3, "ngClass"], ["formControlName", "subject", "placeholder", "Subject *", "type", "text", 1, "form-control"], ["controlName", "subject", "controlTitle", "subject", 3, "formGroup", "formSubmitted"], [1, "col-6"], [1, "form-message", 3, "ngClass"], ["formControlName", "message", "name", "message", "placeholder", "Message *", "rows", "4", "type", "text"], ["controlName", "message", "controlTitle", "message", 3, "formGroup", "formSubmitted"], [1, "row", "form-footer"], [1, "col"], ["type", "submit", 1, "btn", "btn-success", 3, "btn-primary"], ["type", "submit", 1, "btn", "btn-success"]], template: function ContactUsForm_Template(rf, ctx) { if (rf & 1) {
|
|
9771
9735
|
i0.ɵɵelementStart(0, "form", 0);
|
|
9772
9736
|
i0.ɵɵlistener("ngSubmit", function ContactUsForm_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
|
|
9773
9737
|
i0.ɵɵelement(1, "anatoly-form-validation-summary", 1);
|
|
@@ -9779,70 +9743,70 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9779
9743
|
i0.ɵɵelementEnd();
|
|
9780
9744
|
i0.ɵɵelementStart(11, "select", 8);
|
|
9781
9745
|
i0.ɵɵlistener("change", function ContactUsForm_Template_select_change_11_listener($event) { return ctx.onTopicChange($event); });
|
|
9782
|
-
i0.ɵɵ
|
|
9746
|
+
i0.ɵɵrepeaterCreate(12, ContactUsForm_For_13_Template, 2, 2, "option", 9, i0.ɵɵrepeaterTrackByIdentity);
|
|
9783
9747
|
i0.ɵɵelementEnd();
|
|
9784
|
-
i0.ɵɵelement(
|
|
9748
|
+
i0.ɵɵelement(14, "anatoly-item-validation-summary", 10);
|
|
9785
9749
|
i0.ɵɵelementEnd()();
|
|
9786
|
-
i0.ɵɵelementStart(
|
|
9787
|
-
i0.ɵɵtext(
|
|
9750
|
+
i0.ɵɵelementStart(15, "div", 11)(16, "label", 7);
|
|
9751
|
+
i0.ɵɵtext(17, "Name *");
|
|
9788
9752
|
i0.ɵɵelementEnd();
|
|
9789
|
-
i0.ɵɵelement(
|
|
9753
|
+
i0.ɵɵelement(18, "input", 12)(19, "anatoly-item-validation-summary", 13);
|
|
9790
9754
|
i0.ɵɵelementEnd();
|
|
9791
|
-
i0.ɵɵelementStart(
|
|
9792
|
-
i0.ɵɵtext(
|
|
9755
|
+
i0.ɵɵelementStart(20, "div", 14)(21, "label", 7);
|
|
9756
|
+
i0.ɵɵtext(22, "E-mail * ");
|
|
9793
9757
|
i0.ɵɵelementEnd();
|
|
9794
|
-
i0.ɵɵelement(
|
|
9795
|
-
i0.ɵɵ
|
|
9796
|
-
i0.ɵɵelement(
|
|
9758
|
+
i0.ɵɵelement(23, "input", 15);
|
|
9759
|
+
i0.ɵɵconditionalCreate(24, ContactUsForm_Conditional_24_Template, 2, 0, "p");
|
|
9760
|
+
i0.ɵɵelement(25, "anatoly-item-validation-summary", 16);
|
|
9797
9761
|
i0.ɵɵelementEnd();
|
|
9798
|
-
i0.ɵɵelementStart(
|
|
9799
|
-
i0.ɵɵtext(
|
|
9762
|
+
i0.ɵɵelementStart(26, "div", 17)(27, "label", 7);
|
|
9763
|
+
i0.ɵɵtext(28, "Subject *");
|
|
9800
9764
|
i0.ɵɵelementEnd();
|
|
9801
|
-
i0.ɵɵelement(
|
|
9765
|
+
i0.ɵɵelement(29, "input", 18)(30, "anatoly-item-validation-summary", 19);
|
|
9802
9766
|
i0.ɵɵelementEnd()();
|
|
9803
|
-
i0.ɵɵelementStart(
|
|
9804
|
-
i0.ɵɵtext(
|
|
9767
|
+
i0.ɵɵelementStart(31, "div", 20)(32, "div", 21)(33, "label", 7);
|
|
9768
|
+
i0.ɵɵtext(34, "Message *");
|
|
9805
9769
|
i0.ɵɵelementEnd();
|
|
9806
|
-
i0.ɵɵelement(
|
|
9770
|
+
i0.ɵɵelement(35, "textarea", 22)(36, "anatoly-item-validation-summary", 23);
|
|
9807
9771
|
i0.ɵɵelementEnd()()();
|
|
9808
|
-
i0.ɵɵelementStart(
|
|
9809
|
-
i0.ɵɵ
|
|
9772
|
+
i0.ɵɵelementStart(37, "div", 24)(38, "div", 25);
|
|
9773
|
+
i0.ɵɵconditionalCreate(39, ContactUsForm_Conditional_39_Template, 2, 2, "button", 26);
|
|
9810
9774
|
i0.ɵɵelementEnd()()()();
|
|
9811
9775
|
} if (rf & 2) {
|
|
9812
9776
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
9813
9777
|
i0.ɵɵadvance();
|
|
9814
9778
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("visible", ctx.formSubmitted && ctx.formGroup.invalid);
|
|
9815
9779
|
i0.ɵɵadvance(6);
|
|
9816
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9780
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$3, ctx.isControlInvalid("topic")));
|
|
9817
9781
|
i0.ɵɵadvance(5);
|
|
9818
|
-
i0.ɵɵ
|
|
9819
|
-
i0.ɵɵadvance();
|
|
9782
|
+
i0.ɵɵrepeater(ctx.topicList);
|
|
9783
|
+
i0.ɵɵadvance(2);
|
|
9820
9784
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9821
9785
|
i0.ɵɵadvance();
|
|
9822
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9786
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c0$3, ctx.isControlInvalid("name")));
|
|
9823
9787
|
i0.ɵɵadvance(4);
|
|
9824
9788
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9825
9789
|
i0.ɵɵadvance();
|
|
9826
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9790
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(24, _c0$3, ctx.isControlInvalid("email")));
|
|
9827
9791
|
i0.ɵɵadvance(4);
|
|
9828
|
-
i0.ɵɵ
|
|
9792
|
+
i0.ɵɵconditional(!ctx.isUserSignedIn ? 24 : -1);
|
|
9829
9793
|
i0.ɵɵadvance();
|
|
9830
9794
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9831
9795
|
i0.ɵɵadvance();
|
|
9832
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9796
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c0$3, ctx.isControlInvalid("subject")));
|
|
9833
9797
|
i0.ɵɵadvance(4);
|
|
9834
9798
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9835
9799
|
i0.ɵɵadvance(2);
|
|
9836
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9800
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$3, ctx.isControlInvalid("message")));
|
|
9837
9801
|
i0.ɵɵadvance(4);
|
|
9838
9802
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9839
9803
|
i0.ɵɵadvance(3);
|
|
9840
|
-
i0.ɵɵ
|
|
9841
|
-
} }, dependencies: [i1$2.NgClass,
|
|
9804
|
+
i0.ɵɵconditional(ctx.showActionButtons ? 39 : -1);
|
|
9805
|
+
} }, dependencies: [i1$2.NgClass, i2.ɵNgNoValidate, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, FormValidationSummaryComponent, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9842
9806
|
}
|
|
9843
9807
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
9844
9808
|
type: Component,
|
|
9845
|
-
args: [{ selector: 'anatoly-forms-contactus-form', standalone: false, template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\
|
|
9809
|
+
args: [{ selector: 'anatoly-forms-contactus-form', standalone: false, template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\n <anatoly-form-validation-summary [formGroup]='formGroup'\n [visible]='formSubmitted && formGroup.invalid'></anatoly-form-validation-summary>\n\n <div class='contact-us'>\n <div class=\"row\">\n <div class='form-fields col-6'>\n <p>What can we help you with?</p>\n <div [ngClass]=\"{'has-error': isControlInvalid('topic') }\" class='form-topic'>\n <div class='form-select-wrapper'>\n <label class='assistive-text'>Topic *</label>\n <select (change)='onTopicChange($event)' class='form-select' formControlName='topic'>\n @for (topic of topicList; track topic) {\n <option [value]='topic.value'>{{ topic.value }} </option>\n }\n </select>\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='topic'\n controlTitle='topic'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n <div [ngClass]=\"{'has-error': isControlInvalid('name') }\" class='form-name'>\n <label class='assistive-text'>Name *</label>\n <input class='form-control' formControlName='name' placeholder='Name *' type='text'>\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='name'\n controlTitle='name'>\n </anatoly-item-validation-summary>\n </div>\n <div [ngClass]=\"{'has-error': isControlInvalid('email') }\" class='form-email'>\n <label class='assistive-text'>E-mail * </label>\n <input class='form-control' formControlName='email' placeholder='E-mail *' type='text' />\n @if (!isUserSignedIn) {\n <p>Please indicate the email used for your MailEx login if you already have an account</p>\n }\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='email'\n controlTitle='email'>\n </anatoly-item-validation-summary>\n </div>\n <div [ngClass]=\"{'has-error': isControlInvalid('subject') }\" class='form-subject'>\n <label class='assistive-text'>Subject *</label>\n <input class='form-control' formControlName='subject' placeholder='Subject *' type='text' />\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='subject'\n controlTitle='subject'>\n </anatoly-item-validation-summary>\n </div>\n\n </div>\n <div class='col-6'>\n <div [ngClass]=\"{'has-error': isControlInvalid('message') }\" class='form-message'>\n <label class='assistive-text'>Message *</label>\n <textarea formControlName='message' name='message' placeholder='Message *' rows='4'\n type='text'></textarea>\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='message'\n controlTitle='message'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n </div>\n <div class=\"row form-footer\">\n <div class=\"col\">\n @if (showActionButtons) {\n <button\n [class.btn-primary]='!formGroup.invalid'\n class='btn btn-success'\n type='submit'>\n Submit\n </button>\n }\n </div>\n </div>\n </div>\n</form>\n" }]
|
|
9846
9810
|
}], () => [{ type: i1$9.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
|
|
9847
9811
|
type: Input
|
|
9848
9812
|
}], submit: [{
|
|
@@ -9866,19 +9830,19 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9866
9830
|
*/
|
|
9867
9831
|
//Node
|
|
9868
9832
|
const _c0$2 = ["contactusform"];
|
|
9869
|
-
function
|
|
9833
|
+
function ContactUsDialog_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9870
9834
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
9871
9835
|
i0.ɵɵelementStart(0, "kendo-dialog", 2);
|
|
9872
|
-
i0.ɵɵlistener("close", function
|
|
9836
|
+
i0.ɵɵlistener("close", function ContactUsDialog_Conditional_0_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onClose()); });
|
|
9873
9837
|
i0.ɵɵelementStart(1, "div", 3)(2, "anatoly-forms-contactus-form", 4, 0);
|
|
9874
|
-
i0.ɵɵlistener("submit", function
|
|
9838
|
+
i0.ɵɵlistener("submit", function ContactUsDialog_Conditional_0_Template_anatoly_forms_contactus_form_submit_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSubmit()); });
|
|
9875
9839
|
i0.ɵɵelementEnd()();
|
|
9876
9840
|
i0.ɵɵelementStart(4, "kendo-dialog-actions", 5)(5, "div", 6)(6, "button", 7);
|
|
9877
|
-
i0.ɵɵlistener("click", function
|
|
9841
|
+
i0.ɵɵlistener("click", function ContactUsDialog_Conditional_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSubmitFire()); });
|
|
9878
9842
|
i0.ɵɵtext(7, "Submit");
|
|
9879
9843
|
i0.ɵɵelementEnd();
|
|
9880
9844
|
i0.ɵɵelementStart(8, "button", 8);
|
|
9881
|
-
i0.ɵɵlistener("click", function
|
|
9845
|
+
i0.ɵɵlistener("click", function ContactUsDialog_Conditional_0_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onClose()); });
|
|
9882
9846
|
i0.ɵɵtext(9, "Cancel ");
|
|
9883
9847
|
i0.ɵɵelementEnd()()()();
|
|
9884
9848
|
} if (rf & 2) {
|
|
@@ -9906,15 +9870,15 @@ class ContactUsDialog extends DialogBase {
|
|
|
9906
9870
|
} if (rf & 2) {
|
|
9907
9871
|
let _t;
|
|
9908
9872
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contactUsForm = _t.first);
|
|
9909
|
-
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["contactusform", ""], ["title", "Contact Us", 3, "width"
|
|
9910
|
-
i0.ɵɵ
|
|
9873
|
+
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["contactusform", ""], ["title", "Contact Us", 3, "width"], ["title", "Contact Us", 3, "close", "width"], [1, "k-content", "k-window-content", "k-dialog-content"], [3, "submit", "showActionButtons"], [1, "k-actions"], [1, "d-flex", "justify-content-end"], ["type", "button", 1, "btn", "btn-sm", "btn-success", 3, "click"], ["type", "button", 1, "btn", "btn-sm", "btn-danger", 3, "click"]], template: function ContactUsDialog_Template(rf, ctx) { if (rf & 1) {
|
|
9874
|
+
i0.ɵɵconditionalCreate(0, ContactUsDialog_Conditional_0_Template, 10, 2, "kendo-dialog", 1);
|
|
9911
9875
|
} if (rf & 2) {
|
|
9912
|
-
i0.ɵɵ
|
|
9913
|
-
} }, dependencies: [
|
|
9876
|
+
i0.ɵɵconditional(ctx.isOpen ? 0 : -1);
|
|
9877
|
+
} }, dependencies: [i4$1.DialogComponent, i4$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
|
|
9914
9878
|
}
|
|
9915
9879
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
9916
9880
|
type: Component,
|
|
9917
|
-
args: [{ selector: 'anatoly-contactus-dialog', standalone: false, template: "<kendo-dialog (close)='onClose()'
|
|
9881
|
+
args: [{ selector: 'anatoly-contactus-dialog', standalone: false, template: "@if (isOpen) {\n <kendo-dialog (close)='onClose()' [width]='700' title='Contact Us'>\n <div class=\"k-content k-window-content k-dialog-content\">\n <anatoly-forms-contactus-form #contactusform [showActionButtons]='false' (submit)='onSubmit()'>\n </anatoly-forms-contactus-form>\n </div>\n <kendo-dialog-actions class=\"k-actions\">\n <div class=\"d-flex justify-content-end\">\n <button (click)='onSubmitFire()' class='btn btn-sm btn-success' type='button'>Submit</button>\n <button (click)='onClose()' class='btn btn-sm btn-danger' type='button'>Cancel </button>\n </div>\n </kendo-dialog-actions>\n </kendo-dialog>\n}" }]
|
|
9918
9882
|
}], () => [], { contactUsForm: [{
|
|
9919
9883
|
type: ViewChild,
|
|
9920
9884
|
args: ['contactusform']
|
|
@@ -10017,14 +9981,14 @@ class HoveringDirective {
|
|
|
10017
9981
|
*/
|
|
10018
9982
|
//Node
|
|
10019
9983
|
const _c0$1 = a0 => ({ "has-error": a0 });
|
|
10020
|
-
function
|
|
10021
|
-
i0.ɵɵelement(0, "anatoly-card-header",
|
|
9984
|
+
function AddressComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
9985
|
+
i0.ɵɵelement(0, "anatoly-card-header", 1);
|
|
10022
9986
|
} if (rf & 2) {
|
|
10023
9987
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
10024
9988
|
i0.ɵɵproperty("title", ctx_r0.title);
|
|
10025
9989
|
} }
|
|
10026
|
-
function
|
|
10027
|
-
i0.ɵɵelementStart(0, "option",
|
|
9990
|
+
function AddressComponent_Conditional_18_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
9991
|
+
i0.ɵɵelementStart(0, "option", 15);
|
|
10028
9992
|
i0.ɵɵtext(1);
|
|
10029
9993
|
i0.ɵɵelementEnd();
|
|
10030
9994
|
} if (rf & 2) {
|
|
@@ -10033,27 +9997,27 @@ function AddressComponent_div_18_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
10033
9997
|
i0.ɵɵadvance();
|
|
10034
9998
|
i0.ɵɵtextInterpolate(state_r3.name);
|
|
10035
9999
|
} }
|
|
10036
|
-
function
|
|
10000
|
+
function AddressComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
10037
10001
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
10038
10002
|
i0.ɵɵelementStart(0, "div", 9)(1, "label");
|
|
10039
10003
|
i0.ɵɵtext(2, "State");
|
|
10040
10004
|
i0.ɵɵelementEnd();
|
|
10041
|
-
i0.ɵɵelementStart(3, "select",
|
|
10042
|
-
i0.ɵɵlistener("change", function
|
|
10043
|
-
i0.ɵɵ
|
|
10005
|
+
i0.ɵɵelementStart(3, "select", 17);
|
|
10006
|
+
i0.ɵɵlistener("change", function AddressComponent_Conditional_18_Template_select_change_3_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onUSStateChange($event)); });
|
|
10007
|
+
i0.ɵɵrepeaterCreate(4, AddressComponent_Conditional_18_For_5_Template, 2, 2, "option", 15, i0.ɵɵrepeaterTrackByIdentity);
|
|
10044
10008
|
i0.ɵɵelementEnd();
|
|
10045
|
-
i0.ɵɵelement(
|
|
10009
|
+
i0.ɵɵelement(6, "anatoly-item-validation-summary", 18);
|
|
10046
10010
|
i0.ɵɵelementEnd();
|
|
10047
10011
|
} if (rf & 2) {
|
|
10048
10012
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
10049
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10013
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$1, ctx_r0.isControlInvalid("address_stateOrRegion")));
|
|
10050
10014
|
i0.ɵɵadvance(4);
|
|
10051
|
-
i0.ɵɵ
|
|
10052
|
-
i0.ɵɵadvance();
|
|
10015
|
+
i0.ɵɵrepeater(ctx_r0.usStateData);
|
|
10016
|
+
i0.ɵɵadvance(2);
|
|
10053
10017
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup)("formSubmitted", ctx_r0.formSubmitted);
|
|
10054
10018
|
} }
|
|
10055
|
-
function
|
|
10056
|
-
i0.ɵɵelementStart(0, "option",
|
|
10019
|
+
function AddressComponent_For_29_Template(rf, ctx) { if (rf & 1) {
|
|
10020
|
+
i0.ɵɵelementStart(0, "option", 15);
|
|
10057
10021
|
i0.ɵɵtext(1);
|
|
10058
10022
|
i0.ɵɵelementEnd();
|
|
10059
10023
|
} if (rf & 2) {
|
|
@@ -10151,9 +10115,9 @@ class AddressComponent extends EditComponentBase {
|
|
|
10151
10115
|
this.change.emit(usState);
|
|
10152
10116
|
}
|
|
10153
10117
|
static { this.ɵfac = function AddressComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AddressComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
10154
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressComponent, selectors: [["anatoly-forms-address"]], inputs: { address: "address" }, outputs: { change: "change" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
10118
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressComponent, selectors: [["anatoly-forms-address"]], inputs: { address: "address" }, outputs: { change: "change" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 31, vars: 28, consts: [["classes", "card-outline card-primary"], [3, "title"], [3, "formGroup"], [1, "row"], [1, "form-group", 3, "ngClass"], ["type", "text", "formControlName", "address_street", "placeholder", "Street Address", 1, "form-control"], ["controlName", "address_street", "controlTitle", "Street", 3, "formGroup", "formSubmitted"], ["type", "text", "formControlName", "address_street2", "placeholder", "Apartment, suite, unit, building, floor, etc.", 1, "form-control"], ["controlName", "address_street2", "controlTitle", "Street2", 3, "formGroup", "formSubmitted"], [1, "form-group", "col-3", "mb-0", 3, "ngClass"], ["type", "text", "formControlName", "address_city", "placeholder", "City", 1, "form-control"], ["controlName", "address_city", "controlTitle", "City", 3, "formGroup", "formSubmitted"], ["type", "text", "formControlName", "address_zipcode", "placeholder", "zipcode", 1, "form-control"], ["controlName", "address_zipcode", "controlTitle", "zipcode", 3, "formGroup", "formSubmitted"], ["formControlName", "address_country", "data-placeholder", "Select a Country", 1, "form-control", 3, "change"], [3, "value"], ["controlName", "address_country", "controlTitle", "Country", 3, "formGroup", "formSubmitted"], ["formControlName", "address_stateOrRegion", 1, "form-control", 3, "change"], ["controlName", "address_stateOrRegion", "controlTitle", "State", 3, "formGroup", "formSubmitted"]], template: function AddressComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10155
10119
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
10156
|
-
i0.ɵɵ
|
|
10120
|
+
i0.ɵɵconditionalCreate(1, AddressComponent_Conditional_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
10157
10121
|
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "div", 4)(5, "label");
|
|
10158
10122
|
i0.ɵɵtext(6, "Street Address");
|
|
10159
10123
|
i0.ɵɵelementEnd();
|
|
@@ -10167,55 +10131,55 @@ class AddressComponent extends EditComponentBase {
|
|
|
10167
10131
|
i0.ɵɵelementEnd();
|
|
10168
10132
|
i0.ɵɵelement(16, "input", 10)(17, "anatoly-item-validation-summary", 11);
|
|
10169
10133
|
i0.ɵɵelementEnd();
|
|
10170
|
-
i0.ɵɵ
|
|
10134
|
+
i0.ɵɵconditionalCreate(18, AddressComponent_Conditional_18_Template, 7, 5, "div", 9);
|
|
10171
10135
|
i0.ɵɵelementStart(19, "div", 9)(20, "label");
|
|
10172
10136
|
i0.ɵɵtext(21, "Zipcode");
|
|
10173
10137
|
i0.ɵɵelementEnd();
|
|
10174
|
-
i0.ɵɵelement(22, "input",
|
|
10138
|
+
i0.ɵɵelement(22, "input", 12)(23, "anatoly-item-validation-summary", 13);
|
|
10175
10139
|
i0.ɵɵelementEnd();
|
|
10176
10140
|
i0.ɵɵelementStart(24, "div", 9)(25, "label");
|
|
10177
10141
|
i0.ɵɵtext(26, "Country");
|
|
10178
10142
|
i0.ɵɵelementEnd();
|
|
10179
|
-
i0.ɵɵelementStart(27, "select",
|
|
10143
|
+
i0.ɵɵelementStart(27, "select", 14);
|
|
10180
10144
|
i0.ɵɵlistener("change", function AddressComponent_Template_select_change_27_listener($event) { return ctx.onCountryChange($event); });
|
|
10181
|
-
i0.ɵɵ
|
|
10145
|
+
i0.ɵɵrepeaterCreate(28, AddressComponent_For_29_Template, 2, 2, "option", 15, i0.ɵɵrepeaterTrackByIdentity);
|
|
10182
10146
|
i0.ɵɵelementEnd();
|
|
10183
|
-
i0.ɵɵelement(
|
|
10147
|
+
i0.ɵɵelement(30, "anatoly-item-validation-summary", 16);
|
|
10184
10148
|
i0.ɵɵelementEnd()()()();
|
|
10185
10149
|
} if (rf & 2) {
|
|
10186
10150
|
i0.ɵɵadvance();
|
|
10187
|
-
i0.ɵɵ
|
|
10151
|
+
i0.ɵɵconditional(ctx.isTitleVisible ? 1 : -1);
|
|
10188
10152
|
i0.ɵɵadvance();
|
|
10189
10153
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
10190
10154
|
i0.ɵɵadvance(2);
|
|
10191
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10155
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c0$1, ctx.isControlInvalid("address_street")));
|
|
10192
10156
|
i0.ɵɵadvance(4);
|
|
10193
10157
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10194
10158
|
i0.ɵɵadvance();
|
|
10195
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10159
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$1, ctx.isControlInvalid("address_street2")));
|
|
10196
10160
|
i0.ɵɵadvance(2);
|
|
10197
10161
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10198
10162
|
i0.ɵɵadvance(2);
|
|
10199
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10163
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c0$1, ctx.isControlInvalid("address_city")));
|
|
10200
10164
|
i0.ɵɵadvance(4);
|
|
10201
10165
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10202
10166
|
i0.ɵɵadvance();
|
|
10203
|
-
i0.ɵɵ
|
|
10167
|
+
i0.ɵɵconditional(ctx.formGroup.value.address_country == "US" ? 18 : -1);
|
|
10204
10168
|
i0.ɵɵadvance();
|
|
10205
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10169
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(24, _c0$1, ctx.isControlInvalid("address_zipcode")));
|
|
10206
10170
|
i0.ɵɵadvance(4);
|
|
10207
10171
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10208
10172
|
i0.ɵɵadvance();
|
|
10209
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10173
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c0$1, ctx.isControlInvalid("address_country")));
|
|
10210
10174
|
i0.ɵɵadvance(4);
|
|
10211
|
-
i0.ɵɵ
|
|
10212
|
-
i0.ɵɵadvance();
|
|
10175
|
+
i0.ɵɵrepeater(ctx.countryData);
|
|
10176
|
+
i0.ɵɵadvance(2);
|
|
10213
10177
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10214
|
-
} }, dependencies: [i1$2.NgClass,
|
|
10178
|
+
} }, dependencies: [i1$2.NgClass, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
10215
10179
|
}
|
|
10216
10180
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
10217
10181
|
type: Component,
|
|
10218
|
-
args: [{ selector: 'anatoly-forms-address', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\
|
|
10182
|
+
args: [{ selector: 'anatoly-forms-address', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\n @if (isTitleVisible) {\n <anatoly-card-header [title]='title' />\n }\n <anatoly-card-body [formGroup]='formGroup'>\n <div class=\"row\">\n <div class='form-group' [ngClass]=\"{'has-error': isControlInvalid('address_street')}\" >\n <label>Street Address</label>\n <input type='text' class='form-control' formControlName='address_street' placeholder='Street Address'>\n <anatoly-item-validation-summary controlName='address_street'\n controlTitle='Street'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n <div class='form-group' [ngClass]=\"{'has-error': isControlInvalid('address_street2')}\" >\n <input type='text' class='form-control' formControlName='address_street2' placeholder='Apartment, suite, unit, building, floor, etc.'>\n <anatoly-item-validation-summary controlName='address_street2'\n controlTitle='Street2'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n <div class=\"row\">\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_city')}\">\n <label>City</label>\n <input type='text' class='form-control' formControlName='address_city' placeholder='City'>\n <anatoly-item-validation-summary controlName='address_city'\n controlTitle='City'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n @if (formGroup.value.address_country == 'US') {\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_stateOrRegion')}\">\n <label>State</label>\n <select class='form-control' (change)='onUSStateChange($event)' formControlName='address_stateOrRegion'>\n @for (state of usStateData; track state) {\n <option [value]='state.code'>{{state.name}}</option>\n }\n </select>\n <anatoly-item-validation-summary controlName='address_stateOrRegion'\n controlTitle='State'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n }\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_zipcode')}\" >\n <label>Zipcode</label>\n <input type='text' class='form-control' formControlName='address_zipcode' placeholder='zipcode'>\n <anatoly-item-validation-summary controlName='address_zipcode'\n controlTitle='zipcode'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_country')}\">\n <label>Country</label>\n <select class='form-control' (change)='onCountryChange($event)' formControlName='address_country' data-placeholder='Select a Country'>\n @for (country of countryData; track country) {\n <option [value]='country.code'>{{country.name}}</option>\n }\n </select>\n <anatoly-item-validation-summary controlName='address_country'\n controlTitle='Country'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n </anatoly-card-body>\n</anatoly-card>\n" }]
|
|
10219
10183
|
}], () => [{ type: i2.FormBuilder }, { type: AppContextService }], { address: [{
|
|
10220
10184
|
type: Input
|
|
10221
10185
|
}], change: [{
|
|
@@ -10240,8 +10204,8 @@ class AddressComponent extends EditComponentBase {
|
|
|
10240
10204
|
*/
|
|
10241
10205
|
//Node
|
|
10242
10206
|
const _c0 = a0 => ({ "has-error": a0 });
|
|
10243
|
-
function
|
|
10244
|
-
i0.ɵɵelement(0, "anatoly-card-header",
|
|
10207
|
+
function CompanyComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
10208
|
+
i0.ɵɵelement(0, "anatoly-card-header", 1);
|
|
10245
10209
|
} if (rf & 2) {
|
|
10246
10210
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
10247
10211
|
i0.ɵɵproperty("title", ctx_r0.title);
|
|
@@ -10296,9 +10260,9 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10296
10260
|
return JSON.stringify(data);
|
|
10297
10261
|
}
|
|
10298
10262
|
static { this.ɵfac = function CompanyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CompanyComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder)); }; }
|
|
10299
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { company: "company" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 22, consts: [["classes", "card-outline card-primary"], [3, "title"
|
|
10263
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { company: "company" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 22, consts: [["classes", "card-outline card-primary"], [3, "title"], [3, "formGroup"], [1, "row"], [1, "form-group", "col-6", 3, "ngClass"], ["type", "text", "formControlName", "company_name", "placeholder", "Company Name", 1, "form-control"], ["controlName", "company_name", "controlTitle", "Company Name", 3, "formGroup", "formSubmitted"], ["type", "tel", "formControlName", "company_phone", "placeholder", "Company Phone", 1, "form-control"], ["controlName", "company_phone", "controlTitle", "Company Phone", 3, "formGroup", "formSubmitted"], [1, "form-group", "col-6", "mb-0", 3, "ngClass"], ["type", "email", "formControlName", "company_email", "placeholder", "Company Email", 1, "form-control"], ["controlName", "company_email", "controlTitle", "Company Email", 3, "formGroup", "formSubmitted"], ["type", "url", "placeholder", "https://example.com", "pattern", "https://.*", "size", "30", "formControlName", "company_websiteUrl", 1, "form-control"], ["controlName", "company_websiteUrl", "controlTitle", "Company website url", 3, "formGroup", "formSubmitted"]], template: function CompanyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10300
10264
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
10301
|
-
i0.ɵɵ
|
|
10265
|
+
i0.ɵɵconditionalCreate(1, CompanyComponent_Conditional_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
10302
10266
|
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "div", 4)(5, "label");
|
|
10303
10267
|
i0.ɵɵtext(6, "Name");
|
|
10304
10268
|
i0.ɵɵelementEnd();
|
|
@@ -10321,7 +10285,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10321
10285
|
i0.ɵɵelementEnd()()()();
|
|
10322
10286
|
} if (rf & 2) {
|
|
10323
10287
|
i0.ɵɵadvance();
|
|
10324
|
-
i0.ɵɵ
|
|
10288
|
+
i0.ɵɵconditional(ctx.isTitleVisible ? 1 : -1);
|
|
10325
10289
|
i0.ɵɵadvance();
|
|
10326
10290
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
10327
10291
|
i0.ɵɵadvance(2);
|
|
@@ -10340,11 +10304,11 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10340
10304
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0, ctx.isControlInvalid("company_websiteUrl")));
|
|
10341
10305
|
i0.ɵɵadvance(4);
|
|
10342
10306
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10343
|
-
} }, dependencies: [i1$2.NgClass,
|
|
10307
|
+
} }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.PatternValidator, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
10344
10308
|
}
|
|
10345
10309
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
10346
10310
|
type: Component,
|
|
10347
|
-
args: [{ selector: 'anatoly-forms-company', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\
|
|
10311
|
+
args: [{ selector: 'anatoly-forms-company', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\n @if (isTitleVisible) {\n <anatoly-card-header [title]='title' />\n }\n <anatoly-card-body [formGroup]='formGroup' >\n <div class=\"row\">\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_name') }\">\n <label>Name</label>\n <input type='text' class='form-control' formControlName='company_name' placeholder='Company Name'>\n <anatoly-item-validation-summary controlName='company_name'\n controlTitle='Company Name'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_phone') }\">\n <label>Phone</label>\n <input type='tel' class='form-control' formControlName='company_phone' placeholder='Company Phone'>\n <anatoly-item-validation-summary controlName='company_phone'\n controlTitle='Company Phone'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n <div class=\"row\">\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_email') }\">\n <label>Email</label>\n <input type='email' class='form-control' formControlName='company_email' placeholder='Company Email'>\n <anatoly-item-validation-summary controlName='company_email'\n controlTitle='Company Email'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_websiteUrl') }\">\n <label>Website Url</label>\n <input type='url' placeholder='https://example.com' pattern='https://.*' size='30'\n class='form-control' formControlName='company_websiteUrl'>\n <anatoly-item-validation-summary controlName='company_websiteUrl'\n controlTitle='Company website url'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n </anatoly-card-body>\n </anatoly-card>\n" }]
|
|
10348
10312
|
}], () => [{ type: i2.FormBuilder }], { company: [{
|
|
10349
10313
|
type: Input
|
|
10350
10314
|
}] }); })();
|
|
@@ -11675,5 +11639,5 @@ class AnatolyModule {
|
|
|
11675
11639
|
* Generated bundle index. Do not edit.
|
|
11676
11640
|
*/
|
|
11677
11641
|
|
|
11678
|
-
export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingService, BillingUtils, BraintreeDialog, BrowserService, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, ControlPanelComponent, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, ImageReplacerDirective, InjectorInstance$1 as InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10nUtils, LanguageDropdownlist, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationModule, LocalizationService, LocalizePipe, LoggingService, MSALUtils, Message2User, Message2UserComponent, Message2UserService, Mode, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PaypalSubscribeButtonComponent, PromoCodesApiService, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, ServiceBase, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionProvider, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, formatUrl, getAppCoreSettings, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, is, resetAppCoreSettings, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
|
|
11642
|
+
export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppVersion, AppsGoServiceBase, AssetGroupType, AuthService, AuthenticationGuard, BillingService, BillingUtils, BraintreeDialog, BrowserService, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, ControlPanelComponent, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, ImageReplacerDirective, InjectorInstance$1 as InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10nUtils, LanguageDropdownlist, LibName, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationModule, LocalizationService, LocalizePipe, LoggingService, MSALUtils, Message2User, Message2UserComponent, Message2UserService, Mode, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PaypalSubscribeButtonComponent, PromoCodesApiService, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, ServiceBase, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionProvider, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, formatAssetsUrl, formatUrl, getAppCoreSettings, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, is, resetAppCoreSettings, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
|
|
11679
11643
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|