ps-toolkit-ui 1.7.74 → 1.7.77
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 +8 -6
- 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/components/form/ckeditor/form.ckeditor.component.js +5 -3
- package/fesm2015/ps-toolkit-ui.js +4 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/form/ckeditor/form.ckeditor.component.d.ts +1 -1
- package/package.json +2 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -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('@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.Editor, global.ckeditor5Angular, global.Highcharts));
|
|
5
|
-
}(this, (function (exports, core, $$1, _, moment, router, jqueryUi, forms, common, platformBrowser, Editor, ckeditor5Angular, 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-alignment'), 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-alignment', '@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.Editor, global.Alignment, global.ckeditor5Angular, global.Highcharts));
|
|
5
|
+
}(this, (function (exports, core, $$1, _, moment, router, jqueryUi, forms, common, platformBrowser, Editor, Alignment, ckeditor5Angular, Highcharts) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) { return e; } else {
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
var $__namespace = /*#__PURE__*/_interopNamespace($$1);
|
|
29
29
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
|
|
30
30
|
var Editor__namespace = /*#__PURE__*/_interopNamespace(Editor);
|
|
31
|
+
var Alignment__namespace = /*#__PURE__*/_interopNamespace(Alignment);
|
|
31
32
|
|
|
32
33
|
var PsToolkitUiConfigService = /** @class */ (function () {
|
|
33
34
|
function PsToolkitUiConfigService(environment, strings, currentLang) {
|
|
@@ -7654,6 +7655,7 @@
|
|
|
7654
7655
|
this.changeIndex = new core.EventEmitter();
|
|
7655
7656
|
this.Editor = Editor__namespace;
|
|
7656
7657
|
this.config = {
|
|
7658
|
+
plugins: [Alignment__namespace],
|
|
7657
7659
|
toolbar: {
|
|
7658
7660
|
items: [
|
|
7659
7661
|
'code',
|
|
@@ -7677,7 +7679,7 @@
|
|
|
7677
7679
|
alignment: {
|
|
7678
7680
|
options: ['left', 'right', 'center', 'justify']
|
|
7679
7681
|
},
|
|
7680
|
-
|
|
7682
|
+
mediaEmbed: {}
|
|
7681
7683
|
};
|
|
7682
7684
|
}
|
|
7683
7685
|
FormCkeditorComponent.prototype.ngOnInit = function () {
|
|
@@ -7726,7 +7728,7 @@
|
|
|
7726
7728
|
};
|
|
7727
7729
|
};
|
|
7728
7730
|
FormCkeditorComponent.prototype.onFocusIn = function () {
|
|
7729
|
-
this.inputBase.nativeElement.focus();
|
|
7731
|
+
// this.inputBase.nativeElement.focus();
|
|
7730
7732
|
};
|
|
7731
7733
|
FormCkeditorComponent.prototype.onKeyDown = function (e) {
|
|
7732
7734
|
this.inp.error = null;
|