info-library 2.10.41 → 2.10.42
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/info-library.umd.js +6 -2
- package/bundles/info-library.umd.js.map +1 -1
- package/bundles/info-library.umd.min.js +1 -1
- package/bundles/info-library.umd.min.js.map +1 -1
- package/controls/editor/editor.component.d.ts +1 -0
- package/esm2015/controls/editor/editor.component.js +7 -3
- package/fesm2015/info-library.js +6 -2
- package/fesm2015/info-library.js.map +1 -1
- package/info-library.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6033,6 +6033,7 @@
|
|
|
6033
6033
|
function InfoEditorComponent(_sanitizer) {
|
|
6034
6034
|
this._sanitizer = _sanitizer;
|
|
6035
6035
|
this.required = false;
|
|
6036
|
+
this.enabledhtmlmode = false;
|
|
6036
6037
|
this.value = '';
|
|
6037
6038
|
this.focused = false;
|
|
6038
6039
|
this.id = null;
|
|
@@ -6215,7 +6216,7 @@
|
|
|
6215
6216
|
InfoEditorComponent.decorators = [
|
|
6216
6217
|
{ type: i0.Component, args: [{
|
|
6217
6218
|
selector: 'info-editor',
|
|
6218
|
-
template: "<angular-editor [attr.id]=\"id\" [attr.focused]=\"focused\" [(ngModel)]=\"value\" name=\"editor\" [config]=\"editorConfig\" (ngModelChange)=\"onChangeValue()\" [required]=\"required\" #editor></angular-editor>\r\n",
|
|
6219
|
+
template: "<angular-editor [attr.id]=\"id\" [attr.focused]=\"focused\" [attr.htmlmode]=\"enabledhtmlmode\" [(ngModel)]=\"value\" name=\"editor\" [config]=\"editorConfig\" (ngModelChange)=\"onChangeValue()\" [required]=\"required\" #editor></angular-editor>\r\n",
|
|
6219
6220
|
providers: [{
|
|
6220
6221
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
6221
6222
|
useExisting: i0.forwardRef(( /**
|
|
@@ -6223,7 +6224,7 @@
|
|
|
6223
6224
|
*/function () { return InfoEditorComponent; })),
|
|
6224
6225
|
multi: true
|
|
6225
6226
|
}],
|
|
6226
|
-
styles: [":host ::ng-deep .angular-editor-toolbar-set #insertVideo-,:host ::ng-deep .angular-editor-toolbar-set #toggleEditorMode-{display:none}:host ::ng-deep .angular-editor-textarea{border:none!important;border-bottom:1px solid!important;outline:none}:host ::ng-deep .angular-editor-textarea[contenteditable=false]{border-bottom:1.5px dotted #d3d3d3!important}:host ::ng-deep .angular-editor-wrapper:after{background-color:#000;bottom:0;content:\"\";height:2px;left:0;opacity:0;position:absolute;transform:scaleX(.5);transform-origin:50%;transition:background-color .3s cubic-bezier(.55,0,.55,.2);width:100%}:host ::ng-deep [focused=true] .angular-editor-wrapper:after{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}:host ::ng-deep .ng-touched.ng-invalid .angular-editor-wrapper:after{background-color:#f44336!important}:host ::ng-deep .ng-touched.ng-invalid .angular-editor-textarea[contenteditable=true]{border-bottom-color:#f44336!important}"]
|
|
6227
|
+
styles: [":host ::ng-deep .angular-editor-toolbar-set #insertVideo-,:host ::ng-deep [htmlmode=false] .angular-editor-toolbar-set #toggleEditorMode-{display:none}:host ::ng-deep .angular-editor-textarea{border:none!important;border-bottom:1px solid!important;outline:none}:host ::ng-deep .angular-editor-textarea[contenteditable=false]{border-bottom:1.5px dotted #d3d3d3!important}:host ::ng-deep .angular-editor-wrapper:after{background-color:#000;bottom:0;content:\"\";height:2px;left:0;opacity:0;position:absolute;transform:scaleX(.5);transform-origin:50%;transition:background-color .3s cubic-bezier(.55,0,.55,.2);width:100%}:host ::ng-deep [focused=true] .angular-editor-wrapper:after{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}:host ::ng-deep .ng-touched.ng-invalid .angular-editor-wrapper:after{background-color:#f44336!important}:host ::ng-deep .ng-touched.ng-invalid .angular-editor-textarea[contenteditable=true]{border-bottom-color:#f44336!important}"]
|
|
6227
6228
|
}] }
|
|
6228
6229
|
];
|
|
6229
6230
|
/** @nocollapse */
|
|
@@ -6233,6 +6234,7 @@
|
|
|
6233
6234
|
InfoEditorComponent.propDecorators = {
|
|
6234
6235
|
editor: [{ type: i0.ViewChild, args: ['editor',] }],
|
|
6235
6236
|
required: [{ type: i0.Input }],
|
|
6237
|
+
enabledhtmlmode: [{ type: i0.Input }],
|
|
6236
6238
|
disabled: [{ type: i0.Input }],
|
|
6237
6239
|
height: [{ type: i0.Input }],
|
|
6238
6240
|
minheight: [{ type: i0.Input }],
|
|
@@ -6246,6 +6248,8 @@
|
|
|
6246
6248
|
/** @type {?} */
|
|
6247
6249
|
InfoEditorComponent.prototype.required;
|
|
6248
6250
|
/** @type {?} */
|
|
6251
|
+
InfoEditorComponent.prototype.enabledhtmlmode;
|
|
6252
|
+
/** @type {?} */
|
|
6249
6253
|
InfoEditorComponent.prototype.value;
|
|
6250
6254
|
/** @type {?} */
|
|
6251
6255
|
InfoEditorComponent.prototype.onChange;
|