@osovitny/anatoly 3.20.46 → 3.21.0
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 }); }
|
|
@@ -2465,6 +2522,7 @@ class AnatolyHttpInterceptor {
|
|
|
2465
2522
|
this.authorizationTokenExceptions = [
|
|
2466
2523
|
'assets',
|
|
2467
2524
|
'dist',
|
|
2525
|
+
'blobs',
|
|
2468
2526
|
'loadAppInitializerSettings'
|
|
2469
2527
|
];
|
|
2470
2528
|
this.autoCDNSASTokenUrls = [
|
|
@@ -2986,15 +3044,9 @@ class LocalizePipe {
|
|
|
2986
3044
|
*/
|
|
2987
3045
|
//Node
|
|
2988
3046
|
function translateLoaderFactory(httpClient) {
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
let cdnUrl = appCoreSettings.cdn.url;
|
|
2993
|
-
let version = AppVersion ?? '1.0.0';
|
|
2994
|
-
if (isCDNEnabled) {
|
|
2995
|
-
url = (url[0] == '/') ? cdnUrl + url : cdnUrl + '/' + url;
|
|
2996
|
-
}
|
|
2997
|
-
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);
|
|
2998
3050
|
}
|
|
2999
3051
|
let _localizationInjectorInstance;
|
|
3000
3052
|
function getLocalizationInjector() {
|
|
@@ -4349,12 +4401,12 @@ class AReplacerDirective extends ReplacerDirectiveBase {
|
|
|
4349
4401
|
*/
|
|
4350
4402
|
//Node
|
|
4351
4403
|
const _c0$i = ["*"];
|
|
4352
|
-
function
|
|
4404
|
+
function SignUpButtonComponent_Conditional_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4353
4405
|
i0.ɵɵelementContainer(0);
|
|
4354
4406
|
} }
|
|
4355
|
-
function
|
|
4407
|
+
function SignUpButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
4356
4408
|
i0.ɵɵelementStart(0, "a", 4);
|
|
4357
|
-
i0.ɵɵtemplate(1,
|
|
4409
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_Conditional_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
4358
4410
|
i0.ɵɵelementEnd();
|
|
4359
4411
|
} if (rf & 2) {
|
|
4360
4412
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -4364,12 +4416,12 @@ function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
4364
4416
|
i0.ɵɵadvance();
|
|
4365
4417
|
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
4366
4418
|
} }
|
|
4367
|
-
function
|
|
4419
|
+
function SignUpButtonComponent_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4368
4420
|
i0.ɵɵelementContainer(0);
|
|
4369
4421
|
} }
|
|
4370
|
-
function
|
|
4422
|
+
function SignUpButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4371
4423
|
i0.ɵɵelementStart(0, "a", 6);
|
|
4372
|
-
i0.ɵɵtemplate(1,
|
|
4424
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
4373
4425
|
i0.ɵɵelementEnd();
|
|
4374
4426
|
} if (rf & 2) {
|
|
4375
4427
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -4379,7 +4431,7 @@ function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4379
4431
|
i0.ɵɵadvance();
|
|
4380
4432
|
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
4381
4433
|
} }
|
|
4382
|
-
function
|
|
4434
|
+
function SignUpButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
4383
4435
|
i0.ɵɵelementStart(0, "span");
|
|
4384
4436
|
i0.ɵɵtext(1, "Sign Up");
|
|
4385
4437
|
i0.ɵɵelementEnd();
|
|
@@ -4388,11 +4440,11 @@ function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
4388
4440
|
i0.ɵɵelementStart(0, "span", null, 1);
|
|
4389
4441
|
i0.ɵɵprojection(2);
|
|
4390
4442
|
i0.ɵɵelementEnd();
|
|
4391
|
-
i0.ɵɵ
|
|
4443
|
+
i0.ɵɵconditionalCreate(3, SignUpButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
|
|
4392
4444
|
} if (rf & 2) {
|
|
4393
4445
|
const ref_r3 = i0.ɵɵreference(1);
|
|
4394
4446
|
i0.ɵɵadvance(3);
|
|
4395
|
-
i0.ɵɵ
|
|
4447
|
+
i0.ɵɵconditional(!ref_r3.innerHTML.trim() ? 3 : -1);
|
|
4396
4448
|
} }
|
|
4397
4449
|
class SignUpButtonComponent extends ComponentBase {
|
|
4398
4450
|
constructor() {
|
|
@@ -4412,18 +4464,20 @@ class SignUpButtonComponent extends ComponentBase {
|
|
|
4412
4464
|
}
|
|
4413
4465
|
}
|
|
4414
4466
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignUpButtonComponent_BaseFactory; return function SignUpButtonComponent_Factory(__ngFactoryType__) { return (ɵSignUpButtonComponent_BaseFactory || (ɵSignUpButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignUpButtonComponent)))(__ngFactoryType__ || SignUpButtonComponent); }; })(); }
|
|
4415
|
-
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: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"
|
|
4467
|
+
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: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"], [3, "routerLink", "class"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4416
4468
|
i0.ɵɵprojectionDef();
|
|
4417
|
-
i0.ɵɵ
|
|
4469
|
+
i0.ɵɵconditionalCreate(0, SignUpButtonComponent_Conditional_0_Template, 2, 4, "a", 2);
|
|
4470
|
+
i0.ɵɵconditionalCreate(1, SignUpButtonComponent_Conditional_1_Template, 2, 4, "a", 3);
|
|
4471
|
+
i0.ɵɵtemplate(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
4418
4472
|
} if (rf & 2) {
|
|
4419
|
-
i0.ɵɵ
|
|
4473
|
+
i0.ɵɵconditional(ctx.external ? 0 : -1);
|
|
4420
4474
|
i0.ɵɵadvance();
|
|
4421
|
-
i0.ɵɵ
|
|
4422
|
-
} }, dependencies: [i1$2.
|
|
4475
|
+
i0.ɵɵconditional(!ctx.external ? 1 : -1);
|
|
4476
|
+
} }, dependencies: [i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
4423
4477
|
}
|
|
4424
4478
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
4425
4479
|
type: Component,
|
|
4426
|
-
args: [{ selector: "anatoly-signup-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\"
|
|
4480
|
+
args: [{ selector: "anatoly-signup-button", standalone: false, template: "@if (external) {\n <a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n@if (!external) {\n <a [routerLink]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\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" }]
|
|
4427
4481
|
}], null, { qs: [{
|
|
4428
4482
|
type: Input
|
|
4429
4483
|
}] }); })();
|
|
@@ -4445,44 +4499,46 @@ class SignUpButtonComponent extends ComponentBase {
|
|
|
4445
4499
|
</file>
|
|
4446
4500
|
*/
|
|
4447
4501
|
//Node
|
|
4448
|
-
function
|
|
4502
|
+
function BuyAccessButtonComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4449
4503
|
i0.ɵɵelementStart(0, "div");
|
|
4450
|
-
i0.ɵɵelement(1, "anatoly-signup-button",
|
|
4504
|
+
i0.ɵɵelement(1, "anatoly-signup-button", 1);
|
|
4451
4505
|
i0.ɵɵelementEnd();
|
|
4452
4506
|
} }
|
|
4453
|
-
function
|
|
4454
|
-
i0.ɵɵelementStart(0, "button",
|
|
4507
|
+
function BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4508
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
4455
4509
|
i0.ɵɵtext(1, " Your Plan ");
|
|
4456
4510
|
i0.ɵɵelementEnd();
|
|
4457
4511
|
} }
|
|
4458
|
-
function
|
|
4512
|
+
function BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4459
4513
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
4460
|
-
i0.ɵɵelementStart(0, "button",
|
|
4461
|
-
i0.ɵɵlistener("click", function
|
|
4514
|
+
i0.ɵɵelementStart(0, "button", 4);
|
|
4515
|
+
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()); });
|
|
4462
4516
|
i0.ɵɵtext(1, " Buy Now ");
|
|
4463
4517
|
i0.ɵɵelementEnd();
|
|
4464
4518
|
} }
|
|
4465
|
-
function
|
|
4519
|
+
function BuyAccessButtonComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4466
4520
|
i0.ɵɵelementStart(0, "div");
|
|
4467
|
-
i0.ɵɵ
|
|
4521
|
+
i0.ɵɵconditionalCreate(1, BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_1_Template, 2, 0, "button", 2);
|
|
4522
|
+
i0.ɵɵconditionalCreate(2, BuyAccessButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template, 2, 0, "button", 3);
|
|
4468
4523
|
i0.ɵɵelementEnd();
|
|
4469
4524
|
} if (rf & 2) {
|
|
4470
4525
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4471
4526
|
i0.ɵɵadvance();
|
|
4472
|
-
i0.ɵɵ
|
|
4527
|
+
i0.ɵɵconditional(ctx_r1.plan == ctx_r1.currentPlanId ? 1 : -1);
|
|
4473
4528
|
i0.ɵɵadvance();
|
|
4474
|
-
i0.ɵɵ
|
|
4529
|
+
i0.ɵɵconditional(ctx_r1.plan != ctx_r1.currentPlanId ? 2 : -1);
|
|
4475
4530
|
} }
|
|
4476
|
-
function
|
|
4477
|
-
i0.ɵɵelementStart(0, "div",
|
|
4478
|
-
i0.ɵɵ
|
|
4531
|
+
function BuyAccessButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
4532
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
4533
|
+
i0.ɵɵconditionalCreate(1, BuyAccessButtonComponent_Conditional_0_Conditional_1_Template, 2, 0, "div");
|
|
4534
|
+
i0.ɵɵconditionalCreate(2, BuyAccessButtonComponent_Conditional_0_Conditional_2_Template, 3, 2, "div");
|
|
4479
4535
|
i0.ɵɵelementEnd();
|
|
4480
4536
|
} if (rf & 2) {
|
|
4481
4537
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4482
4538
|
i0.ɵɵadvance();
|
|
4483
|
-
i0.ɵɵ
|
|
4539
|
+
i0.ɵɵconditional(!ctx_r1.isUserSignedIn && ctx_r1.visibleSignup ? 1 : -1);
|
|
4484
4540
|
i0.ɵɵadvance();
|
|
4485
|
-
i0.ɵɵ
|
|
4541
|
+
i0.ɵɵconditional(ctx_r1.isUserSignedIn && ctx_r1.visiblePlanStatus ? 2 : -1);
|
|
4486
4542
|
} }
|
|
4487
4543
|
class BuyAccessButtonComponent {
|
|
4488
4544
|
constructor(appContext) {
|
|
@@ -4519,15 +4575,15 @@ class BuyAccessButtonComponent {
|
|
|
4519
4575
|
this.planselect.emit(this.plan);
|
|
4520
4576
|
}
|
|
4521
4577
|
static { this.ɵfac = function BuyAccessButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4522
|
-
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: [[
|
|
4523
|
-
i0.ɵɵ
|
|
4578
|
+
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) {
|
|
4579
|
+
i0.ɵɵconditionalCreate(0, BuyAccessButtonComponent_Conditional_0_Template, 3, 2, "div", 0);
|
|
4524
4580
|
} if (rf & 2) {
|
|
4525
|
-
i0.ɵɵ
|
|
4526
|
-
} }, dependencies: [
|
|
4581
|
+
i0.ɵɵconditional(ctx.contextUpdated ? 0 : -1);
|
|
4582
|
+
} }, dependencies: [SignUpButtonComponent], encapsulation: 2 }); }
|
|
4527
4583
|
}
|
|
4528
4584
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
4529
4585
|
type: Component,
|
|
4530
|
-
args: [{ selector: 'anatoly-billing-buyaccess-button', standalone: false, template: "<div class=\"actions\"
|
|
4586
|
+
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" }]
|
|
4531
4587
|
}], () => [{ type: AppContextService }], { plan: [{
|
|
4532
4588
|
type: Input
|
|
4533
4589
|
}], visiblePlanStatus: [{
|
|
@@ -4555,51 +4611,54 @@ class BuyAccessButtonComponent {
|
|
|
4555
4611
|
</file>
|
|
4556
4612
|
*/
|
|
4557
4613
|
//Node
|
|
4558
|
-
function
|
|
4614
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4559
4615
|
i0.ɵɵelementStart(0, "div");
|
|
4560
|
-
i0.ɵɵelement(1, "anatoly-signup-button",
|
|
4616
|
+
i0.ɵɵelement(1, "anatoly-signup-button", 1);
|
|
4561
4617
|
i0.ɵɵelementEnd();
|
|
4562
4618
|
} }
|
|
4563
|
-
function
|
|
4564
|
-
i0.ɵɵelementStart(0, "button",
|
|
4619
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4620
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
4565
4621
|
i0.ɵɵtext(1, " Your Plan ");
|
|
4566
4622
|
i0.ɵɵelementEnd();
|
|
4567
4623
|
} }
|
|
4568
|
-
function
|
|
4569
|
-
i0.ɵɵelementStart(0, "button",
|
|
4624
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4625
|
+
i0.ɵɵelementStart(0, "button", 3);
|
|
4570
4626
|
i0.ɵɵtext(1, " Requested ");
|
|
4571
4627
|
i0.ɵɵelementEnd();
|
|
4572
4628
|
} }
|
|
4573
|
-
function
|
|
4629
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
4574
4630
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
4575
|
-
i0.ɵɵelementStart(0, "button",
|
|
4576
|
-
i0.ɵɵlistener("click", function
|
|
4631
|
+
i0.ɵɵelementStart(0, "button", 4);
|
|
4632
|
+
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()); });
|
|
4577
4633
|
i0.ɵɵtext(1, " Subscribe ");
|
|
4578
4634
|
i0.ɵɵelementEnd();
|
|
4579
4635
|
} }
|
|
4580
|
-
function
|
|
4636
|
+
function SubscribePlanButtonComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4581
4637
|
i0.ɵɵelementStart(0, "div");
|
|
4582
|
-
i0.ɵɵ
|
|
4638
|
+
i0.ɵɵconditionalCreate(1, SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_1_Template, 2, 0, "button", 2);
|
|
4639
|
+
i0.ɵɵconditionalCreate(2, SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_2_Template, 2, 0, "button", 3);
|
|
4640
|
+
i0.ɵɵconditionalCreate(3, SubscribePlanButtonComponent_Conditional_0_Conditional_2_Conditional_3_Template, 2, 0, "button", 3);
|
|
4583
4641
|
i0.ɵɵelementEnd();
|
|
4584
4642
|
} if (rf & 2) {
|
|
4585
4643
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4586
4644
|
i0.ɵɵadvance();
|
|
4587
|
-
i0.ɵɵ
|
|
4645
|
+
i0.ɵɵconditional(ctx_r1.plan == ctx_r1.currentPlanId ? 1 : -1);
|
|
4588
4646
|
i0.ɵɵadvance();
|
|
4589
|
-
i0.ɵɵ
|
|
4647
|
+
i0.ɵɵconditional(ctx_r1.plan == ctx_r1.requestedPlanId ? 2 : -1);
|
|
4590
4648
|
i0.ɵɵadvance();
|
|
4591
|
-
i0.ɵɵ
|
|
4649
|
+
i0.ɵɵconditional(ctx_r1.plan != ctx_r1.currentPlanId && ctx_r1.plan != ctx_r1.requestedPlanId ? 3 : -1);
|
|
4592
4650
|
} }
|
|
4593
|
-
function
|
|
4594
|
-
i0.ɵɵelementStart(0, "div",
|
|
4595
|
-
i0.ɵɵ
|
|
4651
|
+
function SubscribePlanButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
4652
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
4653
|
+
i0.ɵɵconditionalCreate(1, SubscribePlanButtonComponent_Conditional_0_Conditional_1_Template, 2, 0, "div");
|
|
4654
|
+
i0.ɵɵconditionalCreate(2, SubscribePlanButtonComponent_Conditional_0_Conditional_2_Template, 4, 3, "div");
|
|
4596
4655
|
i0.ɵɵelementEnd();
|
|
4597
4656
|
} if (rf & 2) {
|
|
4598
4657
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4599
4658
|
i0.ɵɵadvance();
|
|
4600
|
-
i0.ɵɵ
|
|
4659
|
+
i0.ɵɵconditional(!ctx_r1.isUserSignedIn && ctx_r1.visibleSignup ? 1 : -1);
|
|
4601
4660
|
i0.ɵɵadvance();
|
|
4602
|
-
i0.ɵɵ
|
|
4661
|
+
i0.ɵɵconditional(ctx_r1.isUserSignedIn && ctx_r1.visiblePlanStatus ? 2 : -1);
|
|
4603
4662
|
} }
|
|
4604
4663
|
class SubscribePlanButtonComponent {
|
|
4605
4664
|
constructor(appContext) {
|
|
@@ -4638,15 +4697,15 @@ class SubscribePlanButtonComponent {
|
|
|
4638
4697
|
this.planselect.emit(this.plan);
|
|
4639
4698
|
}
|
|
4640
4699
|
static { this.ɵfac = function SubscribePlanButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4641
|
-
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: [[
|
|
4642
|
-
i0.ɵɵ
|
|
4700
|
+
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) {
|
|
4701
|
+
i0.ɵɵconditionalCreate(0, SubscribePlanButtonComponent_Conditional_0_Template, 3, 2, "div", 0);
|
|
4643
4702
|
} if (rf & 2) {
|
|
4644
|
-
i0.ɵɵ
|
|
4645
|
-
} }, dependencies: [
|
|
4703
|
+
i0.ɵɵconditional(ctx.contextUpdated ? 0 : -1);
|
|
4704
|
+
} }, dependencies: [SignUpButtonComponent], encapsulation: 2 }); }
|
|
4646
4705
|
}
|
|
4647
4706
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
4648
4707
|
type: Component,
|
|
4649
|
-
args: [{ selector: 'anatoly-billing-subscribe-plan-button', standalone: false, template: "<div class=\"actions\"
|
|
4708
|
+
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" }]
|
|
4650
4709
|
}], () => [{ type: AppContextService }], { plan: [{
|
|
4651
4710
|
type: Input
|
|
4652
4711
|
}], visiblePlanStatus: [{
|
|
@@ -7366,7 +7425,7 @@ class CardComponent extends ComponentBase {
|
|
|
7366
7425
|
*/
|
|
7367
7426
|
//Node
|
|
7368
7427
|
const _c0$d = ["*"];
|
|
7369
|
-
function
|
|
7428
|
+
function CardHeaderComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
7370
7429
|
i0.ɵɵelementStart(0, "h3");
|
|
7371
7430
|
i0.ɵɵtext(1);
|
|
7372
7431
|
i0.ɵɵelementEnd();
|
|
@@ -7377,22 +7436,22 @@ function CardHeaderComponent_h3_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7377
7436
|
} }
|
|
7378
7437
|
class CardHeaderComponent extends ComponentBase {
|
|
7379
7438
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardHeaderComponent_BaseFactory; return function CardHeaderComponent_Factory(__ngFactoryType__) { return (ɵCardHeaderComponent_BaseFactory || (ɵCardHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardHeaderComponent)))(__ngFactoryType__ || CardHeaderComponent); }; })(); }
|
|
7380
|
-
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"]
|
|
7439
|
+
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) {
|
|
7381
7440
|
i0.ɵɵprojectionDef();
|
|
7382
7441
|
i0.ɵɵelementStart(0, "div")(1, "div", 0);
|
|
7383
|
-
i0.ɵɵ
|
|
7442
|
+
i0.ɵɵconditionalCreate(2, CardHeaderComponent_Conditional_2_Template, 2, 1, "h3");
|
|
7384
7443
|
i0.ɵɵelementEnd();
|
|
7385
7444
|
i0.ɵɵprojection(3);
|
|
7386
7445
|
i0.ɵɵelementEnd();
|
|
7387
7446
|
} if (rf & 2) {
|
|
7388
7447
|
i0.ɵɵclassMap(i0.ɵɵinterpolate1("card-header ", ctx.classes));
|
|
7389
7448
|
i0.ɵɵadvance(2);
|
|
7390
|
-
i0.ɵɵ
|
|
7391
|
-
} },
|
|
7449
|
+
i0.ɵɵconditional(ctx.title ? 2 : -1);
|
|
7450
|
+
} }, encapsulation: 2 }); }
|
|
7392
7451
|
}
|
|
7393
7452
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
|
|
7394
7453
|
type: Component,
|
|
7395
|
-
args: [{ selector: 'anatoly-card-header', standalone: false, template: "<div class='card-header {{ classes }}'>\
|
|
7454
|
+
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" }]
|
|
7396
7455
|
}], null, null); })();
|
|
7397
7456
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardHeaderComponent, { className: "CardHeaderComponent", filePath: "lib/ui/components/card/card-header.component.ts", lineNumber: 27 }); })();
|
|
7398
7457
|
|
|
@@ -7512,17 +7571,17 @@ class NativeElementDirective {
|
|
|
7512
7571
|
</file>
|
|
7513
7572
|
*/
|
|
7514
7573
|
//Node
|
|
7515
|
-
function
|
|
7574
|
+
function CountryDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7516
7575
|
i0.ɵɵelement(0, "div");
|
|
7517
7576
|
} }
|
|
7518
|
-
function
|
|
7519
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7577
|
+
function CountryDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7578
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7520
7579
|
} if (rf & 2) {
|
|
7521
7580
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
7522
7581
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r0.title));
|
|
7523
7582
|
} }
|
|
7524
|
-
function
|
|
7525
|
-
i0.ɵɵelementStart(0, "option",
|
|
7583
|
+
function CountryDropdownlist_Conditional_1_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
7584
|
+
i0.ɵɵelementStart(0, "option", 3);
|
|
7526
7585
|
i0.ɵɵtext(1);
|
|
7527
7586
|
i0.ɵɵelementEnd();
|
|
7528
7587
|
} if (rf & 2) {
|
|
@@ -7531,21 +7590,21 @@ function CountryDropdownlist_div_1_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
7531
7590
|
i0.ɵɵadvance();
|
|
7532
7591
|
i0.ɵɵtextInterpolate1(" ", item_r2.name, " ");
|
|
7533
7592
|
} }
|
|
7534
|
-
function
|
|
7535
|
-
i0.ɵɵelementStart(0, "div",
|
|
7536
|
-
i0.ɵɵ
|
|
7537
|
-
i0.ɵɵelementStart(2, "select",
|
|
7538
|
-
i0.ɵɵ
|
|
7593
|
+
function CountryDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7594
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
7595
|
+
i0.ɵɵconditionalCreate(1, CountryDropdownlist_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7596
|
+
i0.ɵɵelementStart(2, "select", 2);
|
|
7597
|
+
i0.ɵɵrepeaterCreate(3, CountryDropdownlist_Conditional_1_For_4_Template, 2, 2, "option", 3, i0.ɵɵrepeaterTrackByIdentity);
|
|
7539
7598
|
i0.ɵɵelementEnd()();
|
|
7540
7599
|
} if (rf & 2) {
|
|
7541
7600
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
7542
7601
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
7543
7602
|
i0.ɵɵadvance();
|
|
7544
|
-
i0.ɵɵ
|
|
7603
|
+
i0.ɵɵconditional(ctx_r0.isTitleVisible ? 1 : -1);
|
|
7545
7604
|
i0.ɵɵadvance();
|
|
7546
7605
|
i0.ɵɵproperty("formControlName", ctx_r0.controlName);
|
|
7547
7606
|
i0.ɵɵadvance();
|
|
7548
|
-
i0.ɵɵ
|
|
7607
|
+
i0.ɵɵrepeater(ctx_r0.items);
|
|
7549
7608
|
} }
|
|
7550
7609
|
class CountryDropdownlist extends EditComponentBase {
|
|
7551
7610
|
constructor(appContext) {
|
|
@@ -7568,17 +7627,18 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7568
7627
|
}
|
|
7569
7628
|
}
|
|
7570
7629
|
static { this.ɵfac = function CountryDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CountryDropdownlist)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
7571
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CountryDropdownlist, selectors: [["anatoly-country-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
7572
|
-
i0.ɵɵ
|
|
7630
|
+
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) {
|
|
7631
|
+
i0.ɵɵconditionalCreate(0, CountryDropdownlist_Conditional_0_Template, 1, 0, "div");
|
|
7632
|
+
i0.ɵɵconditionalCreate(1, CountryDropdownlist_Conditional_1_Template, 5, 3, "div", 0);
|
|
7573
7633
|
} if (rf & 2) {
|
|
7574
|
-
i0.ɵɵ
|
|
7634
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
7575
7635
|
i0.ɵɵadvance();
|
|
7576
|
-
i0.ɵɵ
|
|
7577
|
-
} }, dependencies: [
|
|
7636
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
7637
|
+
} }, dependencies: [i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7578
7638
|
}
|
|
7579
7639
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
7580
7640
|
type: Component,
|
|
7581
|
-
args: [{ selector: 'anatoly-country-dropdownlist', standalone: false, template: "
|
|
7641
|
+
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" }]
|
|
7582
7642
|
}], () => [{ type: AppContextService }], null); })();
|
|
7583
7643
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CountryDropdownlist, { className: "CountryDropdownlist", filePath: "lib/ui/components/dropdownlists/country/country.dropdownlist.ts", lineNumber: 29 }); })();
|
|
7584
7644
|
|
|
@@ -7598,25 +7658,25 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7598
7658
|
</file>
|
|
7599
7659
|
*/
|
|
7600
7660
|
//Node
|
|
7601
|
-
function
|
|
7661
|
+
function LanguageDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7602
7662
|
i0.ɵɵelement(0, "div");
|
|
7603
7663
|
} }
|
|
7604
|
-
function
|
|
7605
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7664
|
+
function LanguageDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7665
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7606
7666
|
} if (rf & 2) {
|
|
7607
7667
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
7608
7668
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r0.title));
|
|
7609
7669
|
} }
|
|
7610
|
-
function
|
|
7611
|
-
i0.ɵɵelementStart(0, "div",
|
|
7612
|
-
i0.ɵɵ
|
|
7613
|
-
i0.ɵɵelement(2, "kendo-dropdownlist",
|
|
7670
|
+
function LanguageDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7671
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
7672
|
+
i0.ɵɵconditionalCreate(1, LanguageDropdownlist_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7673
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 2);
|
|
7614
7674
|
i0.ɵɵelementEnd();
|
|
7615
7675
|
} if (rf & 2) {
|
|
7616
7676
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
7617
7677
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
7618
7678
|
i0.ɵɵadvance();
|
|
7619
|
-
i0.ɵɵ
|
|
7679
|
+
i0.ɵɵconditional(ctx_r0.isTitleVisible ? 1 : -1);
|
|
7620
7680
|
i0.ɵɵadvance();
|
|
7621
7681
|
i0.ɵɵproperty("data", ctx_r0.items)("valuePrimitive", true)("formControlName", ctx_r0.controlName);
|
|
7622
7682
|
} }
|
|
@@ -7633,17 +7693,18 @@ class LanguageDropdownlist extends EditComponentBase {
|
|
|
7633
7693
|
});
|
|
7634
7694
|
}
|
|
7635
7695
|
static { this.ɵfac = function LanguageDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageDropdownlist)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
7636
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LanguageDropdownlist, selectors: [["anatoly-language-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
7637
|
-
i0.ɵɵ
|
|
7696
|
+
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) {
|
|
7697
|
+
i0.ɵɵconditionalCreate(0, LanguageDropdownlist_Conditional_0_Template, 1, 0, "div");
|
|
7698
|
+
i0.ɵɵconditionalCreate(1, LanguageDropdownlist_Conditional_1_Template, 3, 5, "div", 0);
|
|
7638
7699
|
} if (rf & 2) {
|
|
7639
|
-
i0.ɵɵ
|
|
7700
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
7640
7701
|
i0.ɵɵadvance();
|
|
7641
|
-
i0.ɵɵ
|
|
7642
|
-
} }, dependencies: [
|
|
7702
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
7703
|
+
} }, dependencies: [i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2$1.DropDownListComponent, i3.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7643
7704
|
}
|
|
7644
7705
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
|
|
7645
7706
|
type: Component,
|
|
7646
|
-
args: [{ selector: 'anatoly-language-dropdownlist', standalone: false, template: "
|
|
7707
|
+
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" }]
|
|
7647
7708
|
}], () => [{ type: AppContextService }], null); })();
|
|
7648
7709
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LanguageDropdownlist, { className: "LanguageDropdownlist", filePath: "lib/ui/components/dropdownlists/language/language.dropdownlist.ts", lineNumber: 30 }); })();
|
|
7649
7710
|
|
|
@@ -7784,8 +7845,8 @@ class ValidationSummaryComponent extends EditComponentBase {
|
|
|
7784
7845
|
</file>
|
|
7785
7846
|
*/
|
|
7786
7847
|
//Node
|
|
7787
|
-
function
|
|
7788
|
-
i0.ɵɵelementStart(0, "li")(1, "span",
|
|
7848
|
+
function ItemValidationSummaryComponent_Conditional_0_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
7849
|
+
i0.ɵɵelementStart(0, "li")(1, "span", 1);
|
|
7789
7850
|
i0.ɵɵtext(2);
|
|
7790
7851
|
i0.ɵɵelementEnd()();
|
|
7791
7852
|
} if (rf & 2) {
|
|
@@ -7793,26 +7854,26 @@ function ItemValidationSummaryComponent_ul_0_li_1_Template(rf, ctx) { if (rf & 1
|
|
|
7793
7854
|
i0.ɵɵadvance(2);
|
|
7794
7855
|
i0.ɵɵtextInterpolate(error_r1);
|
|
7795
7856
|
} }
|
|
7796
|
-
function
|
|
7797
|
-
i0.ɵɵelementStart(0, "ul",
|
|
7798
|
-
i0.ɵɵ
|
|
7857
|
+
function ItemValidationSummaryComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7858
|
+
i0.ɵɵelementStart(0, "ul", 0);
|
|
7859
|
+
i0.ɵɵrepeaterCreate(1, ItemValidationSummaryComponent_Conditional_0_For_2_Template, 3, 1, "li", null, i0.ɵɵrepeaterTrackByIdentity);
|
|
7799
7860
|
i0.ɵɵelementEnd();
|
|
7800
7861
|
} if (rf & 2) {
|
|
7801
7862
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7802
7863
|
i0.ɵɵadvance();
|
|
7803
|
-
i0.ɵɵ
|
|
7864
|
+
i0.ɵɵrepeater(ctx_r1.getValidationMessages(ctx_r1.formGroup.controls[ctx_r1.controlName], ctx_r1.controlName, ctx_r1.controlTitle));
|
|
7804
7865
|
} }
|
|
7805
7866
|
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
7806
7867
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵItemValidationSummaryComponent_BaseFactory; return function ItemValidationSummaryComponent_Factory(__ngFactoryType__) { return (ɵItemValidationSummaryComponent_BaseFactory || (ɵItemValidationSummaryComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ItemValidationSummaryComponent)))(__ngFactoryType__ || ItemValidationSummaryComponent); }; })(); }
|
|
7807
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ItemValidationSummaryComponent, selectors: [["anatoly-item-validation-summary"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[
|
|
7808
|
-
i0.ɵɵ
|
|
7868
|
+
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) {
|
|
7869
|
+
i0.ɵɵconditionalCreate(0, ItemValidationSummaryComponent_Conditional_0_Template, 3, 0, "ul", 0);
|
|
7809
7870
|
} if (rf & 2) {
|
|
7810
|
-
i0.ɵɵ
|
|
7811
|
-
} },
|
|
7871
|
+
i0.ɵɵconditional(ctx.isControlInvalid(ctx.controlName) ? 0 : -1);
|
|
7872
|
+
} }, encapsulation: 2 }); }
|
|
7812
7873
|
}
|
|
7813
7874
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
|
|
7814
7875
|
type: Component,
|
|
7815
|
-
args: [{ selector: "anatoly-item-validation-summary", standalone: false, template: "<ul class=\"list-unstyled\"
|
|
7876
|
+
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" }]
|
|
7816
7877
|
}], null, null); })();
|
|
7817
7878
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ItemValidationSummaryComponent, { className: "ItemValidationSummaryComponent", filePath: "lib/ui/validation/item-validation-summary.component.ts", lineNumber: 28 }); })();
|
|
7818
7879
|
|
|
@@ -7831,44 +7892,44 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
7831
7892
|
</file>
|
|
7832
7893
|
*/
|
|
7833
7894
|
//Node
|
|
7834
|
-
function
|
|
7835
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7895
|
+
function ModerationStatusDropdownlist_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7896
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7836
7897
|
} if (rf & 2) {
|
|
7837
7898
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7838
7899
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7839
7900
|
} }
|
|
7840
|
-
function
|
|
7901
|
+
function ModerationStatusDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7841
7902
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7842
7903
|
i0.ɵɵelementStart(0, "div");
|
|
7843
|
-
i0.ɵɵ
|
|
7844
|
-
i0.ɵɵelementStart(2, "kendo-dropdownlist",
|
|
7845
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
7846
|
-
i0.ɵɵlistener("valueChange", function
|
|
7904
|
+
i0.ɵɵconditionalCreate(1, ModerationStatusDropdownlist_Conditional_0_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7905
|
+
i0.ɵɵelementStart(2, "kendo-dropdownlist", 2);
|
|
7906
|
+
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); });
|
|
7907
|
+
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)); });
|
|
7847
7908
|
i0.ɵɵelementEnd()();
|
|
7848
7909
|
} if (rf & 2) {
|
|
7849
7910
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7850
7911
|
i0.ɵɵadvance();
|
|
7851
|
-
i0.ɵɵ
|
|
7912
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
7852
7913
|
i0.ɵɵadvance();
|
|
7853
7914
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true);
|
|
7854
7915
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.sv);
|
|
7855
7916
|
} }
|
|
7856
|
-
function
|
|
7857
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7917
|
+
function ModerationStatusDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7918
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7858
7919
|
} if (rf & 2) {
|
|
7859
7920
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7860
7921
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7861
7922
|
} }
|
|
7862
|
-
function
|
|
7863
|
-
i0.ɵɵelementStart(0, "div",
|
|
7864
|
-
i0.ɵɵ
|
|
7865
|
-
i0.ɵɵelement(2, "kendo-dropdownlist",
|
|
7923
|
+
function ModerationStatusDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7924
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
7925
|
+
i0.ɵɵconditionalCreate(1, ModerationStatusDropdownlist_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7926
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 3)(3, "anatoly-item-validation-summary", 4);
|
|
7866
7927
|
i0.ɵɵelementEnd();
|
|
7867
7928
|
} if (rf & 2) {
|
|
7868
7929
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7869
7930
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
7870
7931
|
i0.ɵɵadvance();
|
|
7871
|
-
i0.ɵɵ
|
|
7932
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
7872
7933
|
i0.ɵɵadvance();
|
|
7873
7934
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true)("formControlName", ctx_r1.controlName);
|
|
7874
7935
|
i0.ɵɵadvance();
|
|
@@ -7881,17 +7942,18 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7881
7942
|
this.enumeration = ModerationStatus;
|
|
7882
7943
|
}
|
|
7883
7944
|
static { this.ɵfac = function ModerationStatusDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModerationStatusDropdownlist)(); }; }
|
|
7884
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModerationStatusDropdownlist, selectors: [["anatoly-moderationstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
7885
|
-
i0.ɵɵ
|
|
7945
|
+
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) {
|
|
7946
|
+
i0.ɵɵconditionalCreate(0, ModerationStatusDropdownlist_Conditional_0_Template, 3, 4, "div");
|
|
7947
|
+
i0.ɵɵconditionalCreate(1, ModerationStatusDropdownlist_Conditional_1_Template, 4, 9, "div", 0);
|
|
7886
7948
|
} if (rf & 2) {
|
|
7887
|
-
i0.ɵɵ
|
|
7949
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
7888
7950
|
i0.ɵɵadvance();
|
|
7889
|
-
i0.ɵɵ
|
|
7890
|
-
} }, dependencies: [
|
|
7951
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
7952
|
+
} }, dependencies: [i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i2$1.DropDownListComponent, i3.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7891
7953
|
}
|
|
7892
7954
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
7893
7955
|
type: Component,
|
|
7894
|
-
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', standalone: false, template: "
|
|
7956
|
+
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" }]
|
|
7895
7957
|
}], () => [], null); })();
|
|
7896
7958
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModerationStatusDropdownlist, { className: "ModerationStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/moderationstatus/moderationstatus.dropdownlist.ts", lineNumber: 28 }); })();
|
|
7897
7959
|
|
|
@@ -7910,44 +7972,44 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7910
7972
|
</file>
|
|
7911
7973
|
*/
|
|
7912
7974
|
//Node
|
|
7913
|
-
function
|
|
7914
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7975
|
+
function PublishStatusDropdownlist_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7976
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7915
7977
|
} if (rf & 2) {
|
|
7916
7978
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7917
7979
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7918
7980
|
} }
|
|
7919
|
-
function
|
|
7981
|
+
function PublishStatusDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7920
7982
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7921
7983
|
i0.ɵɵelementStart(0, "div");
|
|
7922
|
-
i0.ɵɵ
|
|
7923
|
-
i0.ɵɵelementStart(2, "kendo-dropdownlist",
|
|
7924
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
7925
|
-
i0.ɵɵlistener("valueChange", function
|
|
7984
|
+
i0.ɵɵconditionalCreate(1, PublishStatusDropdownlist_Conditional_0_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
7985
|
+
i0.ɵɵelementStart(2, "kendo-dropdownlist", 2);
|
|
7986
|
+
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); });
|
|
7987
|
+
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)); });
|
|
7926
7988
|
i0.ɵɵelementEnd()();
|
|
7927
7989
|
} if (rf & 2) {
|
|
7928
7990
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7929
7991
|
i0.ɵɵadvance();
|
|
7930
|
-
i0.ɵɵ
|
|
7992
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
7931
7993
|
i0.ɵɵadvance();
|
|
7932
7994
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true);
|
|
7933
7995
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.sv);
|
|
7934
7996
|
} }
|
|
7935
|
-
function
|
|
7936
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
7997
|
+
function PublishStatusDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7998
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
7937
7999
|
} if (rf & 2) {
|
|
7938
8000
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7939
8001
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7940
8002
|
} }
|
|
7941
|
-
function
|
|
7942
|
-
i0.ɵɵelementStart(0, "div",
|
|
7943
|
-
i0.ɵɵ
|
|
7944
|
-
i0.ɵɵelement(2, "kendo-dropdownlist",
|
|
8003
|
+
function PublishStatusDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8004
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
8005
|
+
i0.ɵɵconditionalCreate(1, PublishStatusDropdownlist_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
8006
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 3)(3, "anatoly-item-validation-summary", 4);
|
|
7945
8007
|
i0.ɵɵelementEnd();
|
|
7946
8008
|
} if (rf & 2) {
|
|
7947
8009
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7948
8010
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
7949
8011
|
i0.ɵɵadvance();
|
|
7950
|
-
i0.ɵɵ
|
|
8012
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
7951
8013
|
i0.ɵɵadvance();
|
|
7952
8014
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true)("formControlName", ctx_r1.controlName);
|
|
7953
8015
|
i0.ɵɵadvance();
|
|
@@ -7960,17 +8022,18 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7960
8022
|
this.enumeration = PublishStatus;
|
|
7961
8023
|
}
|
|
7962
8024
|
static { this.ɵfac = function PublishStatusDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PublishStatusDropdownlist)(); }; }
|
|
7963
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
7964
|
-
i0.ɵɵ
|
|
8025
|
+
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) {
|
|
8026
|
+
i0.ɵɵconditionalCreate(0, PublishStatusDropdownlist_Conditional_0_Template, 3, 4, "div");
|
|
8027
|
+
i0.ɵɵconditionalCreate(1, PublishStatusDropdownlist_Conditional_1_Template, 4, 9, "div", 0);
|
|
7965
8028
|
} if (rf & 2) {
|
|
7966
|
-
i0.ɵɵ
|
|
8029
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
7967
8030
|
i0.ɵɵadvance();
|
|
7968
|
-
i0.ɵɵ
|
|
7969
|
-
} }, dependencies: [
|
|
8031
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
8032
|
+
} }, dependencies: [i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i2$1.DropDownListComponent, i3.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7970
8033
|
}
|
|
7971
8034
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7972
8035
|
type: Component,
|
|
7973
|
-
args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "
|
|
8036
|
+
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" }]
|
|
7974
8037
|
}], () => [], null); })();
|
|
7975
8038
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PublishStatusDropdownlist, { className: "PublishStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.ts", lineNumber: 28 }); })();
|
|
7976
8039
|
|
|
@@ -7990,16 +8053,16 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7990
8053
|
</file>
|
|
7991
8054
|
*/
|
|
7992
8055
|
//Node
|
|
7993
|
-
function
|
|
8056
|
+
function TimezoneDropdownlist_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7994
8057
|
i0.ɵɵelement(0, "div");
|
|
7995
8058
|
} }
|
|
7996
|
-
function
|
|
7997
|
-
i0.ɵɵelementStart(0, "label",
|
|
8059
|
+
function TimezoneDropdownlist_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8060
|
+
i0.ɵɵelementStart(0, "label", 1);
|
|
7998
8061
|
i0.ɵɵtext(1, "Timezone");
|
|
7999
8062
|
i0.ɵɵelementEnd();
|
|
8000
8063
|
} }
|
|
8001
|
-
function
|
|
8002
|
-
i0.ɵɵelementStart(0, "option",
|
|
8064
|
+
function TimezoneDropdownlist_Conditional_1_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
8065
|
+
i0.ɵɵelementStart(0, "option", 3);
|
|
8003
8066
|
i0.ɵɵtext(1);
|
|
8004
8067
|
i0.ɵɵelementEnd();
|
|
8005
8068
|
} if (rf & 2) {
|
|
@@ -8008,21 +8071,21 @@ function TimezoneDropdownlist_div_1_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
8008
8071
|
i0.ɵɵadvance();
|
|
8009
8072
|
i0.ɵɵtextInterpolate2(" (", item_r1.offset, ") ", item_r1.name, " ");
|
|
8010
8073
|
} }
|
|
8011
|
-
function
|
|
8012
|
-
i0.ɵɵelementStart(0, "div",
|
|
8013
|
-
i0.ɵɵ
|
|
8014
|
-
i0.ɵɵelementStart(2, "select",
|
|
8015
|
-
i0.ɵɵ
|
|
8074
|
+
function TimezoneDropdownlist_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8075
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
8076
|
+
i0.ɵɵconditionalCreate(1, TimezoneDropdownlist_Conditional_1_Conditional_1_Template, 2, 0, "label", 1);
|
|
8077
|
+
i0.ɵɵelementStart(2, "select", 2);
|
|
8078
|
+
i0.ɵɵrepeaterCreate(3, TimezoneDropdownlist_Conditional_1_For_4_Template, 2, 3, "option", 3, i0.ɵɵrepeaterTrackByIdentity);
|
|
8016
8079
|
i0.ɵɵelementEnd()();
|
|
8017
8080
|
} if (rf & 2) {
|
|
8018
8081
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
8019
8082
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
8020
8083
|
i0.ɵɵadvance();
|
|
8021
|
-
i0.ɵɵ
|
|
8084
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
8022
8085
|
i0.ɵɵadvance();
|
|
8023
8086
|
i0.ɵɵproperty("formControlName", ctx_r1.controlName)("disabled", ctx_r1.disabled);
|
|
8024
8087
|
i0.ɵɵadvance();
|
|
8025
|
-
i0.ɵɵ
|
|
8088
|
+
i0.ɵɵrepeater(ctx_r1.items);
|
|
8026
8089
|
} }
|
|
8027
8090
|
class TimezoneDropdownlist extends EditComponentBase {
|
|
8028
8091
|
constructor(appContext) {
|
|
@@ -8063,17 +8126,18 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
8063
8126
|
}
|
|
8064
8127
|
}
|
|
8065
8128
|
static { this.ɵfac = function TimezoneDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TimezoneDropdownlist)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
8066
|
-
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: [[
|
|
8067
|
-
i0.ɵɵ
|
|
8129
|
+
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) {
|
|
8130
|
+
i0.ɵɵconditionalCreate(0, TimezoneDropdownlist_Conditional_0_Template, 1, 0, "div");
|
|
8131
|
+
i0.ɵɵconditionalCreate(1, TimezoneDropdownlist_Conditional_1_Template, 5, 4, "div", 0);
|
|
8068
8132
|
} if (rf & 2) {
|
|
8069
|
-
i0.ɵɵ
|
|
8133
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
8070
8134
|
i0.ɵɵadvance();
|
|
8071
|
-
i0.ɵɵ
|
|
8072
|
-
} }, dependencies: [
|
|
8135
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
8136
|
+
} }, dependencies: [i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
|
|
8073
8137
|
}
|
|
8074
8138
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
8075
8139
|
type: Component,
|
|
8076
|
-
args: [{ selector: 'anatoly-timezone-dropdownlist', standalone: false, template: "
|
|
8140
|
+
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" }]
|
|
8077
8141
|
}], () => [{ type: AppContextService }], { disabled: [{
|
|
8078
8142
|
type: Input
|
|
8079
8143
|
}] }); })();
|
|
@@ -8269,47 +8333,47 @@ class HtmlEditorComponentBase extends EditComponentBase {
|
|
|
8269
8333
|
</file>
|
|
8270
8334
|
*/
|
|
8271
8335
|
//Node
|
|
8272
|
-
function
|
|
8273
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
8336
|
+
function HtmlEditorComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8337
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
8274
8338
|
} if (rf & 2) {
|
|
8275
8339
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
8276
8340
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
8277
8341
|
} }
|
|
8278
|
-
function
|
|
8342
|
+
function HtmlEditorComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
8279
8343
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
8280
8344
|
i0.ɵɵelementStart(0, "div");
|
|
8281
|
-
i0.ɵɵ
|
|
8282
|
-
i0.ɵɵelementStart(2, "textarea",
|
|
8283
|
-
i0.ɵɵlistener("froalaInit", function
|
|
8345
|
+
i0.ɵɵconditionalCreate(1, HtmlEditorComponent_Conditional_0_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
8346
|
+
i0.ɵɵelementStart(2, "textarea", 2);
|
|
8347
|
+
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)); });
|
|
8284
8348
|
i0.ɵɵelementEnd()();
|
|
8285
8349
|
} if (rf & 2) {
|
|
8286
8350
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
8287
8351
|
i0.ɵɵadvance();
|
|
8288
|
-
i0.ɵɵ
|
|
8352
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
8289
8353
|
i0.ɵɵadvance();
|
|
8290
8354
|
i0.ɵɵproperty("froalaEditor", ctx_r1.options);
|
|
8291
8355
|
} }
|
|
8292
|
-
function
|
|
8293
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
8356
|
+
function HtmlEditorComponent_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8357
|
+
i0.ɵɵelement(0, "kendo-label", 1);
|
|
8294
8358
|
} if (rf & 2) {
|
|
8295
8359
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
8296
8360
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
8297
8361
|
} }
|
|
8298
|
-
function
|
|
8362
|
+
function HtmlEditorComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8299
8363
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
8300
|
-
i0.ɵɵelementStart(0, "div",
|
|
8301
|
-
i0.ɵɵ
|
|
8302
|
-
i0.ɵɵelementStart(2, "textarea",
|
|
8303
|
-
i0.ɵɵlistener("froalaInit", function
|
|
8304
|
-
i0.ɵɵtext(3, "
|
|
8364
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
8365
|
+
i0.ɵɵconditionalCreate(1, HtmlEditorComponent_Conditional_1_Conditional_1_Template, 1, 2, "kendo-label", 1);
|
|
8366
|
+
i0.ɵɵelementStart(2, "textarea", 3);
|
|
8367
|
+
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)); });
|
|
8368
|
+
i0.ɵɵtext(3, " ");
|
|
8305
8369
|
i0.ɵɵelementEnd();
|
|
8306
|
-
i0.ɵɵelement(4, "anatoly-item-validation-summary",
|
|
8370
|
+
i0.ɵɵelement(4, "anatoly-item-validation-summary", 4);
|
|
8307
8371
|
i0.ɵɵelementEnd();
|
|
8308
8372
|
} if (rf & 2) {
|
|
8309
8373
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
8310
8374
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
8311
8375
|
i0.ɵɵadvance();
|
|
8312
|
-
i0.ɵɵ
|
|
8376
|
+
i0.ɵɵconditional(ctx_r1.isTitleVisible ? 1 : -1);
|
|
8313
8377
|
i0.ɵɵadvance();
|
|
8314
8378
|
i0.ɵɵproperty("froalaEditor", ctx_r1.options)("formControlName", ctx_r1.controlName);
|
|
8315
8379
|
i0.ɵɵattribute("formControlTitle", ctx_r1.controlTitle);
|
|
@@ -8337,17 +8401,18 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
8337
8401
|
});
|
|
8338
8402
|
}
|
|
8339
8403
|
static { this.ɵfac = function HtmlEditorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HtmlEditorComponent)(); }; }
|
|
8340
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HtmlEditorComponent, selectors: [["anatoly-html-editor"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[
|
|
8341
|
-
i0.ɵɵ
|
|
8404
|
+
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) {
|
|
8405
|
+
i0.ɵɵconditionalCreate(0, HtmlEditorComponent_Conditional_0_Template, 3, 2, "div");
|
|
8406
|
+
i0.ɵɵconditionalCreate(1, HtmlEditorComponent_Conditional_1_Template, 5, 9, "div", 0);
|
|
8342
8407
|
} if (rf & 2) {
|
|
8343
|
-
i0.ɵɵ
|
|
8408
|
+
i0.ɵɵconditional(ctx.isNgModelBased ? 0 : -1);
|
|
8344
8409
|
i0.ɵɵadvance();
|
|
8345
|
-
i0.ɵɵ
|
|
8346
|
-
} }, dependencies: [
|
|
8410
|
+
i0.ɵɵconditional(!ctx.isNgModelBased ? 1 : -1);
|
|
8411
|
+
} }, dependencies: [i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2$2.FroalaEditorDirective, i3.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
8347
8412
|
}
|
|
8348
8413
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
8349
8414
|
type: Component,
|
|
8350
|
-
args: [{ selector: "anatoly-html-editor", standalone: false, template: "
|
|
8415
|
+
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" }]
|
|
8351
8416
|
}], () => [], null); })();
|
|
8352
8417
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HtmlEditorComponent, { className: "HtmlEditorComponent", filePath: "lib/ui/components/html-editor/html-editor.component.ts", lineNumber: 27 }); })();
|
|
8353
8418
|
|
|
@@ -8561,7 +8626,7 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
8561
8626
|
i0.ɵɵconditional(ctx.viewTypesVisible ? 7 : -1);
|
|
8562
8627
|
i0.ɵɵadvance();
|
|
8563
8628
|
i0.ɵɵconditional(ctx.addButtonVisible ? 8 : -1);
|
|
8564
|
-
} }, dependencies: [i1$2.NgClass, i2.NgControlStatus, i2.NgModel, i1$7.FaIconComponent,
|
|
8629
|
+
} }, dependencies: [i1$2.NgClass, i2.NgControlStatus, i2.NgModel, i1$7.FaIconComponent, i2$1.DropDownListComponent, AReplacerDirective], encapsulation: 2 }); }
|
|
8565
8630
|
}
|
|
8566
8631
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
|
|
8567
8632
|
type: Component,
|
|
@@ -8692,12 +8757,12 @@ class DataPagerComponent extends ComponentBase {
|
|
|
8692
8757
|
*/
|
|
8693
8758
|
//Node
|
|
8694
8759
|
const _c0$8 = ["*"];
|
|
8695
|
-
function
|
|
8760
|
+
function SignInButtonComponent_Conditional_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8696
8761
|
i0.ɵɵelementContainer(0);
|
|
8697
8762
|
} }
|
|
8698
|
-
function
|
|
8763
|
+
function SignInButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
8699
8764
|
i0.ɵɵelementStart(0, "a", 4);
|
|
8700
|
-
i0.ɵɵtemplate(1,
|
|
8765
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_Conditional_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8701
8766
|
i0.ɵɵelementEnd();
|
|
8702
8767
|
} if (rf & 2) {
|
|
8703
8768
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -8707,12 +8772,12 @@ function SignInButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
8707
8772
|
i0.ɵɵadvance();
|
|
8708
8773
|
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8709
8774
|
} }
|
|
8710
|
-
function
|
|
8775
|
+
function SignInButtonComponent_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8711
8776
|
i0.ɵɵelementContainer(0);
|
|
8712
8777
|
} }
|
|
8713
|
-
function
|
|
8778
|
+
function SignInButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8714
8779
|
i0.ɵɵelementStart(0, "a", 6);
|
|
8715
|
-
i0.ɵɵtemplate(1,
|
|
8780
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8716
8781
|
i0.ɵɵelementEnd();
|
|
8717
8782
|
} if (rf & 2) {
|
|
8718
8783
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -8722,7 +8787,7 @@ function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
8722
8787
|
i0.ɵɵadvance();
|
|
8723
8788
|
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8724
8789
|
} }
|
|
8725
|
-
function
|
|
8790
|
+
function SignInButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
8726
8791
|
i0.ɵɵelementStart(0, "span");
|
|
8727
8792
|
i0.ɵɵtext(1, "Sign In");
|
|
8728
8793
|
i0.ɵɵelementEnd();
|
|
@@ -8731,11 +8796,11 @@ function SignInButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
8731
8796
|
i0.ɵɵelementStart(0, "span", null, 1);
|
|
8732
8797
|
i0.ɵɵprojection(2);
|
|
8733
8798
|
i0.ɵɵelementEnd();
|
|
8734
|
-
i0.ɵɵ
|
|
8799
|
+
i0.ɵɵconditionalCreate(3, SignInButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
|
|
8735
8800
|
} if (rf & 2) {
|
|
8736
8801
|
const ref_r3 = i0.ɵɵreference(1);
|
|
8737
8802
|
i0.ɵɵadvance(3);
|
|
8738
|
-
i0.ɵɵ
|
|
8803
|
+
i0.ɵɵconditional(!ref_r3.innerHTML.trim() ? 3 : -1);
|
|
8739
8804
|
} }
|
|
8740
8805
|
class SignInButtonComponent extends ComponentBase {
|
|
8741
8806
|
constructor() {
|
|
@@ -8755,18 +8820,20 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8755
8820
|
}
|
|
8756
8821
|
}
|
|
8757
8822
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignInButtonComponent_BaseFactory; return function SignInButtonComponent_Factory(__ngFactoryType__) { return (ɵSignInButtonComponent_BaseFactory || (ɵSignInButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignInButtonComponent)))(__ngFactoryType__ || SignInButtonComponent); }; })(); }
|
|
8758
|
-
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: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"
|
|
8823
|
+
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: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"], [3, "routerLink", "class"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8759
8824
|
i0.ɵɵprojectionDef();
|
|
8760
|
-
i0.ɵɵ
|
|
8825
|
+
i0.ɵɵconditionalCreate(0, SignInButtonComponent_Conditional_0_Template, 2, 4, "a", 2);
|
|
8826
|
+
i0.ɵɵconditionalCreate(1, SignInButtonComponent_Conditional_1_Template, 2, 4, "a", 3);
|
|
8827
|
+
i0.ɵɵtemplate(2, SignInButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
8761
8828
|
} if (rf & 2) {
|
|
8762
|
-
i0.ɵɵ
|
|
8829
|
+
i0.ɵɵconditional(ctx.external ? 0 : -1);
|
|
8763
8830
|
i0.ɵɵadvance();
|
|
8764
|
-
i0.ɵɵ
|
|
8765
|
-
} }, dependencies: [i1$2.
|
|
8831
|
+
i0.ɵɵconditional(!ctx.external ? 1 : -1);
|
|
8832
|
+
} }, dependencies: [i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
8766
8833
|
}
|
|
8767
8834
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
8768
8835
|
type: Component,
|
|
8769
|
-
args: [{ selector: "anatoly-signin-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\"
|
|
8836
|
+
args: [{ selector: "anatoly-signin-button", standalone: false, template: "@if (external) {\n <a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n@if (!external) {\n <a [routerLink]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\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" }]
|
|
8770
8837
|
}], null, { qs: [{
|
|
8771
8838
|
type: Input
|
|
8772
8839
|
}] }); })();
|
|
@@ -8789,12 +8856,12 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8789
8856
|
*/
|
|
8790
8857
|
//Node
|
|
8791
8858
|
const _c0$7 = ["*"];
|
|
8792
|
-
function
|
|
8859
|
+
function SignOutButtonComponent_Conditional_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8793
8860
|
i0.ɵɵelementContainer(0);
|
|
8794
8861
|
} }
|
|
8795
|
-
function
|
|
8862
|
+
function SignOutButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
8796
8863
|
i0.ɵɵelementStart(0, "a", 4);
|
|
8797
|
-
i0.ɵɵtemplate(1,
|
|
8864
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_Conditional_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8798
8865
|
i0.ɵɵelementEnd();
|
|
8799
8866
|
} if (rf & 2) {
|
|
8800
8867
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -8804,12 +8871,12 @@ function SignOutButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
8804
8871
|
i0.ɵɵadvance();
|
|
8805
8872
|
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8806
8873
|
} }
|
|
8807
|
-
function
|
|
8874
|
+
function SignOutButtonComponent_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8808
8875
|
i0.ɵɵelementContainer(0);
|
|
8809
8876
|
} }
|
|
8810
|
-
function
|
|
8877
|
+
function SignOutButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
8811
8878
|
i0.ɵɵelementStart(0, "a", 6);
|
|
8812
|
-
i0.ɵɵtemplate(1,
|
|
8879
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8813
8880
|
i0.ɵɵelementEnd();
|
|
8814
8881
|
} if (rf & 2) {
|
|
8815
8882
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -8819,7 +8886,7 @@ function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
8819
8886
|
i0.ɵɵadvance();
|
|
8820
8887
|
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8821
8888
|
} }
|
|
8822
|
-
function
|
|
8889
|
+
function SignOutButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
8823
8890
|
i0.ɵɵelementStart(0, "span");
|
|
8824
8891
|
i0.ɵɵtext(1, "Sign Out");
|
|
8825
8892
|
i0.ɵɵelementEnd();
|
|
@@ -8828,11 +8895,11 @@ function SignOutButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
8828
8895
|
i0.ɵɵelementStart(0, "span", null, 1);
|
|
8829
8896
|
i0.ɵɵprojection(2);
|
|
8830
8897
|
i0.ɵɵelementEnd();
|
|
8831
|
-
i0.ɵɵ
|
|
8898
|
+
i0.ɵɵconditionalCreate(3, SignOutButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
|
|
8832
8899
|
} if (rf & 2) {
|
|
8833
8900
|
const ref_r3 = i0.ɵɵreference(1);
|
|
8834
8901
|
i0.ɵɵadvance(3);
|
|
8835
|
-
i0.ɵɵ
|
|
8902
|
+
i0.ɵɵconditional(!ref_r3.innerHTML.trim() ? 3 : -1);
|
|
8836
8903
|
} }
|
|
8837
8904
|
class SignOutButtonComponent extends ComponentBase {
|
|
8838
8905
|
constructor() {
|
|
@@ -8852,18 +8919,20 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8852
8919
|
}
|
|
8853
8920
|
}
|
|
8854
8921
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignOutButtonComponent_BaseFactory; return function SignOutButtonComponent_Factory(__ngFactoryType__) { return (ɵSignOutButtonComponent_BaseFactory || (ɵSignOutButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignOutButtonComponent)))(__ngFactoryType__ || SignOutButtonComponent); }; })(); }
|
|
8855
|
-
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: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"
|
|
8922
|
+
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: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"], [3, "routerLink", "class"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8856
8923
|
i0.ɵɵprojectionDef();
|
|
8857
|
-
i0.ɵɵ
|
|
8924
|
+
i0.ɵɵconditionalCreate(0, SignOutButtonComponent_Conditional_0_Template, 2, 4, "a", 2);
|
|
8925
|
+
i0.ɵɵconditionalCreate(1, SignOutButtonComponent_Conditional_1_Template, 2, 4, "a", 3);
|
|
8926
|
+
i0.ɵɵtemplate(2, SignOutButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
8858
8927
|
} if (rf & 2) {
|
|
8859
|
-
i0.ɵɵ
|
|
8928
|
+
i0.ɵɵconditional(ctx.external ? 0 : -1);
|
|
8860
8929
|
i0.ɵɵadvance();
|
|
8861
|
-
i0.ɵɵ
|
|
8862
|
-
} }, dependencies: [i1$2.
|
|
8930
|
+
i0.ɵɵconditional(!ctx.external ? 1 : -1);
|
|
8931
|
+
} }, dependencies: [i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
8863
8932
|
}
|
|
8864
8933
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
8865
8934
|
type: Component,
|
|
8866
|
-
args: [{ selector: "anatoly-signout-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\"
|
|
8935
|
+
args: [{ selector: "anatoly-signout-button", standalone: false, template: "@if (external) {\n <a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n@if (!external) {\n <a [routerLink]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\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" }]
|
|
8867
8936
|
}], null, { qs: [{
|
|
8868
8937
|
type: Input
|
|
8869
8938
|
}] }); })();
|
|
@@ -8886,9 +8955,9 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8886
8955
|
*/
|
|
8887
8956
|
//Node
|
|
8888
8957
|
const _c0$6 = ["*"];
|
|
8889
|
-
function
|
|
8958
|
+
function NodataComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
8890
8959
|
i0.ɵɵelementStart(0, "div");
|
|
8891
|
-
i0.ɵɵelement(1, "fa-icon",
|
|
8960
|
+
i0.ɵɵelement(1, "fa-icon", 3);
|
|
8892
8961
|
i0.ɵɵelementEnd();
|
|
8893
8962
|
} if (rf & 2) {
|
|
8894
8963
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -8897,8 +8966,8 @@ function NodataComponent_Conditional_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
8897
8966
|
} }
|
|
8898
8967
|
function NodataComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
8899
8968
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
8900
|
-
i0.ɵɵ
|
|
8901
|
-
i0.ɵɵelementStart(3, "h3",
|
|
8969
|
+
i0.ɵɵconditionalCreate(2, NodataComponent_Conditional_0_Conditional_2_Template, 2, 2, "div");
|
|
8970
|
+
i0.ɵɵelementStart(3, "h3", 2);
|
|
8902
8971
|
i0.ɵɵtext(4);
|
|
8903
8972
|
i0.ɵɵelementEnd();
|
|
8904
8973
|
i0.ɵɵprojection(5);
|
|
@@ -8906,7 +8975,7 @@ function NodataComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
8906
8975
|
} if (rf & 2) {
|
|
8907
8976
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
8908
8977
|
i0.ɵɵadvance(2);
|
|
8909
|
-
i0.ɵɵ
|
|
8978
|
+
i0.ɵɵconditional(ctx_r0.icon ? 2 : -1);
|
|
8910
8979
|
i0.ɵɵadvance(2);
|
|
8911
8980
|
i0.ɵɵtextInterpolate(ctx_r0.heading);
|
|
8912
8981
|
} }
|
|
@@ -8916,16 +8985,16 @@ class NodataComponent {
|
|
|
8916
8985
|
this.heading = 'No data found';
|
|
8917
8986
|
}
|
|
8918
8987
|
static { this.ɵfac = function NodataComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NodataComponent)(); }; }
|
|
8919
|
-
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"], [
|
|
8988
|
+
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) {
|
|
8920
8989
|
i0.ɵɵprojectionDef();
|
|
8921
8990
|
i0.ɵɵconditionalCreate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
8922
8991
|
} if (rf & 2) {
|
|
8923
8992
|
i0.ɵɵconditional(!ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
8924
|
-
} }, dependencies: [i1$
|
|
8993
|
+
} }, dependencies: [i1$7.FaIconComponent], encapsulation: 2 }); }
|
|
8925
8994
|
}
|
|
8926
8995
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
8927
8996
|
type: Component,
|
|
8928
|
-
args: [{ selector: 'anatoly-nodata', standalone: false, template: "@if (!dataLoading && dataLoaded && !dataFound) {\
|
|
8997
|
+
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" }]
|
|
8929
8998
|
}], null, { dataLoading: [{
|
|
8930
8999
|
type: Input
|
|
8931
9000
|
}], dataLoaded: [{
|
|
@@ -9149,9 +9218,9 @@ class Message2UserComponent extends ComponentBase {
|
|
|
9149
9218
|
</file>
|
|
9150
9219
|
*/
|
|
9151
9220
|
//Node
|
|
9152
|
-
function
|
|
9153
|
-
i0.ɵɵelementStart(0, "div",
|
|
9154
|
-
i0.ɵɵelement(1, "span",
|
|
9221
|
+
function LoadingComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9222
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
9223
|
+
i0.ɵɵelement(1, "span", 1);
|
|
9155
9224
|
i0.ɵɵelementEnd();
|
|
9156
9225
|
} }
|
|
9157
9226
|
class LoadingComponent extends ComponentBase {
|
|
@@ -9168,15 +9237,15 @@ class LoadingComponent extends ComponentBase {
|
|
|
9168
9237
|
});
|
|
9169
9238
|
}
|
|
9170
9239
|
static { this.ɵfac = function LoadingComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
9171
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["anatoly-loading"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["id", "pnlLoading"
|
|
9172
|
-
i0.ɵɵ
|
|
9240
|
+
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) {
|
|
9241
|
+
i0.ɵɵconditionalCreate(0, LoadingComponent_Conditional_0_Template, 2, 0, "div", 0);
|
|
9173
9242
|
} if (rf & 2) {
|
|
9174
|
-
i0.ɵɵ
|
|
9175
|
-
} },
|
|
9243
|
+
i0.ɵɵconditional(ctx.show ? 0 : -1);
|
|
9244
|
+
} }, encapsulation: 2 }); }
|
|
9176
9245
|
}
|
|
9177
9246
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
9178
9247
|
type: Component,
|
|
9179
|
-
args: [{ selector: 'anatoly-loading', standalone: false, template: "<div id=\"pnlLoading\"
|
|
9248
|
+
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" }]
|
|
9180
9249
|
}], () => [{ type: LoadingService }], null); })();
|
|
9181
9250
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent", filePath: "lib/ui/components/spinners/loading/loading.component.ts", lineNumber: 29 }); })();
|
|
9182
9251
|
|
|
@@ -9208,9 +9277,9 @@ const Spinkit = {
|
|
|
9208
9277
|
</file>
|
|
9209
9278
|
*/
|
|
9210
9279
|
//Node
|
|
9211
|
-
function
|
|
9212
|
-
i0.ɵɵelementStart(0, "div",
|
|
9213
|
-
i0.ɵɵelement(1, "div",
|
|
9280
|
+
function PageSpinnerComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
9281
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
9282
|
+
i0.ɵɵelement(1, "div", 4);
|
|
9214
9283
|
i0.ɵɵelementEnd();
|
|
9215
9284
|
} if (rf & 2) {
|
|
9216
9285
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -9218,14 +9287,14 @@ function PageSpinnerComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
9218
9287
|
i0.ɵɵadvance();
|
|
9219
9288
|
i0.ɵɵstyleProp("background-color", ctx_r0.backgroundColor);
|
|
9220
9289
|
} }
|
|
9221
|
-
function
|
|
9222
|
-
i0.ɵɵelementStart(0, "div",
|
|
9223
|
-
i0.ɵɵ
|
|
9290
|
+
function PageSpinnerComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9291
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
9292
|
+
i0.ɵɵconditionalCreate(2, PageSpinnerComponent_Conditional_0_Conditional_2_Template, 2, 4, "div", 2);
|
|
9224
9293
|
i0.ɵɵelementEnd()();
|
|
9225
9294
|
} if (rf & 2) {
|
|
9226
9295
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
9227
9296
|
i0.ɵɵadvance(2);
|
|
9228
|
-
i0.ɵɵ
|
|
9297
|
+
i0.ɵɵconditional(ctx_r0.spinner === ctx_r0.Spinkit.skLine ? 2 : -1);
|
|
9229
9298
|
} }
|
|
9230
9299
|
class PageSpinnerComponent {
|
|
9231
9300
|
constructor(router) {
|
|
@@ -9254,15 +9323,15 @@ class PageSpinnerComponent {
|
|
|
9254
9323
|
this.isSpinnerVisible = false;
|
|
9255
9324
|
}
|
|
9256
9325
|
static { this.ɵfac = function PageSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$1.Router)); }; }
|
|
9257
|
-
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"
|
|
9258
|
-
i0.ɵɵ
|
|
9326
|
+
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) {
|
|
9327
|
+
i0.ɵɵconditionalCreate(0, PageSpinnerComponent_Conditional_0_Template, 3, 1, "div", 0);
|
|
9259
9328
|
} if (rf & 2) {
|
|
9260
|
-
i0.ɵɵ
|
|
9261
|
-
} },
|
|
9329
|
+
i0.ɵɵconditional(ctx.isSpinnerVisible ? 0 : -1);
|
|
9330
|
+
} }, encapsulation: 2 }); }
|
|
9262
9331
|
}
|
|
9263
9332
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
|
|
9264
9333
|
type: Component,
|
|
9265
|
-
args: [{ selector: 'anatoly-pagespinner', standalone: false, encapsulation: ViewEncapsulation.None, template: "<div id=\"http-loader\"
|
|
9334
|
+
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" }]
|
|
9266
9335
|
}], () => [{ type: i1$1.Router }], { backgroundColor: [{
|
|
9267
9336
|
type: Input
|
|
9268
9337
|
}], spinner: [{
|
|
@@ -9337,8 +9406,8 @@ class Copy2ClipboardComponent extends ComponentBase {
|
|
|
9337
9406
|
*/
|
|
9338
9407
|
//Node
|
|
9339
9408
|
const _c0$4 = a0 => ({ "has-error": a0 });
|
|
9340
|
-
function
|
|
9341
|
-
i0.ɵɵelementStart(0, "label",
|
|
9409
|
+
function UrlSlugComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
9410
|
+
i0.ɵɵelementStart(0, "label", 3);
|
|
9342
9411
|
i0.ɵɵtext(1);
|
|
9343
9412
|
i0.ɵɵelementEnd();
|
|
9344
9413
|
} if (rf & 2) {
|
|
@@ -9346,8 +9415,8 @@ function UrlSlugComponent_label_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
9346
9415
|
i0.ɵɵadvance();
|
|
9347
9416
|
i0.ɵɵtextInterpolate(ctx_r0.title);
|
|
9348
9417
|
} }
|
|
9349
|
-
function
|
|
9350
|
-
i0.ɵɵelementStart(0, "a",
|
|
9418
|
+
function UrlSlugComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
9419
|
+
i0.ɵɵelementStart(0, "a", 6);
|
|
9351
9420
|
i0.ɵɵtext(1, "Go");
|
|
9352
9421
|
i0.ɵɵelementEnd();
|
|
9353
9422
|
} if (rf & 2) {
|
|
@@ -9396,18 +9465,18 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9396
9465
|
this.generateUrlSlug(text);
|
|
9397
9466
|
}
|
|
9398
9467
|
static { this.ɵfac = function UrlSlugComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UrlSlugComponent)(); }; }
|
|
9399
|
-
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"
|
|
9468
|
+
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) {
|
|
9400
9469
|
i0.ɵɵelementStart(0, "div", 0);
|
|
9401
9470
|
i0.ɵɵelement(1, "anatoly-item-validation-summary", 1);
|
|
9402
9471
|
i0.ɵɵelementStart(2, "div", 2);
|
|
9403
|
-
i0.ɵɵ
|
|
9472
|
+
i0.ɵɵconditionalCreate(3, UrlSlugComponent_Conditional_3_Template, 2, 1, "label", 3);
|
|
9404
9473
|
i0.ɵɵelementStart(4, "div", 4);
|
|
9405
9474
|
i0.ɵɵtext(5);
|
|
9406
9475
|
i0.ɵɵelementEnd();
|
|
9407
9476
|
i0.ɵɵelementStart(6, "input", 5);
|
|
9408
9477
|
i0.ɵɵlistener("focusout", function UrlSlugComponent_Template_input_focusout_6_listener() { return ctx.onUrlSlugChange(); });
|
|
9409
9478
|
i0.ɵɵelementEnd();
|
|
9410
|
-
i0.ɵɵ
|
|
9479
|
+
i0.ɵɵconditionalCreate(7, UrlSlugComponent_Conditional_7_Template, 2, 3, "a", 6);
|
|
9411
9480
|
i0.ɵɵelementEnd()();
|
|
9412
9481
|
} if (rf & 2) {
|
|
9413
9482
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(10, _c0$4, ctx.isControlInvalid(ctx.controlName)));
|
|
@@ -9416,18 +9485,18 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9416
9485
|
i0.ɵɵadvance();
|
|
9417
9486
|
i0.ɵɵproperty("ngClass", ctx.classes);
|
|
9418
9487
|
i0.ɵɵadvance();
|
|
9419
|
-
i0.ɵɵ
|
|
9488
|
+
i0.ɵɵconditional(ctx.isTitleVisible ? 3 : -1);
|
|
9420
9489
|
i0.ɵɵadvance(2);
|
|
9421
9490
|
i0.ɵɵtextInterpolate(ctx.urlPrefix);
|
|
9422
9491
|
i0.ɵɵadvance();
|
|
9423
9492
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
9424
9493
|
i0.ɵɵadvance();
|
|
9425
|
-
i0.ɵɵ
|
|
9426
|
-
} }, dependencies: [i1$2.NgClass,
|
|
9494
|
+
i0.ɵɵconditional(ctx.isGoButtonVisible ? 7 : -1);
|
|
9495
|
+
} }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.LabelDirective, AReplacerDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9427
9496
|
}
|
|
9428
9497
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
9429
9498
|
type: Component,
|
|
9430
|
-
args: [{ selector: 'anatoly-urlslug', standalone: false, template: "<div class=\"form-group\" [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\" >\
|
|
9499
|
+
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" }]
|
|
9431
9500
|
}], () => [], { urlPrefix: [{
|
|
9432
9501
|
type: Input
|
|
9433
9502
|
}], isGoButtonVisible: [{
|
|
@@ -9454,7 +9523,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9454
9523
|
</file>
|
|
9455
9524
|
*/
|
|
9456
9525
|
//Node
|
|
9457
|
-
function
|
|
9526
|
+
function FeatureWillBeReadyComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
9458
9527
|
i0.ɵɵelementStart(0, "h3");
|
|
9459
9528
|
i0.ɵɵtext(1);
|
|
9460
9529
|
i0.ɵɵelementEnd();
|
|
@@ -9463,27 +9532,28 @@ function FeatureWillBeReadyComponent_h3_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
9463
9532
|
i0.ɵɵadvance();
|
|
9464
9533
|
i0.ɵɵtextInterpolate1("This feature will be ready in ", ctx_r0.readyDate, " ");
|
|
9465
9534
|
} }
|
|
9466
|
-
function
|
|
9535
|
+
function FeatureWillBeReadyComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
9467
9536
|
i0.ɵɵelementStart(0, "h3");
|
|
9468
9537
|
i0.ɵɵtext(1, "This feature will be available soon");
|
|
9469
9538
|
i0.ɵɵelementEnd();
|
|
9470
9539
|
} }
|
|
9471
9540
|
class FeatureWillBeReadyComponent extends ComponentBase {
|
|
9472
9541
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵFeatureWillBeReadyComponent_BaseFactory; return function FeatureWillBeReadyComponent_Factory(__ngFactoryType__) { return (ɵFeatureWillBeReadyComponent_BaseFactory || (ɵFeatureWillBeReadyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FeatureWillBeReadyComponent)))(__ngFactoryType__ || FeatureWillBeReadyComponent); }; })(); }
|
|
9473
|
-
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"]
|
|
9542
|
+
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) {
|
|
9474
9543
|
i0.ɵɵelementStart(0, "div", 0);
|
|
9475
|
-
i0.ɵɵ
|
|
9544
|
+
i0.ɵɵconditionalCreate(1, FeatureWillBeReadyComponent_Conditional_1_Template, 2, 1, "h3");
|
|
9545
|
+
i0.ɵɵconditionalCreate(2, FeatureWillBeReadyComponent_Conditional_2_Template, 2, 0, "h3");
|
|
9476
9546
|
i0.ɵɵelementEnd();
|
|
9477
9547
|
} if (rf & 2) {
|
|
9478
9548
|
i0.ɵɵadvance();
|
|
9479
|
-
i0.ɵɵ
|
|
9549
|
+
i0.ɵɵconditional(ctx.readyDate ? 1 : -1);
|
|
9480
9550
|
i0.ɵɵadvance();
|
|
9481
|
-
i0.ɵɵ
|
|
9482
|
-
} },
|
|
9551
|
+
i0.ɵɵconditional(!ctx.readyDate ? 2 : -1);
|
|
9552
|
+
} }, encapsulation: 2 }); }
|
|
9483
9553
|
}
|
|
9484
9554
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureWillBeReadyComponent, [{
|
|
9485
9555
|
type: Component,
|
|
9486
|
-
args: [{ selector: 'anatoly-feature-will-be-ready', standalone: false, template: "<div class='feature-will-be-ready'>\
|
|
9556
|
+
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" }]
|
|
9487
9557
|
}], null, { readyDate: [{
|
|
9488
9558
|
type: Input
|
|
9489
9559
|
}] }); })();
|
|
@@ -9580,7 +9650,7 @@ class YouAgreeToOurTermsComponent extends ComponentBase {
|
|
|
9580
9650
|
</file>
|
|
9581
9651
|
*/
|
|
9582
9652
|
//Node
|
|
9583
|
-
function
|
|
9653
|
+
function FormValidationSummaryComponent_Conditional_0_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
9584
9654
|
i0.ɵɵelementStart(0, "li")(1, "span");
|
|
9585
9655
|
i0.ɵɵtext(2);
|
|
9586
9656
|
i0.ɵɵelementEnd()();
|
|
@@ -9589,17 +9659,17 @@ function FormValidationSummaryComponent_div_0_li_4_Template(rf, ctx) { if (rf &
|
|
|
9589
9659
|
i0.ɵɵadvance(2);
|
|
9590
9660
|
i0.ɵɵtextInterpolate(error_r1);
|
|
9591
9661
|
} }
|
|
9592
|
-
function
|
|
9593
|
-
i0.ɵɵelementStart(0, "div",
|
|
9662
|
+
function FormValidationSummaryComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9663
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "h6", 1);
|
|
9594
9664
|
i0.ɵɵtext(2, "There are problems with the form");
|
|
9595
9665
|
i0.ɵɵelementEnd();
|
|
9596
9666
|
i0.ɵɵelementStart(3, "ul");
|
|
9597
|
-
i0.ɵɵ
|
|
9667
|
+
i0.ɵɵrepeaterCreate(4, FormValidationSummaryComponent_Conditional_0_For_5_Template, 3, 1, "li", null, i0.ɵɵrepeaterTrackByIdentity);
|
|
9598
9668
|
i0.ɵɵelementEnd()();
|
|
9599
9669
|
} if (rf & 2) {
|
|
9600
9670
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
9601
9671
|
i0.ɵɵadvance(4);
|
|
9602
|
-
i0.ɵɵ
|
|
9672
|
+
i0.ɵɵrepeater(ctx_r1.getErrors());
|
|
9603
9673
|
} }
|
|
9604
9674
|
class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
9605
9675
|
constructor() {
|
|
@@ -9631,15 +9701,15 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
9631
9701
|
return messages;
|
|
9632
9702
|
}
|
|
9633
9703
|
static { this.ɵfac = function FormValidationSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormValidationSummaryComponent)(); }; }
|
|
9634
|
-
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: [[
|
|
9635
|
-
i0.ɵɵ
|
|
9704
|
+
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) {
|
|
9705
|
+
i0.ɵɵconditionalCreate(0, FormValidationSummaryComponent_Conditional_0_Template, 6, 0, "div", 0);
|
|
9636
9706
|
} if (rf & 2) {
|
|
9637
|
-
i0.ɵɵ
|
|
9638
|
-
} },
|
|
9707
|
+
i0.ɵɵconditional(ctx.visible ? 0 : -1);
|
|
9708
|
+
} }, encapsulation: 2 }); }
|
|
9639
9709
|
}
|
|
9640
9710
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
|
|
9641
9711
|
type: Component,
|
|
9642
|
-
args: [{ selector: "anatoly-form-validation-summary", standalone: false, template: "<div class=\"callout callout-danger\"
|
|
9712
|
+
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" }]
|
|
9643
9713
|
}], () => [], { visible: [{
|
|
9644
9714
|
type: Input
|
|
9645
9715
|
}], customerrors: [{
|
|
@@ -9666,8 +9736,8 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
9666
9736
|
*/
|
|
9667
9737
|
//Node
|
|
9668
9738
|
const _c0$3 = a0 => ({ "has-error": a0 });
|
|
9669
|
-
function
|
|
9670
|
-
i0.ɵɵelementStart(0, "option",
|
|
9739
|
+
function ContactUsForm_For_13_Template(rf, ctx) { if (rf & 1) {
|
|
9740
|
+
i0.ɵɵelementStart(0, "option", 9);
|
|
9671
9741
|
i0.ɵɵtext(1);
|
|
9672
9742
|
i0.ɵɵelementEnd();
|
|
9673
9743
|
} if (rf & 2) {
|
|
@@ -9676,13 +9746,13 @@ function ContactUsForm_option_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
9676
9746
|
i0.ɵɵadvance();
|
|
9677
9747
|
i0.ɵɵtextInterpolate1("", topic_r1.value, " ");
|
|
9678
9748
|
} }
|
|
9679
|
-
function
|
|
9749
|
+
function ContactUsForm_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
9680
9750
|
i0.ɵɵelementStart(0, "p");
|
|
9681
9751
|
i0.ɵɵtext(1, "Please indicate the email used for your MailEx login if you already have an account");
|
|
9682
9752
|
i0.ɵɵelementEnd();
|
|
9683
9753
|
} }
|
|
9684
|
-
function
|
|
9685
|
-
i0.ɵɵelementStart(0, "button",
|
|
9754
|
+
function ContactUsForm_Conditional_39_Template(rf, ctx) { if (rf & 1) {
|
|
9755
|
+
i0.ɵɵelementStart(0, "button", 27);
|
|
9686
9756
|
i0.ɵɵtext(1, " Submit ");
|
|
9687
9757
|
i0.ɵɵelementEnd();
|
|
9688
9758
|
} if (rf & 2) {
|
|
@@ -9766,7 +9836,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9766
9836
|
this.selectedTopic = event.target.value;
|
|
9767
9837
|
}
|
|
9768
9838
|
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)); }; }
|
|
9769
|
-
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:
|
|
9839
|
+
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) {
|
|
9770
9840
|
i0.ɵɵelementStart(0, "form", 0);
|
|
9771
9841
|
i0.ɵɵlistener("ngSubmit", function ContactUsForm_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
|
|
9772
9842
|
i0.ɵɵelement(1, "anatoly-form-validation-summary", 1);
|
|
@@ -9778,70 +9848,70 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9778
9848
|
i0.ɵɵelementEnd();
|
|
9779
9849
|
i0.ɵɵelementStart(11, "select", 8);
|
|
9780
9850
|
i0.ɵɵlistener("change", function ContactUsForm_Template_select_change_11_listener($event) { return ctx.onTopicChange($event); });
|
|
9781
|
-
i0.ɵɵ
|
|
9851
|
+
i0.ɵɵrepeaterCreate(12, ContactUsForm_For_13_Template, 2, 2, "option", 9, i0.ɵɵrepeaterTrackByIdentity);
|
|
9782
9852
|
i0.ɵɵelementEnd();
|
|
9783
|
-
i0.ɵɵelement(
|
|
9853
|
+
i0.ɵɵelement(14, "anatoly-item-validation-summary", 10);
|
|
9784
9854
|
i0.ɵɵelementEnd()();
|
|
9785
|
-
i0.ɵɵelementStart(
|
|
9786
|
-
i0.ɵɵtext(
|
|
9855
|
+
i0.ɵɵelementStart(15, "div", 11)(16, "label", 7);
|
|
9856
|
+
i0.ɵɵtext(17, "Name *");
|
|
9787
9857
|
i0.ɵɵelementEnd();
|
|
9788
|
-
i0.ɵɵelement(
|
|
9858
|
+
i0.ɵɵelement(18, "input", 12)(19, "anatoly-item-validation-summary", 13);
|
|
9789
9859
|
i0.ɵɵelementEnd();
|
|
9790
|
-
i0.ɵɵelementStart(
|
|
9791
|
-
i0.ɵɵtext(
|
|
9860
|
+
i0.ɵɵelementStart(20, "div", 14)(21, "label", 7);
|
|
9861
|
+
i0.ɵɵtext(22, "E-mail * ");
|
|
9792
9862
|
i0.ɵɵelementEnd();
|
|
9793
|
-
i0.ɵɵelement(
|
|
9794
|
-
i0.ɵɵ
|
|
9795
|
-
i0.ɵɵelement(
|
|
9863
|
+
i0.ɵɵelement(23, "input", 15);
|
|
9864
|
+
i0.ɵɵconditionalCreate(24, ContactUsForm_Conditional_24_Template, 2, 0, "p");
|
|
9865
|
+
i0.ɵɵelement(25, "anatoly-item-validation-summary", 16);
|
|
9796
9866
|
i0.ɵɵelementEnd();
|
|
9797
|
-
i0.ɵɵelementStart(
|
|
9798
|
-
i0.ɵɵtext(
|
|
9867
|
+
i0.ɵɵelementStart(26, "div", 17)(27, "label", 7);
|
|
9868
|
+
i0.ɵɵtext(28, "Subject *");
|
|
9799
9869
|
i0.ɵɵelementEnd();
|
|
9800
|
-
i0.ɵɵelement(
|
|
9870
|
+
i0.ɵɵelement(29, "input", 18)(30, "anatoly-item-validation-summary", 19);
|
|
9801
9871
|
i0.ɵɵelementEnd()();
|
|
9802
|
-
i0.ɵɵelementStart(
|
|
9803
|
-
i0.ɵɵtext(
|
|
9872
|
+
i0.ɵɵelementStart(31, "div", 20)(32, "div", 21)(33, "label", 7);
|
|
9873
|
+
i0.ɵɵtext(34, "Message *");
|
|
9804
9874
|
i0.ɵɵelementEnd();
|
|
9805
|
-
i0.ɵɵelement(
|
|
9875
|
+
i0.ɵɵelement(35, "textarea", 22)(36, "anatoly-item-validation-summary", 23);
|
|
9806
9876
|
i0.ɵɵelementEnd()()();
|
|
9807
|
-
i0.ɵɵelementStart(
|
|
9808
|
-
i0.ɵɵ
|
|
9877
|
+
i0.ɵɵelementStart(37, "div", 24)(38, "div", 25);
|
|
9878
|
+
i0.ɵɵconditionalCreate(39, ContactUsForm_Conditional_39_Template, 2, 2, "button", 26);
|
|
9809
9879
|
i0.ɵɵelementEnd()()()();
|
|
9810
9880
|
} if (rf & 2) {
|
|
9811
9881
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
9812
9882
|
i0.ɵɵadvance();
|
|
9813
9883
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("visible", ctx.formSubmitted && ctx.formGroup.invalid);
|
|
9814
9884
|
i0.ɵɵadvance(6);
|
|
9815
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9885
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$3, ctx.isControlInvalid("topic")));
|
|
9816
9886
|
i0.ɵɵadvance(5);
|
|
9817
|
-
i0.ɵɵ
|
|
9818
|
-
i0.ɵɵadvance();
|
|
9887
|
+
i0.ɵɵrepeater(ctx.topicList);
|
|
9888
|
+
i0.ɵɵadvance(2);
|
|
9819
9889
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9820
9890
|
i0.ɵɵadvance();
|
|
9821
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9891
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c0$3, ctx.isControlInvalid("name")));
|
|
9822
9892
|
i0.ɵɵadvance(4);
|
|
9823
9893
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9824
9894
|
i0.ɵɵadvance();
|
|
9825
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9895
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(24, _c0$3, ctx.isControlInvalid("email")));
|
|
9826
9896
|
i0.ɵɵadvance(4);
|
|
9827
|
-
i0.ɵɵ
|
|
9897
|
+
i0.ɵɵconditional(!ctx.isUserSignedIn ? 24 : -1);
|
|
9828
9898
|
i0.ɵɵadvance();
|
|
9829
9899
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9830
9900
|
i0.ɵɵadvance();
|
|
9831
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9901
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c0$3, ctx.isControlInvalid("subject")));
|
|
9832
9902
|
i0.ɵɵadvance(4);
|
|
9833
9903
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9834
9904
|
i0.ɵɵadvance(2);
|
|
9835
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
9905
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$3, ctx.isControlInvalid("message")));
|
|
9836
9906
|
i0.ɵɵadvance(4);
|
|
9837
9907
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9838
9908
|
i0.ɵɵadvance(3);
|
|
9839
|
-
i0.ɵɵ
|
|
9840
|
-
} }, dependencies: [i1$2.NgClass,
|
|
9909
|
+
i0.ɵɵconditional(ctx.showActionButtons ? 39 : -1);
|
|
9910
|
+
} }, 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 }); }
|
|
9841
9911
|
}
|
|
9842
9912
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
9843
9913
|
type: Component,
|
|
9844
|
-
args: [{ selector: 'anatoly-forms-contactus-form', standalone: false, template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\
|
|
9914
|
+
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" }]
|
|
9845
9915
|
}], () => [{ type: i1$9.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
|
|
9846
9916
|
type: Input
|
|
9847
9917
|
}], submit: [{
|
|
@@ -9865,19 +9935,19 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9865
9935
|
*/
|
|
9866
9936
|
//Node
|
|
9867
9937
|
const _c0$2 = ["contactusform"];
|
|
9868
|
-
function
|
|
9938
|
+
function ContactUsDialog_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9869
9939
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
9870
9940
|
i0.ɵɵelementStart(0, "kendo-dialog", 2);
|
|
9871
|
-
i0.ɵɵlistener("close", function
|
|
9941
|
+
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()); });
|
|
9872
9942
|
i0.ɵɵelementStart(1, "div", 3)(2, "anatoly-forms-contactus-form", 4, 0);
|
|
9873
|
-
i0.ɵɵlistener("submit", function
|
|
9943
|
+
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()); });
|
|
9874
9944
|
i0.ɵɵelementEnd()();
|
|
9875
9945
|
i0.ɵɵelementStart(4, "kendo-dialog-actions", 5)(5, "div", 6)(6, "button", 7);
|
|
9876
|
-
i0.ɵɵlistener("click", function
|
|
9946
|
+
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()); });
|
|
9877
9947
|
i0.ɵɵtext(7, "Submit");
|
|
9878
9948
|
i0.ɵɵelementEnd();
|
|
9879
9949
|
i0.ɵɵelementStart(8, "button", 8);
|
|
9880
|
-
i0.ɵɵlistener("click", function
|
|
9950
|
+
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()); });
|
|
9881
9951
|
i0.ɵɵtext(9, "Cancel ");
|
|
9882
9952
|
i0.ɵɵelementEnd()()()();
|
|
9883
9953
|
} if (rf & 2) {
|
|
@@ -9905,15 +9975,15 @@ class ContactUsDialog extends DialogBase {
|
|
|
9905
9975
|
} if (rf & 2) {
|
|
9906
9976
|
let _t;
|
|
9907
9977
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contactUsForm = _t.first);
|
|
9908
|
-
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["contactusform", ""], ["title", "Contact Us", 3, "width"
|
|
9909
|
-
i0.ɵɵ
|
|
9978
|
+
} }, 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) {
|
|
9979
|
+
i0.ɵɵconditionalCreate(0, ContactUsDialog_Conditional_0_Template, 10, 2, "kendo-dialog", 1);
|
|
9910
9980
|
} if (rf & 2) {
|
|
9911
|
-
i0.ɵɵ
|
|
9912
|
-
} }, dependencies: [
|
|
9981
|
+
i0.ɵɵconditional(ctx.isOpen ? 0 : -1);
|
|
9982
|
+
} }, dependencies: [i4$1.DialogComponent, i4$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
|
|
9913
9983
|
}
|
|
9914
9984
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
9915
9985
|
type: Component,
|
|
9916
|
-
args: [{ selector: 'anatoly-contactus-dialog', standalone: false, template: "<kendo-dialog (close)='onClose()'
|
|
9986
|
+
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}" }]
|
|
9917
9987
|
}], () => [], { contactUsForm: [{
|
|
9918
9988
|
type: ViewChild,
|
|
9919
9989
|
args: ['contactusform']
|
|
@@ -10016,14 +10086,14 @@ class HoveringDirective {
|
|
|
10016
10086
|
*/
|
|
10017
10087
|
//Node
|
|
10018
10088
|
const _c0$1 = a0 => ({ "has-error": a0 });
|
|
10019
|
-
function
|
|
10020
|
-
i0.ɵɵelement(0, "anatoly-card-header",
|
|
10089
|
+
function AddressComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
10090
|
+
i0.ɵɵelement(0, "anatoly-card-header", 1);
|
|
10021
10091
|
} if (rf & 2) {
|
|
10022
10092
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
10023
10093
|
i0.ɵɵproperty("title", ctx_r0.title);
|
|
10024
10094
|
} }
|
|
10025
|
-
function
|
|
10026
|
-
i0.ɵɵelementStart(0, "option",
|
|
10095
|
+
function AddressComponent_Conditional_18_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
10096
|
+
i0.ɵɵelementStart(0, "option", 15);
|
|
10027
10097
|
i0.ɵɵtext(1);
|
|
10028
10098
|
i0.ɵɵelementEnd();
|
|
10029
10099
|
} if (rf & 2) {
|
|
@@ -10032,27 +10102,27 @@ function AddressComponent_div_18_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
10032
10102
|
i0.ɵɵadvance();
|
|
10033
10103
|
i0.ɵɵtextInterpolate(state_r3.name);
|
|
10034
10104
|
} }
|
|
10035
|
-
function
|
|
10105
|
+
function AddressComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
10036
10106
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
10037
10107
|
i0.ɵɵelementStart(0, "div", 9)(1, "label");
|
|
10038
10108
|
i0.ɵɵtext(2, "State");
|
|
10039
10109
|
i0.ɵɵelementEnd();
|
|
10040
|
-
i0.ɵɵelementStart(3, "select",
|
|
10041
|
-
i0.ɵɵlistener("change", function
|
|
10042
|
-
i0.ɵɵ
|
|
10110
|
+
i0.ɵɵelementStart(3, "select", 17);
|
|
10111
|
+
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)); });
|
|
10112
|
+
i0.ɵɵrepeaterCreate(4, AddressComponent_Conditional_18_For_5_Template, 2, 2, "option", 15, i0.ɵɵrepeaterTrackByIdentity);
|
|
10043
10113
|
i0.ɵɵelementEnd();
|
|
10044
|
-
i0.ɵɵelement(
|
|
10114
|
+
i0.ɵɵelement(6, "anatoly-item-validation-summary", 18);
|
|
10045
10115
|
i0.ɵɵelementEnd();
|
|
10046
10116
|
} if (rf & 2) {
|
|
10047
10117
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
10048
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10118
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$1, ctx_r0.isControlInvalid("address_stateOrRegion")));
|
|
10049
10119
|
i0.ɵɵadvance(4);
|
|
10050
|
-
i0.ɵɵ
|
|
10051
|
-
i0.ɵɵadvance();
|
|
10120
|
+
i0.ɵɵrepeater(ctx_r0.usStateData);
|
|
10121
|
+
i0.ɵɵadvance(2);
|
|
10052
10122
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup)("formSubmitted", ctx_r0.formSubmitted);
|
|
10053
10123
|
} }
|
|
10054
|
-
function
|
|
10055
|
-
i0.ɵɵelementStart(0, "option",
|
|
10124
|
+
function AddressComponent_For_29_Template(rf, ctx) { if (rf & 1) {
|
|
10125
|
+
i0.ɵɵelementStart(0, "option", 15);
|
|
10056
10126
|
i0.ɵɵtext(1);
|
|
10057
10127
|
i0.ɵɵelementEnd();
|
|
10058
10128
|
} if (rf & 2) {
|
|
@@ -10150,9 +10220,9 @@ class AddressComponent extends EditComponentBase {
|
|
|
10150
10220
|
this.change.emit(usState);
|
|
10151
10221
|
}
|
|
10152
10222
|
static { this.ɵfac = function AddressComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AddressComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
10153
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressComponent, selectors: [["anatoly-forms-address"]], inputs: { address: "address" }, outputs: { change: "change" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
10223
|
+
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) {
|
|
10154
10224
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
10155
|
-
i0.ɵɵ
|
|
10225
|
+
i0.ɵɵconditionalCreate(1, AddressComponent_Conditional_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
10156
10226
|
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "div", 4)(5, "label");
|
|
10157
10227
|
i0.ɵɵtext(6, "Street Address");
|
|
10158
10228
|
i0.ɵɵelementEnd();
|
|
@@ -10166,55 +10236,55 @@ class AddressComponent extends EditComponentBase {
|
|
|
10166
10236
|
i0.ɵɵelementEnd();
|
|
10167
10237
|
i0.ɵɵelement(16, "input", 10)(17, "anatoly-item-validation-summary", 11);
|
|
10168
10238
|
i0.ɵɵelementEnd();
|
|
10169
|
-
i0.ɵɵ
|
|
10239
|
+
i0.ɵɵconditionalCreate(18, AddressComponent_Conditional_18_Template, 7, 5, "div", 9);
|
|
10170
10240
|
i0.ɵɵelementStart(19, "div", 9)(20, "label");
|
|
10171
10241
|
i0.ɵɵtext(21, "Zipcode");
|
|
10172
10242
|
i0.ɵɵelementEnd();
|
|
10173
|
-
i0.ɵɵelement(22, "input",
|
|
10243
|
+
i0.ɵɵelement(22, "input", 12)(23, "anatoly-item-validation-summary", 13);
|
|
10174
10244
|
i0.ɵɵelementEnd();
|
|
10175
10245
|
i0.ɵɵelementStart(24, "div", 9)(25, "label");
|
|
10176
10246
|
i0.ɵɵtext(26, "Country");
|
|
10177
10247
|
i0.ɵɵelementEnd();
|
|
10178
|
-
i0.ɵɵelementStart(27, "select",
|
|
10248
|
+
i0.ɵɵelementStart(27, "select", 14);
|
|
10179
10249
|
i0.ɵɵlistener("change", function AddressComponent_Template_select_change_27_listener($event) { return ctx.onCountryChange($event); });
|
|
10180
|
-
i0.ɵɵ
|
|
10250
|
+
i0.ɵɵrepeaterCreate(28, AddressComponent_For_29_Template, 2, 2, "option", 15, i0.ɵɵrepeaterTrackByIdentity);
|
|
10181
10251
|
i0.ɵɵelementEnd();
|
|
10182
|
-
i0.ɵɵelement(
|
|
10252
|
+
i0.ɵɵelement(30, "anatoly-item-validation-summary", 16);
|
|
10183
10253
|
i0.ɵɵelementEnd()()()();
|
|
10184
10254
|
} if (rf & 2) {
|
|
10185
10255
|
i0.ɵɵadvance();
|
|
10186
|
-
i0.ɵɵ
|
|
10256
|
+
i0.ɵɵconditional(ctx.isTitleVisible ? 1 : -1);
|
|
10187
10257
|
i0.ɵɵadvance();
|
|
10188
10258
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
10189
10259
|
i0.ɵɵadvance(2);
|
|
10190
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10260
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c0$1, ctx.isControlInvalid("address_street")));
|
|
10191
10261
|
i0.ɵɵadvance(4);
|
|
10192
10262
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10193
10263
|
i0.ɵɵadvance();
|
|
10194
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10264
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$1, ctx.isControlInvalid("address_street2")));
|
|
10195
10265
|
i0.ɵɵadvance(2);
|
|
10196
10266
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10197
10267
|
i0.ɵɵadvance(2);
|
|
10198
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10268
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c0$1, ctx.isControlInvalid("address_city")));
|
|
10199
10269
|
i0.ɵɵadvance(4);
|
|
10200
10270
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10201
10271
|
i0.ɵɵadvance();
|
|
10202
|
-
i0.ɵɵ
|
|
10272
|
+
i0.ɵɵconditional(ctx.formGroup.value.address_country == "US" ? 18 : -1);
|
|
10203
10273
|
i0.ɵɵadvance();
|
|
10204
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10274
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(24, _c0$1, ctx.isControlInvalid("address_zipcode")));
|
|
10205
10275
|
i0.ɵɵadvance(4);
|
|
10206
10276
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10207
10277
|
i0.ɵɵadvance();
|
|
10208
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
10278
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c0$1, ctx.isControlInvalid("address_country")));
|
|
10209
10279
|
i0.ɵɵadvance(4);
|
|
10210
|
-
i0.ɵɵ
|
|
10211
|
-
i0.ɵɵadvance();
|
|
10280
|
+
i0.ɵɵrepeater(ctx.countryData);
|
|
10281
|
+
i0.ɵɵadvance(2);
|
|
10212
10282
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10213
|
-
} }, dependencies: [i1$2.NgClass,
|
|
10283
|
+
} }, 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 }); }
|
|
10214
10284
|
}
|
|
10215
10285
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
10216
10286
|
type: Component,
|
|
10217
|
-
args: [{ selector: 'anatoly-forms-address', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\
|
|
10287
|
+
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" }]
|
|
10218
10288
|
}], () => [{ type: i2.FormBuilder }, { type: AppContextService }], { address: [{
|
|
10219
10289
|
type: Input
|
|
10220
10290
|
}], change: [{
|
|
@@ -10239,8 +10309,8 @@ class AddressComponent extends EditComponentBase {
|
|
|
10239
10309
|
*/
|
|
10240
10310
|
//Node
|
|
10241
10311
|
const _c0 = a0 => ({ "has-error": a0 });
|
|
10242
|
-
function
|
|
10243
|
-
i0.ɵɵelement(0, "anatoly-card-header",
|
|
10312
|
+
function CompanyComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
10313
|
+
i0.ɵɵelement(0, "anatoly-card-header", 1);
|
|
10244
10314
|
} if (rf & 2) {
|
|
10245
10315
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
10246
10316
|
i0.ɵɵproperty("title", ctx_r0.title);
|
|
@@ -10295,9 +10365,9 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10295
10365
|
return JSON.stringify(data);
|
|
10296
10366
|
}
|
|
10297
10367
|
static { this.ɵfac = function CompanyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CompanyComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder)); }; }
|
|
10298
|
-
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"
|
|
10368
|
+
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) {
|
|
10299
10369
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
10300
|
-
i0.ɵɵ
|
|
10370
|
+
i0.ɵɵconditionalCreate(1, CompanyComponent_Conditional_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
10301
10371
|
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "div", 4)(5, "label");
|
|
10302
10372
|
i0.ɵɵtext(6, "Name");
|
|
10303
10373
|
i0.ɵɵelementEnd();
|
|
@@ -10320,7 +10390,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10320
10390
|
i0.ɵɵelementEnd()()()();
|
|
10321
10391
|
} if (rf & 2) {
|
|
10322
10392
|
i0.ɵɵadvance();
|
|
10323
|
-
i0.ɵɵ
|
|
10393
|
+
i0.ɵɵconditional(ctx.isTitleVisible ? 1 : -1);
|
|
10324
10394
|
i0.ɵɵadvance();
|
|
10325
10395
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
10326
10396
|
i0.ɵɵadvance(2);
|
|
@@ -10339,11 +10409,11 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10339
10409
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0, ctx.isControlInvalid("company_websiteUrl")));
|
|
10340
10410
|
i0.ɵɵadvance(4);
|
|
10341
10411
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10342
|
-
} }, dependencies: [i1$2.NgClass,
|
|
10412
|
+
} }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.PatternValidator, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
10343
10413
|
}
|
|
10344
10414
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
10345
10415
|
type: Component,
|
|
10346
|
-
args: [{ selector: 'anatoly-forms-company', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\
|
|
10416
|
+
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" }]
|
|
10347
10417
|
}], () => [{ type: i2.FormBuilder }], { company: [{
|
|
10348
10418
|
type: Input
|
|
10349
10419
|
}] }); })();
|
|
@@ -11674,5 +11744,5 @@ class AnatolyModule {
|
|
|
11674
11744
|
* Generated bundle index. Do not edit.
|
|
11675
11745
|
*/
|
|
11676
11746
|
|
|
11677
|
-
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 };
|
|
11747
|
+
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 };
|
|
11678
11748
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|