raise-common-lib 0.0.256 → 0.0.258
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/raise-common-lib.umd.js +10 -2
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/form/drawer-form/drawer-form.component.js +2 -2
- package/esm2015/lib/form/richtexteditor/index.component.js +10 -2
- package/esm5/lib/form/drawer-form/drawer-form.component.js +2 -2
- package/esm5/lib/form/richtexteditor/index.component.js +10 -2
- package/fesm2015/raise-common-lib.js +10 -2
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +10 -2
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/form/richtexteditor/index.component.d.ts +2 -0
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -25416,7 +25416,7 @@ var DrawerFormComponent = /** @class */ (function () {
|
|
|
25416
25416
|
/** @type {?} */
|
|
25417
25417
|
var index = this.fieldTypeMap[field.fieldFormType].indexOf(field);
|
|
25418
25418
|
/** @type {?} */
|
|
25419
|
-
var component = this.dropdowns.toArray()[index];
|
|
25419
|
+
var component = this.dropdowns && this.dropdowns.toArray()[index];
|
|
25420
25420
|
if (event.items.length > 0 && index !== -1 && component) {
|
|
25421
25421
|
component.value = this.form[field.formKey];
|
|
25422
25422
|
}
|
|
@@ -38356,6 +38356,8 @@ var RichtexteditorComponent = /** @class */ (function () {
|
|
|
38356
38356
|
this.height = 150;
|
|
38357
38357
|
this.autoSaveOnIdle = true;
|
|
38358
38358
|
this.disabled = false;
|
|
38359
|
+
this.enabled = true;
|
|
38360
|
+
this.readonly = false;
|
|
38359
38361
|
this.saveInterval = 500;
|
|
38360
38362
|
this.enableAutoUrl = true;
|
|
38361
38363
|
this.insertImageSettings = {
|
|
@@ -38566,7 +38568,7 @@ var RichtexteditorComponent = /** @class */ (function () {
|
|
|
38566
38568
|
RichtexteditorComponent.decorators = [
|
|
38567
38569
|
{ type: Component, args: [{
|
|
38568
38570
|
selector: "rs-richtext-editor",
|
|
38569
|
-
template: "<div class=\"editor_box\" id=\"container\">\r\n <ejs-richtexteditor\r\n #editor\r\n [id]=\"editorId\"\r\n [height]=\"height\"\r\n [saveInterval]=\"saveInterval\"\r\n [placeholder]=\"placeholder\"\r\n [maxlength]=\"maxlength\"\r\n [autoSaveOnIdle]=\"autoSaveOnIdle\"\r\n [toolbarSettings]=\"tools\"\r\n [enableAutoUrl]=\"enableAutoUrl\"\r\n [quickToolbarSettings]=\"quickToolbarSettings\"\r\n [bulletFormatList]=\"bulletFormatList\"\r\n [numberFormatList]=\"numberFormatList\"\r\n [fontFamily]=\"family\"\r\n [fontSize]=\"fontSize\"\r\n [disabled]=\"disabled\"\r\n [insertImageSettings]=\"insertImageSettings\"\r\n [(value)]=\"value\"\r\n (actionBegin)=\"_actionBegin($event)\"\r\n (change)=\"onContentChange($event)\"\r\n (created)=\"onCreate()\"\r\n (toolbarClick)=\"_toolbarClick($event)\"\r\n (input)=\"_input($event)\"\r\n (focus)=\"_focus($event)\"\r\n (blur)=\"_blur($event)\"\r\n (actionComplete)=\"_actionComplete($event)\"\r\n >\r\n </ejs-richtexteditor>\r\n</div>\r\n",
|
|
38571
|
+
template: "<div class=\"editor_box\" id=\"container\">\r\n <ejs-richtexteditor\r\n #editor\r\n [id]=\"editorId\"\r\n [height]=\"height\"\r\n [saveInterval]=\"saveInterval\"\r\n [placeholder]=\"placeholder\"\r\n [maxlength]=\"maxlength\"\r\n [autoSaveOnIdle]=\"autoSaveOnIdle\"\r\n [toolbarSettings]=\"tools\"\r\n [enableAutoUrl]=\"enableAutoUrl\"\r\n [quickToolbarSettings]=\"quickToolbarSettings\"\r\n [bulletFormatList]=\"bulletFormatList\"\r\n [numberFormatList]=\"numberFormatList\"\r\n [fontFamily]=\"family\"\r\n [fontSize]=\"fontSize\"\r\n [disabled]=\"disabled\"\r\n [enabled]=\"enabled\"\r\n [readonly]=\"readonly\"\r\n [insertImageSettings]=\"insertImageSettings\"\r\n [(value)]=\"value\"\r\n (actionBegin)=\"_actionBegin($event)\"\r\n (change)=\"onContentChange($event)\"\r\n (created)=\"onCreate()\"\r\n (toolbarClick)=\"_toolbarClick($event)\"\r\n (input)=\"_input($event)\"\r\n (focus)=\"_focus($event)\"\r\n (blur)=\"_blur($event)\"\r\n (actionComplete)=\"_actionComplete($event)\"\r\n >\r\n </ejs-richtexteditor>\r\n</div>\r\n",
|
|
38570
38572
|
styles: [".editor_box{position:relative;width:100%;height:100%}.editor_box .toast{position:absolute;left:35%;top:110px;z-index:1;width:400px;border-radius:4px;border:1px solid #e8f2ff;background:#f4f8ff;padding:4px 12px;color:#1f3f5c;font-size:12px;font-style:normal;font-weight:400;height:32px;font-family:Arial;display:flex;align-items:center;justify-content:space-between}.editor_box .toast .toast_text::before{content:url(../../assets/img/info.svg);display:inline-block;width:16px;height:16px;vertical-align:bottom;margin-right:8px}.editor_box .toast .close_icon{background-image:url(../../assets/img/notification-close.svg);cursor:pointer;display:inline-block;width:16px;height:16px}.custom-dialog-rte{padding:0 20px;border-radius:10px}.custom-row-0,.custom-row-1,.custom-row-2{display:flex;align-items:center;padding:12px 24px}.e-rte-dropdown-btn-text{padding-left:4px}.no-results-found{text-align:center}.no-results-found img{display:block;margin:0 auto}.e-custom{margin-right:.5rem;border-radius:25px!important}.custom-dialog-rte .skeleton-rectangle{border-radius:4px}@media (max-width:767px){.cuscol-0,.cuscol-1,.cuscol-2{justify-content:center!important}.custom-row-0,.custom-row-1,.custom-row-2{flex-direction:column!important}.cuscol-1{border-right:none!important}.cuscol-0{width:100%;align-items:center}::ng-deep:host .e-dialog{max-height:80%!important}.custom-dialog-rte .e-dialog .e-dlg-content{overflow-y:auto!important}.custom-dialog-rte .e-dialog .e-dlg-content .e-richtexteditor{height:100px!important}.cuscol-noresult{padding-bottom:20px!important}.e-chip-list{padding:5px!important}.cuscol{padding-right:.2rem!important;width:auto!important}.custom-row-1{height:auto!important}}.cuscol-1{display:flex;flex-direction:row!important}.cuscol-2{display:flex;flex-direction:column!important}.sentiment{color:#000!important}.custom-dialog-rte .e-dialog .e-dlg-content{padding:0!important;overflow-y:hidden}.custom-dialog-rte .e-dialog .e-dlg-header-content{padding:20px 0!important;border:0!important}.custom-dialog-rte .e-dialog .e-dlg-header-content .e-dlg-header{display:flex;align-items:center;line-height:18px;justify-content:space-between}.custom-dialog-rte .e-dialog .e-dlg-header-content .e-dlg-header .header-title{font-family:Arial;font-size:15px;font-weight:700;font-style:normal}.custom-dialog-rte .e-dialog .e-dlg-header-content .header-buttons{display:flex}.custom-dialog-rte .e-dialog .e-dlg-header-content .header-buttons img{width:16px;height:16px;cursor:pointer;padding:2px;margin-left:12px}.custom-dialog-rte .e-dialog .e-footer-content{padding:0!important}.custom-dialog-rte .e-dialog .e-dlg-content .e-richtexteditor.e-rte-tb-expand .e-rte-content,.e-richtexteditor.e-rte-tb-expand .e-source-content{border:0;border-bottom:1px solid #dee2e6;border-top:0 solid #dee2e6!important}.custom-dialog-rte .dialog-content .custom-row-0{border-top:0 solid #ddd!important;padding:0;margin-bottom:12px}.custom-dialog-rte .dialog-content .custom-row-0 .cuscol-0{justify-content:left;border-right:none!important;padding:0;display:flex;gap:12px}.custom-dialog-rte .dialog-content .custom-row-0 .cuscol-1{padding:0;margin-left:12px}.custom-dialog-rte .dialog-content .custom-row-0 .cuscol-1 .e-primary{color:#44566c;border-radius:4px;border:1px solid #dbe1e7;background:#fff;width:87px;margin:0;padding:2px 12px;font-family:Arial;font-size:12px;font-style:normal;font-weight:400;line-height:14px;height:28px}.custom-dialog-rte .dialog-content .custom-row-1{padding:0;height:calc(100% - 40px);gap:12px}.custom-dialog-rte .e-footer-content{border:0}.custom-dialog-rte .e-footer-content .custom-row-0{padding:20px 0}.custom-dialog-rte .e-footer-content .e-control.e-btn{font-family:Arial;font-size:12px;line-height:14px;padding:2px 12px;height:28px;background:#fff;color:#44566c}.custom-dialog-rte .e-footer-content .e-control.e-btn.copy-btn{border-color:#dbe1e7}.custom-dialog-rte .e-footer-content .e-control.e-btn.copy-btn::before{content:url(../../assets/img/editor-copy.svg);vertical-align:middle;margin-right:6px}.custom-dialog-rte .e-footer-content .e-control.e-btn.e-primary{color:#fff;background:#1364b3}.editor_box .e-dialog.largest{width:96vw!important;height:88vh!important;max-height:88vh;max-width:2100px}"]
|
|
38571
38573
|
}] }
|
|
38572
38574
|
];
|
|
@@ -38579,6 +38581,8 @@ var RichtexteditorComponent = /** @class */ (function () {
|
|
|
38579
38581
|
height: [{ type: Input }],
|
|
38580
38582
|
autoSaveOnIdle: [{ type: Input }],
|
|
38581
38583
|
disabled: [{ type: Input }],
|
|
38584
|
+
enabled: [{ type: Input }],
|
|
38585
|
+
readonly: [{ type: Input }],
|
|
38582
38586
|
saveInterval: [{ type: Input }],
|
|
38583
38587
|
enableAutoUrl: [{ type: Input }],
|
|
38584
38588
|
insertImageSettings: [{ type: Input }],
|
|
@@ -38611,6 +38615,10 @@ if (false) {
|
|
|
38611
38615
|
/** @type {?} */
|
|
38612
38616
|
RichtexteditorComponent.prototype.disabled;
|
|
38613
38617
|
/** @type {?} */
|
|
38618
|
+
RichtexteditorComponent.prototype.enabled;
|
|
38619
|
+
/** @type {?} */
|
|
38620
|
+
RichtexteditorComponent.prototype.readonly;
|
|
38621
|
+
/** @type {?} */
|
|
38614
38622
|
RichtexteditorComponent.prototype.saveInterval;
|
|
38615
38623
|
/** @type {?} */
|
|
38616
38624
|
RichtexteditorComponent.prototype.enableAutoUrl;
|