@osovitny/anatoly 2.14.42 → 2.14.44
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.
- package/esm2020/lib/core/consts/settings.mjs +1 -2
- package/esm2020/lib/core/services/appcontext.service.mjs +3 -10
- package/esm2020/lib/ui/components/check-icon/check-icon.component.mjs +34 -0
- package/esm2020/lib/ui/components/index.mjs +17 -11
- package/esm2020/lib/ui/components/spinners/pagespinner/pagespinner.component.mjs +19 -22
- package/esm2020/lib/ui/ui.module.mjs +45 -46
- package/fesm2015/osovitny-anatoly.mjs +406 -368
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +400 -362
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/core/consts/settings.d.ts +0 -1
- package/lib/core/services/appcontext.service.d.ts +0 -2
- package/lib/ui/components/check-icon/check-icon.component.d.ts +7 -0
- package/lib/ui/components/index.d.ts +8 -7
- package/lib/ui/components/spinners/pagespinner/pagespinner.component.d.ts +3 -3
- package/lib/ui/ui.module.d.ts +32 -31
- package/package.json +1 -1
|
@@ -43,7 +43,6 @@ import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
|
43
43
|
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
44
44
|
</file>
|
|
45
45
|
*/
|
|
46
|
-
const ContextInitState = JSON.parse((document.getElementById('contextInitState')).getAttribute('data-contextinitstate'));
|
|
47
46
|
const AppCoreSettings = JSON.parse((document.getElementById('appCoreSettings')).getAttribute('data-appcoresettings'));
|
|
48
47
|
|
|
49
48
|
/*
|
|
@@ -1440,12 +1439,6 @@ class AppContextService extends BaseApiService {
|
|
|
1440
1439
|
this.clearCurrent();
|
|
1441
1440
|
this.updateCurrent();
|
|
1442
1441
|
}
|
|
1443
|
-
isUserSignedIn() {
|
|
1444
|
-
return ContextInitState.isUserSignedIn;
|
|
1445
|
-
}
|
|
1446
|
-
isUserAdmin() {
|
|
1447
|
-
return ContextInitState.isUserAdmin;
|
|
1448
|
-
}
|
|
1449
1442
|
//Properties
|
|
1450
1443
|
get current() {
|
|
1451
1444
|
this.updateCurrentIfExpired();
|
|
@@ -2224,222 +2217,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
2224
2217
|
</file>
|
|
2225
2218
|
*/
|
|
2226
2219
|
|
|
2227
|
-
/*
|
|
2228
|
-
<file>
|
|
2229
|
-
Project:
|
|
2230
|
-
@osovitny/anatoly
|
|
2231
|
-
|
|
2232
|
-
Authors:
|
|
2233
|
-
Vadim Osovitny
|
|
2234
|
-
Anatoly Osovitny
|
|
2235
|
-
|
|
2236
|
-
Created:
|
|
2237
|
-
28 Aug 2018
|
|
2238
|
-
|
|
2239
|
-
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2240
|
-
</file>
|
|
2241
|
-
*/
|
|
2242
|
-
class BaseComponent {
|
|
2243
|
-
constructor() {
|
|
2244
|
-
this.subs = new Subs();
|
|
2245
|
-
//Component Data => usually loading from API
|
|
2246
|
-
this.dataLoading = true;
|
|
2247
|
-
this.dataLoaded = false;
|
|
2248
|
-
this.dataFound = false;
|
|
2249
|
-
}
|
|
2250
|
-
getQSId() {
|
|
2251
|
-
let id = Utils.getValueByNameInQS("id");
|
|
2252
|
-
if (typeof id === "undefined" || id == "")
|
|
2253
|
-
return null;
|
|
2254
|
-
return id;
|
|
2255
|
-
}
|
|
2256
|
-
ngOnDestroy() {
|
|
2257
|
-
this.subs.unsubscribe();
|
|
2258
|
-
}
|
|
2259
|
-
}
|
|
2260
|
-
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2261
|
-
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
2262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, decorators: [{
|
|
2263
|
-
type: Component,
|
|
2264
|
-
args: [{
|
|
2265
|
-
template: ''
|
|
2266
|
-
}]
|
|
2267
|
-
}] });
|
|
2268
|
-
|
|
2269
|
-
/*
|
|
2270
|
-
<file>
|
|
2271
|
-
Project:
|
|
2272
|
-
@osovitny/anatoly
|
|
2273
|
-
|
|
2274
|
-
Authors:
|
|
2275
|
-
Vadim Osovitny
|
|
2276
|
-
Anatoly Osovitny
|
|
2277
|
-
|
|
2278
|
-
Created:
|
|
2279
|
-
20 Nov 2017
|
|
2280
|
-
|
|
2281
|
-
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2282
|
-
</file>
|
|
2283
|
-
*/
|
|
2284
|
-
class BaseEditComponent extends BaseComponent {
|
|
2285
|
-
constructor() {
|
|
2286
|
-
super();
|
|
2287
|
-
this.formSubmitted = false;
|
|
2288
|
-
}
|
|
2289
|
-
isActionAdding() {
|
|
2290
|
-
let id = Utils.getValueByNameInQS("id");
|
|
2291
|
-
return typeof id === "undefined" || id == "";
|
|
2292
|
-
}
|
|
2293
|
-
getEntityId() {
|
|
2294
|
-
return this.getQSId();
|
|
2295
|
-
}
|
|
2296
|
-
isControlValid(name, frmGroup = null) {
|
|
2297
|
-
return !this.isControlInvalid(name, frmGroup);
|
|
2298
|
-
}
|
|
2299
|
-
isControlInvalid(name, frmGroup = null) {
|
|
2300
|
-
if (typeof name === "undefined" || name == "") {
|
|
2301
|
-
return false;
|
|
2302
|
-
}
|
|
2303
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2304
|
-
if (!fg) {
|
|
2305
|
-
return false;
|
|
2306
|
-
}
|
|
2307
|
-
if (fg.get(name)) {
|
|
2308
|
-
return ((this.formSubmitted && fg.get(name).invalid) ||
|
|
2309
|
-
(fg.get(name).touched && fg.get(name).invalid));
|
|
2310
|
-
}
|
|
2311
|
-
return false;
|
|
2312
|
-
}
|
|
2313
|
-
//FormGroup functions
|
|
2314
|
-
getFormValue(name, frmGroup = null) {
|
|
2315
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2316
|
-
return fg.controls[name].value;
|
|
2317
|
-
}
|
|
2318
|
-
setFormValue(name, value, frmGroup = null) {
|
|
2319
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2320
|
-
fg.controls[name].setValue(value);
|
|
2321
|
-
}
|
|
2322
|
-
getFormGroupValue(groupName, name, frmGroup = null) {
|
|
2323
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2324
|
-
return fg.controls[groupName].get(name).value;
|
|
2325
|
-
}
|
|
2326
|
-
setFormGroupValue(groupName, name, value, frmGroup = null) {
|
|
2327
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2328
|
-
fg.controls[groupName].get(name).setValue(value);
|
|
2329
|
-
}
|
|
2330
|
-
/**
|
|
2331
|
-
* Add control to form group
|
|
2332
|
-
* @param name
|
|
2333
|
-
* @param formControl
|
|
2334
|
-
* @param frmGroup
|
|
2335
|
-
*/
|
|
2336
|
-
addControl(name, formControl, frmGroup = null) {
|
|
2337
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2338
|
-
fg.addControl(name, formControl);
|
|
2339
|
-
}
|
|
2340
|
-
/**
|
|
2341
|
-
* Removes control from form group
|
|
2342
|
-
* @param name
|
|
2343
|
-
* @param frmGroup
|
|
2344
|
-
*/
|
|
2345
|
-
removeControl(name, frmGroup = null) {
|
|
2346
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2347
|
-
if (fg.get(name)) {
|
|
2348
|
-
fg.removeControl(name);
|
|
2349
|
-
}
|
|
2350
|
-
}
|
|
2351
|
-
/**
|
|
2352
|
-
* return new form control
|
|
2353
|
-
* @param formState
|
|
2354
|
-
* @param validatorOrOpts
|
|
2355
|
-
* @param asyncValidator
|
|
2356
|
-
*/
|
|
2357
|
-
createFormControl(formState, validatorOrOpts, asyncValidator) {
|
|
2358
|
-
return new FormControl(formState, validatorOrOpts, asyncValidator);
|
|
2359
|
-
}
|
|
2360
|
-
/**
|
|
2361
|
-
* Set error to control
|
|
2362
|
-
* @param controlName formControl name
|
|
2363
|
-
* @param err error expect {erroname: boolean} format
|
|
2364
|
-
* @param frmGroup
|
|
2365
|
-
*/
|
|
2366
|
-
setControlError(controlName, err, frmGroup = null) {
|
|
2367
|
-
var _a;
|
|
2368
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2369
|
-
(_a = fg.get(controlName)) === null || _a === void 0 ? void 0 : _a.setErrors(err);
|
|
2370
|
-
}
|
|
2371
|
-
/**
|
|
2372
|
-
* Set {invalid: true} for the specified form
|
|
2373
|
-
* @param controlName form control name
|
|
2374
|
-
* @param frmGroup
|
|
2375
|
-
*/
|
|
2376
|
-
setInValidError(controlName, frmGroup = null) {
|
|
2377
|
-
var _a;
|
|
2378
|
-
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2379
|
-
(_a = fg.get(controlName)) === null || _a === void 0 ? void 0 : _a.setErrors({ invalid: true });
|
|
2380
|
-
}
|
|
2381
|
-
/**
|
|
2382
|
-
* returns formgroup controls.
|
|
2383
|
-
* main use case is used in html pages
|
|
2384
|
-
*/
|
|
2385
|
-
get fc() {
|
|
2386
|
-
return this.formGroup.controls;
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
BaseEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2390
|
-
BaseEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseEditComponent, selector: "ng-component", inputs: { formGroup: "formGroup", formSubmitted: "formSubmitted" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, decorators: [{
|
|
2392
|
-
type: Component,
|
|
2393
|
-
args: [{
|
|
2394
|
-
template: ''
|
|
2395
|
-
}]
|
|
2396
|
-
}], ctorParameters: function () { return []; }, propDecorators: { formGroup: [{
|
|
2397
|
-
type: Input
|
|
2398
|
-
}], formSubmitted: [{
|
|
2399
|
-
type: Input
|
|
2400
|
-
}] } });
|
|
2401
|
-
|
|
2402
|
-
/*
|
|
2403
|
-
<file>
|
|
2404
|
-
Project:
|
|
2405
|
-
@osovitny/anatoly
|
|
2406
|
-
|
|
2407
|
-
Authors:
|
|
2408
|
-
Vadim Osovitny
|
|
2409
|
-
Anatoly Osovitny
|
|
2410
|
-
|
|
2411
|
-
Created:
|
|
2412
|
-
24 Jan 2022
|
|
2413
|
-
|
|
2414
|
-
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2415
|
-
</file>
|
|
2416
|
-
*/
|
|
2417
|
-
class BaseDialog extends BaseEditComponent {
|
|
2418
|
-
constructor() {
|
|
2419
|
-
super();
|
|
2420
|
-
this._opened = false;
|
|
2421
|
-
}
|
|
2422
|
-
get opened() {
|
|
2423
|
-
return this._opened;
|
|
2424
|
-
}
|
|
2425
|
-
open() {
|
|
2426
|
-
this._opened = true;
|
|
2427
|
-
}
|
|
2428
|
-
close() {
|
|
2429
|
-
this._opened = false;
|
|
2430
|
-
}
|
|
2431
|
-
}
|
|
2432
|
-
BaseDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2433
|
-
BaseDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseDialog, selector: "ng-component", inputs: { opened: "opened" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, decorators: [{
|
|
2435
|
-
type: Component,
|
|
2436
|
-
args: [{
|
|
2437
|
-
template: ''
|
|
2438
|
-
}]
|
|
2439
|
-
}], ctorParameters: function () { return []; }, propDecorators: { opened: [{
|
|
2440
|
-
type: Input
|
|
2441
|
-
}] } });
|
|
2442
|
-
|
|
2443
2220
|
/*
|
|
2444
2221
|
<file>
|
|
2445
2222
|
Project:
|
|
@@ -2580,6 +2357,157 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
2580
2357
|
type: Output
|
|
2581
2358
|
}] } });
|
|
2582
2359
|
|
|
2360
|
+
/*
|
|
2361
|
+
<file>
|
|
2362
|
+
Project:
|
|
2363
|
+
@osovitny/anatoly
|
|
2364
|
+
|
|
2365
|
+
Authors:
|
|
2366
|
+
Vadim Osovitny
|
|
2367
|
+
Anatoly Osovitny
|
|
2368
|
+
|
|
2369
|
+
Created:
|
|
2370
|
+
29 July 2022
|
|
2371
|
+
|
|
2372
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2373
|
+
</file>
|
|
2374
|
+
*/
|
|
2375
|
+
class CardComponent {
|
|
2376
|
+
}
|
|
2377
|
+
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2378
|
+
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardComponent, selector: "anatoly-card", inputs: { class: "class" }, ngImport: i0, template: "<div class='card {{class}}'>\r\n <ng-content select='mex-card-header'></ng-content>\r\n <ng-content select='mex-card-body'></ng-content>\r\n <ng-content></ng-content>\r\n <ng-content select='mex-card-footer'></ng-content>\r\n</div>\r\n" });
|
|
2379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardComponent, decorators: [{
|
|
2380
|
+
type: Component,
|
|
2381
|
+
args: [{ selector: 'anatoly-card', template: "<div class='card {{class}}'>\r\n <ng-content select='mex-card-header'></ng-content>\r\n <ng-content select='mex-card-body'></ng-content>\r\n <ng-content></ng-content>\r\n <ng-content select='mex-card-footer'></ng-content>\r\n</div>\r\n" }]
|
|
2382
|
+
}], propDecorators: { class: [{
|
|
2383
|
+
type: Input
|
|
2384
|
+
}] } });
|
|
2385
|
+
|
|
2386
|
+
/*
|
|
2387
|
+
<file>
|
|
2388
|
+
Project:
|
|
2389
|
+
@osovitny/anatoly
|
|
2390
|
+
|
|
2391
|
+
Authors:
|
|
2392
|
+
Vadim Osovitny
|
|
2393
|
+
Anatoly Osovitny
|
|
2394
|
+
|
|
2395
|
+
Created:
|
|
2396
|
+
29 July 2022
|
|
2397
|
+
|
|
2398
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2399
|
+
</file>
|
|
2400
|
+
*/
|
|
2401
|
+
class CardHeaderComponent {
|
|
2402
|
+
constructor() {
|
|
2403
|
+
this.isTitleVisible = false;
|
|
2404
|
+
}
|
|
2405
|
+
set title(val) {
|
|
2406
|
+
if (val) {
|
|
2407
|
+
this.isTitleVisible = true;
|
|
2408
|
+
this.titleValue = val;
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
ngOnInit() {
|
|
2412
|
+
if (this.title)
|
|
2413
|
+
this.isTitleVisible = true;
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2417
|
+
CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardHeaderComponent, selector: "anatoly-card-header", inputs: { class: "class", title: "title" }, ngImport: i0, template: "<div class='card-header {{class}}'>\r\n <h3 *ngIf='isTitleVisible' class='card-title'>{{titleValue}}</h3>\r\n <ng-content></ng-content>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardHeaderComponent, decorators: [{
|
|
2419
|
+
type: Component,
|
|
2420
|
+
args: [{ selector: 'anatoly-card-header', template: "<div class='card-header {{class}}'>\r\n <h3 *ngIf='isTitleVisible' class='card-title'>{{titleValue}}</h3>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
2421
|
+
}], propDecorators: { class: [{
|
|
2422
|
+
type: Input
|
|
2423
|
+
}], title: [{
|
|
2424
|
+
type: Input
|
|
2425
|
+
}] } });
|
|
2426
|
+
|
|
2427
|
+
/*
|
|
2428
|
+
<file>
|
|
2429
|
+
Project:
|
|
2430
|
+
@osovitny/anatoly
|
|
2431
|
+
|
|
2432
|
+
Authors:
|
|
2433
|
+
Vadim Osovitny
|
|
2434
|
+
Anatoly Osovitny
|
|
2435
|
+
|
|
2436
|
+
Created:
|
|
2437
|
+
29 July 2022
|
|
2438
|
+
|
|
2439
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2440
|
+
</file>
|
|
2441
|
+
*/
|
|
2442
|
+
class CardBodyComponent {
|
|
2443
|
+
}
|
|
2444
|
+
CardBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2445
|
+
CardBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardBodyComponent, selector: "anatoly-card-body", inputs: { class: "class", styles: "styles" }, ngImport: i0, template: "<div class='card-body {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" });
|
|
2446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardBodyComponent, decorators: [{
|
|
2447
|
+
type: Component,
|
|
2448
|
+
args: [{ selector: 'anatoly-card-body', template: "<div class='card-body {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
2449
|
+
}], propDecorators: { class: [{
|
|
2450
|
+
type: Input
|
|
2451
|
+
}], styles: [{
|
|
2452
|
+
type: Input
|
|
2453
|
+
}] } });
|
|
2454
|
+
|
|
2455
|
+
/*
|
|
2456
|
+
<file>
|
|
2457
|
+
Project:
|
|
2458
|
+
@osovitny/anatoly
|
|
2459
|
+
|
|
2460
|
+
Authors:
|
|
2461
|
+
Vadim Osovitny
|
|
2462
|
+
Anatoly Osovitny
|
|
2463
|
+
|
|
2464
|
+
Created:
|
|
2465
|
+
29 July 2022
|
|
2466
|
+
|
|
2467
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2468
|
+
</file>
|
|
2469
|
+
*/
|
|
2470
|
+
class CardFooterComponent {
|
|
2471
|
+
}
|
|
2472
|
+
CardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2473
|
+
CardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardFooterComponent, selector: "anatoly-card-footer", inputs: { class: "class" }, ngImport: i0, template: "<div class='card-footer {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" });
|
|
2474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardFooterComponent, decorators: [{
|
|
2475
|
+
type: Component,
|
|
2476
|
+
args: [{ selector: 'anatoly-card-footer', template: "<div class='card-footer {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
2477
|
+
}], propDecorators: { class: [{
|
|
2478
|
+
type: Input
|
|
2479
|
+
}] } });
|
|
2480
|
+
|
|
2481
|
+
/*
|
|
2482
|
+
<file>
|
|
2483
|
+
Project:
|
|
2484
|
+
@osovitny/anatoly
|
|
2485
|
+
|
|
2486
|
+
Authors:
|
|
2487
|
+
Vadim Osovitny
|
|
2488
|
+
Anatoly Osovitny
|
|
2489
|
+
|
|
2490
|
+
Created:
|
|
2491
|
+
15 Aug 2022
|
|
2492
|
+
|
|
2493
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2494
|
+
</file>
|
|
2495
|
+
*/
|
|
2496
|
+
class CheckIconComponent {
|
|
2497
|
+
constructor() {
|
|
2498
|
+
//Inputs
|
|
2499
|
+
this.checked = true;
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
CheckIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CheckIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2503
|
+
CheckIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CheckIconComponent, selector: "anatoly-check-icon", inputs: { checked: "checked" }, ngImport: i0, template: "<i class='fas' [ngClass]=\"{ 'fa-check-circle text-success': checked, 'fa-times-circle text-danger':!checked }\"></i>\r\n<ng-content></ng-content>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CheckIconComponent, decorators: [{
|
|
2505
|
+
type: Component,
|
|
2506
|
+
args: [{ selector: 'anatoly-check-icon', template: "<i class='fas' [ngClass]=\"{ 'fa-check-circle text-success': checked, 'fa-times-circle text-danger':!checked }\"></i>\r\n<ng-content></ng-content>\r\n" }]
|
|
2507
|
+
}], ctorParameters: function () { return []; }, propDecorators: { checked: [{
|
|
2508
|
+
type: Input
|
|
2509
|
+
}] } });
|
|
2510
|
+
|
|
2583
2511
|
/*
|
|
2584
2512
|
<file>
|
|
2585
2513
|
Project:
|
|
@@ -2666,6 +2594,181 @@ const DefaultEditorOptions = {
|
|
|
2666
2594
|
imageUploadParams: { uploadType: "", uploadParentId: "" },
|
|
2667
2595
|
};
|
|
2668
2596
|
|
|
2597
|
+
/*
|
|
2598
|
+
<file>
|
|
2599
|
+
Project:
|
|
2600
|
+
@osovitny/anatoly
|
|
2601
|
+
|
|
2602
|
+
Authors:
|
|
2603
|
+
Vadim Osovitny
|
|
2604
|
+
Anatoly Osovitny
|
|
2605
|
+
|
|
2606
|
+
Created:
|
|
2607
|
+
28 Aug 2018
|
|
2608
|
+
|
|
2609
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2610
|
+
</file>
|
|
2611
|
+
*/
|
|
2612
|
+
class BaseComponent {
|
|
2613
|
+
constructor() {
|
|
2614
|
+
this.subs = new Subs();
|
|
2615
|
+
//Component Data => usually loading from API
|
|
2616
|
+
this.dataLoading = true;
|
|
2617
|
+
this.dataLoaded = false;
|
|
2618
|
+
this.dataFound = false;
|
|
2619
|
+
}
|
|
2620
|
+
getQSId() {
|
|
2621
|
+
let id = Utils.getValueByNameInQS("id");
|
|
2622
|
+
if (typeof id === "undefined" || id == "")
|
|
2623
|
+
return null;
|
|
2624
|
+
return id;
|
|
2625
|
+
}
|
|
2626
|
+
ngOnDestroy() {
|
|
2627
|
+
this.subs.unsubscribe();
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2631
|
+
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
2632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, decorators: [{
|
|
2633
|
+
type: Component,
|
|
2634
|
+
args: [{
|
|
2635
|
+
template: ''
|
|
2636
|
+
}]
|
|
2637
|
+
}] });
|
|
2638
|
+
|
|
2639
|
+
/*
|
|
2640
|
+
<file>
|
|
2641
|
+
Project:
|
|
2642
|
+
@osovitny/anatoly
|
|
2643
|
+
|
|
2644
|
+
Authors:
|
|
2645
|
+
Vadim Osovitny
|
|
2646
|
+
Anatoly Osovitny
|
|
2647
|
+
|
|
2648
|
+
Created:
|
|
2649
|
+
20 Nov 2017
|
|
2650
|
+
|
|
2651
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2652
|
+
</file>
|
|
2653
|
+
*/
|
|
2654
|
+
class BaseEditComponent extends BaseComponent {
|
|
2655
|
+
constructor() {
|
|
2656
|
+
super();
|
|
2657
|
+
this.formSubmitted = false;
|
|
2658
|
+
}
|
|
2659
|
+
isActionAdding() {
|
|
2660
|
+
let id = Utils.getValueByNameInQS("id");
|
|
2661
|
+
return typeof id === "undefined" || id == "";
|
|
2662
|
+
}
|
|
2663
|
+
getEntityId() {
|
|
2664
|
+
return this.getQSId();
|
|
2665
|
+
}
|
|
2666
|
+
isControlValid(name, frmGroup = null) {
|
|
2667
|
+
return !this.isControlInvalid(name, frmGroup);
|
|
2668
|
+
}
|
|
2669
|
+
isControlInvalid(name, frmGroup = null) {
|
|
2670
|
+
if (typeof name === "undefined" || name == "") {
|
|
2671
|
+
return false;
|
|
2672
|
+
}
|
|
2673
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2674
|
+
if (!fg) {
|
|
2675
|
+
return false;
|
|
2676
|
+
}
|
|
2677
|
+
if (fg.get(name)) {
|
|
2678
|
+
return ((this.formSubmitted && fg.get(name).invalid) ||
|
|
2679
|
+
(fg.get(name).touched && fg.get(name).invalid));
|
|
2680
|
+
}
|
|
2681
|
+
return false;
|
|
2682
|
+
}
|
|
2683
|
+
//FormGroup functions
|
|
2684
|
+
getFormValue(name, frmGroup = null) {
|
|
2685
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2686
|
+
return fg.controls[name].value;
|
|
2687
|
+
}
|
|
2688
|
+
setFormValue(name, value, frmGroup = null) {
|
|
2689
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2690
|
+
fg.controls[name].setValue(value);
|
|
2691
|
+
}
|
|
2692
|
+
getFormGroupValue(groupName, name, frmGroup = null) {
|
|
2693
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2694
|
+
return fg.controls[groupName].get(name).value;
|
|
2695
|
+
}
|
|
2696
|
+
setFormGroupValue(groupName, name, value, frmGroup = null) {
|
|
2697
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2698
|
+
fg.controls[groupName].get(name).setValue(value);
|
|
2699
|
+
}
|
|
2700
|
+
/**
|
|
2701
|
+
* Add control to form group
|
|
2702
|
+
* @param name
|
|
2703
|
+
* @param formControl
|
|
2704
|
+
* @param frmGroup
|
|
2705
|
+
*/
|
|
2706
|
+
addControl(name, formControl, frmGroup = null) {
|
|
2707
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2708
|
+
fg.addControl(name, formControl);
|
|
2709
|
+
}
|
|
2710
|
+
/**
|
|
2711
|
+
* Removes control from form group
|
|
2712
|
+
* @param name
|
|
2713
|
+
* @param frmGroup
|
|
2714
|
+
*/
|
|
2715
|
+
removeControl(name, frmGroup = null) {
|
|
2716
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2717
|
+
if (fg.get(name)) {
|
|
2718
|
+
fg.removeControl(name);
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
/**
|
|
2722
|
+
* return new form control
|
|
2723
|
+
* @param formState
|
|
2724
|
+
* @param validatorOrOpts
|
|
2725
|
+
* @param asyncValidator
|
|
2726
|
+
*/
|
|
2727
|
+
createFormControl(formState, validatorOrOpts, asyncValidator) {
|
|
2728
|
+
return new FormControl(formState, validatorOrOpts, asyncValidator);
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* Set error to control
|
|
2732
|
+
* @param controlName formControl name
|
|
2733
|
+
* @param err error expect {erroname: boolean} format
|
|
2734
|
+
* @param frmGroup
|
|
2735
|
+
*/
|
|
2736
|
+
setControlError(controlName, err, frmGroup = null) {
|
|
2737
|
+
var _a;
|
|
2738
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2739
|
+
(_a = fg.get(controlName)) === null || _a === void 0 ? void 0 : _a.setErrors(err);
|
|
2740
|
+
}
|
|
2741
|
+
/**
|
|
2742
|
+
* Set {invalid: true} for the specified form
|
|
2743
|
+
* @param controlName form control name
|
|
2744
|
+
* @param frmGroup
|
|
2745
|
+
*/
|
|
2746
|
+
setInValidError(controlName, frmGroup = null) {
|
|
2747
|
+
var _a;
|
|
2748
|
+
let fg = frmGroup ? frmGroup : this.formGroup;
|
|
2749
|
+
(_a = fg.get(controlName)) === null || _a === void 0 ? void 0 : _a.setErrors({ invalid: true });
|
|
2750
|
+
}
|
|
2751
|
+
/**
|
|
2752
|
+
* returns formgroup controls.
|
|
2753
|
+
* main use case is used in html pages
|
|
2754
|
+
*/
|
|
2755
|
+
get fc() {
|
|
2756
|
+
return this.formGroup.controls;
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
BaseEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2760
|
+
BaseEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseEditComponent, selector: "ng-component", inputs: { formGroup: "formGroup", formSubmitted: "formSubmitted" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, decorators: [{
|
|
2762
|
+
type: Component,
|
|
2763
|
+
args: [{
|
|
2764
|
+
template: ''
|
|
2765
|
+
}]
|
|
2766
|
+
}], ctorParameters: function () { return []; }, propDecorators: { formGroup: [{
|
|
2767
|
+
type: Input
|
|
2768
|
+
}], formSubmitted: [{
|
|
2769
|
+
type: Input
|
|
2770
|
+
}] } });
|
|
2771
|
+
|
|
2669
2772
|
/*
|
|
2670
2773
|
<file>
|
|
2671
2774
|
Project:
|
|
@@ -3199,42 +3302,38 @@ const Spinkit = {
|
|
|
3199
3302
|
</file>
|
|
3200
3303
|
*/
|
|
3201
3304
|
class PageSpinnerComponent {
|
|
3202
|
-
constructor(router
|
|
3305
|
+
constructor(router) {
|
|
3203
3306
|
this.router = router;
|
|
3204
|
-
this.document = document;
|
|
3205
3307
|
this.isSpinnerVisible = true;
|
|
3206
3308
|
this.Spinkit = Spinkit;
|
|
3207
3309
|
this.backgroundColor = '#2196f3';
|
|
3208
3310
|
this.spinner = Spinkit.skLine;
|
|
3209
|
-
|
|
3210
|
-
next: (
|
|
3211
|
-
|
|
3212
|
-
this.isSpinnerVisible = true;
|
|
3213
|
-
}
|
|
3214
|
-
else if (event instanceof NavigationEnd || event instanceof NavigationCancel || event instanceof NavigationError) {
|
|
3215
|
-
this.isSpinnerVisible = false;
|
|
3216
|
-
}
|
|
3217
|
-
},
|
|
3218
|
-
error: (e) => {
|
|
3219
|
-
this.isSpinnerVisible = false;
|
|
3311
|
+
router.events.subscribe({
|
|
3312
|
+
next: (routerEvent) => {
|
|
3313
|
+
this.checkRouterEvent(routerEvent);
|
|
3220
3314
|
}
|
|
3221
3315
|
});
|
|
3222
3316
|
}
|
|
3317
|
+
checkRouterEvent(routerEvent) {
|
|
3318
|
+
if (routerEvent instanceof NavigationStart) {
|
|
3319
|
+
this.isSpinnerVisible = true;
|
|
3320
|
+
}
|
|
3321
|
+
if (routerEvent instanceof NavigationEnd ||
|
|
3322
|
+
routerEvent instanceof NavigationCancel ||
|
|
3323
|
+
routerEvent instanceof NavigationError) {
|
|
3324
|
+
this.isSpinnerVisible = false;
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3223
3327
|
ngOnDestroy() {
|
|
3224
3328
|
this.isSpinnerVisible = false;
|
|
3225
3329
|
}
|
|
3226
3330
|
}
|
|
3227
|
-
PageSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: PageSpinnerComponent, deps: [{ token: i1.Router }
|
|
3331
|
+
PageSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: PageSpinnerComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
3228
3332
|
PageSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: PageSpinnerComponent, selector: "anatoly-pagespinner", inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, ngImport: i0, template: "<div id=\"http-loader\" *ngIf=\"isSpinnerVisible\">\r\n <div class=\"loader-bg\">\r\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\" *ngIf=\"spinner === Spinkit.skLine\">\r\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3229
3333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: PageSpinnerComponent, decorators: [{
|
|
3230
3334
|
type: Component,
|
|
3231
3335
|
args: [{ selector: 'anatoly-pagespinner', encapsulation: ViewEncapsulation.None, template: "<div id=\"http-loader\" *ngIf=\"isSpinnerVisible\">\r\n <div class=\"loader-bg\">\r\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\" *ngIf=\"spinner === Spinkit.skLine\">\r\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
3232
|
-
}], ctorParameters: function () {
|
|
3233
|
-
return [{ type: i1.Router }, { type: Document, decorators: [{
|
|
3234
|
-
type: Inject,
|
|
3235
|
-
args: [DOCUMENT]
|
|
3236
|
-
}] }];
|
|
3237
|
-
}, propDecorators: { backgroundColor: [{
|
|
3336
|
+
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { backgroundColor: [{
|
|
3238
3337
|
type: Input
|
|
3239
3338
|
}], spinner: [{
|
|
3240
3339
|
type: Input
|
|
@@ -3250,114 +3349,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3250
3349
|
Anatoly Osovitny
|
|
3251
3350
|
|
|
3252
3351
|
Created:
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3256
|
-
</file>
|
|
3257
|
-
*/
|
|
3258
|
-
class CardComponent {
|
|
3259
|
-
}
|
|
3260
|
-
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3261
|
-
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardComponent, selector: "anatoly-card", inputs: { class: "class" }, ngImport: i0, template: "<div class='card {{class}}'>\r\n <ng-content select='mex-card-header'></ng-content>\r\n <ng-content select='mex-card-body'></ng-content>\r\n <ng-content></ng-content>\r\n <ng-content select='mex-card-footer'></ng-content>\r\n</div>\r\n" });
|
|
3262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardComponent, decorators: [{
|
|
3263
|
-
type: Component,
|
|
3264
|
-
args: [{ selector: 'anatoly-card', template: "<div class='card {{class}}'>\r\n <ng-content select='mex-card-header'></ng-content>\r\n <ng-content select='mex-card-body'></ng-content>\r\n <ng-content></ng-content>\r\n <ng-content select='mex-card-footer'></ng-content>\r\n</div>\r\n" }]
|
|
3265
|
-
}], propDecorators: { class: [{
|
|
3266
|
-
type: Input
|
|
3267
|
-
}] } });
|
|
3268
|
-
|
|
3269
|
-
/*
|
|
3270
|
-
<file>
|
|
3271
|
-
Project:
|
|
3272
|
-
@osovitny/anatoly
|
|
3273
|
-
|
|
3274
|
-
Authors:
|
|
3275
|
-
Vadim Osovitny
|
|
3276
|
-
Anatoly Osovitny
|
|
3277
|
-
|
|
3278
|
-
Created:
|
|
3279
|
-
29 July 2022
|
|
3280
|
-
|
|
3352
|
+
24 Jan 2022
|
|
3353
|
+
|
|
3281
3354
|
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3282
3355
|
</file>
|
|
3283
3356
|
*/
|
|
3284
|
-
class
|
|
3357
|
+
class BaseDialog extends BaseEditComponent {
|
|
3285
3358
|
constructor() {
|
|
3286
|
-
|
|
3359
|
+
super();
|
|
3360
|
+
this._opened = false;
|
|
3287
3361
|
}
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
this.isTitleVisible = true;
|
|
3291
|
-
this.titleValue = val;
|
|
3292
|
-
}
|
|
3362
|
+
get opened() {
|
|
3363
|
+
return this._opened;
|
|
3293
3364
|
}
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3365
|
+
open() {
|
|
3366
|
+
this._opened = true;
|
|
3367
|
+
}
|
|
3368
|
+
close() {
|
|
3369
|
+
this._opened = false;
|
|
3297
3370
|
}
|
|
3298
3371
|
}
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type:
|
|
3302
|
-
type: Component,
|
|
3303
|
-
args: [{ selector: 'anatoly-card-header', template: "<div class='card-header {{class}}'>\r\n <h3 *ngIf='isTitleVisible' class='card-title'>{{titleValue}}</h3>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
3304
|
-
}], propDecorators: { class: [{
|
|
3305
|
-
type: Input
|
|
3306
|
-
}], title: [{
|
|
3307
|
-
type: Input
|
|
3308
|
-
}] } });
|
|
3309
|
-
|
|
3310
|
-
/*
|
|
3311
|
-
<file>
|
|
3312
|
-
Project:
|
|
3313
|
-
@osovitny/anatoly
|
|
3314
|
-
|
|
3315
|
-
Authors:
|
|
3316
|
-
Vadim Osovitny
|
|
3317
|
-
Anatoly Osovitny
|
|
3318
|
-
|
|
3319
|
-
Created:
|
|
3320
|
-
29 July 2022
|
|
3321
|
-
|
|
3322
|
-
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3323
|
-
</file>
|
|
3324
|
-
*/
|
|
3325
|
-
class CardBodyComponent {
|
|
3326
|
-
}
|
|
3327
|
-
CardBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3328
|
-
CardBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardBodyComponent, selector: "anatoly-card-body", inputs: { class: "class", styles: "styles" }, ngImport: i0, template: "<div class='card-body {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" });
|
|
3329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardBodyComponent, decorators: [{
|
|
3330
|
-
type: Component,
|
|
3331
|
-
args: [{ selector: 'anatoly-card-body', template: "<div class='card-body {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
3332
|
-
}], propDecorators: { class: [{
|
|
3333
|
-
type: Input
|
|
3334
|
-
}], styles: [{
|
|
3335
|
-
type: Input
|
|
3336
|
-
}] } });
|
|
3337
|
-
|
|
3338
|
-
/*
|
|
3339
|
-
<file>
|
|
3340
|
-
Project:
|
|
3341
|
-
@osovitny/anatoly
|
|
3342
|
-
|
|
3343
|
-
Authors:
|
|
3344
|
-
Vadim Osovitny
|
|
3345
|
-
Anatoly Osovitny
|
|
3346
|
-
|
|
3347
|
-
Created:
|
|
3348
|
-
29 July 2022
|
|
3349
|
-
|
|
3350
|
-
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3351
|
-
</file>
|
|
3352
|
-
*/
|
|
3353
|
-
class CardFooterComponent {
|
|
3354
|
-
}
|
|
3355
|
-
CardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3356
|
-
CardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardFooterComponent, selector: "anatoly-card-footer", inputs: { class: "class" }, ngImport: i0, template: "<div class='card-footer {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" });
|
|
3357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardFooterComponent, decorators: [{
|
|
3372
|
+
BaseDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3373
|
+
BaseDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseDialog, selector: "ng-component", inputs: { opened: "opened" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
3374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, decorators: [{
|
|
3358
3375
|
type: Component,
|
|
3359
|
-
args: [{
|
|
3360
|
-
|
|
3376
|
+
args: [{
|
|
3377
|
+
template: ''
|
|
3378
|
+
}]
|
|
3379
|
+
}], ctorParameters: function () { return []; }, propDecorators: { opened: [{
|
|
3361
3380
|
type: Input
|
|
3362
3381
|
}] } });
|
|
3363
3382
|
|
|
@@ -4231,23 +4250,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
4231
4250
|
const FroalaEditorModuleWithProviders = FroalaEditorModule.forRoot();
|
|
4232
4251
|
const FroalaViewModuleWithProviders = FroalaViewModule.forRoot();
|
|
4233
4252
|
const COMPONENTS = [
|
|
4253
|
+
//billing
|
|
4234
4254
|
BuyAccessButtonComponent,
|
|
4235
4255
|
SubscribePlanButtonComponent,
|
|
4236
|
-
SignInButtonComponent,
|
|
4237
|
-
SignUpButtonComponent,
|
|
4238
|
-
SignOutButtonComponent,
|
|
4239
|
-
NodataComponent,
|
|
4240
|
-
//Spinners
|
|
4241
|
-
PageSpinnerComponent,
|
|
4242
|
-
LoadingComponent,
|
|
4243
4256
|
//Cards
|
|
4244
4257
|
CardComponent,
|
|
4245
4258
|
CardHeaderComponent,
|
|
4246
4259
|
CardBodyComponent,
|
|
4247
4260
|
CardFooterComponent,
|
|
4261
|
+
//Check
|
|
4262
|
+
CheckIconComponent,
|
|
4248
4263
|
//HtmlEditor
|
|
4249
4264
|
HtmlEditorComponent,
|
|
4250
4265
|
FormsHtmlEditorComponent,
|
|
4266
|
+
//identity
|
|
4267
|
+
SignInButtonComponent,
|
|
4268
|
+
SignUpButtonComponent,
|
|
4269
|
+
SignOutButtonComponent,
|
|
4270
|
+
///
|
|
4271
|
+
NodataComponent,
|
|
4272
|
+
//Spinners
|
|
4273
|
+
PageSpinnerComponent,
|
|
4274
|
+
LoadingComponent,
|
|
4251
4275
|
//Directives
|
|
4252
4276
|
NativeElementDirective,
|
|
4253
4277
|
//Forms
|
|
@@ -4269,23 +4293,29 @@ const COMPONENTS = [
|
|
|
4269
4293
|
class AnatolyUIModule {
|
|
4270
4294
|
}
|
|
4271
4295
|
AnatolyUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4272
|
-
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, declarations: [
|
|
4296
|
+
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, declarations: [
|
|
4297
|
+
//billing
|
|
4298
|
+
BuyAccessButtonComponent,
|
|
4273
4299
|
SubscribePlanButtonComponent,
|
|
4274
|
-
SignInButtonComponent,
|
|
4275
|
-
SignUpButtonComponent,
|
|
4276
|
-
SignOutButtonComponent,
|
|
4277
|
-
NodataComponent,
|
|
4278
|
-
//Spinners
|
|
4279
|
-
PageSpinnerComponent,
|
|
4280
|
-
LoadingComponent,
|
|
4281
4300
|
//Cards
|
|
4282
4301
|
CardComponent,
|
|
4283
4302
|
CardHeaderComponent,
|
|
4284
4303
|
CardBodyComponent,
|
|
4285
4304
|
CardFooterComponent,
|
|
4305
|
+
//Check
|
|
4306
|
+
CheckIconComponent,
|
|
4286
4307
|
//HtmlEditor
|
|
4287
4308
|
HtmlEditorComponent,
|
|
4288
4309
|
FormsHtmlEditorComponent,
|
|
4310
|
+
//identity
|
|
4311
|
+
SignInButtonComponent,
|
|
4312
|
+
SignUpButtonComponent,
|
|
4313
|
+
SignOutButtonComponent,
|
|
4314
|
+
///
|
|
4315
|
+
NodataComponent,
|
|
4316
|
+
//Spinners
|
|
4317
|
+
PageSpinnerComponent,
|
|
4318
|
+
LoadingComponent,
|
|
4289
4319
|
//Directives
|
|
4290
4320
|
NativeElementDirective,
|
|
4291
4321
|
//Forms
|
|
@@ -4302,28 +4332,35 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
4302
4332
|
FileSizePipe,
|
|
4303
4333
|
//Validation
|
|
4304
4334
|
FormValidationSummaryComponent,
|
|
4305
|
-
ItemValidationSummaryComponent
|
|
4335
|
+
ItemValidationSummaryComponent
|
|
4336
|
+
], imports: [DialogsModule,
|
|
4306
4337
|
ButtonsModule,
|
|
4307
4338
|
CommonModule,
|
|
4308
4339
|
ReactiveFormsModule,
|
|
4309
4340
|
FormsModule,
|
|
4310
|
-
NgxCaptchaModule, i1$7.FroalaEditorModule, i1$7.FroalaViewModule], exports: [
|
|
4341
|
+
NgxCaptchaModule, i1$7.FroalaEditorModule, i1$7.FroalaViewModule], exports: [
|
|
4342
|
+
//billing
|
|
4343
|
+
BuyAccessButtonComponent,
|
|
4311
4344
|
SubscribePlanButtonComponent,
|
|
4312
|
-
SignInButtonComponent,
|
|
4313
|
-
SignUpButtonComponent,
|
|
4314
|
-
SignOutButtonComponent,
|
|
4315
|
-
NodataComponent,
|
|
4316
|
-
//Spinners
|
|
4317
|
-
PageSpinnerComponent,
|
|
4318
|
-
LoadingComponent,
|
|
4319
4345
|
//Cards
|
|
4320
4346
|
CardComponent,
|
|
4321
4347
|
CardHeaderComponent,
|
|
4322
4348
|
CardBodyComponent,
|
|
4323
4349
|
CardFooterComponent,
|
|
4350
|
+
//Check
|
|
4351
|
+
CheckIconComponent,
|
|
4324
4352
|
//HtmlEditor
|
|
4325
4353
|
HtmlEditorComponent,
|
|
4326
4354
|
FormsHtmlEditorComponent,
|
|
4355
|
+
//identity
|
|
4356
|
+
SignInButtonComponent,
|
|
4357
|
+
SignUpButtonComponent,
|
|
4358
|
+
SignOutButtonComponent,
|
|
4359
|
+
///
|
|
4360
|
+
NodataComponent,
|
|
4361
|
+
//Spinners
|
|
4362
|
+
PageSpinnerComponent,
|
|
4363
|
+
LoadingComponent,
|
|
4327
4364
|
//Directives
|
|
4328
4365
|
NativeElementDirective,
|
|
4329
4366
|
//Forms
|
|
@@ -4340,7 +4377,8 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
4340
4377
|
FileSizePipe,
|
|
4341
4378
|
//Validation
|
|
4342
4379
|
FormValidationSummaryComponent,
|
|
4343
|
-
ItemValidationSummaryComponent
|
|
4380
|
+
ItemValidationSummaryComponent
|
|
4381
|
+
] });
|
|
4344
4382
|
AnatolyUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, imports: [DialogsModule,
|
|
4345
4383
|
ButtonsModule,
|
|
4346
4384
|
CommonModule,
|
|
@@ -4379,5 +4417,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
4379
4417
|
* Generated bundle index. Do not edit.
|
|
4380
4418
|
*/
|
|
4381
4419
|
|
|
4382
|
-
export { AddressComponent, Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CompanyComponent, ContactUsDialog, ContactUsForm,
|
|
4420
|
+
export { AddressComponent, Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, CompanyComponent, ContactUsDialog, ContactUsForm, Convert, CoreApiService, DOM, DefaultEditorOptions, DigitalMarketingService, EmailsApiService, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, FroalaEditorModuleWithProviders, FroalaViewModuleWithProviders, GlobalErrorHandler, GoogleAnalyticsService, Guid, HtmlEditorComponent, IdleService, InjectorInstance, ItemValidationSummaryComponent, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, NativeElementDirective, NodataComponent, NotificationService, NotificationsApiService, PageSpinnerComponent, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TranslateModuleAtRoot, UrlSlugComponent, Urls, Utils, ValidationSummaryComponent, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
|
|
4383
4421
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|