@natec/mef-dev-ui-kit 15.1.2 → 15.1.3
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/markup-kit/modals/fill/fill.component.mjs +49 -26
- package/esm2020/lib/markup-kit/modals/right-filter/right-filter.component.mjs +1 -1
- package/esm2020/lib/markup-kit/modals/slide-right/slide-right.component.mjs +53 -29
- package/esm2020/lib/markup-kit/modals/slide-up/slide-up.component.mjs +43 -34
- package/fesm2015/natec-mef-dev-ui-kit.mjs +139 -86
- package/fesm2015/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/fesm2020/natec-mef-dev-ui-kit.mjs +139 -84
- package/fesm2020/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/lib/markup-kit/modals/fill/fill.component.d.ts +17 -17
- package/lib/markup-kit/modals/slide-right/slide-right.component.d.ts +21 -20
- package/lib/markup-kit/modals/slide-up/slide-up.component.d.ts +12 -23
- package/package.json +2 -2
- package/src/lib/styles/pg/core.scss +2 -2
|
@@ -10,10 +10,9 @@ import { CdkConnectedOverlay, OverlayModule } from '@angular/cdk/overlay';
|
|
|
10
10
|
import * as i2 from '@angular/forms';
|
|
11
11
|
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
12
12
|
import { TAB, DOWN_ARROW, ENTER } from '@angular/cdk/keycodes';
|
|
13
|
-
import * as i1$2 from 'ngx-bootstrap/modal';
|
|
14
13
|
import { ModalModule } from 'ngx-bootstrap/modal';
|
|
15
14
|
import { auditTime, startWith, map } from 'rxjs/operators';
|
|
16
|
-
import * as i1$
|
|
15
|
+
import * as i1$2 from '@angular/cdk/bidi';
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* Component representing a set of collapsible panels.
|
|
@@ -2205,9 +2204,6 @@ class FillComponent {
|
|
|
2205
2204
|
* Input parameter that determines whether to show the modal window.
|
|
2206
2205
|
*/
|
|
2207
2206
|
set show(val) {
|
|
2208
|
-
if (!this.fadInModal) {
|
|
2209
|
-
return;
|
|
2210
|
-
}
|
|
2211
2207
|
if (val) {
|
|
2212
2208
|
this.showModal();
|
|
2213
2209
|
}
|
|
@@ -2217,56 +2213,80 @@ class FillComponent {
|
|
|
2217
2213
|
}
|
|
2218
2214
|
;
|
|
2219
2215
|
constructor() {
|
|
2216
|
+
this.visible = false;
|
|
2220
2217
|
/**
|
|
2221
|
-
* Event
|
|
2222
|
-
* Emits a boolean value indicating
|
|
2218
|
+
* Event emitted when the modal is change state.
|
|
2219
|
+
* Emits a boolean value indicating if the modal is closed(false), or open(true).
|
|
2223
2220
|
* Example:
|
|
2224
2221
|
* ```
|
|
2225
|
-
* <mefdev-fill-modal (
|
|
2222
|
+
* <mefdev-fill-modal (visibleChange)="onModalClosed($event)"></mefdev-fill-modal>
|
|
2226
2223
|
* ```
|
|
2227
2224
|
*/
|
|
2228
|
-
this.
|
|
2225
|
+
this.visibleChange = new EventEmitter();
|
|
2229
2226
|
}
|
|
2230
2227
|
ngOnInit() {
|
|
2231
2228
|
}
|
|
2232
2229
|
/**
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2230
|
+
* Shows the modal state.
|
|
2231
|
+
* Return a boolean value indicating if the modal is closed(false), or open(true)
|
|
2232
|
+
*/
|
|
2233
|
+
getModalState() {
|
|
2234
|
+
return this.visible;
|
|
2237
2235
|
}
|
|
2238
2236
|
/**
|
|
2239
|
-
|
|
2240
|
-
|
|
2237
|
+
* Shows the modal.
|
|
2238
|
+
* Call this method to open the modal window.
|
|
2239
|
+
*/
|
|
2241
2240
|
showModal() {
|
|
2242
|
-
|
|
2243
|
-
|
|
2241
|
+
this.visible = true;
|
|
2242
|
+
this.visibleChange.emit(this.visible);
|
|
2244
2243
|
}
|
|
2245
2244
|
/**
|
|
2246
|
-
* Hides the modal
|
|
2245
|
+
* Hides the modal.
|
|
2246
|
+
* Call this method to close the modal window.
|
|
2247
2247
|
*/
|
|
2248
2248
|
hideModal() {
|
|
2249
|
-
|
|
2250
|
-
|
|
2249
|
+
this.visible = false;
|
|
2250
|
+
this.visibleChange.emit(this.visible);
|
|
2251
2251
|
}
|
|
2252
2252
|
}
|
|
2253
2253
|
FillComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FillComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2254
|
-
FillComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FillComponent, selector: "mefdev-fill-modal", inputs: { show: "show" }, outputs: {
|
|
2254
|
+
FillComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FillComponent, selector: "mefdev-fill-modal", inputs: { show: "show" }, outputs: { visibleChange: "visibleChange" }, queries: [{ propertyName: "modal_header", first: true, predicate: ["modal_header"], descendants: true }, { propertyName: "modal_footer", first: true, predicate: ["modal_footer"], descendants: true }], viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true }], ngImport: i0, template: "<button *ngIf=\"visible\" (click)=\"hideModal()\" aria-label=\"Close\" class=\"dialog__close-btn\">X</button>\r\n<div [@dialog] *ngIf=\"visible\" class=\"dialog\" #dialog>\r\n\t<div class=\"modal-content\">\r\n <div class=\"modal-header clearfix text-left\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n<div *ngIf=\"visible\" class=\"overlay\" (click)=\"hideModal()\"></div>\r\n", styles: [".overlay{position:fixed;inset:0;background-color:#ffffffd9;z-index:999}.dialog{z-index:1000;position:fixed;right:0;left:0;top:0;margin-left:auto;margin-right:auto;height:100%;min-width:280px;max-width:720px;background-color:#ffffffd9;padding:12px;overflow-y:auto;display:flex;align-items:center}.dialog__close-btn{border:0;background:none;color:#2d2d2d;position:absolute;top:8px;right:8px;font-size:1.2em;z-index:1001}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [
|
|
2255
|
+
trigger('dialog', [
|
|
2256
|
+
transition('void => *', [
|
|
2257
|
+
style({ transform: 'scale3d(.3, .3, .3)' }),
|
|
2258
|
+
animate(100)
|
|
2259
|
+
]),
|
|
2260
|
+
transition('* => void', [
|
|
2261
|
+
animate(100, style({ transform: 'scale3d(.0, .0, .0)' }))
|
|
2262
|
+
])
|
|
2263
|
+
])
|
|
2264
|
+
] });
|
|
2255
2265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FillComponent, decorators: [{
|
|
2256
2266
|
type: Component,
|
|
2257
|
-
args: [{ selector: 'mefdev-fill-modal',
|
|
2258
|
-
|
|
2267
|
+
args: [{ selector: 'mefdev-fill-modal', animations: [
|
|
2268
|
+
trigger('dialog', [
|
|
2269
|
+
transition('void => *', [
|
|
2270
|
+
style({ transform: 'scale3d(.3, .3, .3)' }),
|
|
2271
|
+
animate(100)
|
|
2272
|
+
]),
|
|
2273
|
+
transition('* => void', [
|
|
2274
|
+
animate(100, style({ transform: 'scale3d(.0, .0, .0)' }))
|
|
2275
|
+
])
|
|
2276
|
+
])
|
|
2277
|
+
], template: "<button *ngIf=\"visible\" (click)=\"hideModal()\" aria-label=\"Close\" class=\"dialog__close-btn\">X</button>\r\n<div [@dialog] *ngIf=\"visible\" class=\"dialog\" #dialog>\r\n\t<div class=\"modal-content\">\r\n <div class=\"modal-header clearfix text-left\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n<div *ngIf=\"visible\" class=\"overlay\" (click)=\"hideModal()\"></div>\r\n", styles: [".overlay{position:fixed;inset:0;background-color:#ffffffd9;z-index:999}.dialog{z-index:1000;position:fixed;right:0;left:0;top:0;margin-left:auto;margin-right:auto;height:100%;min-width:280px;max-width:720px;background-color:#ffffffd9;padding:12px;overflow-y:auto;display:flex;align-items:center}.dialog__close-btn{border:0;background:none;color:#2d2d2d;position:absolute;top:8px;right:8px;font-size:1.2em;z-index:1001}\n"] }]
|
|
2278
|
+
}], ctorParameters: function () { return []; }, propDecorators: { dialog: [{
|
|
2279
|
+
type: ViewChild,
|
|
2280
|
+
args: ['dialog', { static: false }]
|
|
2281
|
+
}], modal_header: [{
|
|
2259
2282
|
type: ContentChild,
|
|
2260
2283
|
args: ["modal_header"]
|
|
2261
2284
|
}], modal_footer: [{
|
|
2262
2285
|
type: ContentChild,
|
|
2263
2286
|
args: ["modal_footer"]
|
|
2264
|
-
}], fadInModal: [{
|
|
2265
|
-
type: ViewChild,
|
|
2266
|
-
args: ['fadInModal', { static: false }]
|
|
2267
2287
|
}], show: [{
|
|
2268
2288
|
type: Input
|
|
2269
|
-
}],
|
|
2289
|
+
}], visibleChange: [{
|
|
2270
2290
|
type: Output
|
|
2271
2291
|
}] } });
|
|
2272
2292
|
|
|
@@ -2296,9 +2316,6 @@ class SlideUpComponent {
|
|
|
2296
2316
|
* Set it to `true` to show the modal and `false` to hide it.
|
|
2297
2317
|
*/
|
|
2298
2318
|
set show(val) {
|
|
2299
|
-
if (!this.mdSlideUp) {
|
|
2300
|
-
return;
|
|
2301
|
-
}
|
|
2302
2319
|
if (val) {
|
|
2303
2320
|
this.showModal();
|
|
2304
2321
|
}
|
|
@@ -2308,61 +2325,73 @@ class SlideUpComponent {
|
|
|
2308
2325
|
}
|
|
2309
2326
|
;
|
|
2310
2327
|
constructor() {
|
|
2328
|
+
this.visible = false;
|
|
2311
2329
|
/**
|
|
2312
|
-
*
|
|
2313
|
-
*
|
|
2314
|
-
* Possible values: `ModalSize.sm`, `ModalSize.md`, `ModalSize.lg`, `ModalSize.xl`.
|
|
2315
|
-
*/
|
|
2316
|
-
this.size = "md" /* ModalSize.md */;
|
|
2317
|
-
/**
|
|
2318
|
-
* Event emitted when the modal is closed.
|
|
2319
|
-
* Emits a boolean value indicating if the modal is closed.
|
|
2330
|
+
* Event emitted when the modal is change state.
|
|
2331
|
+
* Emits a boolean value indicating if the modal is closed(false), or open(true).
|
|
2320
2332
|
*/
|
|
2321
|
-
this.
|
|
2333
|
+
this.visibleChange = new EventEmitter();
|
|
2322
2334
|
}
|
|
2323
2335
|
ngOnInit() {
|
|
2324
2336
|
}
|
|
2325
2337
|
/**
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
this.
|
|
2338
|
+
* Shows the modal state.
|
|
2339
|
+
* Return a boolean value indicating if the modal is closed(false), or open(true)
|
|
2340
|
+
*/
|
|
2341
|
+
getModalState() {
|
|
2342
|
+
return this.visible;
|
|
2331
2343
|
}
|
|
2332
2344
|
/**
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2345
|
+
* Shows the modal.
|
|
2346
|
+
* Call this method to open the modal window.
|
|
2347
|
+
*/
|
|
2336
2348
|
showModal() {
|
|
2337
|
-
this.
|
|
2349
|
+
this.visible = true;
|
|
2350
|
+
this.visibleChange.emit(this.visible);
|
|
2338
2351
|
}
|
|
2339
2352
|
/**
|
|
2340
2353
|
* Hides the modal.
|
|
2341
2354
|
* Call this method to close the modal window.
|
|
2342
2355
|
*/
|
|
2343
2356
|
hideModal() {
|
|
2344
|
-
this.
|
|
2357
|
+
this.visible = false;
|
|
2358
|
+
this.visibleChange.emit(this.visible);
|
|
2345
2359
|
}
|
|
2346
2360
|
}
|
|
2347
2361
|
SlideUpComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SlideUpComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2348
|
-
SlideUpComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SlideUpComponent, selector: "mefdev-slide-up-modal", inputs: {
|
|
2362
|
+
SlideUpComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SlideUpComponent, selector: "mefdev-slide-up-modal", inputs: { show: "show" }, outputs: { visibleChange: "visibleChange" }, queries: [{ propertyName: "modal_header", first: true, predicate: ["modal_header"], descendants: true }, { propertyName: "modal_footer", first: true, predicate: ["modal_footer"], descendants: true }], ngImport: i0, template: "<div [@dialog] *ngIf=\"visible\" class=\"dialog\">\r\n\t<button (click)=\"hideModal()\" aria-label=\"Close\" class=\"dialog__close-btn\">X</button>\r\n\t<div class=\"modal-content\">\r\n <div class=\"modal-header clearfix text-left\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n<div *ngIf=\"visible\" class=\"overlay\" (click)=\"hideModal()\"></div>\r\n", styles: [".overlay{position:fixed;inset:0;background-color:#00000080;z-index:999}.dialog{z-index:1000;position:fixed;right:0;left:0;top:40px;margin:auto;min-height:200px;width:90%;max-width:520px;background-color:#fff;padding:12px;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.dialog__close-btn{border:0;background:none;color:#2d2d2d;position:absolute;top:8px;right:8px;font-size:1.2em}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [
|
|
2363
|
+
trigger('dialog', [
|
|
2364
|
+
transition('void => *', [
|
|
2365
|
+
style({ transform: 'scale3d(.3, .3, .3)' }),
|
|
2366
|
+
animate(100)
|
|
2367
|
+
]),
|
|
2368
|
+
transition('* => void', [
|
|
2369
|
+
animate(100, style({ transform: 'scale3d(.0, .0, .0)' }))
|
|
2370
|
+
])
|
|
2371
|
+
])
|
|
2372
|
+
] });
|
|
2349
2373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SlideUpComponent, decorators: [{
|
|
2350
2374
|
type: Component,
|
|
2351
|
-
args: [{ selector: 'mefdev-slide-up-modal',
|
|
2375
|
+
args: [{ selector: 'mefdev-slide-up-modal', animations: [
|
|
2376
|
+
trigger('dialog', [
|
|
2377
|
+
transition('void => *', [
|
|
2378
|
+
style({ transform: 'scale3d(.3, .3, .3)' }),
|
|
2379
|
+
animate(100)
|
|
2380
|
+
]),
|
|
2381
|
+
transition('* => void', [
|
|
2382
|
+
animate(100, style({ transform: 'scale3d(.0, .0, .0)' }))
|
|
2383
|
+
])
|
|
2384
|
+
])
|
|
2385
|
+
], template: "<div [@dialog] *ngIf=\"visible\" class=\"dialog\">\r\n\t<button (click)=\"hideModal()\" aria-label=\"Close\" class=\"dialog__close-btn\">X</button>\r\n\t<div class=\"modal-content\">\r\n <div class=\"modal-header clearfix text-left\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n<div *ngIf=\"visible\" class=\"overlay\" (click)=\"hideModal()\"></div>\r\n", styles: [".overlay{position:fixed;inset:0;background-color:#00000080;z-index:999}.dialog{z-index:1000;position:fixed;right:0;left:0;top:40px;margin:auto;min-height:200px;width:90%;max-width:520px;background-color:#fff;padding:12px;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.dialog__close-btn{border:0;background:none;color:#2d2d2d;position:absolute;top:8px;right:8px;font-size:1.2em}\n"] }]
|
|
2352
2386
|
}], ctorParameters: function () { return []; }, propDecorators: { modal_header: [{
|
|
2353
2387
|
type: ContentChild,
|
|
2354
2388
|
args: ["modal_header"]
|
|
2355
2389
|
}], modal_footer: [{
|
|
2356
2390
|
type: ContentChild,
|
|
2357
2391
|
args: ["modal_footer"]
|
|
2358
|
-
}], mdSlideUp: [{
|
|
2359
|
-
type: ViewChild,
|
|
2360
|
-
args: ['mdSlideUp', { static: false }]
|
|
2361
|
-
}], size: [{
|
|
2362
|
-
type: Input
|
|
2363
2392
|
}], show: [{
|
|
2364
2393
|
type: Input
|
|
2365
|
-
}],
|
|
2394
|
+
}], visibleChange: [{
|
|
2366
2395
|
type: Output
|
|
2367
2396
|
}] } });
|
|
2368
2397
|
|
|
@@ -2392,9 +2421,6 @@ class SlideRightComponent {
|
|
|
2392
2421
|
* Set it to `true` to show the modal and `false` to hide it.
|
|
2393
2422
|
*/
|
|
2394
2423
|
set show(val) {
|
|
2395
|
-
if (!this.slideRight) {
|
|
2396
|
-
return;
|
|
2397
|
-
}
|
|
2398
2424
|
if (val) {
|
|
2399
2425
|
this.showModal();
|
|
2400
2426
|
}
|
|
@@ -2404,6 +2430,7 @@ class SlideRightComponent {
|
|
|
2404
2430
|
}
|
|
2405
2431
|
;
|
|
2406
2432
|
constructor() {
|
|
2433
|
+
this.visible = false;
|
|
2407
2434
|
/**
|
|
2408
2435
|
* Size of the modal.
|
|
2409
2436
|
* Defaults to `ModalSize.md`.
|
|
@@ -2411,54 +2438,80 @@ class SlideRightComponent {
|
|
|
2411
2438
|
*/
|
|
2412
2439
|
this.size = "md" /* ModalSize.md */;
|
|
2413
2440
|
/**
|
|
2414
|
-
* Event emitted when the modal is
|
|
2415
|
-
* Emits a boolean value indicating if the modal is closed.
|
|
2441
|
+
* Event emitted when the modal is change state.
|
|
2442
|
+
* Emits a boolean value indicating if the modal is closed(false), or open(true).
|
|
2443
|
+
* Example:
|
|
2444
|
+
* ```
|
|
2445
|
+
* <mefdev-fill-modal (visibleChange)="onModalClosed($event)"></mefdev-fill-modal>
|
|
2446
|
+
* ```
|
|
2416
2447
|
*/
|
|
2417
|
-
this.
|
|
2448
|
+
this.visibleChange = new EventEmitter();
|
|
2418
2449
|
}
|
|
2419
2450
|
ngOnInit() {
|
|
2420
2451
|
}
|
|
2421
2452
|
/**
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
this.
|
|
2453
|
+
* Shows the modal state.
|
|
2454
|
+
* Return a boolean value indicating if the modal is closed(false), or open(true)
|
|
2455
|
+
*/
|
|
2456
|
+
getModalState() {
|
|
2457
|
+
return this.visible;
|
|
2427
2458
|
}
|
|
2428
2459
|
/**
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2460
|
+
* Shows the modal.
|
|
2461
|
+
* Call this method to open the modal window.
|
|
2462
|
+
*/
|
|
2432
2463
|
showModal() {
|
|
2433
|
-
this.
|
|
2464
|
+
this.visible = true;
|
|
2465
|
+
this.visibleChange.emit(this.visible);
|
|
2434
2466
|
}
|
|
2435
2467
|
/**
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2468
|
+
* Hides the modal.
|
|
2469
|
+
* Call this method to close the modal window.
|
|
2470
|
+
*/
|
|
2439
2471
|
hideModal() {
|
|
2440
|
-
this.
|
|
2472
|
+
this.visible = false;
|
|
2473
|
+
this.visibleChange.emit(this.visible);
|
|
2441
2474
|
}
|
|
2442
2475
|
}
|
|
2443
2476
|
SlideRightComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SlideRightComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2444
|
-
SlideRightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SlideRightComponent, selector: "mefdev-slide-right-modal", inputs: { size: "size", show: "show" }, outputs: {
|
|
2477
|
+
SlideRightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SlideRightComponent, selector: "mefdev-slide-right-modal", inputs: { size: "size", show: "show" }, outputs: { visibleChange: "visibleChange" }, queries: [{ propertyName: "modal_header", first: true, predicate: ["modal_header"], descendants: true }, { propertyName: "modal_footer", first: true, predicate: ["modal_footer"], descendants: true }], viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true }], ngImport: i0, template: "<button *ngIf=\"visible\" (click)=\"hideModal()\" aria-label=\"Close\" class=\"dialog__close-btn\">X</button>\r\n<div [@dialog] *ngIf=\"visible\" class=\"dialog\" #dialog>\r\n\r\n <div *ngIf=\"modal_header\" class=\"header\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div *ngIf=\"modal_footer\" class=\"footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n</div>\r\n\r\n<div *ngIf=\"visible\" class=\"overlay\" (click)=\"hideModal()\"></div>\r\n", styles: [".overlay{position:fixed;inset:0;background-color:#0003;z-index:999}.dialog{z-index:1000;position:fixed;right:0;top:0;height:100%;width:500px;background-color:#fff;padding:16px;overflow-y:auto}@media (max-width: 768px){.dialog{width:300px}}.dialog__close-btn{border:0;background:none;color:#2d2d2d;position:absolute;top:8px;right:8px;font-size:1.2em;z-index:1001}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [
|
|
2478
|
+
trigger('dialog', [
|
|
2479
|
+
transition('void => *', [
|
|
2480
|
+
style({ transform: 'translate3d(100%,0,0)' }),
|
|
2481
|
+
animate(100)
|
|
2482
|
+
]),
|
|
2483
|
+
transition('* => void', [
|
|
2484
|
+
animate(100, style({ transform: 'translate3d(100%, 0, 0)' }))
|
|
2485
|
+
])
|
|
2486
|
+
])
|
|
2487
|
+
] });
|
|
2445
2488
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SlideRightComponent, decorators: [{
|
|
2446
2489
|
type: Component,
|
|
2447
|
-
args: [{ selector: 'mefdev-slide-right-modal',
|
|
2448
|
-
|
|
2490
|
+
args: [{ selector: 'mefdev-slide-right-modal', animations: [
|
|
2491
|
+
trigger('dialog', [
|
|
2492
|
+
transition('void => *', [
|
|
2493
|
+
style({ transform: 'translate3d(100%,0,0)' }),
|
|
2494
|
+
animate(100)
|
|
2495
|
+
]),
|
|
2496
|
+
transition('* => void', [
|
|
2497
|
+
animate(100, style({ transform: 'translate3d(100%, 0, 0)' }))
|
|
2498
|
+
])
|
|
2499
|
+
])
|
|
2500
|
+
], template: "<button *ngIf=\"visible\" (click)=\"hideModal()\" aria-label=\"Close\" class=\"dialog__close-btn\">X</button>\r\n<div [@dialog] *ngIf=\"visible\" class=\"dialog\" #dialog>\r\n\r\n <div *ngIf=\"modal_header\" class=\"header\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div *ngIf=\"modal_footer\" class=\"footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n</div>\r\n\r\n<div *ngIf=\"visible\" class=\"overlay\" (click)=\"hideModal()\"></div>\r\n", styles: [".overlay{position:fixed;inset:0;background-color:#0003;z-index:999}.dialog{z-index:1000;position:fixed;right:0;top:0;height:100%;width:500px;background-color:#fff;padding:16px;overflow-y:auto}@media (max-width: 768px){.dialog{width:300px}}.dialog__close-btn{border:0;background:none;color:#2d2d2d;position:absolute;top:8px;right:8px;font-size:1.2em;z-index:1001}\n"] }]
|
|
2501
|
+
}], ctorParameters: function () { return []; }, propDecorators: { dialog: [{
|
|
2502
|
+
type: ViewChild,
|
|
2503
|
+
args: ['dialog']
|
|
2504
|
+
}], modal_header: [{
|
|
2449
2505
|
type: ContentChild,
|
|
2450
2506
|
args: ["modal_header"]
|
|
2451
2507
|
}], modal_footer: [{
|
|
2452
2508
|
type: ContentChild,
|
|
2453
2509
|
args: ["modal_footer"]
|
|
2454
|
-
}], slideRight: [{
|
|
2455
|
-
type: ViewChild,
|
|
2456
|
-
args: ['slideRight', { static: false }]
|
|
2457
2510
|
}], size: [{
|
|
2458
2511
|
type: Input
|
|
2459
2512
|
}], show: [{
|
|
2460
2513
|
type: Input
|
|
2461
|
-
}],
|
|
2514
|
+
}], visibleChange: [{
|
|
2462
2515
|
type: Output
|
|
2463
2516
|
}] } });
|
|
2464
2517
|
|
|
@@ -2495,7 +2548,7 @@ class RightFilterComponent {
|
|
|
2495
2548
|
}
|
|
2496
2549
|
}
|
|
2497
2550
|
RightFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RightFilterComponent, deps: [{ token: FilteredFieldService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2498
|
-
RightFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: RightFilterComponent, selector: "mefdev-right-filter", ngImport: i0, template: "<div class=\"filter-btn\">\r\n <button class=\"btn btn-secondary text-danger\" (click)=\"openModal()\"><i class=\"fa fa-filter\" aria-hidden=\"true\"></i></button>\r\n</div>\r\n\r\n<mefdev-slide-right-modal [show]=\"isOpen\" (isClouse)=\"modalIsCloused()\">\r\n <ng-content></ng-content>\r\n</mefdev-slide-right-modal>", styles: [".filter-btn{position:fixed;top:60px;z-index:450;right:25px}\n"], dependencies: [{ kind: "component", type: SlideRightComponent, selector: "mefdev-slide-right-modal", inputs: ["size", "show"], outputs: ["
|
|
2551
|
+
RightFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: RightFilterComponent, selector: "mefdev-right-filter", ngImport: i0, template: "<div class=\"filter-btn\">\r\n <button class=\"btn btn-secondary text-danger\" (click)=\"openModal()\"><i class=\"fa fa-filter\" aria-hidden=\"true\"></i></button>\r\n</div>\r\n\r\n<mefdev-slide-right-modal [show]=\"isOpen\" (isClouse)=\"modalIsCloused()\">\r\n <ng-content></ng-content>\r\n</mefdev-slide-right-modal>", styles: [".filter-btn{position:fixed;top:60px;z-index:450;right:25px}\n"], dependencies: [{ kind: "component", type: SlideRightComponent, selector: "mefdev-slide-right-modal", inputs: ["size", "show"], outputs: ["visibleChange"] }] });
|
|
2499
2552
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RightFilterComponent, decorators: [{
|
|
2500
2553
|
type: Component,
|
|
2501
2554
|
args: [{ selector: 'mefdev-right-filter', template: "<div class=\"filter-btn\">\r\n <button class=\"btn btn-secondary text-danger\" (click)=\"openModal()\"><i class=\"fa fa-filter\" aria-hidden=\"true\"></i></button>\r\n</div>\r\n\r\n<mefdev-slide-right-modal [show]=\"isOpen\" (isClouse)=\"modalIsCloused()\">\r\n <ng-content></ng-content>\r\n</mefdev-slide-right-modal>", styles: [".filter-btn{position:fixed;top:60px;z-index:450;right:25px}\n"] }]
|
|
@@ -3553,13 +3606,13 @@ class MefDevTabsNavComponent {
|
|
|
3553
3606
|
}
|
|
3554
3607
|
}
|
|
3555
3608
|
}
|
|
3556
|
-
MefDevTabsNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MefDevTabsNavComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1$
|
|
3609
|
+
MefDevTabsNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MefDevTabsNavComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1$2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3557
3610
|
MefDevTabsNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MefDevTabsNavComponent, selector: "mefdev-tabs-nav", inputs: { Size: "Size", Animated: "Animated", Position: "Position", HideBar: "HideBar", Type: "Type", ShowPagination: "ShowPagination", PositionMode: "PositionMode", selectedIndex: "selectedIndex" }, queries: [{ propertyName: "_tabBarExtraContent", first: true, predicate: ["tabBarExtraContent"], descendants: true, static: true }, { propertyName: "_labelWrappers", predicate: MefDevTabLabelDirective }], viewQueries: [{ propertyName: "_inkBar", first: true, predicate: MefDevTabsInkBarDirective, descendants: true, static: true }, { propertyName: "_tabListContainer", first: true, predicate: ["tabListContainer"], descendants: true, static: true }, { propertyName: "_tabList", first: true, predicate: ["tabList"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nav-tabs-wrapper\" [class.scrolling]=\"_showPaginationControls\" #tabListContainer>\r\n <div class=\"nav-wrap\">\r\n <ul\r\n class=\"nav nav-tabs nav-tabs-{{ _type }} nav-tabs-{{ _tabPosition }}\"\r\n [class.tabs-nav-animated]=\"Animated\"\r\n #tabList\r\n (cdkObserveContent)=\"_onContentChanges()\"\r\n >\r\n <div\r\n class=\"active-bar\"\r\n pg-tabs-ink-bar\r\n [hidden]=\"HideBar\"\r\n [Animated]=\"Animated\"\r\n [PositionMode]=\"PositionMode\"\r\n style=\"display: block;\"\r\n ></div>\r\n <ng-content></ng-content>\r\n </ul>\r\n </div>\r\n </div>", dependencies: [{ kind: "directive", type: MefDevTabsInkBarDirective, selector: "[pg-tabs-ink-bar]", inputs: ["Animated", "PositionMode"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3558
3611
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MefDevTabsNavComponent, decorators: [{
|
|
3559
3612
|
type: Component,
|
|
3560
3613
|
args: [{ selector: 'mefdev-tabs-nav', encapsulation: ViewEncapsulation.None, template: "<div class=\"nav-tabs-wrapper\" [class.scrolling]=\"_showPaginationControls\" #tabListContainer>\r\n <div class=\"nav-wrap\">\r\n <ul\r\n class=\"nav nav-tabs nav-tabs-{{ _type }} nav-tabs-{{ _tabPosition }}\"\r\n [class.tabs-nav-animated]=\"Animated\"\r\n #tabList\r\n (cdkObserveContent)=\"_onContentChanges()\"\r\n >\r\n <div\r\n class=\"active-bar\"\r\n pg-tabs-ink-bar\r\n [hidden]=\"HideBar\"\r\n [Animated]=\"Animated\"\r\n [PositionMode]=\"PositionMode\"\r\n style=\"display: block;\"\r\n ></div>\r\n <ng-content></ng-content>\r\n </ul>\r\n </div>\r\n </div>" }]
|
|
3561
3614
|
}], ctorParameters: function () {
|
|
3562
|
-
return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1$
|
|
3615
|
+
return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1$2.Directionality, decorators: [{
|
|
3563
3616
|
type: Optional
|
|
3564
3617
|
}] }];
|
|
3565
3618
|
}, propDecorators: { Size: [{
|