ps-toolkit-ui 0.1.90 → 0.1.93

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.
@@ -2085,7 +2085,7 @@
2085
2085
  { type: core.Component, args: [{
2086
2086
  selector: 'lib-modal',
2087
2087
  template: "<div [id]=\"modal.id + 'Modal'\" [className]=\"(modal.class ? modal.class : '') + ' modal'\">\r\n <div class=\"content\">\r\n <lib-form-button [inp]=\"close\"></lib-form-button>\r\n <div class=\"body\">\r\n <ng-content></ng-content>\r\n <lib-form *ngIf=\"modal.form != null && modal.firstForm\" [form]=\"modal.form\"></lib-form>\r\n <lib-table *ngIf=\"modal.table != null\" [table]=\"modal.table\"></lib-table>\r\n <lib-form *ngIf=\"modal.form != null && !modal.firstForm\" [form]=\"modal.form\"></lib-form>\r\n <lib-accordion *ngIf=\"modal.accordion != null\" [accordion]=\"modal.accordion\"></lib-accordion>\r\n </div>\r\n </div>\r\n</div>\r\n",
2088
- styles: [".modal{background-color:var(--black-t-44);display:none;height:100%;overflow-y:auto;position:fixed;right:0;top:0;width:100%;z-index:999}.modal .content{background-color:#fff;border-radius:5px;box-shadow:var(--box-shadow-modal);float:right;margin:50px 30%;position:relative;width:40%;z-index:2}.modal.xs .content{margin:50px 40%;width:20%}.modal.lg .content{margin:50px 20%;width:60%}.modal.xlg .content{margin:50px 5%;width:90%}.modal .content .header{float:right;position:relative;text-align:center;width:100%}.modal .content .header .title{float:left;font-family:VazirBold;font-size:18px;height:40px;line-height:40px;width:100%}::ng-deep .modal .content>lib-form-button .form-input-con.button{left:-25px;position:absolute;top:-10px;z-index:5}.modal .content .body{float:right;position:relative;width:100%}.modal .content .footer{background-color:var(--base-22);float:right;height:50px;width:100%}.modal .content .footer:before{background-image:linear-gradient(90deg,rgba(51,51,51,0),rgba(51,51,51,.25),rgba(51,51,51,0));border:0;content:\"\";float:right;height:1px;width:100%}@media (max-width:399.98px){.modal .content{margin:50px 5%;width:90%}.modal .content .close-modal{left:-15px!important}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search){margin-right:0!important;width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:400px) and (max-width:499.98px){.modal .content{margin:50px 10%;width:80%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search){margin-right:0!important;width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:500px) and (max-width:599.98px){.modal .content{margin:50px 15%;width:70%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search){margin-right:0!important;width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:600px) and (max-width:699.98px){.modal .content{margin:50px 20%;width:60%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search){margin-right:0!important;width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:700px) and (max-width:799.98px){.modal .content{margin:50px 20%;width:60%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search){margin-right:10%!important;width:80%!important}.modal.lg .content{margin:50px 10%;width:80%}}@media (min-width:800px) and (max-width:899.98px){.modal .content{margin:50px 25%;width:50%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date,::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search){margin-right:10%!important;width:80%!important}.modal.lg .content{margin:50px 15%;width:70%}.modal.xs .content{margin:50px 30%;width:40%}}@media (min-width:900px) and (max-width:999.98px){.modal .content{margin:50px 20%;width:60%}.modal.lg .content{margin:50px 15%;width:70%}.modal.xs .content{margin:50px 35%;width:30%}}@media (min-width:1000px) and (max-width:1099.98px){.modal .content,.modal.lg .content{margin:50px 20%;width:60%}.modal.xs .content{margin:50px 35%;width:30%}}@media (min-width:1100px) and (max-width:1199.98px){.modal .content{margin:50px 25%;width:50%}.modal.lg .content{margin:50px 20%;width:60%}.modal.xs .content{margin:50px 35%;width:30%}}@media (min-width:1200px) and (max-width:1299.98px){.modal .content{margin:50px 25%;width:50%}.modal.lg .content{margin:50px 20%;width:60%}.modal.xs .content{margin:50px 35%;width:30%}}"]
2088
+ styles: [".modal{background-color:var(--black-t-44);display:none;height:100%;overflow-y:auto;position:fixed;right:0;top:0;width:100%;z-index:999}.modal .content{background-color:#fff;border-radius:5px;box-shadow:var(--box-shadow-modal);float:right;margin:50px 30%;position:relative;width:40%;z-index:2}.modal.xs .content{margin:50px 40%;width:20%}.modal.lg .content{margin:50px 20%;width:60%}.modal.xlg .content{margin:50px 5%;width:90%}.modal .content .header{float:right;position:relative;text-align:center;width:100%}.modal .content .header .title{float:left;font-family:VazirBold;font-size:18px;height:40px;line-height:40px;width:100%}::ng-deep .modal .content>lib-form-button .form-input-con.button{left:-25px;position:absolute;top:-10px;z-index:5}.modal .content .body{float:right;position:relative;width:100%}.modal .content .footer{background-color:var(--base-22);float:right;height:50px;width:100%}.modal .content .footer:before{background-image:linear-gradient(90deg,rgba(51,51,51,0),rgba(51,51,51,.25),rgba(51,51,51,0));border:0;content:\"\";float:right;height:1px;width:100%}@media (max-width:399.98px){.modal .content{margin:50px 5%;width:90%}.modal .content .close-modal{left:-15px!important}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp){margin-right:0!important;width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:400px) and (max-width:499.98px){.modal .content{margin:50px 10%;width:80%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp){margin-right:0!important;width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:500px) and (max-width:599.98px){.modal .content{margin:50px 15%;width:70%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp){margin-right:0!important;width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:600px) and (max-width:699.98px){.modal .content{margin:50px 20%;width:60%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp){margin-right:0!important;width:100%!important}.modal.lg .content{margin:50px 5%;width:90%}}@media (min-width:700px) and (max-width:799.98px){.modal .content{margin:50px 20%;width:60%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp){margin-right:10%!important;width:80%!important}.modal.lg .content{margin:50px 10%;width:80%}}@media (min-width:800px) and (max-width:899.98px){.modal .content{margin:50px 25%;width:50%}::ng-deep .modal .content .form .form-input-con.bank-card,::ng-deep .modal .content .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.file,::ng-deep .modal .content .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .modal .content .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp){margin-right:10%!important;width:80%!important}.modal.lg .content{margin:50px 15%;width:70%}.modal.xs .content{margin:50px 30%;width:40%}}@media (min-width:900px) and (max-width:999.98px){.modal .content{margin:50px 20%;width:60%}.modal.lg .content{margin:50px 15%;width:70%}.modal.xs .content{margin:50px 35%;width:30%}}@media (min-width:1000px) and (max-width:1099.98px){.modal .content,.modal.lg .content{margin:50px 20%;width:60%}.modal.xs .content{margin:50px 35%;width:30%}}@media (min-width:1100px) and (max-width:1199.98px){.modal .content{margin:50px 25%;width:50%}.modal.lg .content{margin:50px 20%;width:60%}.modal.xs .content{margin:50px 35%;width:30%}}@media (min-width:1200px) and (max-width:1299.98px){.modal .content{margin:50px 25%;width:50%}.modal.lg .content{margin:50px 20%;width:60%}.modal.xs .content{margin:50px 35%;width:30%}}"]
2089
2089
  },] }
2090
2090
  ];
2091
2091
  ModalComponent.ctorParameters = function () { return []; };
@@ -3050,7 +3050,7 @@
3050
3050
  x.required = false;
3051
3051
  x.displayLabel = false;
3052
3052
  x.withClear = true;
3053
- x.class = x.class + ' h-30';
3053
+ x.class = x.class + ' h-30 search-form-inp';
3054
3054
  x.onChange = function () {
3055
3055
  _this.table.load();
3056
3056
  };
@@ -3154,7 +3154,7 @@
3154
3154
  { type: core.Component, args: [{
3155
3155
  selector: 'lib-table',
3156
3156
  template: "<div [id]=\"table.id + 'Table'\" [style]=\"table.style\" #tableDiv [className]=\"(table.class ? table.class : '') + (table.sortable ? 'sortable' : '') + (table.hasChildren ? ' has-children' : '') + ' table-con'\">\r\n <div *ngIf=\"table.displayLabel\" class=\"title\">\r\n <div class=\"f-r\">{{this.table.title ? this.table.title : 'List'}}</div>\r\n <span class=\"description\" *ngIf=\"this.table.description != null\" [innerHTML]=\"'( ' + this.table.description + ' )'\"></span>\r\n <div class=\"extra-buttons\" *ngIf=\"table.showExtraButtons\">\r\n <lib-form-icon *ngFor=\"let btn of table.extraButtons\" [inp]=\"btn\"></lib-form-icon>\r\n <lib-form-icon [inp]=\"reload\"></lib-form-icon>\r\n <lib-form-icon [inp]=\"maximum\"></lib-form-icon>\r\n </div>\r\n <div *ngIf=\"table.buttons.length > 0\" class=\"buttons\">\r\n <lib-form-button [inp]=\"btn\" *ngFor=\"let btn of table.buttons\"></lib-form-button>\r\n </div>\r\n </div>\r\n <div class=\"search-form\" *ngIf=\"table.searchForm\">\r\n <lib-form [form]=\"table.searchForm\"></lib-form>\r\n </div>\r\n <lib-form *ngIf=\"table.form && table.form.onTop\" [form]=\"table.form\"></lib-form>\r\n <div class=\"table\">\r\n <div class=\"header\">\r\n <div [className]=\"(table.hasChildren || table.sortable || table.withSelect ? 'with-handle ' : '') + 'row'\">\r\n <div class=\"handle\" *ngIf=\"table.hasChildren\"></div>\r\n <div class=\"handle\" *ngIf=\"table.sortable\"></div>\r\n <div class=\"handle\" *ngIf=\"table.withSelect\">\r\n <i (click)=\"selectAll()\" [className]=\"(allSelected() ? 'fas fa-check-square green' : isSelected() ? 'fas fa-minus-square green' : 'far fa-square') + ' select-row'\" *ngIf=\"table.rows.length > 0\"></i>\r\n </div>\r\n <div (click)=\"!table.sortable && col.sort && changeSort($event, col.name)\" [className]=\"(!table.sortable && col.sort ? 'sort ' : '') + col.name + '-cell cell'\" *ngFor=\"let col of table.cols\" [style]=\"{width: col.percent + '%'}\">\r\n <div class=\"header-title\" *ngIf=\"col.search == null\">{{ table.l(col.name) }}</div>\r\n <div class=\"header-search\" *ngIf=\"!table.sortable && col.search != null\">\r\n <lib-form-textbox *ngIf=\"col.type != colType.Date\" [inp]=\"col.search\"></lib-form-textbox>\r\n <lib-form-date *ngIf=\"col.type == colType.Date\" [inp]=\"col.search\"></lib-form-date>\r\n </div>\r\n <i *ngIf=\"!table.sortable && col.sort\" [className]=\"'sort-icon fas' + (table.sort === col.name ? (table.sortType === 'ASC' ? ' fa-sort-up' : ' fa-sort-down') : ' fa-sort')\"></i>\r\n </div>\r\n <div class=\"cell\" *ngIf=\"table.optionType == tableOptionType.Show\" [style]=\"{width: (100 - itemsWidth) + '%'}\">{{table.l('Options')}}</div>\r\n </div>\r\n </div>\r\n <div class=\"body\" #rows [style]=\"table.perPage > 0 ? {minHeight: table.height * table.perPage + 'px'} : table.loading || !table.permission || table.rows.length == 0 ? {minHeight: '100px'} : {}\">\r\n <lib-table-row (confirmShow)=\"onConfirmShow($event)\" [level]=\"1\" (changeRows)=\"onChangeRows($event)\" [id]=\"row.id ? row.id : ''\" [table]=\"table\" [row]=\"row\" *ngFor=\"let row of getRows()\"></lib-table-row>\r\n <lib-table-loading [table]=\"table\"></lib-table-loading>\r\n </div>\r\n </div>\r\n <lib-table-pagination [table]=\"table\" *ngIf=\"table.perPage > 0\"></lib-table-pagination>\r\n <lib-modal *ngIf=\"table.modal != null\" [modal]=\"table.modal\"></lib-modal>\r\n <lib-modal [modal]=\"opt\" *ngFor=\"let opt of getModals()\"></lib-modal>\r\n <lib-confirm #confirm [tableId]=\"table.name\"></lib-confirm>\r\n</div>\r\n",
3157
- styles: [".table-con{background-color:#fff;border-radius:5px;box-shadow:var(--box-shadow-table);float:right;padding:20px;position:relative;width:100%}.table-con.maximum{border-radius:0;height:100%;overflow-y:auto;position:fixed;right:0;top:0;width:100%;z-index:11}.table-con>.title{float:right;font-family:VazirBold;font-size:16px;line-height:40px;margin-bottom:10px;position:relative;text-align:right;width:100%}.table-con>.title .description{font-family:VazirLight;font-size:13px;margin-right:10px}.table-con>.title .buttons,.table-con>.title .extra-buttons{float:left;margin-top:5px}.table-con>.search-form{border-radius:5px;float:right;margin-bottom:10px;width:100%}.table-con .table,.table-con .table .header{float:right;width:100%}.table-con .table .header .row{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;background-color:var(--base-11);border-radius:5px;float:right;position:relative;width:100%}.table-con .table .header .row.with-handle{padding-right:30px}.table-con .table .header .row .cell{align-items:center;color:var(--black-88);display:flex;float:right;font-family:VazirLight;font-size:12px;font-weight:400;height:45px;justify-content:center;position:relative}.table-con .table .header .row .handle{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;width:30px}.table-con .table .header .row .cell.sort{cursor:pointer}.table-con .table .header .row .cell .header-title{float:right;padding:0 15px;text-align:center;width:calc(100% - 20px)}.table-con .table .header .row .cell .header-search{float:right;width:calc(100% - 20px)}.table-con .table .header .row .cell .sort-icon{float:right;font-size:13px;height:20px;left:5px;line-height:20px;opacity:.6;top:calc(50% - 10px);width:20px}.table-con .table .body{float:right;position:relative;width:100%}::ng-deep .table-con:not(.sortable) .table lib-table-row:last-of-type>.row:after{background-image:unset}::ng-deep .table-con .table .header .row .cell .select-row{cursor:pointer;font-size:18px;height:30px;line-height:30px}@media (max-width:399.98px){.table-con .table .header .row .cell{width:100%!important}}@media (min-width:400px) and (max-width:499.98px){.table-con .table .header .row .cell{width:100%!important}}@media (min-width:500px) and (max-width:599.98px){.table-con .table .header .row .cell{width:50%!important}}"]
3157
+ styles: [".table-con{background-color:#fff;border-radius:5px;box-shadow:var(--box-shadow-table);float:right;padding:20px;position:relative;width:100%}.table-con.maximum{border-radius:0;height:100%;overflow-y:auto;position:fixed;right:0;top:0;width:100%;z-index:102}.table-con>.title{float:right;font-family:VazirBold;font-size:16px;line-height:40px;margin-bottom:10px;position:relative;text-align:right;width:100%}.table-con>.title .description{font-family:VazirLight;font-size:13px;margin-right:10px}.table-con>.title .buttons,.table-con>.title .extra-buttons{float:left;margin-top:5px}.table-con>.search-form{border-radius:5px;float:right;margin-bottom:10px;width:100%}.table-con .table,.table-con .table .header{float:right;width:100%}.table-con .table .header .row{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;background-color:var(--base-11);border-radius:5px;float:right;position:relative;width:100%}.table-con .table .header .row.with-handle{padding-right:30px}.table-con .table .header .row .cell{align-items:center;color:var(--black-88);display:flex;float:right;font-family:VazirLight;font-size:12px;font-weight:400;height:45px;justify-content:center;position:relative}.table-con .table .header .row .handle{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;width:30px}.table-con .table .header .row .cell.sort{cursor:pointer}.table-con .table .header .row .cell .header-title{float:right;padding:0 15px;text-align:center;width:calc(100% - 20px)}.table-con .table .header .row .cell .header-search{float:right;width:calc(100% - 20px)}.table-con .table .header .row .cell .sort-icon{float:right;font-size:13px;height:20px;left:5px;line-height:20px;opacity:.6;top:calc(50% - 10px);width:20px}.table-con .table .body{float:right;position:relative;width:100%}::ng-deep .table-con:not(.sortable) .table lib-table-row:last-of-type>.row:after{background-image:unset}::ng-deep .table-con .table .header .row .cell .select-row{cursor:pointer;font-size:18px;height:30px;line-height:30px}@media (max-width:399.98px){.table-con .table .header .row .cell{width:100%!important}}@media (min-width:400px) and (max-width:499.98px){.table-con .table .header .row .cell{width:100%!important}}@media (min-width:500px) and (max-width:599.98px){.table-con .table .header .row .cell{width:50%!important}}"]
3158
3158
  },] }
3159
3159
  ];
3160
3160
  TableComponent.ctorParameters = function () { return [
@@ -4146,7 +4146,7 @@
4146
4146
  { type: core.Component, args: [{
4147
4147
  selector: 'lib-form',
4148
4148
  template: "<form [style]=\"form.style\" *ngIf=\"form\" [id]=\"form.id + 'Form'\" [className]=\"'form' + (form.class ? ' ' + form.class : '')\">\r\n <div *ngIf=\"form.displayLabel\" [className]=\"(form.subName ? '' : 'underline ') + 'title'\">{{this.form.l(this.form.name)}}</div>\r\n <div *ngIf=\"form.displayLabel && form.subName\" class=\"sub-title underline\">{{this.form.l(this.form.subName)}}</div>\r\n <div *ngIf=\"form.loading\" class=\"loading\">\r\n <div class=\"text\" [innerHTML]=\"form.l('LoadingTable', 'Processing')\"></div>\r\n </div>\r\n <div *ngIf=\"!form.permission\" class=\"loading\">\r\n <div class=\"text\"><i class=\"fas fa-shield-alt icon\"></i>{{ form.l(\"PermissionDenied\") }}</div>\r\n </div>\r\n <div class=\"inputs\">\r\n <span *ngFor=\"let inp of form.inputs; let i = index\">\r\n <lib-form-textbox (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && (inp.type == type.Text || inp.type == type.Password || inp.type == type.Mobile || inp.type == type.Phone || inp.type == type.Email || inp.type == type.NationalCode || inp.type == type.Number || inp.type == type.Url || inp.type == type.PostalCode || inp.type == type.Price || inp.type == type.Sheba)\" [inp]=\"inp\"></lib-form-textbox>\r\n <lib-form-textarea (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.TextArea\" [inp]=\"inp\"></lib-form-textarea>\r\n <lib-form-checkbox (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Check\" [inp]=\"inp\"></lib-form-checkbox>\r\n <lib-form-select [inForm]=\"true\" (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && (inp.type == type.Select || inp.type == type.SelectSearch || inp.type == type.SelectAutoComplete)\" [inp]=\"inp\"></lib-form-select>\r\n <lib-form-date [inForm]=\"true\" (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Date\" [inp]=\"inp\"></lib-form-date>\r\n <lib-form-time [inForm]=\"true\" (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Time\" [inp]=\"inp\"></lib-form-time>\r\n <lib-form-datetime [inForm]=\"true\" (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.DateTime\" [inp]=\"inp\"></lib-form-datetime>\r\n <lib-form-label *ngIf=\"inp.visible && inp.type == type.Label\" [inp]=\"inp\"></lib-form-label>\r\n <lib-form-file (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.File\" [inp]=\"inp\"></lib-form-file>\r\n <lib-form-button (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && (inp.type == type.Button || inp.type == type.Submit)\" [inp]=\"inp\"></lib-form-button>\r\n <lib-form-icon (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Icon\" [inp]=\"inp\"></lib-form-icon>\r\n <lib-form-radio (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Radio\" [inp]=\"inp\"></lib-form-radio>\r\n <lib-form-tree (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Tree\" [inp]=\"inp\"></lib-form-tree>\r\n <lib-form-plaque (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && (inp.type == type.Plaque || inp.type == type.PlaqueM)\" [inp]=\"inp\"></lib-form-plaque>\r\n <lib-form-plaque-select (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && (inp.type == type.SelectAutoCompletePlaque || inp.type == type.SelectAutoCompletePlaqueM)\" [inp]=\"inp\"></lib-form-plaque-select>\r\n <lib-form-bank-card (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.BankCard\" [inp]=\"inp\"></lib-form-bank-card>\r\n <lib-form-car-search (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.CarSearch\" [inp]=\"inp\"></lib-form-car-search>\r\n <lib-form-car (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Car\" [inp]=\"inp\"></lib-form-car>\r\n <lib-form-finger (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Finger\" [inp]=\"inp\"></lib-form-finger>\r\n <lib-form-table *ngIf=\"inp.visible && inp.type == type.Table\" [inp]=\"inp\"></lib-form-table>\r\n <lib-form-hidden *ngIf=\"inp.type == type.Hidden\" [inp]=\"inp\"></lib-form-hidden>\r\n </span>\r\n </div>\r\n</form>\r\n",
4149
- styles: [".form{border-radius:5px;float:right;padding:20px;position:relative;width:100%}.form>.title{font-family:VazirBold;font-size:16px;height:40px}.form>.sub-title,.form>.title{float:right;line-height:30px;margin-bottom:10px;position:relative;text-align:right;width:100%}.form>.sub-title{color:var(--black-88);font-family:VazirLight;font-size:12px;height:30px}.form .loading{background-color:#fff;border-radius:5px;height:100%;right:0;top:0;z-index:4}.form .loading,.form .loading .text{position:absolute;text-align:center;width:100%}.form .loading .text{font-family:VazirBold;height:35px;line-height:35px;top:calc(50% - 20px)}::ng-deep .form .loading .icon{font-size:20px!important;line-height:30px;margin-left:5px;position:relative;top:5px}.form-buttons,.form-error{float:right;width:100%}.form-error{color:var(--red-cc);font-size:11px;height:15px;line-height:8px;margin-top:10px;padding:0 10px;position:relative;text-align:center}.form-error .message{float:left;width:calc(100% - 40px)}.form-error .icon{float:right;height:20px;line-height:6px;right:0;top:0;width:40px}.form .inputs{margin:0 -15px}@media (max-width:399.98px){::ng-deep .form .inputs .save-form-btn{width:70%!important}::ng-deep .form .form-input-con.bank-card,::ng-deep .form .form-input-con.button:not(.save-form-btn):not(.erase-form-btn),::ng-deep .form .form-input-con.checkbox,::ng-deep .form .form-input-con.date,::ng-deep .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search),::ng-deep .form .form-input-con.textarea{margin-left:0!important;margin-right:0!important;width:100%!important}}@media (min-width:400px) and (max-width:499.98px){::ng-deep .form .inputs .save-form-btn{width:60%!important}::ng-deep .form .form-input-con.bank-card,::ng-deep .form .form-input-con.button:not(.save-form-btn):not(.erase-form-btn),::ng-deep .form .form-input-con.checkbox,::ng-deep .form .form-input-con.date,::ng-deep .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search),::ng-deep .form .form-input-con.textarea{margin-left:0!important;margin-right:0!important;width:100%!important}}@media (min-width:500px) and (max-width:599.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}::ng-deep .form .form-input-con.bank-card,::ng-deep .form .form-input-con.button:not(.save-form-btn):not(.erase-form-btn),::ng-deep .form .form-input-con.checkbox,::ng-deep .form .form-input-con.date,::ng-deep .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search),::ng-deep .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search){margin-left:0!important;margin-right:0!important;width:50%!important}::ng-deep .form .form-input-con.textarea{margin-left:0!important;margin-right:0!important;width:100%!important}}@media (min-width:600px) and (max-width:699.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:700px) and (max-width:799.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:800px) and (max-width:899.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:900px) and (max-width:999.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:1000px) and (max-width:1099.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:1100px) and (max-width:1199.98px){::ng-deep .form .inputs .save-form-btn{width:40%!important}}"]
4149
+ styles: [".form{border-radius:5px;float:right;padding:20px;position:relative;width:100%}.form>.title{font-family:VazirBold;font-size:16px;height:40px}.form>.sub-title,.form>.title{float:right;line-height:30px;margin-bottom:10px;position:relative;text-align:right;width:100%}.form>.sub-title{color:var(--black-88);font-family:VazirLight;font-size:12px;height:30px}.form .loading{background-color:#fff;border-radius:5px;height:100%;right:0;top:0;z-index:4}.form .loading,.form .loading .text{position:absolute;text-align:center;width:100%}.form .loading .text{font-family:VazirBold;height:35px;line-height:35px;top:calc(50% - 20px)}::ng-deep .form .loading .icon{font-size:20px!important;line-height:30px;margin-left:5px;position:relative;top:5px}.form-buttons,.form-error{float:right;width:100%}.form-error{color:var(--red-cc);font-size:11px;height:15px;line-height:8px;margin-top:10px;padding:0 10px;position:relative;text-align:center}.form-error .message{float:left;width:calc(100% - 40px)}.form-error .icon{float:right;height:20px;line-height:6px;right:0;top:0;width:40px}.form .inputs{margin:0 -15px}@media (max-width:399.98px){::ng-deep .form .inputs .save-form-btn{width:70%!important}::ng-deep .form .form-input-con.bank-card,::ng-deep .form .form-input-con.button:not(.save-form-btn):not(.erase-form-btn):not(.search-form-inp),::ng-deep .form .form-input-con.checkbox:not(.search-form-inp),::ng-deep .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp),::ng-deep .form .form-input-con.textarea{margin-left:0!important;margin-right:0!important;width:100%!important}}@media (min-width:400px) and (max-width:499.98px){::ng-deep .form .inputs .save-form-btn{width:60%!important}::ng-deep .form .form-input-con.bank-card,::ng-deep .form .form-input-con.button:not(.save-form-btn):not(.erase-form-btn):not(.search-form-inp),::ng-deep .form .form-input-con.checkbox:not(.search-form-inp),::ng-deep .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp),::ng-deep .form .form-input-con.textarea{margin-left:0!important;margin-right:0!important;width:100%!important}}@media (min-width:500px) and (max-width:599.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}::ng-deep .form .form-input-con.bank-card,::ng-deep .form .form-input-con.button:not(.save-form-btn):not(.erase-form-btn):not(.search-form-inp),::ng-deep .form .form-input-con.checkbox:not(.search-form-inp),::ng-deep .form .form-input-con.date:not(.table-search):not(.search-form-inp),::ng-deep .form .form-input-con.select:not(.plaque-part-item):not(.plaque-inp):not(.table-search):not(.search-form-inp),::ng-deep .form .form-input-con.text:not(.plaque-part-item):not(.plaque-inp):not(.bank-card-part-item):not(.table-search):not(.search-form-inp){margin-left:0!important;margin-right:0!important;width:50%!important}::ng-deep .form .form-input-con.textarea{margin-left:0!important;margin-right:0!important;width:100%!important}}@media (min-width:600px) and (max-width:699.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:700px) and (max-width:799.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:800px) and (max-width:899.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:900px) and (max-width:999.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:1000px) and (max-width:1099.98px){::ng-deep .form .inputs .save-form-btn{width:50%!important}}@media (min-width:1100px) and (max-width:1199.98px){::ng-deep .form .inputs .save-form-btn{width:40%!important}}"]
4150
4150
  },] }
4151
4151
  ];
4152
4152
  FormComponent.ctorParameters = function () { return []; };
@@ -6824,8 +6824,8 @@
6824
6824
  LayoutComponent.decorators = [
6825
6825
  { type: core.Component, args: [{
6826
6826
  selector: 'lib-layout',
6827
- template: "<div id=\"Layout\">\r\n <div class=\"layout-con\">\r\n <div class=\"panel\">\r\n <lib-sidebar [permissions]=\"permissions\" [area]=\"area\" [version]=\"version\">\r\n <ng-content select=\"[slot=sidebar]\"></ng-content>\r\n </lib-sidebar>\r\n <div class=\"content\">\r\n <lib-header (logout)=\"logout.emit()\">\r\n <ng-content select=\"[slot=header]\"></ng-content>\r\n </lib-header>\r\n <div class=\"content-scroll-con\" style=\"overflow-y: auto\">\r\n <div class=\"content-scroll\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
6828
- styles: ["#Layout,#Layout .layout-con,#Layout .panel{float:right;width:100%}#Layout .panel{display:flex;flex-direction:row;position:relative}#Layout .panel .content{background-color:var(--base-11);direction:rtl;float:left;overflow:hidden;position:relative;transition:width .3s;width:100%}#Layout .panel .content .content-scroll-con{height:calc(100vh - 85px);min-height:calc(100vh - 85px);width:100%}#Layout .panel .content .content-scroll-con .content-scroll{float:right;padding:20px;width:100%}@media (max-width:399.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}@media (min-width:400px) and (max-width:499.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}@media (min-width:500px) and (max-width:599.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}"]
6827
+ template: "<div id=\"Layout\">\r\n <div class=\"layout-con\">\r\n <div class=\"panel\">\r\n <lib-sidebar [permissions]=\"permissions\" [area]=\"area\" [version]=\"version\">\r\n <ng-content select=\"[slot=sidebar]\"></ng-content>\r\n </lib-sidebar>\r\n <div class=\"content\">\r\n <lib-header (logout)=\"logout.emit()\">\r\n <ng-content select=\"[slot=header]\"></ng-content>\r\n </lib-header>\r\n\r\n <div class=\"content-scroll-con\">\r\n <div class=\"content-scroll\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
6828
+ styles: ["#Layout,#Layout .layout-con,#Layout .panel{float:right;width:100%}#Layout .panel{display:flex;flex-direction:row;position:relative}#Layout .panel .content{background-color:var(--base-11);direction:rtl;float:left;overflow:hidden;position:relative;transition:width .3s;width:100%}#Layout .panel .content .content-scroll-con{height:calc(100vh - 85px);min-height:calc(100vh - 85px);overflow-y:auto;width:100%}#Layout .panel .content .content-scroll-con .content-scroll{float:right;padding:20px;width:100%}@media (max-width:399.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}@media (min-width:400px) and (max-width:499.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}@media (min-width:500px) and (max-width:599.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}"]
6829
6829
  },] }
6830
6830
  ];
6831
6831
  LayoutComponent.ctorParameters = function () { return []; };