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