@pobuca/email-builder 1.5.1 → 1.6.0
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/pobuca-email-builder.umd.js +295 -57
- package/bundles/pobuca-email-builder.umd.js.map +1 -1
- package/bundles/pobuca-email-builder.umd.min.js +1 -1
- package/bundles/pobuca-email-builder.umd.min.js.map +1 -1
- package/esm2015/lib/elements/text-element/merge-field-picker-dialog.component.js +148 -0
- package/esm2015/lib/elements/text-element/text-element.component.js +61 -18
- package/esm2015/lib/interfaces/interfaces.js +1 -1
- package/esm2015/lib/pb-email-builder.module.js +9 -3
- package/esm2015/lib/services/user-rest-api-service/user-rest-api.service.js +1 -1
- package/esm2015/lib/tokens/tokens.js +45 -1
- package/esm2015/pobuca-email-builder.js +33 -32
- package/fesm2015/pobuca-email-builder.js +251 -19
- package/fesm2015/pobuca-email-builder.js.map +1 -1
- package/lib/elements/text-element/merge-field-picker-dialog.component.d.ts +45 -0
- package/lib/elements/text-element/text-element.component.d.ts +11 -2
- package/lib/interfaces/interfaces.d.ts +53 -0
- package/lib/services/user-rest-api-service/user-rest-api.service.d.ts +2 -2
- package/lib/tokens/tokens.d.ts +10 -1
- package/package.json +1 -1
- package/pobuca-email-builder.d.ts +32 -31
- package/pobuca-email-builder.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('rxjs'), require('rxjs/operators'), require('@angular/cdk/drag-drop'), require('@angular/common/http'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('@angular/material/bottom-sheet'), require('@angular/platform-browser'), require('@angular/flex-layout'), require('@angular/material/button'), require('@angular/material/button-toggle'), require('@angular/material/divider'), require('@angular/material/expansion'), require('@angular/material/form-field'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/list'), require('@angular/material/menu'), require('@angular/material/progress-bar'), require('@angular/material/select'), require('@angular/material/sidenav'), require('@angular/material/slide-toggle'), require('@angular/material/slider'), require('@angular/material/tabs'), require('@angular/material/toolbar'), require('@angular/material/tooltip'), require('angular-resizable-element'), require('@angular/forms'), require('@angular/common'), require('@angular/cdk/scrolling'), require('quill'), require('ngx-quill'), require('ngx-color/chrome'), require('@angular/cdk/portal'), require('@angular/localize/init')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@pobuca/email-builder', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@angular/cdk/drag-drop', '@angular/common/http', '@angular/material/snack-bar', '@angular/material/dialog', '@angular/material/bottom-sheet', '@angular/platform-browser', '@angular/flex-layout', '@angular/material/button', '@angular/material/button-toggle', '@angular/material/divider', '@angular/material/expansion', '@angular/material/form-field', '@angular/material/icon', '@angular/material/input', '@angular/material/list', '@angular/material/menu', '@angular/material/progress-bar', '@angular/material/select', '@angular/material/sidenav', '@angular/material/slide-toggle', '@angular/material/slider', '@angular/material/tabs', '@angular/material/toolbar', '@angular/material/tooltip', 'angular-resizable-element', '@angular/forms', '@angular/common', '@angular/cdk/scrolling', 'quill', 'ngx-quill', 'ngx-color/chrome', '@angular/cdk/portal', '@angular/localize/init'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.pobuca = global.pobuca || {}, global.pobuca["email-builder"] = {}), global.ng.core, global.rxjs, global.rxjs.operators, global.ng.cdk.dragDrop, global.ng.common.http, global.ng.material.snackBar, global.ng.material.dialog, global.ng.material.bottomSheet, global.ng.platformBrowser, global.ng.flexLayout, global.ng.material.button, global.ng.material.buttonToggle, global.ng.material.divider, global.ng.material.expansion, global.ng.material.formField, global.ng.material.icon, global.ng.material.input, global.ng.material.list, global.ng.material.menu, global.ng.material.progressBar, global.ng.material.select, global.ng.material.sidenav, global.ng.material.slideToggle, global.ng.material.slider, global.ng.material.tabs, global.ng.material.toolbar, global.ng.material.tooltip, global.angularResizableElement, global.ng.forms, global.ng.common, global.ng.cdk.scrolling, null, global.ng.quill, global.ng.color.chrome, global.ng.cdk.portal));
|
|
5
|
-
})(this, (function (exports, i0, rxjs, operators, dragDrop, i1, snackBar, dialog, bottomSheet, platformBrowser, flexLayout, button, buttonToggle, divider, expansion, formField, icon, input, list, menu, progressBar, select, sidenav, slideToggle, slider, tabs, toolbar, tooltip, angularResizableElement, forms, common, scrolling, quill, ngxQuill, chrome, portal) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/drag-drop'), require('@angular/common/http'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('@angular/material/bottom-sheet'), require('@angular/platform-browser'), require('@angular/flex-layout'), require('@angular/material/button'), require('@angular/material/button-toggle'), require('@angular/material/divider'), require('@angular/material/expansion'), require('@angular/material/form-field'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/list'), require('@angular/material/menu'), require('@angular/material/progress-bar'), require('@angular/material/select'), require('@angular/material/sidenav'), require('@angular/material/slide-toggle'), require('@angular/material/slider'), require('@angular/material/tabs'), require('@angular/material/toolbar'), require('@angular/material/tooltip'), require('angular-resizable-element'), require('@angular/forms'), require('@angular/common'), require('@angular/cdk/scrolling'), require('quill'), require('ngx-quill'), require('ngx-color/chrome'), require('@angular/cdk/portal'), require('@angular/cdk/clipboard'), require('@angular/localize/init')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@pobuca/email-builder', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@angular/cdk/drag-drop', '@angular/common/http', '@angular/material/snack-bar', '@angular/material/dialog', '@angular/material/bottom-sheet', '@angular/platform-browser', '@angular/flex-layout', '@angular/material/button', '@angular/material/button-toggle', '@angular/material/divider', '@angular/material/expansion', '@angular/material/form-field', '@angular/material/icon', '@angular/material/input', '@angular/material/list', '@angular/material/menu', '@angular/material/progress-bar', '@angular/material/select', '@angular/material/sidenav', '@angular/material/slide-toggle', '@angular/material/slider', '@angular/material/tabs', '@angular/material/toolbar', '@angular/material/tooltip', 'angular-resizable-element', '@angular/forms', '@angular/common', '@angular/cdk/scrolling', 'quill', 'ngx-quill', 'ngx-color/chrome', '@angular/cdk/portal', '@angular/cdk/clipboard', '@angular/localize/init'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.pobuca = global.pobuca || {}, global.pobuca["email-builder"] = {}), global.ng.core, global.rxjs, global.rxjs.operators, global.ng.cdk.dragDrop, global.ng.common.http, global.ng.material.snackBar, global.ng.material.dialog, global.ng.material.bottomSheet, global.ng.platformBrowser, global.ng.flexLayout, global.ng.material.button, global.ng.material.buttonToggle, global.ng.material.divider, global.ng.material.expansion, global.ng.material.formField, global.ng.material.icon, global.ng.material.input, global.ng.material.list, global.ng.material.menu, global.ng.material.progressBar, global.ng.material.select, global.ng.material.sidenav, global.ng.material.slideToggle, global.ng.material.slider, global.ng.material.tabs, global.ng.material.toolbar, global.ng.material.tooltip, global.angularResizableElement, global.ng.forms, global.ng.common, global.ng.cdk.scrolling, null, global.ng.quill, global.ng.color.chrome, global.ng.cdk.portal, global.ng.cdk.clipboard));
|
|
5
|
+
})(this, (function (exports, i0, rxjs, operators, dragDrop, i1, snackBar, dialog, bottomSheet, platformBrowser, flexLayout, button, buttonToggle, divider, expansion, formField, icon, input, list, menu, progressBar, select, sidenav, slideToggle, slider, tabs, toolbar, tooltip, angularResizableElement, forms, common, scrolling, quill, ngxQuill, chrome, portal, clipboard) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -1237,6 +1237,51 @@
|
|
|
1237
1237
|
providedIn: 'root',
|
|
1238
1238
|
factory: function () { return PB_DEFAULT_CONFIG; }
|
|
1239
1239
|
});
|
|
1240
|
+
/** Default personalization-field picker terminology and visible features. */
|
|
1241
|
+
var PB_DEFAULT_MERGE_FIELD_PICKER_CONFIG = Object.freeze({
|
|
1242
|
+
labels: Object.freeze({
|
|
1243
|
+
trigger: 'Tags',
|
|
1244
|
+
title: 'Personalization tags',
|
|
1245
|
+
subtitle: 'Choose a field and customize the token before inserting it.',
|
|
1246
|
+
search: 'Search tags',
|
|
1247
|
+
defaultSection: 'Tags',
|
|
1248
|
+
preview: 'Token preview',
|
|
1249
|
+
copy: 'Copy',
|
|
1250
|
+
copied: 'Copied',
|
|
1251
|
+
length: 'Maximum length',
|
|
1252
|
+
optional: 'Optional',
|
|
1253
|
+
noLengthLimit: 'No limit',
|
|
1254
|
+
insert: 'Insert tag',
|
|
1255
|
+
cancel: 'Cancel',
|
|
1256
|
+
close: 'Close',
|
|
1257
|
+
clearSearch: 'Clear search',
|
|
1258
|
+
empty: 'No tags match your search.'
|
|
1259
|
+
}),
|
|
1260
|
+
display: Object.freeze({
|
|
1261
|
+
sections: true,
|
|
1262
|
+
descriptions: true,
|
|
1263
|
+
rawValues: true,
|
|
1264
|
+
preview: true,
|
|
1265
|
+
copy: true,
|
|
1266
|
+
length: true
|
|
1267
|
+
})
|
|
1268
|
+
});
|
|
1269
|
+
/** Merge a partial picker configuration with the library defaults. */
|
|
1270
|
+
function resolveMergeFieldPickerConfig(config) {
|
|
1271
|
+
if (config === void 0) { config = {}; }
|
|
1272
|
+
return {
|
|
1273
|
+
labels: Object.assign(Object.assign({}, PB_DEFAULT_MERGE_FIELD_PICKER_CONFIG.labels), (config.labels || {})),
|
|
1274
|
+
display: Object.assign(Object.assign({}, PB_DEFAULT_MERGE_FIELD_PICKER_CONFIG.display), (config.display || {}))
|
|
1275
|
+
};
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* Personalization-field picker configuration token.
|
|
1279
|
+
* Provide a partial {@link IMergeFieldPickerConfig}; missing values use the defaults.
|
|
1280
|
+
*/
|
|
1281
|
+
var PB_MERGE_FIELD_PICKER_CONFIG = new i0.InjectionToken('PB Merge Field Picker Configuration', {
|
|
1282
|
+
providedIn: 'root',
|
|
1283
|
+
factory: function () { return PB_DEFAULT_MERGE_FIELD_PICKER_CONFIG; }
|
|
1284
|
+
});
|
|
1240
1285
|
/**
|
|
1241
1286
|
* The default Storage used by builder. It can be either `localStorage` or `sessionStorage`.
|
|
1242
1287
|
*/
|
|
@@ -4615,14 +4660,163 @@
|
|
|
4615
4660
|
return AbstractEntityBlock;
|
|
4616
4661
|
}());
|
|
4617
4662
|
|
|
4663
|
+
var MergeFieldPickerDialogComponent = /** @class */ (function () {
|
|
4664
|
+
function MergeFieldPickerDialogComponent(matDialogRef, changeDetectorRef, elementRef, document, clipboard, mergeFields, pickerConfig) {
|
|
4665
|
+
var _this = this;
|
|
4666
|
+
this.matDialogRef = matDialogRef;
|
|
4667
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
4668
|
+
this.elementRef = elementRef;
|
|
4669
|
+
this.document = document;
|
|
4670
|
+
this.clipboard = clipboard;
|
|
4671
|
+
this.query = '';
|
|
4672
|
+
this.sections = [];
|
|
4673
|
+
this.length = '';
|
|
4674
|
+
this.previewToken = '';
|
|
4675
|
+
this.supportsLength = false;
|
|
4676
|
+
this.copied = false;
|
|
4677
|
+
this.selectedTokenBase = '';
|
|
4678
|
+
this.closing = false;
|
|
4679
|
+
this.outsidePointerDown = function (event) { return _this.closeOnOutsidePointerDown(event); };
|
|
4680
|
+
this.config = resolveMergeFieldPickerConfig(pickerConfig);
|
|
4681
|
+
this.fields = mergeFields.map(function (field) { return _this.normalizeField(field); });
|
|
4682
|
+
this.updateSections();
|
|
4683
|
+
}
|
|
4684
|
+
MergeFieldPickerDialogComponent.prototype.updateQuery = function (query) {
|
|
4685
|
+
this.query = query;
|
|
4686
|
+
this.updateSections();
|
|
4687
|
+
};
|
|
4688
|
+
MergeFieldPickerDialogComponent.prototype.onSearchInput = function (event) {
|
|
4689
|
+
this.updateQuery(event.target.value);
|
|
4690
|
+
this.changeDetectorRef.detectChanges();
|
|
4691
|
+
};
|
|
4692
|
+
MergeFieldPickerDialogComponent.prototype.selectField = function (field) {
|
|
4693
|
+
var tokenParts = field.value.match(/^(\{![^{}:]+:[^{}:]+)(?::([1-9]\d*))?\}$/);
|
|
4694
|
+
this.selectedField = field;
|
|
4695
|
+
this.supportsLength = this.config.display.length && Boolean(tokenParts);
|
|
4696
|
+
this.selectedTokenBase = this.supportsLength && tokenParts ? tokenParts[1] : field.value;
|
|
4697
|
+
this.length = (this.supportsLength && tokenParts && tokenParts[2]) || '';
|
|
4698
|
+
this.copied = false;
|
|
4699
|
+
this.updatePreviewToken();
|
|
4700
|
+
};
|
|
4701
|
+
MergeFieldPickerDialogComponent.prototype.onLengthInput = function (event) {
|
|
4702
|
+
var input = event.target;
|
|
4703
|
+
var length = input.value.replace(/\D/g, '').replace(/^0+/, '');
|
|
4704
|
+
if (input.value !== length) {
|
|
4705
|
+
input.value = length;
|
|
4706
|
+
}
|
|
4707
|
+
this.length = length;
|
|
4708
|
+
this.copied = false;
|
|
4709
|
+
this.updatePreviewToken();
|
|
4710
|
+
this.changeDetectorRef.detectChanges();
|
|
4711
|
+
};
|
|
4712
|
+
MergeFieldPickerDialogComponent.prototype.copyPreviewToken = function () {
|
|
4713
|
+
if (!this.previewToken) {
|
|
4714
|
+
return;
|
|
4715
|
+
}
|
|
4716
|
+
this.copied = this.clipboard.copy(this.previewToken);
|
|
4717
|
+
this.changeDetectorRef.detectChanges();
|
|
4718
|
+
};
|
|
4719
|
+
MergeFieldPickerDialogComponent.prototype.insertSelectedField = function () {
|
|
4720
|
+
if (!this.closing && this.previewToken) {
|
|
4721
|
+
this.closing = true;
|
|
4722
|
+
this.matDialogRef.close(this.previewToken);
|
|
4723
|
+
}
|
|
4724
|
+
};
|
|
4725
|
+
MergeFieldPickerDialogComponent.prototype.closeOnOutsidePointerDown = function (event) {
|
|
4726
|
+
if (!this.closing && !this.elementRef.nativeElement.contains(event.target)) {
|
|
4727
|
+
this.closing = true;
|
|
4728
|
+
this.matDialogRef.close();
|
|
4729
|
+
}
|
|
4730
|
+
};
|
|
4731
|
+
MergeFieldPickerDialogComponent.prototype.ngOnInit = function () {
|
|
4732
|
+
this.document.addEventListener('pointerdown', this.outsidePointerDown, true);
|
|
4733
|
+
};
|
|
4734
|
+
MergeFieldPickerDialogComponent.prototype.ngOnDestroy = function () {
|
|
4735
|
+
this.document.removeEventListener('pointerdown', this.outsidePointerDown, true);
|
|
4736
|
+
};
|
|
4737
|
+
MergeFieldPickerDialogComponent.prototype.trackSection = function (_, section) {
|
|
4738
|
+
return section.label;
|
|
4739
|
+
};
|
|
4740
|
+
MergeFieldPickerDialogComponent.prototype.trackField = function (_, field) {
|
|
4741
|
+
return field.value;
|
|
4742
|
+
};
|
|
4743
|
+
MergeFieldPickerDialogComponent.prototype.normalizeField = function (field) {
|
|
4744
|
+
var value = typeof field === 'string' ? field : field.value;
|
|
4745
|
+
var parsedField = this.parseToken(value);
|
|
4746
|
+
if (typeof field === 'string') {
|
|
4747
|
+
return parsedField;
|
|
4748
|
+
}
|
|
4749
|
+
return Object.assign(Object.assign({}, field), { label: field.label || parsedField.label, section: field.section || parsedField.section });
|
|
4750
|
+
};
|
|
4751
|
+
MergeFieldPickerDialogComponent.prototype.parseToken = function (value) {
|
|
4752
|
+
var match = value.match(/^\{!([^{}:]+):([^{}:]+)/);
|
|
4753
|
+
return {
|
|
4754
|
+
value: value,
|
|
4755
|
+
label: match ? match[2] : value,
|
|
4756
|
+
section: match ? match[1] : this.config.labels.defaultSection
|
|
4757
|
+
};
|
|
4758
|
+
};
|
|
4759
|
+
MergeFieldPickerDialogComponent.prototype.updateSections = function () {
|
|
4760
|
+
var _this = this;
|
|
4761
|
+
var query = this.query.trim().toLocaleLowerCase();
|
|
4762
|
+
var filteredFields = query
|
|
4763
|
+
? this.fields.filter(function (field) { return _this.matchesQuery(field, query); })
|
|
4764
|
+
: this.fields;
|
|
4765
|
+
var sections = filteredFields.reduce(function (result, field) {
|
|
4766
|
+
var section = _this.config.display.sections
|
|
4767
|
+
? field.section || _this.config.labels.defaultSection
|
|
4768
|
+
: _this.config.labels.defaultSection;
|
|
4769
|
+
if (!result.has(section)) {
|
|
4770
|
+
result.set(section, []);
|
|
4771
|
+
}
|
|
4772
|
+
result.get(section).push(field);
|
|
4773
|
+
return result;
|
|
4774
|
+
}, new Map());
|
|
4775
|
+
this.sections = Array.from(sections.entries()).map(function (_a) {
|
|
4776
|
+
var _b = __read(_a, 2), label = _b[0], fields = _b[1];
|
|
4777
|
+
return ({ label: label, fields: fields });
|
|
4778
|
+
});
|
|
4779
|
+
};
|
|
4780
|
+
MergeFieldPickerDialogComponent.prototype.matchesQuery = function (field, query) {
|
|
4781
|
+
return [field.label, field.value, field.section, field.description]
|
|
4782
|
+
.filter(function (value) { return Boolean(value); })
|
|
4783
|
+
.some(function (value) { return value.toLocaleLowerCase().includes(query); });
|
|
4784
|
+
};
|
|
4785
|
+
MergeFieldPickerDialogComponent.prototype.updatePreviewToken = function () {
|
|
4786
|
+
if (!this.supportsLength) {
|
|
4787
|
+
this.previewToken = this.selectedTokenBase;
|
|
4788
|
+
return;
|
|
4789
|
+
}
|
|
4790
|
+
this.previewToken = "" + this.selectedTokenBase + (this.length ? ":" + this.length : '') + "}";
|
|
4791
|
+
};
|
|
4792
|
+
return MergeFieldPickerDialogComponent;
|
|
4793
|
+
}());
|
|
4794
|
+
MergeFieldPickerDialogComponent.decorators = [
|
|
4795
|
+
{ type: i0.Component, args: [{
|
|
4796
|
+
selector: 'pb-merge-field-picker-dialog',
|
|
4797
|
+
template: "<div mat-dialog-title class=\"merge-field-dialog-header\">\n <div>\n <h2>{{ config.labels.title }}</h2>\n <p *ngIf=\"config.labels.subtitle\">{{ config.labels.subtitle }}</p>\n </div>\n <button\n type=\"button\"\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"config.labels.close\"\n [matTooltip]=\"config.labels.close\">\n <mat-icon>close</mat-icon>\n <span class=\"merge-field-visually-hidden\">{{ config.labels.close }}</span>\n </button>\n</div>\n\n<mat-dialog-content>\n <mat-form-field appearance=\"outline\" class=\"merge-field-search\">\n <mat-label>{{ config.labels.search }}</mat-label>\n <mat-icon matPrefix>search</mat-icon>\n <input\n matInput\n cdkFocusInitial\n type=\"search\"\n autocomplete=\"off\"\n [value]=\"query\"\n (input)=\"onSearchInput($event)\" />\n <button\n *ngIf=\"query\"\n type=\"button\"\n mat-icon-button\n matSuffix\n [attr.aria-label]=\"config.labels.clearSearch\"\n [matTooltip]=\"config.labels.clearSearch\"\n (click)=\"updateQuery('')\">\n <mat-icon>close</mat-icon>\n <span class=\"merge-field-visually-hidden\">{{ config.labels.clearSearch }}</span>\n </button>\n </mat-form-field>\n\n <div class=\"merge-field-sections\" *ngIf=\"sections.length; else noResults\">\n <section *ngFor=\"let section of sections; trackBy: trackSection\" class=\"merge-field-section\">\n <h3 *ngIf=\"config.display.sections\">{{ section.label }}</h3>\n <button\n *ngFor=\"let field of section.fields; trackBy: trackField\"\n type=\"button\"\n mat-button\n class=\"merge-field-option\"\n [class.merge-field-option-selected]=\"selectedField && selectedField.value === field.value\"\n [class.merge-field-option-without-value]=\"!config.display.rawValues\"\n [attr.aria-pressed]=\"selectedField && selectedField.value === field.value\"\n (click)=\"selectField(field)\">\n <span class=\"merge-field-summary\">\n <span class=\"merge-field-label\">{{ field.label }}</span>\n <span *ngIf=\"config.display.descriptions && field.description\" class=\"merge-field-description\">\n \u2014 {{ field.description }}\n </span>\n </span>\n <code *ngIf=\"config.display.rawValues\">{{ field.value }}</code>\n <span class=\"merge-field-selection\" aria-hidden=\"true\">\n <mat-icon>check</mat-icon>\n </span>\n </button>\n </section>\n </div>\n</mat-dialog-content>\n\n<div *ngIf=\"selectedField && config.display.preview\" class=\"merge-field-preview\">\n <div class=\"merge-field-preview-heading\">\n <span class=\"merge-field-preview-icon\" aria-hidden=\"true\"><mat-icon>code</mat-icon></span>\n <div>\n <span>{{ config.labels.preview }}</span>\n <strong>{{ selectedField.label }}</strong>\n </div>\n </div>\n\n <div class=\"merge-field-preview-value\">\n <div>\n <code>{{ previewToken }}</code>\n </div>\n <button\n *ngIf=\"config.display.copy\"\n type=\"button\"\n mat-button\n [attr.aria-label]=\"copied ? config.labels.copied : config.labels.copy\"\n [matTooltip]=\"copied ? config.labels.copied : config.labels.copy\"\n (click)=\"copyPreviewToken()\">\n <mat-icon>{{ copied ? 'done' : 'content_copy' }}</mat-icon>\n <span>{{ copied ? config.labels.copied : config.labels.copy }}</span>\n </button>\n </div>\n\n <label *ngIf=\"supportsLength\" class=\"merge-field-length\">\n <span>\n <strong>{{ config.labels.length }}</strong>\n <small *ngIf=\"config.labels.optional\">{{ config.labels.optional }}</small>\n </span>\n <input\n type=\"number\"\n min=\"1\"\n step=\"1\"\n inputmode=\"numeric\"\n [placeholder]=\"config.labels.noLengthLimit\"\n [value]=\"length\"\n (input)=\"onLengthInput($event)\" />\n </label>\n</div>\n\n<mat-dialog-actions align=\"end\" class=\"merge-field-actions\">\n <button type=\"button\" mat-button mat-dialog-close>{{ config.labels.cancel }}</button>\n <button\n type=\"button\"\n mat-flat-button\n color=\"primary\"\n [disabled]=\"!selectedField\"\n (pointerdown)=\"insertSelectedField()\"\n (click)=\"insertSelectedField()\">\n {{ config.labels.insert }}\n </button>\n</mat-dialog-actions>\n\n<ng-template #noResults>\n <p class=\"merge-field-empty\">{{ config.labels.empty }}</p>\n</ng-template>\n",
|
|
4798
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4799
|
+
styles: [":host{display:block;color:#172033}.merge-field-visually-hidden{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);white-space:nowrap}.merge-field-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;margin:0;padding:1.5rem 1.5rem 1rem}.merge-field-dialog-header h2{margin:0;font-size:1.25rem;font-weight:650;letter-spacing:-.025em}.merge-field-dialog-header p{margin:.25rem 0 0;color:#667085;font-size:.8125rem;line-height:1.4}.merge-field-dialog-header button{margin:-.5rem -.5rem 0 1rem;color:#667085}mat-dialog-content{margin:0;padding:0 1.5rem}.merge-field-search{width:100%;margin-bottom:.25rem}.merge-field-search mat-icon{color:#98a2b3}.merge-field-search ::ng-deep .mat-form-field-outline-start{border-radius:12px 0 0 12px}.merge-field-search ::ng-deep .mat-form-field-outline-end{border-radius:0 12px 12px 0}.merge-field-sections{display:grid;gap:1rem;padding-bottom:.25rem}.merge-field-section{display:grid;gap:.25rem}.merge-field-section h3{margin:0 .75rem .125rem;color:#667085;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.merge-field-option{height:auto;min-height:42px;padding:.3125rem .75rem;border:1px solid transparent;border-radius:9px;line-height:1.25;text-align:left;white-space:nowrap;transition:border-color .12s ease,background-color .12s ease,transform .12s ease}.merge-field-option ::ng-deep .mat-button-wrapper{display:grid;align-items:center;width:100%;gap:.625rem;grid-template-columns:minmax(0,1fr) minmax(150px,40%) 20px}.merge-field-option code{overflow:hidden;padding:.1875rem .4375rem;border-radius:5px;background:#f2f4f7;color:#475467;font-size:.71875rem;text-overflow:ellipsis;white-space:nowrap}.merge-field-option:hover{border-color:#e4e7ec;background:#f9fafb}.merge-field-option-selected{border-color:#c7d2fe;background:#eef2ff}.merge-field-option-selected code{background:hsla(0,0%,100%,.7);color:#3730a3}.merge-field-option-selected .merge-field-selection{border-color:#4f46e5;background:#4f46e5;color:#fff;opacity:1;transform:scale(1)}.merge-field-option-selected:hover{border-color:#a5b4fc;background:#e0e7ff}.merge-field-option-without-value ::ng-deep .mat-button-wrapper{grid-template-columns:minmax(0,1fr) 20px}.merge-field-selection{display:grid;width:18px;height:18px;border:1px solid transparent;border-radius:50%;opacity:0;place-items:center;transform:scale(.75);transition:opacity .12s ease,transform .12s ease}.merge-field-selection mat-icon{width:13px;height:13px;font-size:13px;line-height:13px}.merge-field-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merge-field-label{color:#1d2939;font-weight:600}.merge-field-description,.merge-field-empty{color:#667085}.merge-field-description{font-size:.75rem;font-weight:400}.merge-field-empty{padding:1.5rem 0;text-align:center}.merge-field-preview{display:grid;gap:.75rem;margin:1rem 1.5rem 0;padding:1rem;border:1px solid #dfe3f8;border-radius:12px;background:linear-gradient(135deg,#f8faff,#f4f3ff)}.merge-field-preview-heading{display:flex;align-items:center;gap:.625rem}.merge-field-preview-heading>div{display:flex;min-width:0;flex-direction:column}.merge-field-preview-heading span:not(.merge-field-preview-icon){color:#667085;font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.merge-field-preview-heading strong{overflow:hidden;color:#1d2939;font-size:.8125rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.merge-field-preview-icon{display:grid;width:32px;height:32px;border-radius:9px;background:#e0e7ff;color:#4338ca;place-items:center}.merge-field-preview-icon mat-icon{width:18px;height:18px;font-size:18px;line-height:18px}.merge-field-preview-value{display:grid;overflow:hidden;min-height:44px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;grid-template-columns:minmax(0,1fr) auto}.merge-field-preview-value>div{display:flex;align-items:center;min-width:0;padding:0 .75rem}.merge-field-preview-value code{overflow:hidden;color:#27324a;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}.merge-field-preview-value button{height:100%;min-width:76px;border-left:1px solid #e4e7ec;border-radius:0;color:#4338ca}.merge-field-preview-value button mat-icon{margin-right:.25rem;font-size:18px}.merge-field-length{display:flex;align-items:center;justify-content:space-between;gap:1rem}.merge-field-length>span{display:flex;align-items:baseline;gap:.5rem}.merge-field-length strong{color:#344054;font-size:.75rem;font-weight:600}.merge-field-length small{color:#98a2b3;font-size:.6875rem}.merge-field-length input{width:104px;height:36px;box-sizing:border-box;padding:0 .625rem;border:1px solid #d0d5dd;border-radius:8px;outline:none;background:#fff;color:#1d2939;font:inherit;transition:border-color .12s ease,box-shadow .12s ease}.merge-field-length input:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.14)}.merge-field-length input::-moz-placeholder{color:#98a2b3}.merge-field-length input::placeholder{color:#98a2b3}.merge-field-actions{min-height:auto;margin:0;padding:1rem 1.5rem 1.5rem;gap:.5rem}.merge-field-actions button{min-height:40px;border-radius:8px;font-weight:600}.merge-field-actions .mat-flat-button{padding:0 1.125rem}@media (max-width:520px){.merge-field-option ::ng-deep .mat-button-wrapper{grid-template-columns:minmax(0,1fr) 20px}.merge-field-option code{display:none}}"]
|
|
4800
|
+
},] }
|
|
4801
|
+
];
|
|
4802
|
+
MergeFieldPickerDialogComponent.ctorParameters = function () { return [
|
|
4803
|
+
{ type: dialog.MatDialogRef },
|
|
4804
|
+
{ type: i0.ChangeDetectorRef },
|
|
4805
|
+
{ type: i0.ElementRef },
|
|
4806
|
+
{ type: Document, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] },
|
|
4807
|
+
{ type: clipboard.Clipboard },
|
|
4808
|
+
{ type: Array, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
|
|
4809
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [PB_MERGE_FIELD_PICKER_CONFIG,] }] }
|
|
4810
|
+
]; };
|
|
4811
|
+
|
|
4618
4812
|
var TextElementComponent = /** @class */ (function (_super) {
|
|
4619
4813
|
__extends(TextElementComponent, _super);
|
|
4620
|
-
function TextElementComponent(userRestApi, emailObject, internalService) {
|
|
4814
|
+
function TextElementComponent(userRestApi, emailObject, internalService, matDialog, mergeFieldPickerConfig) {
|
|
4621
4815
|
var _this = _super.call(this) || this;
|
|
4622
4816
|
_this.userRestApi = userRestApi;
|
|
4623
4817
|
_this.emailObject = emailObject;
|
|
4624
4818
|
_this.internalService = internalService;
|
|
4625
|
-
|
|
4819
|
+
_this.matDialog = matDialog;
|
|
4626
4820
|
_this.setAsReadOnly$ = _this.internalService.currentEditingBlock$.pipe(operators.map(function (editingBlock) { return editingBlock !== _this.block; }));
|
|
4627
4821
|
_this.staticQuillConfig = {
|
|
4628
4822
|
toolbar: {
|
|
@@ -4635,23 +4829,20 @@
|
|
|
4635
4829
|
['clean']
|
|
4636
4830
|
],
|
|
4637
4831
|
handlers: {
|
|
4638
|
-
|
|
4639
|
-
var range = this.quill.getSelection();
|
|
4640
|
-
var format = this.quill.getFormat();
|
|
4641
|
-
var text = this.quill.getText(range.index, range.length);
|
|
4642
|
-
this.quill.deleteText(range.index, text.length);
|
|
4643
|
-
this.quill.insertText(range.index, selector, format);
|
|
4644
|
-
this.quill.setSelection(range.index, selector.length);
|
|
4645
|
-
}
|
|
4832
|
+
mergefield: function () { return _this.openMergeFieldPicker(); }
|
|
4646
4833
|
}
|
|
4647
4834
|
}
|
|
4648
4835
|
};
|
|
4649
|
-
_this.quillInit$ = _this.userRestApi.getAllUserMergeFields$.pipe(operators.map(function (
|
|
4650
|
-
|
|
4651
|
-
|
|
4836
|
+
_this.quillInit$ = _this.userRestApi.getAllUserMergeFields$.pipe(operators.map(function (mergeFields) {
|
|
4837
|
+
_this.mergeFields = mergeFields;
|
|
4838
|
+
if (mergeFields.length) {
|
|
4839
|
+
_this.staticQuillConfig.toolbar.container.splice(-1, 0, ['mergefield']);
|
|
4840
|
+
}
|
|
4652
4841
|
}), operators.mapTo(true), operators.take(1));
|
|
4653
4842
|
_this.textChanged$ = new rxjs.Subject();
|
|
4654
4843
|
_this.componentDestroyed$ = new rxjs.Subject();
|
|
4844
|
+
_this.mergeFields = [];
|
|
4845
|
+
_this.mergeFieldPickerConfig = resolveMergeFieldPickerConfig(mergeFieldPickerConfig);
|
|
4655
4846
|
return _this;
|
|
4656
4847
|
}
|
|
4657
4848
|
TextElementComponent.prototype.getTextStyles = function () {
|
|
@@ -4661,6 +4852,44 @@
|
|
|
4661
4852
|
TextElementComponent.prototype.contentChanged = function () {
|
|
4662
4853
|
this.textChanged$.next();
|
|
4663
4854
|
};
|
|
4855
|
+
TextElementComponent.prototype.editorCreated = function (quill) {
|
|
4856
|
+
var toolbar = quill.getModule('toolbar');
|
|
4857
|
+
var button = toolbar && toolbar.container.querySelector('.ql-mergefield');
|
|
4858
|
+
if (button) {
|
|
4859
|
+
button.setAttribute('data-label', this.mergeFieldPickerConfig.labels.trigger);
|
|
4860
|
+
button.setAttribute('aria-label', this.mergeFieldPickerConfig.labels.trigger);
|
|
4861
|
+
button.setAttribute('title', this.mergeFieldPickerConfig.labels.trigger);
|
|
4862
|
+
}
|
|
4863
|
+
};
|
|
4864
|
+
TextElementComponent.prototype.openMergeFieldPicker = function () {
|
|
4865
|
+
var _this = this;
|
|
4866
|
+
var quill = this.quillEditorComponent && this.quillEditorComponent.quillEditor;
|
|
4867
|
+
if (!quill) {
|
|
4868
|
+
return;
|
|
4869
|
+
}
|
|
4870
|
+
var range = quill.getSelection() || { index: Math.max(quill.getLength() - 1, 0), length: 0 };
|
|
4871
|
+
var format = quill.getFormat(range.index, range.length);
|
|
4872
|
+
var dialogRef = this.matDialog.open(MergeFieldPickerDialogComponent, {
|
|
4873
|
+
data: this.mergeFields,
|
|
4874
|
+
disableClose: false,
|
|
4875
|
+
hasBackdrop: true,
|
|
4876
|
+
maxWidth: '720px',
|
|
4877
|
+
panelClass: 'pb-merge-field-dialog',
|
|
4878
|
+
width: '560px'
|
|
4879
|
+
});
|
|
4880
|
+
dialogRef
|
|
4881
|
+
.afterClosed()
|
|
4882
|
+
.pipe(operators.take(1), operators.takeUntil(this.componentDestroyed$))
|
|
4883
|
+
.subscribe(function (mergeField) {
|
|
4884
|
+
if (!mergeField) {
|
|
4885
|
+
return;
|
|
4886
|
+
}
|
|
4887
|
+
quill.deleteText(range.index, range.length);
|
|
4888
|
+
quill.insertText(range.index, mergeField, format);
|
|
4889
|
+
quill.setSelection(range.index + mergeField.length, 0);
|
|
4890
|
+
_this.contentChanged();
|
|
4891
|
+
});
|
|
4892
|
+
};
|
|
4664
4893
|
TextElementComponent.prototype.ngOnInit = function () {
|
|
4665
4894
|
var _this = this;
|
|
4666
4895
|
this.textChanged$.pipe(operators.debounceTime(600), operators.takeUntil(this.componentDestroyed$)).subscribe(function () {
|
|
@@ -4676,16 +4905,21 @@
|
|
|
4676
4905
|
TextElementComponent.decorators = [
|
|
4677
4906
|
{ type: i0.Component, args: [{
|
|
4678
4907
|
selector: 'pb-text-element',
|
|
4679
|
-
template: "<!--\n ~ Copyright (c) 2024 Pobuca.\n ~ All rights reserved.\n -->\n\n<div [ngStyle]=\"getTextStyles()\">\n <quill-editor *ngIf=\"quillInit$ | async; else loadingModules\" i18n-placeholder=\"text-element|placeholder\"\n placeholder=\"Insert text here ...\" [modules]=\"staticQuillConfig\" [readOnly]=\"setAsReadOnly$ |async\"\n [(ngModel)]=\"block.innerText\" (onContentChanged)=\"contentChanged()\">\n </quill-editor>\n</div>\n\n<ng-template #loadingModules>\n <span i18n=\"text-element|loading message\">Please wait ...</span>\n</ng-template>\n",
|
|
4908
|
+
template: "<!--\n ~ Copyright (c) 2024 Pobuca.\n ~ All rights reserved.\n -->\n\n<div [ngStyle]=\"getTextStyles()\">\n <quill-editor *ngIf=\"quillInit$ | async; else loadingModules\" i18n-placeholder=\"text-element|placeholder\"\n placeholder=\"Insert text here ...\" [modules]=\"staticQuillConfig\" [readOnly]=\"setAsReadOnly$ |async\"\n [(ngModel)]=\"block.innerText\" (onContentChanged)=\"contentChanged()\"\n (onEditorCreated)=\"editorCreated($event)\">\n </quill-editor>\n</div>\n\n<ng-template #loadingModules>\n <span i18n=\"text-element|loading message\">Please wait ...</span>\n</ng-template>\n",
|
|
4680
4909
|
encapsulation: i0.ViewEncapsulation.None,
|
|
4681
|
-
styles: ["@charset \"UTF-8\";\n/*!\n * Copyright (c) 2024 Pobuca.\n * All rights reserved.\n */\n/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:\"\u2022\"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:\"\u2611\"}.ql-editor ul[data-checked=false]>li:before{content:\"\u2610\"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) \". \"}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) \". \"}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) \". \"}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) \". \"}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) \". \"}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) \". \"}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) \". \"}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) \". \"}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) \". \"}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) \". \"}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:\"\";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover{color:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter{stroke:#fff}@media (pointer:coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:\"\";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=\"\"]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:\"Normal\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]:before{content:\"Heading 1\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]:before{content:\"Heading 2\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]:before{content:\"Heading 3\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]:before{content:\"Heading 4\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]:before{content:\"Heading 5\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]:before{content:\"Heading 6\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:\"Sans Serif\"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:\"Serif\"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:\"Monospace\"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:\"Normal\"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:\"Small\"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:\"Large\"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:\"Huge\"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:\" \";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:\"\u00D7\";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;top:-5px;font-size:12px;color:#fff;content:attr(href);font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-top:6px solid #444;border-left:6px solid transparent;border-right:6px solid transparent;top:0;content:\" \";height:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:after,.ql-container.ql-bubble:not(.ql-disabled) a:before{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:after,.ql-container.ql-bubble:not(.ql-disabled) a:hover:before{visibility:visible}quill-editor{display:block;word-break:break-word}quill-editor .ql-container{font-family:inherit;font-size:inherit}quill-editor .ql-container .ql-editor{padding:0!important;line-height:inherit;font:inherit;overflow:visible}quill-editor .ql-placeholder .ql-picker-label:before{display:block;content:\"Tags\";min-width:50px}quill-editor .ql-placeholder.ql-expanded .ql-picker-item:before{content:attr(data-value);width:-moz-min-content;width:min-content}quill-editor .ql-tooltip{z-index:10;line-height:normal}quill-editor .ql-tooltip .ql-picker-options{max-height:300px;overflow:auto}quill-editor .ql-toolbar{width:600px;width:-moz-max-content;width:max-content}quill-editor h1,quill-editor h2,quill-editor h3,quill-editor h4,quill-editor h5,quill-editor h6{font-weight:inherit;line-height:inherit}"]
|
|
4910
|
+
styles: ["@charset \"UTF-8\";\n/*!\n * Copyright (c) 2024 Pobuca.\n * All rights reserved.\n */\n/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:\"\u2022\"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:\"\u2611\"}.ql-editor ul[data-checked=false]>li:before{content:\"\u2610\"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) \". \"}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) \". \"}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) \". \"}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) \". \"}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) \". \"}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) \". \"}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) \". \"}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) \". \"}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) \". \"}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) \". \"}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:\"\";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover{color:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter{stroke:#fff}@media (pointer:coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:\"\";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=\"\"]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=\"\"]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:\"Normal\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]:before{content:\"Heading 1\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]:before{content:\"Heading 2\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]:before{content:\"Heading 3\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]:before{content:\"Heading 4\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]:before{content:\"Heading 5\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]:before{content:\"Heading 6\"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:\"Sans Serif\"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:\"Serif\"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:\"Monospace\"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:\"Normal\"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:\"Small\"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:\"Large\"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:\"Huge\"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:\" \";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:\"\u00D7\";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;top:-5px;font-size:12px;color:#fff;content:attr(href);font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-top:6px solid #444;border-left:6px solid transparent;border-right:6px solid transparent;top:0;content:\" \";height:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:after,.ql-container.ql-bubble:not(.ql-disabled) a:before{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:after,.ql-container.ql-bubble:not(.ql-disabled) a:hover:before{visibility:visible}quill-editor{display:block;word-break:break-word}quill-editor .ql-container{font-family:inherit;font-size:inherit}quill-editor .ql-container .ql-editor{padding:0!important;line-height:inherit;font:inherit;overflow:visible}quill-editor .ql-mergefield{display:inline-flex;align-items:center;justify-content:center;color:#fff;width:auto!important;min-width:50px;max-width:120px;padding:0 8px!important;white-space:nowrap}quill-editor .ql-mergefield:after{display:block;overflow:hidden;max-width:104px;content:attr(data-label);font-size:12px;line-height:1;text-overflow:ellipsis;white-space:nowrap}quill-editor .ql-tooltip{z-index:10;line-height:normal}quill-editor .ql-toolbar{width:600px;width:-moz-max-content;width:max-content}quill-editor h1,quill-editor h2,quill-editor h3,quill-editor h4,quill-editor h5,quill-editor h6{font-weight:inherit;line-height:inherit}::ng-deep .pb-merge-field-dialog .mat-dialog-container{overflow:hidden;padding:0;border-radius:16px;box-shadow:0 24px 64px rgba(16,24,40,.24)}"]
|
|
4682
4911
|
},] }
|
|
4683
4912
|
];
|
|
4684
4913
|
TextElementComponent.ctorParameters = function () { return [
|
|
4685
4914
|
{ type: PbUserRestApiService },
|
|
4686
4915
|
{ type: PbEmailObjectStoreService },
|
|
4687
|
-
{ type: PbUserInterfaceService }
|
|
4916
|
+
{ type: PbUserInterfaceService },
|
|
4917
|
+
{ type: dialog.MatDialog },
|
|
4918
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [PB_MERGE_FIELD_PICKER_CONFIG,] }] }
|
|
4688
4919
|
]; };
|
|
4920
|
+
TextElementComponent.propDecorators = {
|
|
4921
|
+
quillEditorComponent: [{ type: i0.ViewChild, args: [ngxQuill.QuillEditorComponent,] }]
|
|
4922
|
+
};
|
|
4689
4923
|
|
|
4690
4924
|
var ImageComponent = /** @class */ (function (_super) {
|
|
4691
4925
|
__extends(ImageComponent, _super);
|
|
@@ -6464,10 +6698,6 @@
|
|
|
6464
6698
|
* All rights reserved.
|
|
6465
6699
|
*/
|
|
6466
6700
|
|
|
6467
|
-
/*
|
|
6468
|
-
* Copyright (c) 2024 Pobuca.
|
|
6469
|
-
* All rights reserved.
|
|
6470
|
-
*/
|
|
6471
6701
|
/**
|
|
6472
6702
|
* @internal
|
|
6473
6703
|
* @param http
|
|
@@ -6542,7 +6772,7 @@
|
|
|
6542
6772
|
if (userConfig === void 0) { userConfig = {}; }
|
|
6543
6773
|
return {
|
|
6544
6774
|
ngModule: PbEmailBuilderModule,
|
|
6545
|
-
providers: [
|
|
6775
|
+
providers: __spread([
|
|
6546
6776
|
PbEmailBuilderService,
|
|
6547
6777
|
PbEmailObjectStoreService,
|
|
6548
6778
|
PbUserInterfaceService,
|
|
@@ -6567,7 +6797,9 @@
|
|
|
6567
6797
|
useFactory: createCustomRestApiService,
|
|
6568
6798
|
deps: [i1.HttpClient]
|
|
6569
6799
|
}
|
|
6570
|
-
]
|
|
6800
|
+
], (userConfig.mergeFieldPicker
|
|
6801
|
+
? [{ provide: PB_MERGE_FIELD_PICKER_CONFIG, useValue: userConfig.mergeFieldPicker }]
|
|
6802
|
+
: []))
|
|
6571
6803
|
};
|
|
6572
6804
|
};
|
|
6573
6805
|
return PbEmailBuilderModule;
|
|
@@ -6614,6 +6846,7 @@
|
|
|
6614
6846
|
DynamicComponentDirective,
|
|
6615
6847
|
PreviewTemplateComponent,
|
|
6616
6848
|
TextElementComponent,
|
|
6849
|
+
MergeFieldPickerDialogComponent,
|
|
6617
6850
|
ImageComponent,
|
|
6618
6851
|
VideoComponent,
|
|
6619
6852
|
ButtonComponent,
|
|
@@ -6647,6 +6880,7 @@
|
|
|
6647
6880
|
exports: [PbEmailBuilderComponent, PreviewTemplateComponent, SlugifyPipe],
|
|
6648
6881
|
entryComponents: [
|
|
6649
6882
|
TextElementComponent,
|
|
6883
|
+
MergeFieldPickerDialogComponent,
|
|
6650
6884
|
ImageComponent,
|
|
6651
6885
|
VideoComponent,
|
|
6652
6886
|
ButtonComponent,
|
|
@@ -6701,11 +6935,13 @@
|
|
|
6701
6935
|
exports.PB_DEFAULT_CONFIG = PB_DEFAULT_CONFIG;
|
|
6702
6936
|
exports.PB_DEFAULT_FALLBACK_FONTS = PB_DEFAULT_FALLBACK_FONTS;
|
|
6703
6937
|
exports.PB_DEFAULT_GOOGLE_FONTS = PB_DEFAULT_GOOGLE_FONTS;
|
|
6938
|
+
exports.PB_DEFAULT_MERGE_FIELD_PICKER_CONFIG = PB_DEFAULT_MERGE_FIELD_PICKER_CONFIG;
|
|
6704
6939
|
exports.PB_DEFAULT_SOCIAL_NETWORKS = PB_DEFAULT_SOCIAL_NETWORKS;
|
|
6705
6940
|
exports.PB_DEFAULT_STRUCTURES = PB_DEFAULT_STRUCTURES;
|
|
6706
6941
|
exports.PB_EMAIL_TEMPLATE_SCHEMA = PB_EMAIL_TEMPLATE_SCHEMA;
|
|
6707
6942
|
exports.PB_FALLBACK_FONTS = PB_FALLBACK_FONTS;
|
|
6708
6943
|
exports.PB_GOOGLE_FONTS = PB_GOOGLE_FONTS;
|
|
6944
|
+
exports.PB_MERGE_FIELD_PICKER_CONFIG = PB_MERGE_FIELD_PICKER_CONFIG;
|
|
6709
6945
|
exports.PB_SOCIAL_NETWORKS = PB_SOCIAL_NETWORKS;
|
|
6710
6946
|
exports.PB_STORAGE_FACTORY = PB_STORAGE_FACTORY;
|
|
6711
6947
|
exports.PB_STRUCTURES = PB_STRUCTURES;
|
|
@@ -6744,24 +6980,26 @@
|
|
|
6744
6980
|
exports.deferOf = deferOf;
|
|
6745
6981
|
exports.getAssetByPath = getAssetByPath;
|
|
6746
6982
|
exports.isEqual = isEqual;
|
|
6983
|
+
exports.resolveMergeFieldPickerConfig = resolveMergeFieldPickerConfig;
|
|
6747
6984
|
exports["ɵ0"] = ɵ0;
|
|
6748
6985
|
exports["ɵa"] = PbEmailObjectStoreService;
|
|
6749
6986
|
exports["ɵb"] = IpHistoryService;
|
|
6750
|
-
exports["ɵba"] =
|
|
6751
|
-
exports["ɵbb"] =
|
|
6752
|
-
exports["ɵbc"] =
|
|
6753
|
-
exports["ɵbd"] =
|
|
6754
|
-
exports["ɵbe"] =
|
|
6755
|
-
exports["ɵbf"] =
|
|
6756
|
-
exports["ɵbg"] =
|
|
6757
|
-
exports["ɵbh"] =
|
|
6758
|
-
exports["ɵbi"] =
|
|
6759
|
-
exports["ɵbj"] =
|
|
6760
|
-
exports["ɵbk"] =
|
|
6761
|
-
exports["ɵbl"] =
|
|
6762
|
-
exports["ɵbm"] =
|
|
6763
|
-
exports["ɵbn"] =
|
|
6764
|
-
exports["ɵbo"] =
|
|
6987
|
+
exports["ɵba"] = ColorComponent;
|
|
6988
|
+
exports["ɵbb"] = LinkComponent;
|
|
6989
|
+
exports["ɵbc"] = AlignComponent;
|
|
6990
|
+
exports["ɵbd"] = DirectionComponent;
|
|
6991
|
+
exports["ɵbe"] = BackRepatComponent;
|
|
6992
|
+
exports["ɵbf"] = ConfirmDialogComponent;
|
|
6993
|
+
exports["ɵbg"] = ImageUploadComponent;
|
|
6994
|
+
exports["ɵbh"] = BlockSettingsComponent;
|
|
6995
|
+
exports["ɵbi"] = StructureSettingsComponent;
|
|
6996
|
+
exports["ɵbj"] = GeneralSettingsComponent;
|
|
6997
|
+
exports["ɵbk"] = UploadBottomSheetDialogComponent;
|
|
6998
|
+
exports["ɵbl"] = UploadImageGalleryComponent;
|
|
6999
|
+
exports["ɵbm"] = TemplateListDialogComponent;
|
|
7000
|
+
exports["ɵbn"] = ImportDialogComponent;
|
|
7001
|
+
exports["ɵbo"] = IpInterceptorInterceptor;
|
|
7002
|
+
exports["ɵbp"] = LIBRARY_IS_PRO;
|
|
6765
7003
|
exports["ɵc"] = PbUserInterfaceService;
|
|
6766
7004
|
exports["ɵd"] = FreeUsersRestApi;
|
|
6767
7005
|
exports["ɵe"] = FreeUsersPbStorage;
|
|
@@ -6770,22 +7008,22 @@
|
|
|
6770
7008
|
exports["ɵh"] = DynamicComponentDirective;
|
|
6771
7009
|
exports["ɵi"] = TextElementComponent;
|
|
6772
7010
|
exports["ɵj"] = AbstractBlock;
|
|
6773
|
-
exports["ɵk"] =
|
|
6774
|
-
exports["ɵl"] =
|
|
6775
|
-
exports["ɵm"] =
|
|
6776
|
-
exports["ɵn"] =
|
|
6777
|
-
exports["ɵo"] =
|
|
6778
|
-
exports["ɵp"] =
|
|
6779
|
-
exports["ɵq"] =
|
|
6780
|
-
exports["ɵr"] =
|
|
6781
|
-
exports["ɵs"] =
|
|
6782
|
-
exports["ɵt"] =
|
|
6783
|
-
exports["ɵu"] =
|
|
6784
|
-
exports["ɵv"] =
|
|
6785
|
-
exports["ɵw"] =
|
|
6786
|
-
exports["ɵx"] =
|
|
6787
|
-
exports["ɵy"] =
|
|
6788
|
-
exports["ɵz"] =
|
|
7011
|
+
exports["ɵk"] = MergeFieldPickerDialogComponent;
|
|
7012
|
+
exports["ɵl"] = ImageComponent;
|
|
7013
|
+
exports["ɵm"] = VideoComponent;
|
|
7014
|
+
exports["ɵn"] = VideoThumbnailService;
|
|
7015
|
+
exports["ɵo"] = ButtonComponent;
|
|
7016
|
+
exports["ɵp"] = DividerComponent;
|
|
7017
|
+
exports["ɵq"] = SpacerComponent;
|
|
7018
|
+
exports["ɵr"] = SocialComponent;
|
|
7019
|
+
exports["ɵs"] = BuilderContainerComponent;
|
|
7020
|
+
exports["ɵt"] = FontStylesComponent;
|
|
7021
|
+
exports["ɵu"] = PaddingComponent;
|
|
7022
|
+
exports["ɵv"] = MarginComponent;
|
|
7023
|
+
exports["ɵw"] = GapsComponent;
|
|
7024
|
+
exports["ɵx"] = LineHeightComponent;
|
|
7025
|
+
exports["ɵy"] = WidthHeightComponent;
|
|
7026
|
+
exports["ɵz"] = BorderComponent;
|
|
6789
7027
|
|
|
6790
7028
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6791
7029
|
|