ps-toolkit-ui 1.7.52 → 1.7.56
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/ps-toolkit-ui.umd.js +89 -8
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/enum.class.js +2 -1
- package/esm2015/lib/components/form/ckeditor/form.ckeditor.component.js +78 -0
- package/esm2015/lib/components/form/index/form.component.js +2 -2
- package/esm2015/lib/ps-toolkit-ui.module.js +7 -4
- package/esm2015/public-api.js +2 -1
- package/fesm2015/ps-toolkit-ui.js +84 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/enum.class.d.ts +2 -1
- package/lib/components/form/ckeditor/form.ckeditor.component.d.ts +12 -0
- package/package.json +3 -1
- package/ps-toolkit-ui.metadata.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('jquery'), require('lodash'), require('jalali-moment'), require('@angular/router'), require('jquery-ui-dist/jquery-ui'), require('@angular/forms'), require('@angular/common'), require('@angular/platform-browser'), require('highcharts')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('ps-toolkit-ui', ['exports', '@angular/core', 'jquery', 'lodash', 'jalali-moment', '@angular/router', 'jquery-ui-dist/jquery-ui', '@angular/forms', '@angular/common', '@angular/platform-browser', 'highcharts'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ps-toolkit-ui'] = {}, global.ng.core, global.$$1, global._, global.moment, global.ng.router, null, global.ng.forms, global.ng.common, global.ng.platformBrowser, global.Highcharts));
|
|
5
|
-
}(this, (function (exports, core, $$1, _, moment, router, jqueryUi, forms, common, platformBrowser, Highcharts) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('jquery'), require('lodash'), require('jalali-moment'), require('@angular/router'), require('jquery-ui-dist/jquery-ui'), require('@angular/forms'), require('@angular/common'), require('@angular/platform-browser'), require('@ckeditor/ckeditor5-build-inline'), require('@ckeditor/ckeditor5-angular'), require('highcharts')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('ps-toolkit-ui', ['exports', '@angular/core', 'jquery', 'lodash', 'jalali-moment', '@angular/router', 'jquery-ui-dist/jquery-ui', '@angular/forms', '@angular/common', '@angular/platform-browser', '@ckeditor/ckeditor5-build-inline', '@ckeditor/ckeditor5-angular', 'highcharts'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ps-toolkit-ui'] = {}, global.ng.core, global.$$1, global._, global.moment, global.ng.router, null, global.ng.forms, global.ng.common, global.ng.platformBrowser, global.InlineEditor, global.ckeditor5Angular, global.Highcharts));
|
|
5
|
+
}(this, (function (exports, core, $$1, _, moment, router, jqueryUi, forms, common, platformBrowser, InlineEditor, ckeditor5Angular, Highcharts) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) { return e; } else {
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
var $__namespace = /*#__PURE__*/_interopNamespace($$1);
|
|
29
29
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
|
|
30
|
+
var InlineEditor__namespace = /*#__PURE__*/_interopNamespace(InlineEditor);
|
|
30
31
|
|
|
31
32
|
var PsToolkitUiConfigService = /** @class */ (function () {
|
|
32
33
|
function PsToolkitUiConfigService(environment, strings, currentLang) {
|
|
@@ -782,6 +783,7 @@
|
|
|
782
783
|
InputType[InputType["Color"] = 43] = "Color";
|
|
783
784
|
InputType[InputType["Star"] = 44] = "Star";
|
|
784
785
|
InputType[InputType["BillNumber"] = 45] = "BillNumber";
|
|
786
|
+
InputType[InputType["Ckeditor"] = 46] = "Ckeditor";
|
|
785
787
|
})(exports.InputType || (exports.InputType = {}));
|
|
786
788
|
(function (OperationEnum) {
|
|
787
789
|
OperationEnum[OperationEnum["All"] = -1] = "All";
|
|
@@ -4343,7 +4345,7 @@
|
|
|
4343
4345
|
FormComponent.decorators = [
|
|
4344
4346
|
{ type: core.Component, args: [{
|
|
4345
4347
|
selector: 'lib-form',
|
|
4346
|
-
template: "<form [style]=\"form.style\" *ngIf=\"form\" [id]=\"form.id + 'Form'\" [className]=\"'form w-100 m-0' + (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.type == type.Color || inp.type == type.BillNumber)\" [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.type == type.TreeRadio)\" [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.type == type.PlaqueF || inp.type == type.PlaqueG)\" [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.type == type.SelectAutoCompletePlaqueF || inp.type == type.SelectAutoCompletePlaqueG)\" [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-vehicle-search (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.VehicleSearch\" [inp]=\"inp\"></lib-form-vehicle-search>\r\n <lib-form-vehicle (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Vehicle\" [inp]=\"inp\"></lib-form-vehicle>\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-star (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Star\" [inp]=\"inp\"></lib-form-star>\r\n <lib-form-table *ngIf=\"inp.visible && inp.type == type.Table\" [inp]=\"inp\"></lib-form-table>\r\n <lib-form-tag (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Tag\" [inp]=\"inp\"></lib-form-tag>\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",
|
|
4348
|
+
template: "<form [style]=\"form.style\" *ngIf=\"form\" [id]=\"form.id + 'Form'\" [className]=\"'form w-100 m-0' + (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.type == type.Color || inp.type == type.BillNumber)\" [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.type == type.TreeRadio)\" [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.type == type.PlaqueF || inp.type == type.PlaqueG)\" [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.type == type.SelectAutoCompletePlaqueF || inp.type == type.SelectAutoCompletePlaqueG)\" [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-vehicle-search (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.VehicleSearch\" [inp]=\"inp\"></lib-form-vehicle-search>\r\n <lib-form-vehicle (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Vehicle\" [inp]=\"inp\"></lib-form-vehicle>\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-star (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Star\" [inp]=\"inp\"></lib-form-star>\r\n <lib-form-table *ngIf=\"inp.visible && inp.type == type.Table\" [inp]=\"inp\"></lib-form-table>\r\n <lib-form-tag (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Tag\" [inp]=\"inp\"></lib-form-tag>\r\n <lib-form-ckeditor (changeIndex)=\"changeIndex(i, $event)\" *ngIf=\"inp.visible && inp.type == type.Ckeditor\" [inp]=\"inp\"></lib-form-ckeditor>\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",
|
|
4347
4349
|
styles: [".form{border-radius:var(--border-radius-base);padding:20px;position:relative}.form>.title{font-size:16px;font-weight:700;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-light);font-size:12px;font-weight:200;height:30px}.form .loading{background-color:#fff;border-radius:var(--border-radius-base);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-weight:700;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-light);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}"]
|
|
4348
4350
|
},] }
|
|
4349
4351
|
];
|
|
@@ -7647,6 +7649,83 @@
|
|
|
7647
7649
|
inputLabel: [{ type: core.ViewChild, args: ['inputLabel',] }]
|
|
7648
7650
|
};
|
|
7649
7651
|
|
|
7652
|
+
var FormCkeditorComponent = /** @class */ (function () {
|
|
7653
|
+
function FormCkeditorComponent() {
|
|
7654
|
+
this.changeIndex = new core.EventEmitter();
|
|
7655
|
+
this.Editor = InlineEditor__namespace;
|
|
7656
|
+
}
|
|
7657
|
+
FormCkeditorComponent.prototype.ngOnInit = function () {
|
|
7658
|
+
var _this = this;
|
|
7659
|
+
this.inp.setValue = function (v) {
|
|
7660
|
+
_this.inp.value = v;
|
|
7661
|
+
};
|
|
7662
|
+
this.inp.isValid = function () {
|
|
7663
|
+
_this.inp.error = null;
|
|
7664
|
+
if (_this.inp.required && !_this.inp.value) {
|
|
7665
|
+
_this.inp.error = exports.InputError.Required;
|
|
7666
|
+
return false;
|
|
7667
|
+
}
|
|
7668
|
+
if (!_this.inp.required && !_this.inp.value) {
|
|
7669
|
+
return true;
|
|
7670
|
+
}
|
|
7671
|
+
if (_this.inp.required && _this.inp.minLength !== -1 &&
|
|
7672
|
+
_this.inp.minLength === _this.inp.maxLength &&
|
|
7673
|
+
_this.inp.value.length !== _this.inp.minLength) {
|
|
7674
|
+
_this.inp.error = exports.InputError.Length;
|
|
7675
|
+
return false;
|
|
7676
|
+
}
|
|
7677
|
+
if (_this.inp.required &&
|
|
7678
|
+
_this.inp.minLength !== -1 &&
|
|
7679
|
+
_this.inp.value.length < _this.inp.minLength) {
|
|
7680
|
+
_this.inp.error = exports.InputError.MinLength;
|
|
7681
|
+
return false;
|
|
7682
|
+
}
|
|
7683
|
+
if (_this.inp.required &&
|
|
7684
|
+
_this.inp.maxLength !== -1 &&
|
|
7685
|
+
_this.inp.value.length > _this.inp.maxLength) {
|
|
7686
|
+
_this.inp.error = exports.InputError.MaxLength;
|
|
7687
|
+
return false;
|
|
7688
|
+
}
|
|
7689
|
+
return true;
|
|
7690
|
+
};
|
|
7691
|
+
this.inp.clear = function () {
|
|
7692
|
+
_this.inp.error = null;
|
|
7693
|
+
_this.inp.value = _this.inp.default;
|
|
7694
|
+
};
|
|
7695
|
+
this.inp.data = function () {
|
|
7696
|
+
return _this.inp.value;
|
|
7697
|
+
};
|
|
7698
|
+
this.inp.focus = function () {
|
|
7699
|
+
_this.onFocusIn();
|
|
7700
|
+
};
|
|
7701
|
+
};
|
|
7702
|
+
FormCkeditorComponent.prototype.onFocusIn = function () {
|
|
7703
|
+
this.inputBase.nativeElement.focus();
|
|
7704
|
+
};
|
|
7705
|
+
FormCkeditorComponent.prototype.onKeyDown = function (e) {
|
|
7706
|
+
this.inp.error = null;
|
|
7707
|
+
var code = e.keyCode || e.which;
|
|
7708
|
+
if (code === 9) {
|
|
7709
|
+
e.preventDefault();
|
|
7710
|
+
this.changeIndex.emit(e.shiftKey ? 'ShiftTab' : 'Tab');
|
|
7711
|
+
}
|
|
7712
|
+
};
|
|
7713
|
+
return FormCkeditorComponent;
|
|
7714
|
+
}());
|
|
7715
|
+
FormCkeditorComponent.decorators = [
|
|
7716
|
+
{ type: core.Component, args: [{
|
|
7717
|
+
selector: 'lib-form-ckeditor',
|
|
7718
|
+
template: "<div #inputDiv [id]=\"inp.id + 'CkeditorInput'\" [className]=\"'form-input-con ckeditor w-100' + (inp.error == null ? '' : ' error') + (inp.disabled ? ' disabled' : '') + ' ' + inp.class\">\r\n <div class=\"form-input\" (click)=\"onFocusIn()\">\r\n <div *ngIf=\"inp.displayLabel\" class=\"label\"><i *ngIf=\"inp.required\" class=\"fas fa-star-of-life required-icon\"></i>{{inp.getLabel()}}</div>\r\n <div class=\"w-100 p-r\">\r\n <ckeditor [editor]=\"Editor\" data=\"<p>Hello, world!</p>\"></ckeditor>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
7719
|
+
styles: [".form-input-con.ckeditor{padding:0 15px;position:relative}.form-input-con.ckeditor .form-input{float:right;position:relative;width:100%}.form-input-con.ckeditor .form-input .label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;direction:rtl;float:right;font-size:12px;height:20px;line-height:20px;margin-bottom:3px;padding:0 10px;text-align:right;width:100%}.form-input-con.ckeditor.error .form-input .label{color:var(--red);font-size:10px}.form-input-con.ckeditor .form-input .label .required-icon{color:var(--red);font-size:9px;height:20px;line-height:20px;text-align:center;width:20px}.form-input-con.ckeditor .form-input .control{background-image:none;border:none;border:var(--border-input);border-radius:var(--border-radius-base);color:var(--black);display:block;font-size:11px;height:80px;margin:0;padding:10px 35px;resize:none;text-align:center;width:100%}.form-input-con.ckeditor .form-input .control:focus,.form-input-con.ckeditor .form-input .control:hover{border:var(--border-input-dark);outline:none}.form-input-con.ckeditor .form-input i.icon{color:var(--primary);cursor:text;left:0;line-height:35px;z-index:1}.form-input-con.ckeditor .form-input i.clear-icon,.form-input-con.ckeditor .form-input i.icon{font-size:14px;height:35px;position:absolute;text-align:center;top:0;transition:all .35s ease-in-out;width:35px}.form-input-con.ckeditor .form-input i.clear-icon{color:var(--red);cursor:pointer;line-height:38px;right:0;z-index:3}.form-input-con.ckeditor.error .form-input .control{border:var(--border-input-red)}.form-input-con.ckeditor.error .form-input .control:focus,.form-input-con.ckeditor.error .form-input .control:hover{border:var(--border-input-red-dark)}.form-input-con.ckeditor.error .form-input .control,.form-input-con.ckeditor.error .form-input i.icon{color:var(--red-light)}.form-input-con.ckeditor.h-50 .form-input .control{height:50px}"]
|
|
7720
|
+
},] }
|
|
7721
|
+
];
|
|
7722
|
+
FormCkeditorComponent.ctorParameters = function () { return []; };
|
|
7723
|
+
FormCkeditorComponent.propDecorators = {
|
|
7724
|
+
inp: [{ type: core.Input }],
|
|
7725
|
+
changeIndex: [{ type: core.Output }],
|
|
7726
|
+
inputBase: [{ type: core.ViewChild, args: ['inputBase',] }]
|
|
7727
|
+
};
|
|
7728
|
+
|
|
7650
7729
|
var PsToolkitUiModule = /** @class */ (function () {
|
|
7651
7730
|
function PsToolkitUiModule() {
|
|
7652
7731
|
}
|
|
@@ -7670,12 +7749,13 @@
|
|
|
7670
7749
|
TooltipComponent, ConfirmComponent, TableComponent, ModalComponent, FormComponent, TableRowComponent, FormTreeComponent, AlertComponent,
|
|
7671
7750
|
FormTimeComponent, NotfoundComponent, FormFingerComponent, FormVehicleSearchComponent, FormVehicleComponent, FormStarComponent,
|
|
7672
7751
|
SafeStylePipe, LoginComponent, LoadingComponent, NotificationComponent, LayoutComponent, FormHiddenComponent, CalendarComponent,
|
|
7673
|
-
ClockComponent, ChartComponent, SafeHtmlPipe, FormTagComponent, ErrorComponent
|
|
7752
|
+
ClockComponent, ChartComponent, SafeHtmlPipe, FormTagComponent, ErrorComponent, FormCkeditorComponent
|
|
7674
7753
|
],
|
|
7675
7754
|
imports: [
|
|
7676
7755
|
common.CommonModule,
|
|
7677
7756
|
router.RouterModule,
|
|
7678
|
-
forms.FormsModule
|
|
7757
|
+
forms.FormsModule,
|
|
7758
|
+
ckeditor5Angular.CKEditorModule
|
|
7679
7759
|
],
|
|
7680
7760
|
providers: [],
|
|
7681
7761
|
exports: [
|
|
@@ -7686,7 +7766,7 @@
|
|
|
7686
7766
|
TooltipComponent, ConfirmComponent, TableComponent, ModalComponent, FormComponent, TableRowComponent, FormTreeComponent, AlertComponent,
|
|
7687
7767
|
FormTimeComponent, NotfoundComponent, FormFingerComponent, FormVehicleSearchComponent, FormVehicleComponent, FormStarComponent,
|
|
7688
7768
|
LoginComponent, LoadingComponent, NotificationComponent, LayoutComponent, FormHiddenComponent, CalendarComponent,
|
|
7689
|
-
ClockComponent, ChartComponent, FormTagComponent, ErrorComponent
|
|
7769
|
+
ClockComponent, ChartComponent, FormTagComponent, ErrorComponent, FormCkeditorComponent
|
|
7690
7770
|
]
|
|
7691
7771
|
},] }
|
|
7692
7772
|
];
|
|
@@ -8228,6 +8308,7 @@
|
|
|
8228
8308
|
exports.FormBankCardComponent = FormBankCardComponent;
|
|
8229
8309
|
exports.FormButtonComponent = FormButtonComponent;
|
|
8230
8310
|
exports.FormCheckboxComponent = FormCheckboxComponent;
|
|
8311
|
+
exports.FormCkeditorComponent = FormCkeditorComponent;
|
|
8231
8312
|
exports.FormClass = FormClass;
|
|
8232
8313
|
exports.FormComponent = FormComponent;
|
|
8233
8314
|
exports.FormDateComponent = FormDateComponent;
|