ngx-smz-ui 3.7.3 → 3.8.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.
- package/bundles/ngx-smz-ui.umd.js +136 -23
- package/bundles/ngx-smz-ui.umd.js.map +1 -1
- package/esm2015/lib/builders/smz-dialogs/dialog-builder.js +11 -2
- package/esm2015/lib/modules/smz-dialogs/dynamicdialog/dynamicdialog-config.js +1 -1
- package/esm2015/lib/modules/smz-dialogs/dynamicdialog/dynamicdialog.js +29 -9
- package/esm2015/lib/modules/smz-dialogs/models/smz-dialogs.js +1 -1
- package/esm2015/lib/modules/smz-dialogs/services/smz-dialogs.service.js +4 -1
- package/esm2015/lib/modules/smz-dock/features/dock/smz-dock.component.js +32 -0
- package/esm2015/lib/modules/smz-dock/public-api.js +4 -0
- package/esm2015/lib/modules/smz-dock/services/smz-dock.service.js +31 -0
- package/esm2015/lib/modules/smz-dock/smz-dock.module.js +27 -0
- package/esm2015/lib/modules/smz-layouts/core/globals/smz-layouts.config.js +1 -1
- package/esm2015/lib/modules/smz-layouts/features/outlet/outlet.component.js +5 -4
- package/esm2015/lib/modules/smz-layouts/features/outlet/outlet.module.js +8 -4
- package/esm2015/public-api.js +2 -1
- package/fesm2015/ngx-smz-ui.js +128 -16
- package/fesm2015/ngx-smz-ui.js.map +1 -1
- package/lib/builders/smz-dialogs/dialog-builder.d.ts +2 -0
- package/lib/modules/smz-dialogs/dynamicdialog/dynamicdialog-config.d.ts +3 -0
- package/lib/modules/smz-dialogs/dynamicdialog/dynamicdialog.d.ts +8 -2
- package/lib/modules/smz-dialogs/models/smz-dialogs.d.ts +3 -0
- package/lib/modules/smz-dock/features/dock/smz-dock.component.d.ts +11 -0
- package/lib/modules/smz-dock/public-api.d.ts +3 -0
- package/lib/modules/smz-dock/services/smz-dock.service.d.ts +16 -0
- package/lib/modules/smz-dock/smz-dock.module.d.ts +9 -0
- package/lib/modules/smz-layouts/core/globals/smz-layouts.config.d.ts +1 -0
- package/lib/modules/smz-layouts/features/outlet/outlet.module.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/resources/assets/images/dock/dialog.svg +33 -0
- package/resources/assets/scss/dialogs/dialogs.scss +5 -0
- package/resources/assets/scss/dock/dock.scss +61 -0
- package/resources/assets/scss/smz-dock.scss +1 -0
- package/resources/assets/scss/smz-ui.scss +3 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/flex-layout'), require('primeng/dialog'), require('primeng/toast'), require('primeng/table'), require('primeng/button'), require('primeng/message'), require('primeng/progressspinner'), require('primeng/toolbar'), require('primeng/listbox'), require('rxjs/operators'), require('lodash-es'), require('rxjs'), require('primeng/password'), require('primeng/tooltip'), require('@angular/flex-layout/flex'), require('primeng/inputmask'), require('primeng/inputtext'), require('@ngxs/store'), require('primeng/api'), require('primeng/inputnumber'), require('primeng/inputtextarea'), require('@angular/flex-layout/extended'), require('primeng/overlaypanel'), require('primeng/dropdown'), require('primeng/radiobutton'), require('primeng/inputswitch'), require('primeng/checkbox'), require('primeng/calendar'), require('primeng/messages'), require('@angular/platform-browser'), require('primeng/multiselect'), require('primeng/colorpicker'), require('primeng/fileupload'), require('@angular/common/http'), require('moment'), require('primeng/utils'), require('primeng/dynamicdialog'), require('@angular/animations'), require('primeng/dom'), require('@ngneat/until-destroy'), require('primeng/progressbar'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('ngx-smz-ui', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/flex-layout', 'primeng/dialog', 'primeng/toast', 'primeng/table', 'primeng/button', 'primeng/message', 'primeng/progressspinner', 'primeng/toolbar', 'primeng/listbox', 'rxjs/operators', 'lodash-es', 'rxjs', 'primeng/password', 'primeng/tooltip', '@angular/flex-layout/flex', 'primeng/inputmask', 'primeng/inputtext', '@ngxs/store', 'primeng/api', 'primeng/inputnumber', 'primeng/inputtextarea', '@angular/flex-layout/extended', 'primeng/overlaypanel', 'primeng/dropdown', 'primeng/radiobutton', 'primeng/inputswitch', 'primeng/checkbox', 'primeng/calendar', 'primeng/messages', '@angular/platform-browser', 'primeng/multiselect', 'primeng/colorpicker', 'primeng/fileupload', '@angular/common/http', 'moment', 'primeng/utils', 'primeng/dynamicdialog', '@angular/animations', 'primeng/dom', '@ngneat/until-destroy', 'primeng/progressbar', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["ngx-smz-ui"] = {}, global.ng.core, global.ng.common, global.ng.forms, global.ng.flexLayout, global.dialog, global.toast, global.table, global.button, global.message, global.progressspinner, global.toolbar, global.listbox, global.rxjs.operators, global["lodash-es"], global.rxjs, global.password, global.tooltip, global.ng.flexLayout.flex, global.inputmask, global.inputtext, global.store, global.api, global.inputnumber, global.inputtextarea, global.ng.flexLayout.extended, global.overlaypanel, global.dropdown, global.radiobutton, global.inputswitch, global.checkbox, global.calendar, global.messages, global.ng.platformBrowser, global.multiselect, global.colorpicker, global.fileupload, global.ng.common.http, global.moment, global.utils, global.dynamicdialog, global.ng.animations, global.dom, global["until-destroy"], global.progressbar, global.
|
|
5
|
-
})(this, (function (exports, i0, i1$1, i1, flexLayout, dialog,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/flex-layout'), require('primeng/dialog'), require('primeng/toast'), require('primeng/table'), require('primeng/button'), require('primeng/message'), require('primeng/progressspinner'), require('primeng/toolbar'), require('primeng/listbox'), require('rxjs/operators'), require('lodash-es'), require('rxjs'), require('primeng/password'), require('primeng/tooltip'), require('@angular/flex-layout/flex'), require('primeng/inputmask'), require('primeng/inputtext'), require('@ngxs/store'), require('primeng/api'), require('primeng/inputnumber'), require('primeng/inputtextarea'), require('@angular/flex-layout/extended'), require('primeng/overlaypanel'), require('primeng/dropdown'), require('primeng/radiobutton'), require('primeng/inputswitch'), require('primeng/checkbox'), require('primeng/calendar'), require('primeng/messages'), require('@angular/platform-browser'), require('primeng/multiselect'), require('primeng/colorpicker'), require('primeng/fileupload'), require('@angular/common/http'), require('moment'), require('primeng/utils'), require('primeng/dynamicdialog'), require('@angular/animations'), require('primeng/dom'), require('angular2-uuid'), require('@ngneat/until-destroy'), require('primeng/progressbar'), require('@auth0/angular-jwt'), require('primeng/skeleton'), require('@angular/router'), require('primeng/ripple'), require('jspdf'), require('chart.js/auto'), require('chart.js/helpers'), require('primeng/badge'), require('primeng/selectbutton'), require('ngx-pipes'), require('lodash-es/cloneDeep'), require('primeng/accordion'), require('@ngxs/router-plugin'), require('lodash-es/forIn'), require('lodash-es/startsWith'), require('@angular/platform-browser/animations'), require('@angular/common/locales/pt'), require('primeng/menubar'), require('primeng/dock'), require('primeng/sidebar'), require('primeng/contextmenu'), require('primeng/tree'), require('ngx-device-detector'), require('chart.js')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('ngx-smz-ui', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/flex-layout', 'primeng/dialog', 'primeng/toast', 'primeng/table', 'primeng/button', 'primeng/message', 'primeng/progressspinner', 'primeng/toolbar', 'primeng/listbox', 'rxjs/operators', 'lodash-es', 'rxjs', 'primeng/password', 'primeng/tooltip', '@angular/flex-layout/flex', 'primeng/inputmask', 'primeng/inputtext', '@ngxs/store', 'primeng/api', 'primeng/inputnumber', 'primeng/inputtextarea', '@angular/flex-layout/extended', 'primeng/overlaypanel', 'primeng/dropdown', 'primeng/radiobutton', 'primeng/inputswitch', 'primeng/checkbox', 'primeng/calendar', 'primeng/messages', '@angular/platform-browser', 'primeng/multiselect', 'primeng/colorpicker', 'primeng/fileupload', '@angular/common/http', 'moment', 'primeng/utils', 'primeng/dynamicdialog', '@angular/animations', 'primeng/dom', 'angular2-uuid', '@ngneat/until-destroy', 'primeng/progressbar', '@auth0/angular-jwt', 'primeng/skeleton', '@angular/router', 'primeng/ripple', 'jspdf', 'chart.js/auto', 'chart.js/helpers', 'primeng/badge', 'primeng/selectbutton', 'ngx-pipes', 'lodash-es/cloneDeep', 'primeng/accordion', '@ngxs/router-plugin', 'lodash-es/forIn', 'lodash-es/startsWith', '@angular/platform-browser/animations', '@angular/common/locales/pt', 'primeng/menubar', 'primeng/dock', 'primeng/sidebar', 'primeng/contextmenu', 'primeng/tree', 'ngx-device-detector', 'chart.js'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["ngx-smz-ui"] = {}, global.ng.core, global.ng.common, global.ng.forms, global.ng.flexLayout, global.dialog, global.toast, global.table, global.button, global.message, global.progressspinner, global.toolbar, global.listbox, global.rxjs.operators, global["lodash-es"], global.rxjs, global.password, global.tooltip, global.ng.flexLayout.flex, global.inputmask, global.inputtext, global.store, global.api, global.inputnumber, global.inputtextarea, global.ng.flexLayout.extended, global.overlaypanel, global.dropdown, global.radiobutton, global.inputswitch, global.checkbox, global.calendar, global.messages, global.ng.platformBrowser, global.multiselect, global.colorpicker, global.fileupload, global.ng.common.http, global.moment, global.utils, global.dynamicdialog, global.ng.animations, global.dom, global.angularuuid, global["until-destroy"], global.progressbar, global.angularJwt, global.skeleton, global.ng.router, global.ripple, global.jspdf, global.chartjaauto, global.chartjshelpers, global.badge, global.selectbutton, global.ngxpipes, global.cloneDeep, global.accordion, global["router-plugin"], global.forin, global.startswith, global.ng.platformBrowser.animations, global.ng.common.locales.pt, global.menubar, global.primengdock, global.sidebar, global.contextmenu, global.tree, global.ngxDeviceDetector, global.chartjs));
|
|
5
|
+
})(this, (function (exports, i0, i1$1, i1, flexLayout, dialog, i8$1, i5, i6, message, progressspinner, i8, i3$1, operators, lodashEs, rxjs, i1$3, i1$2, i3, i1$4, i4, i1$5, i1$6, i2, i3$2, i4$1, i2$1, i4$2, i1$7, i1$8, i3$3, i1$9, i1$b, i1$a, i1$c, i1$d, fileupload, i1$e, moment_, utils, i2$2, animations, dom, angular2Uuid, untilDestroy, progressbar, angularJwt, i9, i1$f, i3$4, jspdf, Chart, helpers, i6$1, i4$3, i3$5, cloneDeep, i3$6, routerPlugin, forIn, startsWith, animations$1, localePt, menubar, i2$3, i3$7, i1$g, i2$4, ngxDeviceDetector, chart_js) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
28
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
|
|
29
29
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1);
|
|
30
|
-
var
|
|
30
|
+
var i8__namespace$1 = /*#__PURE__*/_interopNamespace(i8$1);
|
|
31
31
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
32
32
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
33
33
|
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
@@ -67,9 +67,10 @@
|
|
|
67
67
|
var forIn__default = /*#__PURE__*/_interopDefaultLegacy(forIn);
|
|
68
68
|
var startsWith__default = /*#__PURE__*/_interopDefaultLegacy(startsWith);
|
|
69
69
|
var localePt__default = /*#__PURE__*/_interopDefaultLegacy(localePt);
|
|
70
|
+
var i2__namespace$3 = /*#__PURE__*/_interopNamespace(i2$3);
|
|
70
71
|
var i3__namespace$6 = /*#__PURE__*/_interopNamespace(i3$7);
|
|
71
72
|
var i1__namespace$g = /*#__PURE__*/_interopNamespace(i1$g);
|
|
72
|
-
var i2__namespace$
|
|
73
|
+
var i2__namespace$4 = /*#__PURE__*/_interopNamespace(i2$4);
|
|
73
74
|
|
|
74
75
|
/*! *****************************************************************************
|
|
75
76
|
Copyright (c) Microsoft Corporation.
|
|
@@ -5297,6 +5298,35 @@
|
|
|
5297
5298
|
}]
|
|
5298
5299
|
}], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }]; } });
|
|
5299
5300
|
|
|
5301
|
+
var SmzDockService = /** @class */ (function () {
|
|
5302
|
+
function SmzDockService() {
|
|
5303
|
+
this.dockItems = [];
|
|
5304
|
+
}
|
|
5305
|
+
SmzDockService.prototype.appendDialog = function (component) {
|
|
5306
|
+
var config = component.config;
|
|
5307
|
+
console.log(config);
|
|
5308
|
+
var newItem = {
|
|
5309
|
+
id: angular2Uuid.UUID.UUID(),
|
|
5310
|
+
label: config.minimizeLabel,
|
|
5311
|
+
icon: config.minimizeDockImagePath,
|
|
5312
|
+
type: 'dialog',
|
|
5313
|
+
component: component
|
|
5314
|
+
};
|
|
5315
|
+
this.dockItems = __spreadArray(__spreadArray([], __read(this.dockItems)), [newItem]);
|
|
5316
|
+
console.log(this.dockItems);
|
|
5317
|
+
};
|
|
5318
|
+
SmzDockService.prototype.remove = function (id) {
|
|
5319
|
+
this.dockItems = this.dockItems.filter(function (x) { return x.id !== id; });
|
|
5320
|
+
};
|
|
5321
|
+
return SmzDockService;
|
|
5322
|
+
}());
|
|
5323
|
+
SmzDockService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzDockService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
5324
|
+
SmzDockService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzDockService, providedIn: 'root' });
|
|
5325
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzDockService, decorators: [{
|
|
5326
|
+
type: i0.Injectable,
|
|
5327
|
+
args: [{ providedIn: 'root' }]
|
|
5328
|
+
}], ctorParameters: function () { return []; } });
|
|
5329
|
+
|
|
5300
5330
|
var showAnimation = animations.animation([
|
|
5301
5331
|
animations.style({ transform: '{{transform}}', opacity: 0 }),
|
|
5302
5332
|
animations.animate('{{transition}}', animations.style({ transform: 'none', opacity: 1 }))
|
|
@@ -5305,7 +5335,7 @@
|
|
|
5305
5335
|
animations.animate('{{transition}}', animations.style({ transform: '{{transform}}', opacity: 0 }))
|
|
5306
5336
|
]);
|
|
5307
5337
|
var DynamicDialogComponent = /** @class */ (function () {
|
|
5308
|
-
function DynamicDialogComponent(componentFactoryResolver, cd, renderer, config, dialogRef, zone, dialogConfig, rbkConfig, primeNGConfig) {
|
|
5338
|
+
function DynamicDialogComponent(componentFactoryResolver, cd, renderer, config, dialogRef, zone, dialogConfig, rbkConfig, primeNGConfig, dockService) {
|
|
5309
5339
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
5310
5340
|
this.cd = cd;
|
|
5311
5341
|
this.renderer = renderer;
|
|
@@ -5315,12 +5345,14 @@
|
|
|
5315
5345
|
this.dialogConfig = dialogConfig;
|
|
5316
5346
|
this.rbkConfig = rbkConfig;
|
|
5317
5347
|
this.primeNGConfig = primeNGConfig;
|
|
5348
|
+
this.dockService = dockService;
|
|
5318
5349
|
this.visible = true;
|
|
5319
5350
|
this.transformOptions = "scale(0.7)";
|
|
5320
5351
|
this.domId = 'smz-dialog';
|
|
5321
5352
|
this.minimizeIcon = 'pi pi-window-minimize';
|
|
5322
5353
|
this.maximizeIcon = 'pi pi-window-maximize';
|
|
5323
5354
|
this.onMaximize = new i0.EventEmitter();
|
|
5355
|
+
this.onMinimize = new i0.EventEmitter();
|
|
5324
5356
|
}
|
|
5325
5357
|
DynamicDialogComponent.prototype.ngOnInit = function () {
|
|
5326
5358
|
if (this.config.domElementId != null)
|
|
@@ -5419,6 +5451,15 @@
|
|
|
5419
5451
|
this.dialogRef.close();
|
|
5420
5452
|
}
|
|
5421
5453
|
};
|
|
5454
|
+
DynamicDialogComponent.prototype.restore = function () {
|
|
5455
|
+
this.minimized = false;
|
|
5456
|
+
this.onMinimize.emit({ 'minimized': this.minimized });
|
|
5457
|
+
};
|
|
5458
|
+
DynamicDialogComponent.prototype.minimize = function () {
|
|
5459
|
+
this.minimized = true;
|
|
5460
|
+
this.dockService.appendDialog(this);
|
|
5461
|
+
this.onMinimize.emit({ 'minimized': this.minimized });
|
|
5462
|
+
};
|
|
5422
5463
|
DynamicDialogComponent.prototype.maximize = function () {
|
|
5423
5464
|
this.maximized = !this.maximized;
|
|
5424
5465
|
if (!this.config.modal) {
|
|
@@ -5543,8 +5584,8 @@
|
|
|
5543
5584
|
};
|
|
5544
5585
|
return DynamicDialogComponent;
|
|
5545
5586
|
}());
|
|
5546
|
-
DynamicDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: DynamicDialogComponent, deps: [{ token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.Renderer2 }, { token: DynamicDialogConfig }, { token: DynamicDialogRef }, { token: i0__namespace.NgZone }, { token: SmzDynamicDialogConfig }, { token: NgxRbkUtilsConfig }, { token: i1__namespace$6.PrimeNGConfig }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5547
|
-
DynamicDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: DynamicDialogComponent, selector: "smz-dynamicDialog", outputs: { onMaximize: "onMaximize" }, host: { listeners: { "document:keydown.escape": "onEscapeHandler($event)" }, properties: { "attr.id": "this.domId" }, classAttribute: "p-element" }, viewQueries: [{ propertyName: "insertionPoint", first: true, predicate: DynamicDialogContent, descendants: true }, { propertyName: "insertionFooter", first: true, predicate: DynamicDialogFooter, descendants: true }, { propertyName: "maskViewChild", first: true, predicate: ["mask"], descendants: true }], ngImport: i0__namespace, template: "\n <div #mask [ngClass]=\"{'p-dialog-mask':true, 'p-component-overlay p-component-overlay-enter p-dialog-mask-scrollblocker': config.modal !== false}\" class=\"smz_form_grid_container\">\n <div [ngClass]=\"{'p-dialog p-dynamic-dialog p-component':true, 'p-dialog-rtl': config.rtl, 'p-dialog-maximized': maximized}\" [ngStyle]=\"config.style\" [class]=\"config.styleClass\"\n [@animation]=\"{value: 'visible', params: {transform: transformOptions, transition: config.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'}}\"\n (@animation.start)=\"onAnimationStart($event)\" (@animation.done)=\"onAnimationEnd($event)\" role=\"dialog\" *ngIf=\"visible\"\n [style.width]=\"config.width\" [style.height]=\"config.height\">\n <div class=\"p-dialog-header\" [ngStyle]=\"config.headerStyle\" *ngIf=\"config.showHeader === false ? false: true\">\n <span class=\"p-dialog-title\">{{config.header}}</span>\n <div class=\"p-dialog-header-icons\" [ngClass]=\"{ 'disable-a': dialogConfig.data._context.isGlobalDisabled }\">\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"maximize()\" (keydown.enter)=\"maximize()\" *ngIf=\"config.maximizable !== false\">\n <span class=\"p-dialog-header-close-icon\" [ngClass]=\"maximized ? minimizeIcon : maximizeIcon\"></span>\n </button>\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"hide()\" (keydown.enter)=\"hide()\" *ngIf=\"config.closable !== false\">\n <span class=\"p-dialog-header-close-icon pi pi-times\"></span>\n </button>\n </div>\n </div>\n <div class=\"p-dialog-content\" [ngStyle]=\"config.contentStyle\" [ngClass]=\"{ 'disable-ui-dialog-content': dialogConfig.data._context.isGlobalDisabled }\">\n <ng-template pDynamicDialogContent></ng-template>\n </div>\n <div class=\"p-dialog-footer\" *ngIf=\"config.footer\" [ngStyle]=\"config.footerStyle\" [ngClass]=\"{ 'disable-container': dialogConfig.data._context.isGlobalDisabled }\">\n <ng-template pDynamicDialogFooter></ng-template>\n </div>\n </div>\n </div>\n\t", isInline: true, styles: [".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative;padding:unset}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translate(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0px!important;left:0px!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}\n"], directives: [{ type: i0__namespace.forwardRef(function () { return i1__namespace.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i0__namespace.forwardRef(function () { return i1__namespace.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i0__namespace.forwardRef(function () { return i1__namespace.NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i0__namespace.forwardRef(function () { return DynamicDialogContent; }), selector: "[pDynamicDialogContent]" }, { type: i0__namespace.forwardRef(function () { return DynamicDialogFooter; }), selector: "[pDynamicDialogFooter]" }], animations: [
|
|
5587
|
+
DynamicDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: DynamicDialogComponent, deps: [{ token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.Renderer2 }, { token: DynamicDialogConfig }, { token: DynamicDialogRef }, { token: i0__namespace.NgZone }, { token: SmzDynamicDialogConfig }, { token: NgxRbkUtilsConfig }, { token: i1__namespace$6.PrimeNGConfig }, { token: SmzDockService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5588
|
+
DynamicDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: DynamicDialogComponent, selector: "smz-dynamicDialog", outputs: { onMaximize: "onMaximize", onMinimize: "onMinimize" }, host: { listeners: { "document:keydown.escape": "onEscapeHandler($event)" }, properties: { "attr.id": "this.domId" }, classAttribute: "p-element" }, viewQueries: [{ propertyName: "insertionPoint", first: true, predicate: DynamicDialogContent, descendants: true }, { propertyName: "insertionFooter", first: true, predicate: DynamicDialogFooter, descendants: true }, { propertyName: "maskViewChild", first: true, predicate: ["mask"], descendants: true }], ngImport: i0__namespace, template: "\n <div #mask [ngClass]=\"{'p-dialog-mask':true, 'p-component-overlay p-component-overlay-enter p-dialog-mask-scrollblocker': config.modal !== false, 'smz-dialog-minimized': minimized }\" class=\"smz_form_grid_container\">\n <div [ngClass]=\"{'p-dialog p-dynamic-dialog p-component':true, 'p-dialog-rtl': config.rtl, 'p-dialog-maximized': maximized}\" [ngStyle]=\"config.style\" [class]=\"config.styleClass\"\n [@animation]=\"{value: 'visible', params: {transform: transformOptions, transition: config.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'}}\"\n (@animation.start)=\"onAnimationStart($event)\" (@animation.done)=\"onAnimationEnd($event)\" role=\"dialog\" *ngIf=\"visible\"\n [style.width]=\"config.width\" [style.height]=\"config.height\">\n <div class=\"p-dialog-header\" [ngStyle]=\"config.headerStyle\" *ngIf=\"config.showHeader === false ? false: true\">\n <span class=\"p-dialog-title\">{{config.header}}</span>\n <div class=\"p-dialog-header-icons\" [ngClass]=\"{ 'disable-a': dialogConfig.data._context.isGlobalDisabled }\">\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"minimize()\" (keydown.enter)=\"minimize()\" *ngIf=\"config.minimizable !== false\">\n <span class=\"p-dialog-header-close-icon far fa-window-minimize\"></span>\n </button>\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"maximize()\" (keydown.enter)=\"maximize()\" *ngIf=\"config.maximizable !== false\">\n <span class=\"p-dialog-header-close-icon\" [ngClass]=\"maximized ? minimizeIcon : maximizeIcon\"></span>\n </button>\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"hide()\" (keydown.enter)=\"hide()\" *ngIf=\"config.closable !== false\">\n <span class=\"p-dialog-header-close-icon pi pi-times\"></span>\n </button>\n </div>\n </div>\n <div class=\"p-dialog-content\" [ngStyle]=\"config.contentStyle\" [ngClass]=\"{ 'disable-ui-dialog-content': dialogConfig.data._context.isGlobalDisabled }\">\n <ng-template pDynamicDialogContent></ng-template>\n </div>\n <div class=\"p-dialog-footer\" *ngIf=\"config.footer\" [ngStyle]=\"config.footerStyle\" [ngClass]=\"{ 'disable-container': dialogConfig.data._context.isGlobalDisabled }\">\n <ng-template pDynamicDialogFooter></ng-template>\n </div>\n </div>\n </div>\n\t", isInline: true, styles: [".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative;padding:unset}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translate(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0px!important;left:0px!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}\n"], directives: [{ type: i0__namespace.forwardRef(function () { return i1__namespace.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i0__namespace.forwardRef(function () { return i1__namespace.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i0__namespace.forwardRef(function () { return i1__namespace.NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i0__namespace.forwardRef(function () { return DynamicDialogContent; }), selector: "[pDynamicDialogContent]" }, { type: i0__namespace.forwardRef(function () { return DynamicDialogFooter; }), selector: "[pDynamicDialogFooter]" }], animations: [
|
|
5548
5589
|
animations.trigger('animation', [
|
|
5549
5590
|
animations.transition('void => visible', [
|
|
5550
5591
|
animations.useAnimation(showAnimation)
|
|
@@ -5558,7 +5599,7 @@
|
|
|
5558
5599
|
type: i0.Component,
|
|
5559
5600
|
args: [{
|
|
5560
5601
|
selector: 'smz-dynamicDialog',
|
|
5561
|
-
template: "\n <div #mask [ngClass]=\"{'p-dialog-mask':true, 'p-component-overlay p-component-overlay-enter p-dialog-mask-scrollblocker': config.modal !== false}\" class=\"smz_form_grid_container\">\n <div [ngClass]=\"{'p-dialog p-dynamic-dialog p-component':true, 'p-dialog-rtl': config.rtl, 'p-dialog-maximized': maximized}\" [ngStyle]=\"config.style\" [class]=\"config.styleClass\"\n [@animation]=\"{value: 'visible', params: {transform: transformOptions, transition: config.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'}}\"\n (@animation.start)=\"onAnimationStart($event)\" (@animation.done)=\"onAnimationEnd($event)\" role=\"dialog\" *ngIf=\"visible\"\n [style.width]=\"config.width\" [style.height]=\"config.height\">\n <div class=\"p-dialog-header\" [ngStyle]=\"config.headerStyle\" *ngIf=\"config.showHeader === false ? false: true\">\n <span class=\"p-dialog-title\">{{config.header}}</span>\n <div class=\"p-dialog-header-icons\" [ngClass]=\"{ 'disable-a': dialogConfig.data._context.isGlobalDisabled }\">\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"maximize()\" (keydown.enter)=\"maximize()\" *ngIf=\"config.maximizable !== false\">\n <span class=\"p-dialog-header-close-icon\" [ngClass]=\"maximized ? minimizeIcon : maximizeIcon\"></span>\n </button>\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"hide()\" (keydown.enter)=\"hide()\" *ngIf=\"config.closable !== false\">\n <span class=\"p-dialog-header-close-icon pi pi-times\"></span>\n </button>\n </div>\n </div>\n <div class=\"p-dialog-content\" [ngStyle]=\"config.contentStyle\" [ngClass]=\"{ 'disable-ui-dialog-content': dialogConfig.data._context.isGlobalDisabled }\">\n <ng-template pDynamicDialogContent></ng-template>\n </div>\n <div class=\"p-dialog-footer\" *ngIf=\"config.footer\" [ngStyle]=\"config.footerStyle\" [ngClass]=\"{ 'disable-container': dialogConfig.data._context.isGlobalDisabled }\">\n <ng-template pDynamicDialogFooter></ng-template>\n </div>\n </div>\n </div>\n\t",
|
|
5602
|
+
template: "\n <div #mask [ngClass]=\"{'p-dialog-mask':true, 'p-component-overlay p-component-overlay-enter p-dialog-mask-scrollblocker': config.modal !== false, 'smz-dialog-minimized': minimized }\" class=\"smz_form_grid_container\">\n <div [ngClass]=\"{'p-dialog p-dynamic-dialog p-component':true, 'p-dialog-rtl': config.rtl, 'p-dialog-maximized': maximized}\" [ngStyle]=\"config.style\" [class]=\"config.styleClass\"\n [@animation]=\"{value: 'visible', params: {transform: transformOptions, transition: config.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'}}\"\n (@animation.start)=\"onAnimationStart($event)\" (@animation.done)=\"onAnimationEnd($event)\" role=\"dialog\" *ngIf=\"visible\"\n [style.width]=\"config.width\" [style.height]=\"config.height\">\n <div class=\"p-dialog-header\" [ngStyle]=\"config.headerStyle\" *ngIf=\"config.showHeader === false ? false: true\">\n <span class=\"p-dialog-title\">{{config.header}}</span>\n <div class=\"p-dialog-header-icons\" [ngClass]=\"{ 'disable-a': dialogConfig.data._context.isGlobalDisabled }\">\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"minimize()\" (keydown.enter)=\"minimize()\" *ngIf=\"config.minimizable !== false\">\n <span class=\"p-dialog-header-close-icon far fa-window-minimize\"></span>\n </button>\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"maximize()\" (keydown.enter)=\"maximize()\" *ngIf=\"config.maximizable !== false\">\n <span class=\"p-dialog-header-close-icon\" [ngClass]=\"maximized ? minimizeIcon : maximizeIcon\"></span>\n </button>\n <button [ngClass]=\"'p-dialog-header-icon p-dialog-header-maximize p-link'\" type=\"button\" (click)=\"hide()\" (keydown.enter)=\"hide()\" *ngIf=\"config.closable !== false\">\n <span class=\"p-dialog-header-close-icon pi pi-times\"></span>\n </button>\n </div>\n </div>\n <div class=\"p-dialog-content\" [ngStyle]=\"config.contentStyle\" [ngClass]=\"{ 'disable-ui-dialog-content': dialogConfig.data._context.isGlobalDisabled }\">\n <ng-template pDynamicDialogContent></ng-template>\n </div>\n <div class=\"p-dialog-footer\" *ngIf=\"config.footer\" [ngStyle]=\"config.footerStyle\" [ngClass]=\"{ 'disable-container': dialogConfig.data._context.isGlobalDisabled }\">\n <ng-template pDynamicDialogFooter></ng-template>\n </div>\n </div>\n </div>\n\t",
|
|
5562
5603
|
animations: [
|
|
5563
5604
|
animations.trigger('animation', [
|
|
5564
5605
|
animations.transition('void => visible', [
|
|
@@ -5576,7 +5617,7 @@
|
|
|
5576
5617
|
'class': 'p-element'
|
|
5577
5618
|
}
|
|
5578
5619
|
}]
|
|
5579
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.Renderer2 }, { type: DynamicDialogConfig }, { type: DynamicDialogRef }, { type: i0__namespace.NgZone }, { type: SmzDynamicDialogConfig }, { type: NgxRbkUtilsConfig }, { type: i1__namespace$6.PrimeNGConfig }]; }, propDecorators: { insertionPoint: [{
|
|
5620
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.Renderer2 }, { type: DynamicDialogConfig }, { type: DynamicDialogRef }, { type: i0__namespace.NgZone }, { type: SmzDynamicDialogConfig }, { type: NgxRbkUtilsConfig }, { type: i1__namespace$6.PrimeNGConfig }, { type: SmzDockService }]; }, propDecorators: { insertionPoint: [{
|
|
5580
5621
|
type: i0.ViewChild,
|
|
5581
5622
|
args: [DynamicDialogContent]
|
|
5582
5623
|
}], insertionFooter: [{
|
|
@@ -5590,6 +5631,8 @@
|
|
|
5590
5631
|
args: ['attr.id']
|
|
5591
5632
|
}], onMaximize: [{
|
|
5592
5633
|
type: i0.Output
|
|
5634
|
+
}], onMinimize: [{
|
|
5635
|
+
type: i0.Output
|
|
5593
5636
|
}], onEscapeHandler: [{
|
|
5594
5637
|
type: i0.HostListener,
|
|
5595
5638
|
args: ['document:keydown.escape', ['$event']]
|
|
@@ -10197,6 +10240,9 @@
|
|
|
10197
10240
|
styleClass: SetTemplateClasses(data._context.dialogTemplate, ['row']),
|
|
10198
10241
|
footer: behaviors.showFooter ? '-' : null,
|
|
10199
10242
|
closable: behaviors.showCloseButton === true,
|
|
10243
|
+
minimizable: behaviors.showMinimizeButton === true,
|
|
10244
|
+
minimizeDockImagePath: 'assets/images/dock/dialog.svg',
|
|
10245
|
+
minimizeLabel: behaviors.minimizeLabel,
|
|
10200
10246
|
maximizable: behaviors.showMaximizeButton === true,
|
|
10201
10247
|
closeOnEscape: behaviors.closeOnEscape,
|
|
10202
10248
|
confirmOnEnter: behaviors.confirmOnEnter,
|
|
@@ -10820,7 +10866,7 @@
|
|
|
10820
10866
|
DocumentContentComponent], imports: [i1$1.CommonModule,
|
|
10821
10867
|
i1.ReactiveFormsModule,
|
|
10822
10868
|
dialog.DialogModule, i1__namespace$5.ɵbc, i2$1.OverlayPanelModule,
|
|
10823
|
-
|
|
10869
|
+
i8$1.ToastModule,
|
|
10824
10870
|
i5.TableModule,
|
|
10825
10871
|
i6.ButtonModule,
|
|
10826
10872
|
message.MessageModule,
|
|
@@ -10844,7 +10890,7 @@
|
|
|
10844
10890
|
dialog.DialogModule,
|
|
10845
10891
|
ngxsModuleForFeatureDialogsState,
|
|
10846
10892
|
i2$1.OverlayPanelModule,
|
|
10847
|
-
|
|
10893
|
+
i8$1.ToastModule,
|
|
10848
10894
|
i5.TableModule,
|
|
10849
10895
|
i6.ButtonModule,
|
|
10850
10896
|
message.MessageModule,
|
|
@@ -10881,7 +10927,7 @@
|
|
|
10881
10927
|
dialog.DialogModule,
|
|
10882
10928
|
ngxsModuleForFeatureDialogsState,
|
|
10883
10929
|
i2$1.OverlayPanelModule,
|
|
10884
|
-
|
|
10930
|
+
i8$1.ToastModule,
|
|
10885
10931
|
i5.TableModule,
|
|
10886
10932
|
i6.ButtonModule,
|
|
10887
10933
|
message.MessageModule,
|
|
@@ -13061,7 +13107,7 @@
|
|
|
13061
13107
|
},
|
|
13062
13108
|
customButtons: [],
|
|
13063
13109
|
customButtonsOrder: 'last',
|
|
13064
|
-
behaviors: Object.assign({ showCancelButton: true, showConfirmButton: true, showCloseButton: true, showOkButton: false, showSaveButton: false, confirmOnEnter: false, showMaximizeButton: false, useAdvancedResponse: false, closeOnEscape: false, showHeader: true, showFooter: true, dismissableMask: false, contentPadding: '1.5em', baseZIndex: 0, includeComponentResponses: false }, (_b = (_a = _this.defaultConfig) === null || _a === void 0 ? void 0 : _a.dialogs) === null || _b === void 0 ? void 0 : _b.behaviors),
|
|
13110
|
+
behaviors: Object.assign({ showCancelButton: true, showConfirmButton: true, showCloseButton: true, showOkButton: false, showSaveButton: false, confirmOnEnter: false, showMaximizeButton: false, showMinimizeButton: false, useAdvancedResponse: false, closeOnEscape: false, showHeader: true, showFooter: true, dismissableMask: false, contentPadding: '1.5em', baseZIndex: 0, includeComponentResponses: false }, (_b = (_a = _this.defaultConfig) === null || _a === void 0 ? void 0 : _a.dialogs) === null || _b === void 0 ? void 0 : _b.behaviors),
|
|
13065
13111
|
builtInButtons: Object.assign({ confirmName: 'CONFIRMAR', confirmDependsOnValidation: true, cancelName: 'CANCELAR', cancelClass: 'p-button-outlined', okName: 'OK', okDependsOnValidation: false }, (_d = (_c = _this.defaultConfig) === null || _c === void 0 ? void 0 : _c.dialogs) === null || _d === void 0 ? void 0 : _d.builtInButtons),
|
|
13066
13112
|
dialogTemplate: Object.assign({ extraSmall: { row: 'col-12' }, large: { row: 'col-8' }, extraLarge: { row: 'col-6' } }, (_f = (_e = _this.defaultConfig) === null || _e === void 0 ? void 0 : _e.dialogs) === null || _f === void 0 ? void 0 : _f.dialogTemplate),
|
|
13067
13113
|
features: []
|
|
@@ -13086,6 +13132,15 @@
|
|
|
13086
13132
|
this._state.behaviors.showMaximizeButton = true;
|
|
13087
13133
|
return this;
|
|
13088
13134
|
};
|
|
13135
|
+
SmzDialogBuilder.prototype.allowMinimize = function (label) {
|
|
13136
|
+
this._state.behaviors.showMinimizeButton = true;
|
|
13137
|
+
this._state.behaviors.minimizeLabel = label;
|
|
13138
|
+
return this;
|
|
13139
|
+
};
|
|
13140
|
+
SmzDialogBuilder.prototype.setMinimizeDockImage = function (imagePath) {
|
|
13141
|
+
this._state.behaviors.minimizeDockImagePath = imagePath;
|
|
13142
|
+
return this;
|
|
13143
|
+
};
|
|
13089
13144
|
SmzDialogBuilder.prototype.hideHeader = function () {
|
|
13090
13145
|
this._state.behaviors.showHeader = false;
|
|
13091
13146
|
return this;
|
|
@@ -16298,6 +16353,33 @@
|
|
|
16298
16353
|
type: i0.Input
|
|
16299
16354
|
}] } });
|
|
16300
16355
|
|
|
16356
|
+
var SmzDockComponent = /** @class */ (function () {
|
|
16357
|
+
function SmzDockComponent(dockService) {
|
|
16358
|
+
this.dockService = dockService;
|
|
16359
|
+
}
|
|
16360
|
+
SmzDockComponent.prototype.ngOnInit = function () { };
|
|
16361
|
+
SmzDockComponent.prototype.execute = function (item) {
|
|
16362
|
+
switch (item.type) {
|
|
16363
|
+
case 'dialog':
|
|
16364
|
+
item.component.restore();
|
|
16365
|
+
this.dockService.remove(item.id);
|
|
16366
|
+
break;
|
|
16367
|
+
default:
|
|
16368
|
+
break;
|
|
16369
|
+
}
|
|
16370
|
+
};
|
|
16371
|
+
return SmzDockComponent;
|
|
16372
|
+
}());
|
|
16373
|
+
SmzDockComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzDockComponent, deps: [{ token: SmzDockService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
16374
|
+
SmzDockComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: SmzDockComponent, selector: "smz-ui-dock", ngImport: i0__namespace, template: "<p-dock [model]=\"dockService.dockItems\" position=\"bottom\">\n <ng-template pTemplate=\"item\" let-item>\n <div class=\"w-full relative cursor-pointer\" (click)=\"execute(item)\">\n <img [src]=\"item.icon\" width=\"100%\">\n <div *ngIf=\"item.label != null\" class=\"absolute inset-0 p-grid p-nogutter p-align-center p-justify-center p-flex-column\">\n <div class=\"text-center font-medium my-auto pt-2 select-none text-black text-xs\">{{ item.label }}</div>\n </div>\n </div>\n </ng-template>\n</p-dock>", components: [{ type: i2__namespace$3.Dock, selector: "p-dock", inputs: ["id", "style", "styleClass", "model", "position"] }], directives: [{ type: i1__namespace$6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
16375
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzDockComponent, decorators: [{
|
|
16376
|
+
type: i0.Component,
|
|
16377
|
+
args: [{
|
|
16378
|
+
selector: 'smz-ui-dock',
|
|
16379
|
+
templateUrl: './smz-dock.component.html'
|
|
16380
|
+
}]
|
|
16381
|
+
}], ctorParameters: function () { return [{ type: SmzDockService }]; } });
|
|
16382
|
+
|
|
16301
16383
|
var OutletComponent = /** @class */ (function () {
|
|
16302
16384
|
function OutletComponent(config, routerListener, store, primeConfig) {
|
|
16303
16385
|
this.config = config;
|
|
@@ -16334,7 +16416,7 @@
|
|
|
16334
16416
|
return OutletComponent;
|
|
16335
16417
|
}());
|
|
16336
16418
|
OutletComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: OutletComponent, deps: [{ token: SmzLayoutsConfig }, { token: RouterDataListenerService }, { token: i1__namespace$5.Store }, { token: PrimeConfigService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
16337
|
-
OutletComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: OutletComponent, selector: "smz-ui-outlet", inputs: { menu: "menu" }, host: { listeners: { "mouseleave": "onMouseLeave()", "mouseenter": "onBeforeUnload()" } }, queries: [{ propertyName: "templates", predicate: i1$6.PrimeTemplate }], ngImport: i0__namespace, template: "<ng-container [ngSwitch]=\"routerListener.data?.layout?.mode\">\n\n <!-- LAYOUT SIMPLES -->\n <ng-container *ngSwitchCase=\"'none'\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n\n <!-- LAYOUT COMPLETO -->\n <ng-container *ngSwitchCase=\"'full'\">\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </ng-container>\n\n <!-- LAYOUT COMPLETO -->\n <ng-container *ngSwitchCase=\"'menu-only'\">\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <!-- Nenhum tipo de layout foi encontrado. -->\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<smz-ui-theme-manager></smz-ui-theme-manager>\n<smz-ui-global-loader></smz-ui-global-loader>\n
|
|
16419
|
+
OutletComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: OutletComponent, selector: "smz-ui-outlet", inputs: { menu: "menu" }, host: { listeners: { "mouseleave": "onMouseLeave()", "mouseenter": "onBeforeUnload()" } }, queries: [{ propertyName: "templates", predicate: i1$6.PrimeTemplate }], ngImport: i0__namespace, template: "<ng-container [ngSwitch]=\"routerListener.data?.layout?.mode\">\n\n <!-- LAYOUT SIMPLES -->\n <ng-container *ngSwitchCase=\"'none'\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n\n <!-- LAYOUT COMPLETO -->\n <ng-container *ngSwitchCase=\"'full'\">\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </ng-container>\n\n <!-- LAYOUT COMPLETO -->\n <ng-container *ngSwitchCase=\"'menu-only'\">\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <!-- Nenhum tipo de layout foi encontrado. -->\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<smz-ui-theme-manager></smz-ui-theme-manager>\n<smz-ui-global-loader></smz-ui-global-loader>\n<smz-ui-dock></smz-ui-dock>\n<ng-container *ngIf=\"toast$ | async as toast\">\n <p-toast [position]=\"toast.position\"></p-toast>\n</ng-container>", styles: [""], components: [{ type: ThemeManagerComponent, selector: "smz-ui-theme-manager" }, { type: GlobalLoaderComponent, selector: "smz-ui-global-loader", inputs: ["template"] }, { type: SmzDockComponent, selector: "smz-ui-dock" }, { type: i8__namespace$1.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }], directives: [{ type: i1__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i1__namespace.AsyncPipe } });
|
|
16338
16420
|
__decorate([
|
|
16339
16421
|
i1$5.Select(LayoutUiSelectors.toast)
|
|
16340
16422
|
], OutletComponent.prototype, "toast$", void 0);
|
|
@@ -17307,6 +17389,31 @@
|
|
|
17307
17389
|
}]
|
|
17308
17390
|
}] });
|
|
17309
17391
|
|
|
17392
|
+
var NgxSmzDockModule = /** @class */ (function () {
|
|
17393
|
+
function NgxSmzDockModule() {
|
|
17394
|
+
}
|
|
17395
|
+
return NgxSmzDockModule;
|
|
17396
|
+
}());
|
|
17397
|
+
NgxSmzDockModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: NgxSmzDockModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
17398
|
+
NgxSmzDockModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: NgxSmzDockModule, declarations: [SmzDockComponent], imports: [i1$1.CommonModule,
|
|
17399
|
+
i2$3.DockModule], exports: [SmzDockComponent] });
|
|
17400
|
+
NgxSmzDockModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: NgxSmzDockModule, providers: [], imports: [[
|
|
17401
|
+
i1$1.CommonModule,
|
|
17402
|
+
i2$3.DockModule
|
|
17403
|
+
]] });
|
|
17404
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: NgxSmzDockModule, decorators: [{
|
|
17405
|
+
type: i0.NgModule,
|
|
17406
|
+
args: [{
|
|
17407
|
+
imports: [
|
|
17408
|
+
i1$1.CommonModule,
|
|
17409
|
+
i2$3.DockModule
|
|
17410
|
+
],
|
|
17411
|
+
exports: [SmzDockComponent],
|
|
17412
|
+
declarations: [SmzDockComponent],
|
|
17413
|
+
providers: [],
|
|
17414
|
+
}]
|
|
17415
|
+
}] });
|
|
17416
|
+
|
|
17310
17417
|
var OutletModule = /** @class */ (function () {
|
|
17311
17418
|
function OutletModule() {
|
|
17312
17419
|
}
|
|
@@ -17317,13 +17424,15 @@
|
|
|
17317
17424
|
i1$6.SharedModule,
|
|
17318
17425
|
SmzThemeManagerModule,
|
|
17319
17426
|
GlobalLoaderModule,
|
|
17320
|
-
|
|
17427
|
+
i8$1.ToastModule,
|
|
17428
|
+
NgxSmzDockModule], exports: [OutletComponent] });
|
|
17321
17429
|
OutletModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: OutletModule, imports: [[
|
|
17322
17430
|
i1$1.CommonModule,
|
|
17323
17431
|
i1$6.SharedModule,
|
|
17324
17432
|
SmzThemeManagerModule,
|
|
17325
17433
|
GlobalLoaderModule,
|
|
17326
|
-
|
|
17434
|
+
i8$1.ToastModule,
|
|
17435
|
+
NgxSmzDockModule
|
|
17327
17436
|
]] });
|
|
17328
17437
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: OutletModule, decorators: [{
|
|
17329
17438
|
type: i0.NgModule,
|
|
@@ -17334,7 +17443,8 @@
|
|
|
17334
17443
|
i1$6.SharedModule,
|
|
17335
17444
|
SmzThemeManagerModule,
|
|
17336
17445
|
GlobalLoaderModule,
|
|
17337
|
-
|
|
17446
|
+
i8$1.ToastModule,
|
|
17447
|
+
NgxSmzDockModule
|
|
17338
17448
|
],
|
|
17339
17449
|
exports: [OutletComponent]
|
|
17340
17450
|
}]
|
|
@@ -21052,7 +21162,7 @@
|
|
|
21052
21162
|
return SmzTreeComponent;
|
|
21053
21163
|
}());
|
|
21054
21164
|
SmzTreeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzTreeComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
21055
|
-
SmzTreeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: SmzTreeComponent, selector: "smz-ui-tree", inputs: { state: "state", items: "items", loading: "loading", styleClass: "styleClass", inlineStyle: "inlineStyle", appendTo: "appendTo" }, outputs: { selectionChange: "selectionChange", parentChange: "parentChange", reorder: "reorder", blockedDrop: "blockedDrop", nodeExpanded: "nodeExpanded", nodeCollapsed: "nodeCollapsed", treeExpanded: "treeExpanded", nodeDropped: "nodeDropped" }, providers: [i1$6.TreeDragDropService], queries: [{ propertyName: "templates", predicate: i1$6.PrimeTemplate }], usesOnChanges: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"state; else noStateTemplate\">\n\n <ng-container\n *ngIf=\"(state.emptyFeedback != null && (state.emptyFeedback.extraInfo || state.emptyFeedback.image || state.emptyFeedback.actionButton)) && (items != null && items.length === 0); else treeTemplate\">\n <!-- <smz-data-info\n [image]=\"context.state.emptyFeedback.image\"\n [message]=\"context.state.emptyFeedback.message\"\n [callbackInfo]=\"context.state.emptyFeedback.extraInfo\"\n [callbackLabel]=\"context.state.emptyFeedback.actionButton?.label\"\n (clicked)=\"context.state.emptyFeedback.actionButton?.callback()\">\n\n <ng-template pTemplate=\"actions\">\n <ng-container *ngTemplateOutlet=\"emptyActionsTemplate; context: { $implicit: {} }\"></ng-container>\n </ng-template>\n\n </smz-data-info> -->\n </ng-container>\n\n <ng-template #treeTemplate>\n\n <ng-container *ngIf=\"items\">\n <p-contextMenu #cm [model]=\"menuItems\" [appendTo]=\"appendTo\" [styleClass]=\"menuItems == null || menuItems?.length === 0 ? 'invisible-important' : ''\"></p-contextMenu>\n <p-tree #dt [value]=\"items\"\n scrollHeight=\"flex\"\n [contextMenu]=\"cm\"\n [selectionMode]=\"state.selection.mode\"\n [(selection)]=\"selection\"\n layout=\"vertical\"\n [style]=\"inlineStyle\"\n [styleClass]=\"styleClass\"\n [propagateSelectionUp]=\"state.selection.propagateUp\"\n [propagateSelectionDown]=\"state.selection.propagateDown\"\n [loading]=\"state.loading.isLoading\"\n [loadingIcon]=\"state.loading.icon\"\n [filter]=\"false\"\n [filterMode]=\"state.filter.mode\"\n [filterPlaceholder]=\"state.filter.textPlaceholder\"\n [draggableNodes]=\"state.dragAndDrop.draggable\"\n [droppableNodes]=\"state.dragAndDrop.droppable\"\n [validateDrop]=\"state.dragAndDrop.validateDrop\"\n (onNodeContextMenuSelect)=\"onContextMenuOpen($event)\"\n (onNodeSelect)=\"onSelected($event)\"\n (onNodeUnselect)=\"onUnselected($event)\"\n (onNodeExpand)=\"onExpanded($event)\"\n (onNodeCollapse)=\"onCollapsed($event)\"\n (onNodeDrop)=\"onDropped($event)\"\n (onFilter)=\"onFiltered($event)\">\n\n <ng-template pTemplate=\"header\" *ngIf=\"state.header.isVisible\">\n\n <ng-container *ngIf=\"state.header.toolbar as toolbar\">\n <div class=\"p-grid p-nogutter p-justify-start p-align-center p-mb-2 gap-2\">\n <h3 *ngIf=\"state.header.title != null\" class=\"p-m-2 p-col\">{{state.header.title}}</h3>\n <div class=\"p-grid p-nogutter p-justify-start p-align-center gap-2\">\n <ng-container *ngFor=\"let button of state.header.toolbar.items; let i=index\">\n <button\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': button.color === 'secondary', 'p-button-success': button.color === 'success', 'p-button-info': button.color === 'info', 'p-button-warning': button.color === 'warning', 'p-button-help': button.color === 'help', 'p-button-danger': button.color === 'danger' }\"\n [label]=\"button.label\"\n [icon]=\"button.icon\"\n (click)=\"onToolbarButtonClick($event, button)\"\n [pTooltip]=\"button.tooltip\"></button>\n </ng-container>\n\n <button\n *ngIf=\"toolbar.nodeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.nodeExpandButtons.expandLabel\"\n icon=\"fas fa-angle-down\"\n (click)=\"expandNode()\"\n [pTooltip]=\"selection != null ? toolbar.nodeExpandButtons.expandTooltip : toolbar.nodeExpandButtons.disabledTooltip\"\n [disabled]=\"selection == null\">\n </button>\n\n <button\n *ngIf=\"toolbar.nodeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.nodeExpandButtons.collapseLabel\"\n icon=\"fas fa-angle-up\"\n (click)=\"collapseNode()\"\n [pTooltip]=\"selection != null ? toolbar.nodeExpandButtons.collapseTooltip : toolbar.nodeExpandButtons.disabledTooltip\"\n [disabled]=\"selection == null\">\n </button>\n\n <button\n *ngIf=\"toolbar.treeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.treeExpandButtons.expandLabel\"\n icon=\"fas fa-angle-double-down\"\n (click)=\"expandAll()\"\n [pTooltip]=\"\">\n </button>\n\n <button\n *ngIf=\"toolbar.treeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.treeExpandButtons.collapseLabel\"\n icon=\"fas fa-angle-double-up\"\n (click)=\"collapseAll()\"\n [pTooltip]=\"\">\n </button>\n\n </div>\n <span *ngIf=\"state.filter.show\" class=\"p-input-icon-left p-col p-col-12 p-md-4\">\n <i class=\"pi pi-search\"></i>\n <input #inputGlobal pInputText type=\"text\" (input)=\"dt._filter(inputGlobal.value)\" [placeholder]=\"state.filter.textPlaceholder\" />\n </span>\n </div>\n\n <div *ngIf=\"toolbarTemplate != null\" class=\"p-grid p-nogutter p-align-center p-mt-2\"\n [ngClass]=\"'p-justify-' + state.header.toolbar.alignment\">\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: dt }\"></ng-container>\n </div>\n </ng-container>\n\n </ng-template>\n\n <ng-template pTemplate=\"footer\" *ngIf=\"state.footer.isVisible\">\n <div class=\"p-grid p-nogutter p-justify-start p-align-center\">\n <span class=\"p-col p-mr-2\">FOOTER</span>\n </div>\n </ng-template>\n\n <ng-container *ngFor=\"let content of contentTemplates\">\n <ng-template let-node [pTemplate]=\"content.type\">\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\n </ng-template>\n </ng-container>\n\n <ng-template pTemplate=\"empty\">\n <tr>\n <!-- <td [attr.colspan]=\"context.columns.length + ((context.state.actions.menu.isVisible || context.state.actions.customActions.isVisible) ? 1 : 0) + (context.state.caption.rowSelection.isEnabled ? 1 : 0)\"\n [ngStyle]=\"{ 'text-align': 'center' }\">{{ context.state.emptyFeedback.message }}</td> -->\n </tr>\n </ng-template>\n </p-tree>\n\n </ng-container>\n </ng-template>\n\n</ng-container>\n\n<ng-template #noStateTemplate>\n <!-- <ng-container *ngIf=\"emptyStateTemplate != null\">\n <ng-container *ngTemplateOutlet=\"emptyStateTemplate; context: { $implicit: {} }\"></ng-container>\n </ng-container> -->\n</ng-template>", components: [{ type: i1__namespace$g.ContextMenu, selector: "p-contextMenu", inputs: ["model", "global", "target", "style", "styleClass", "appendTo", "autoZIndex", "baseZIndex", "triggerEvent"], outputs: ["onShow", "onHide"] }, { type: i2__namespace$3.Tree, selector: "p-tree", inputs: ["value", "selectionMode", "selection", "style", "styleClass", "contextMenu", "layout", "draggableScope", "droppableScope", "draggableNodes", "droppableNodes", "metaKeySelection", "propagateSelectionUp", "propagateSelectionDown", "loading", "loadingIcon", "emptyMessage", "ariaLabel", "togglerAriaLabel", "ariaLabelledBy", "validateDrop", "filter", "filterBy", "filterMode", "filterPlaceholder", "filterLocale", "scrollHeight", "virtualScroll", "virtualNodeHeight", "minBufferPx", "maxBufferPx", "indentation", "trackBy"], outputs: ["selectionChange", "onNodeSelect", "onNodeUnselect", "onNodeExpand", "onNodeCollapse", "onNodeContextMenuSelect", "onNodeDrop", "onFilter"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { type: i4__namespace.InputText, selector: "[pInputText]" }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
21165
|
+
SmzTreeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: SmzTreeComponent, selector: "smz-ui-tree", inputs: { state: "state", items: "items", loading: "loading", styleClass: "styleClass", inlineStyle: "inlineStyle", appendTo: "appendTo" }, outputs: { selectionChange: "selectionChange", parentChange: "parentChange", reorder: "reorder", blockedDrop: "blockedDrop", nodeExpanded: "nodeExpanded", nodeCollapsed: "nodeCollapsed", treeExpanded: "treeExpanded", nodeDropped: "nodeDropped" }, providers: [i1$6.TreeDragDropService], queries: [{ propertyName: "templates", predicate: i1$6.PrimeTemplate }], usesOnChanges: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"state; else noStateTemplate\">\n\n <ng-container\n *ngIf=\"(state.emptyFeedback != null && (state.emptyFeedback.extraInfo || state.emptyFeedback.image || state.emptyFeedback.actionButton)) && (items != null && items.length === 0); else treeTemplate\">\n <!-- <smz-data-info\n [image]=\"context.state.emptyFeedback.image\"\n [message]=\"context.state.emptyFeedback.message\"\n [callbackInfo]=\"context.state.emptyFeedback.extraInfo\"\n [callbackLabel]=\"context.state.emptyFeedback.actionButton?.label\"\n (clicked)=\"context.state.emptyFeedback.actionButton?.callback()\">\n\n <ng-template pTemplate=\"actions\">\n <ng-container *ngTemplateOutlet=\"emptyActionsTemplate; context: { $implicit: {} }\"></ng-container>\n </ng-template>\n\n </smz-data-info> -->\n </ng-container>\n\n <ng-template #treeTemplate>\n\n <ng-container *ngIf=\"items\">\n <p-contextMenu #cm [model]=\"menuItems\" [appendTo]=\"appendTo\" [styleClass]=\"menuItems == null || menuItems?.length === 0 ? 'invisible-important' : ''\"></p-contextMenu>\n <p-tree #dt [value]=\"items\"\n scrollHeight=\"flex\"\n [contextMenu]=\"cm\"\n [selectionMode]=\"state.selection.mode\"\n [(selection)]=\"selection\"\n layout=\"vertical\"\n [style]=\"inlineStyle\"\n [styleClass]=\"styleClass\"\n [propagateSelectionUp]=\"state.selection.propagateUp\"\n [propagateSelectionDown]=\"state.selection.propagateDown\"\n [loading]=\"state.loading.isLoading\"\n [loadingIcon]=\"state.loading.icon\"\n [filter]=\"false\"\n [filterMode]=\"state.filter.mode\"\n [filterPlaceholder]=\"state.filter.textPlaceholder\"\n [draggableNodes]=\"state.dragAndDrop.draggable\"\n [droppableNodes]=\"state.dragAndDrop.droppable\"\n [validateDrop]=\"state.dragAndDrop.validateDrop\"\n (onNodeContextMenuSelect)=\"onContextMenuOpen($event)\"\n (onNodeSelect)=\"onSelected($event)\"\n (onNodeUnselect)=\"onUnselected($event)\"\n (onNodeExpand)=\"onExpanded($event)\"\n (onNodeCollapse)=\"onCollapsed($event)\"\n (onNodeDrop)=\"onDropped($event)\"\n (onFilter)=\"onFiltered($event)\">\n\n <ng-template pTemplate=\"header\" *ngIf=\"state.header.isVisible\">\n\n <ng-container *ngIf=\"state.header.toolbar as toolbar\">\n <div class=\"p-grid p-nogutter p-justify-start p-align-center p-mb-2 gap-2\">\n <h3 *ngIf=\"state.header.title != null\" class=\"p-m-2 p-col\">{{state.header.title}}</h3>\n <div class=\"p-grid p-nogutter p-justify-start p-align-center gap-2\">\n <ng-container *ngFor=\"let button of state.header.toolbar.items; let i=index\">\n <button\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': button.color === 'secondary', 'p-button-success': button.color === 'success', 'p-button-info': button.color === 'info', 'p-button-warning': button.color === 'warning', 'p-button-help': button.color === 'help', 'p-button-danger': button.color === 'danger' }\"\n [label]=\"button.label\"\n [icon]=\"button.icon\"\n (click)=\"onToolbarButtonClick($event, button)\"\n [pTooltip]=\"button.tooltip\"></button>\n </ng-container>\n\n <button\n *ngIf=\"toolbar.nodeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.nodeExpandButtons.expandLabel\"\n icon=\"fas fa-angle-down\"\n (click)=\"expandNode()\"\n [pTooltip]=\"selection != null ? toolbar.nodeExpandButtons.expandTooltip : toolbar.nodeExpandButtons.disabledTooltip\"\n [disabled]=\"selection == null\">\n </button>\n\n <button\n *ngIf=\"toolbar.nodeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.nodeExpandButtons.collapseLabel\"\n icon=\"fas fa-angle-up\"\n (click)=\"collapseNode()\"\n [pTooltip]=\"selection != null ? toolbar.nodeExpandButtons.collapseTooltip : toolbar.nodeExpandButtons.disabledTooltip\"\n [disabled]=\"selection == null\">\n </button>\n\n <button\n *ngIf=\"toolbar.treeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.treeExpandButtons.expandLabel\"\n icon=\"fas fa-angle-double-down\"\n (click)=\"expandAll()\"\n [pTooltip]=\"\">\n </button>\n\n <button\n *ngIf=\"toolbar.treeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.treeExpandButtons.collapseLabel\"\n icon=\"fas fa-angle-double-up\"\n (click)=\"collapseAll()\"\n [pTooltip]=\"\">\n </button>\n\n </div>\n <span *ngIf=\"state.filter.show\" class=\"p-input-icon-left p-col p-col-12 p-md-4\">\n <i class=\"pi pi-search\"></i>\n <input #inputGlobal pInputText type=\"text\" (input)=\"dt._filter(inputGlobal.value)\" [placeholder]=\"state.filter.textPlaceholder\" />\n </span>\n </div>\n\n <div *ngIf=\"toolbarTemplate != null\" class=\"p-grid p-nogutter p-align-center p-mt-2\"\n [ngClass]=\"'p-justify-' + state.header.toolbar.alignment\">\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: dt }\"></ng-container>\n </div>\n </ng-container>\n\n </ng-template>\n\n <ng-template pTemplate=\"footer\" *ngIf=\"state.footer.isVisible\">\n <div class=\"p-grid p-nogutter p-justify-start p-align-center\">\n <span class=\"p-col p-mr-2\">FOOTER</span>\n </div>\n </ng-template>\n\n <ng-container *ngFor=\"let content of contentTemplates\">\n <ng-template let-node [pTemplate]=\"content.type\">\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\n </ng-template>\n </ng-container>\n\n <ng-template pTemplate=\"empty\">\n <tr>\n <!-- <td [attr.colspan]=\"context.columns.length + ((context.state.actions.menu.isVisible || context.state.actions.customActions.isVisible) ? 1 : 0) + (context.state.caption.rowSelection.isEnabled ? 1 : 0)\"\n [ngStyle]=\"{ 'text-align': 'center' }\">{{ context.state.emptyFeedback.message }}</td> -->\n </tr>\n </ng-template>\n </p-tree>\n\n </ng-container>\n </ng-template>\n\n</ng-container>\n\n<ng-template #noStateTemplate>\n <!-- <ng-container *ngIf=\"emptyStateTemplate != null\">\n <ng-container *ngTemplateOutlet=\"emptyStateTemplate; context: { $implicit: {} }\"></ng-container>\n </ng-container> -->\n</ng-template>", components: [{ type: i1__namespace$g.ContextMenu, selector: "p-contextMenu", inputs: ["model", "global", "target", "style", "styleClass", "appendTo", "autoZIndex", "baseZIndex", "triggerEvent"], outputs: ["onShow", "onHide"] }, { type: i2__namespace$4.Tree, selector: "p-tree", inputs: ["value", "selectionMode", "selection", "style", "styleClass", "contextMenu", "layout", "draggableScope", "droppableScope", "draggableNodes", "droppableNodes", "metaKeySelection", "propagateSelectionUp", "propagateSelectionDown", "loading", "loadingIcon", "emptyMessage", "ariaLabel", "togglerAriaLabel", "ariaLabelledBy", "validateDrop", "filter", "filterBy", "filterMode", "filterPlaceholder", "filterLocale", "scrollHeight", "virtualScroll", "virtualNodeHeight", "minBufferPx", "maxBufferPx", "indentation", "trackBy"], outputs: ["selectionChange", "onNodeSelect", "onNodeUnselect", "onNodeExpand", "onNodeCollapse", "onNodeContextMenuSelect", "onNodeDrop", "onFilter"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { type: i4__namespace.InputText, selector: "[pInputText]" }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
21056
21166
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzTreeComponent, decorators: [{
|
|
21057
21167
|
type: i0.Component,
|
|
21058
21168
|
args: [{
|
|
@@ -21109,7 +21219,7 @@
|
|
|
21109
21219
|
NgxSmzDataInfoModule,
|
|
21110
21220
|
i1$2.TooltipModule,
|
|
21111
21221
|
i1$g.ContextMenuModule,
|
|
21112
|
-
i2$
|
|
21222
|
+
i2$4.TreeModule,
|
|
21113
21223
|
i1$2.TooltipModule,
|
|
21114
21224
|
i4.InputTextModule,
|
|
21115
21225
|
i9.SkeletonModule], exports: [SmzTreeComponent,
|
|
@@ -21124,7 +21234,7 @@
|
|
|
21124
21234
|
NgxSmzDataInfoModule,
|
|
21125
21235
|
i1$2.TooltipModule,
|
|
21126
21236
|
i1$g.ContextMenuModule,
|
|
21127
|
-
i2$
|
|
21237
|
+
i2$4.TreeModule,
|
|
21128
21238
|
i1$2.TooltipModule,
|
|
21129
21239
|
i4.InputTextModule,
|
|
21130
21240
|
i9.SkeletonModule
|
|
@@ -21145,7 +21255,7 @@
|
|
|
21145
21255
|
NgxSmzDataInfoModule,
|
|
21146
21256
|
i1$2.TooltipModule,
|
|
21147
21257
|
i1$g.ContextMenuModule,
|
|
21148
|
-
i2$
|
|
21258
|
+
i2$4.TreeModule,
|
|
21149
21259
|
i1$2.TooltipModule,
|
|
21150
21260
|
i4.InputTextModule,
|
|
21151
21261
|
i9.SkeletonModule
|
|
@@ -25805,6 +25915,7 @@
|
|
|
25805
25915
|
exports.NgxSmzDataInfoModule = NgxSmzDataInfoModule;
|
|
25806
25916
|
exports.NgxSmzDataPipesModule = NgxSmzDataPipesModule;
|
|
25807
25917
|
exports.NgxSmzDialogsModule = NgxSmzDialogsModule;
|
|
25918
|
+
exports.NgxSmzDockModule = NgxSmzDockModule;
|
|
25808
25919
|
exports.NgxSmzDocumentsModule = NgxSmzDocumentsModule;
|
|
25809
25920
|
exports.NgxSmzFaqsModule = NgxSmzFaqsModule;
|
|
25810
25921
|
exports.NgxSmzFormsModule = NgxSmzFormsModule;
|
|
@@ -25855,6 +25966,8 @@
|
|
|
25855
25966
|
exports.SmzDialogsConfig = SmzDialogsConfig;
|
|
25856
25967
|
exports.SmzDialogsPresets = SmzDialogsPresets;
|
|
25857
25968
|
exports.SmzDialogsService = SmzDialogsService;
|
|
25969
|
+
exports.SmzDockComponent = SmzDockComponent;
|
|
25970
|
+
exports.SmzDockService = SmzDockService;
|
|
25858
25971
|
exports.SmzDocumentBuilder = SmzDocumentBuilder;
|
|
25859
25972
|
exports.SmzDocumentComponent = SmzDocumentComponent;
|
|
25860
25973
|
exports.SmzDocumentsService = SmzDocumentsService;
|