@stratusjs/angular 0.11.3 → 0.12.1
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/dist/angular.bundle.js +45424 -46573
- package/dist/angular.bundle.min.js +1 -1
- package/package.json +5 -5
- package/src/app.module.js +3 -3
- package/src/app.module.js.map +1 -1
- package/src/app.module.min.js +1 -1
- package/src/backend.service.js +4 -1
- package/src/backend.service.js.map +1 -1
- package/src/backend.service.min.js +1 -1
- package/src/base/base.component.js +16 -2
- package/src/base/base.component.js.map +1 -1
- package/src/base/base.component.min.js +1 -1
- package/src/base/base.component.ts +0 -1
- package/src/confirm-dialog/confirm-dialog.component.js +2 -0
- package/src/confirm-dialog/confirm-dialog.component.js.map +1 -1
- package/src/confirm-dialog/confirm-dialog.component.min.js +1 -1
- package/src/core/responsive.component.js +5 -5
- package/src/core/responsive.component.js.map +1 -1
- package/src/core/responsive.component.min.js +1 -1
- package/src/editor/citation-dialog.component.js +23 -7
- package/src/editor/citation-dialog.component.js.map +1 -1
- package/src/editor/citation-dialog.component.min.js +1 -1
- package/src/editor/citation-dialog.component.ts +0 -1
- package/src/editor/code-mirror-bridge.js +4 -0
- package/src/editor/code-mirror-bridge.js.map +1 -1
- package/src/editor/code-mirror-bridge.min.js +1 -1
- package/src/editor/code-view-dialog.component.js +18 -10
- package/src/editor/code-view-dialog.component.js.map +1 -1
- package/src/editor/code-view-dialog.component.min.js +1 -1
- package/src/editor/code-view-dialog.component.ts +0 -1
- package/src/editor/editor.component.js +548 -525
- package/src/editor/editor.component.js.map +1 -1
- package/src/editor/editor.component.min.js +1 -1
- package/src/editor/editor.component.ts +0 -1
- package/src/editor/link-dialog.component.js +39 -20
- package/src/editor/link-dialog.component.js.map +1 -1
- package/src/editor/link-dialog.component.min.js +1 -1
- package/src/editor/link-dialog.component.ts +0 -1
- package/src/editor/media-dialog.component.js +25 -11
- package/src/editor/media-dialog.component.js.map +1 -1
- package/src/editor/media-dialog.component.min.js +1 -1
- package/src/editor/media-dialog.component.ts +0 -1
- package/src/editor/quill-break-blot.plugin.js +38 -0
- package/src/editor/quill-break-blot.plugin.js.map +1 -0
- package/src/editor/quill-break-blot.plugin.min.js +1 -0
- package/src/editor/quill-html-edit.plugin.js +164 -0
- package/src/editor/quill-html-edit.plugin.js.map +1 -0
- package/src/editor/quill-html-edit.plugin.min.js +1 -0
- package/src/editor/quill-image-format.plugin.js +50 -0
- package/src/editor/quill-image-format.plugin.js.map +1 -0
- package/src/editor/quill-image-format.plugin.min.js +1 -0
- package/src/editor/quill-input-button.plugin.js +98 -0
- package/src/editor/quill-input-button.plugin.js.map +1 -0
- package/src/editor/quill-input-button.plugin.min.js +1 -0
- package/src/froala/editor/froala-editor.directive.js +328 -0
- package/src/froala/editor/froala-editor.directive.js.map +1 -0
- package/src/froala/editor/froala-editor.directive.min.js +1 -0
- package/src/froala/editor/froala-editor.module.js +37 -0
- package/src/froala/editor/froala-editor.module.js.map +1 -0
- package/src/froala/editor/froala-editor.module.min.js +1 -0
- package/src/froala/editor/index.js +22 -0
- package/src/froala/editor/index.js.map +1 -0
- package/src/froala/editor/index.min.js +1 -0
- package/src/froala/plugins/citationManager.min.js +1 -1
- package/src/froala/plugins/image_manager.js +364 -0
- package/src/froala/plugins/image_manager.js.map +1 -0
- package/src/froala/plugins/image_manager.min.js +1 -0
- package/src/froala/plugins/inputButton.js +11 -7
- package/src/froala/plugins/inputButton.js.map +1 -1
- package/src/froala/plugins/inputButton.min.js +1 -1
- package/src/froala/plugins/linkManager.ts +1 -1
- package/src/froala/plugins/mediaManager.min.js +1 -1
- package/src/froala/plugins/menuButton.min.js +1 -1
- package/src/froala/view/froala-view.directive.js +49 -0
- package/src/froala/view/froala-view.directive.js.map +1 -0
- package/src/froala/view/froala-view.directive.min.js +1 -0
- package/src/{angular.modules.js → froala/view/froala-view.module.js} +14 -12
- package/src/froala/view/froala-view.module.js.map +1 -0
- package/src/froala/view/froala-view.module.min.js +1 -0
- package/src/froala/view/index.js +22 -0
- package/src/froala/view/index.js.map +1 -0
- package/src/froala/view/index.min.js +1 -0
- package/src/media-selector/media-selector.component.html +1 -1
- package/src/media-selector/media-selector.component.js +76 -46
- package/src/media-selector/media-selector.component.js.map +1 -1
- package/src/media-selector/media-selector.component.min.html +1 -1
- package/src/media-selector/media-selector.component.min.js +1 -1
- package/src/media-selector/media-selector.component.ts +0 -1
- package/src/quill-plugins/quill-image-format.plugin.js +2 -5
- package/src/quill-plugins/quill-image-format.plugin.js.map +1 -1
- package/src/quill-plugins/quill-image-format.plugin.min.js +1 -1
- package/src/quill-plugins/quill-input-button.plugin.js +6 -5
- package/src/quill-plugins/quill-input-button.plugin.js.map +1 -1
- package/src/quill-plugins/quill-input-button.plugin.min.js +1 -1
- package/src/root/root.component.js +43 -0
- package/src/root/root.component.js.map +1 -0
- package/src/root/root.component.min.js +1 -0
- package/src/selector/selector.component.js +34 -12
- package/src/selector/selector.component.js.map +1 -1
- package/src/selector/selector.component.min.js +1 -1
- package/src/selector/selector.component.ts +0 -1
- package/src/test/test.directive.js +2 -0
- package/src/test/test.directive.js.map +1 -1
- package/src/test/test.directive.min.js +1 -1
- package/src/timezone-selector/timezone-selector.component.js +31 -9
- package/src/timezone-selector/timezone-selector.component.js.map +1 -1
- package/src/timezone-selector/timezone-selector.component.min.js +1 -1
- package/src/timezone-selector/timezone-selector.component.ts +0 -1
- package/src/tree/tree-dialog.component.js +31 -18
- package/src/tree/tree-dialog.component.js.map +1 -1
- package/src/tree/tree-dialog.component.min.js +1 -1
- package/src/tree/tree-dialog.component.ts +0 -1
- package/src/tree/tree-node.component.js +13 -7
- package/src/tree/tree-node.component.js.map +1 -1
- package/src/tree/tree-node.component.min.js +1 -1
- package/src/tree/tree-node.component.ts +0 -1
- package/src/tree/tree.component.js +50 -22
- package/src/tree/tree.component.js.map +1 -1
- package/src/tree/tree.component.min.js +1 -1
- package/src/tree/tree.component.ts +0 -1
- package/src/angular.modules.js.map +0 -1
- package/src/angular.modules.min.js +0 -1
- package/src/core/dialog.interface.js.map +0 -1
- package/src/json/json.component.css +0 -2
- package/src/json/json.component.css.map +0 -1
- package/src/json/json.component.js +0 -257
- package/src/json/json.component.js.map +0 -1
- package/src/json/json.component.min.css +0 -0
- package/src/json/json.component.min.js +0 -1
- package/src/material.js +0 -196
- package/src/material.js.map +0 -1
- package/src/material.min.js +0 -1
|
@@ -101,539 +101,562 @@ System.register(["@angular/core", "@angular/forms", "@angular/material/dialog",
|
|
|
101
101
|
froalaDir = `${stratus_1.Stratus.BaseUrl}${boot.configuration.paths[froalaPackage].replace(/js\/[^\/]*$/, '')}`;
|
|
102
102
|
has = (object, path) => lodash_1.default.has(object, path) && !lodash_1.default.isEmpty(lodash_1.default.get(object, path));
|
|
103
103
|
EditorComponent = class EditorComponent extends root_component_1.RootComponent {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
104
|
+
sanitizer;
|
|
105
|
+
ref;
|
|
106
|
+
elementRef;
|
|
107
|
+
fb;
|
|
108
|
+
dialog;
|
|
109
|
+
title = `${moduleName}_component`;
|
|
110
|
+
dev = !!environment_1.cookie('env');
|
|
111
|
+
debug = !!environment_1.cookie(`debug_${moduleName}`);
|
|
112
|
+
editor = 'froala';
|
|
113
|
+
target;
|
|
114
|
+
targetSuffix;
|
|
115
|
+
id;
|
|
116
|
+
manifest;
|
|
117
|
+
decouple;
|
|
118
|
+
direct;
|
|
119
|
+
api;
|
|
120
|
+
urlRoot;
|
|
121
|
+
property;
|
|
122
|
+
classes;
|
|
123
|
+
_ = lodash_1.default;
|
|
124
|
+
has = has;
|
|
125
|
+
log = console.log;
|
|
126
|
+
Stratus = stratus_1.Stratus;
|
|
127
|
+
registry = new registry_1.Registry();
|
|
128
|
+
fetched;
|
|
129
|
+
data;
|
|
130
|
+
collection;
|
|
131
|
+
model;
|
|
132
|
+
dataSub;
|
|
133
|
+
onChange = new rxjs_1.Subject();
|
|
134
|
+
subscriber;
|
|
135
|
+
svgIcons = {};
|
|
136
|
+
initialized = false;
|
|
137
|
+
styled = false;
|
|
138
|
+
blurred = false;
|
|
139
|
+
focused = false;
|
|
140
|
+
codeViewIsOpen;
|
|
141
|
+
form = this.fb.group({
|
|
142
|
+
dataString: new forms_1.FormControl(),
|
|
143
|
+
});
|
|
144
|
+
dataChangeLog = [];
|
|
145
|
+
incomingData = '';
|
|
146
|
+
outgoingData = '';
|
|
147
|
+
debounceSave = true;
|
|
148
|
+
debounceTime = 5000;
|
|
149
|
+
forceSave = false;
|
|
150
|
+
froalaEditorDirective;
|
|
151
|
+
froalaStandardButtons = {
|
|
152
|
+
moreText: [
|
|
153
|
+
'bold',
|
|
154
|
+
'italic',
|
|
155
|
+
'underline',
|
|
156
|
+
'strikeThrough',
|
|
157
|
+
'subscript',
|
|
158
|
+
'superscript',
|
|
159
|
+
'fontFamily',
|
|
160
|
+
'fontSize',
|
|
161
|
+
'textColor',
|
|
162
|
+
'backgroundColor',
|
|
163
|
+
'inlineClass',
|
|
164
|
+
'inlineStyle',
|
|
165
|
+
'clearFormatting'
|
|
166
|
+
],
|
|
167
|
+
moreParagraph: [
|
|
168
|
+
'linkManager',
|
|
169
|
+
'formatOL',
|
|
170
|
+
'formatUL',
|
|
171
|
+
'indent',
|
|
172
|
+
'outdent',
|
|
173
|
+
'quote',
|
|
174
|
+
'paragraphFormat',
|
|
175
|
+
'paragraphStyle',
|
|
176
|
+
'alignLeft',
|
|
177
|
+
'alignCenter',
|
|
178
|
+
'alignRight',
|
|
179
|
+
'alignJustify',
|
|
180
|
+
],
|
|
181
|
+
moreRich: [
|
|
182
|
+
'mediaManager',
|
|
183
|
+
'insertTable',
|
|
184
|
+
'insertImage',
|
|
185
|
+
'insertVideo',
|
|
186
|
+
'insertFile',
|
|
187
|
+
'citationInsert',
|
|
188
|
+
'insertHR',
|
|
189
|
+
'specialCharacters',
|
|
190
|
+
],
|
|
191
|
+
moreMisc: [
|
|
192
|
+
'html',
|
|
193
|
+
'undo',
|
|
194
|
+
'redo',
|
|
195
|
+
'fullscreen',
|
|
196
|
+
'print',
|
|
197
|
+
'selectAll',
|
|
198
|
+
'help'
|
|
199
|
+
],
|
|
200
|
+
};
|
|
201
|
+
froalaConfig = {
|
|
202
|
+
attribution: false,
|
|
203
|
+
key: stratus_1.Stratus.Environment.get('froalaKey'),
|
|
204
|
+
zIndex: 9999,
|
|
205
|
+
events: {
|
|
206
|
+
initialized: (froalaEditorDirective) => {
|
|
207
|
+
this.froalaEditorDirective = froalaEditorDirective;
|
|
204
208
|
},
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
209
|
+
blur: (event) => this.onBlur(event),
|
|
210
|
+
focus: (event) => this.onFocus(event),
|
|
211
|
+
},
|
|
212
|
+
codeBeautifierOptions: {
|
|
213
|
+
end_with_newline: true,
|
|
214
|
+
indent_inner_html: true,
|
|
215
|
+
extra_liners: '["p", "h1", "h2", "h3", "h4", "h5", "h6", "blockquote", "pre", "ul", "ol", "table", "dl"]',
|
|
216
|
+
brace_style: 'expand',
|
|
217
|
+
indent_char: ' ',
|
|
218
|
+
indent_size: 4,
|
|
219
|
+
wrap_line_length: 0
|
|
220
|
+
},
|
|
221
|
+
codeMirror: {
|
|
222
|
+
fromTextArea: (el, opts) => {
|
|
223
|
+
const extensions = [
|
|
224
|
+
codemirror_1.basicSetup,
|
|
225
|
+
codemirror_1.EditorView.lineWrapping,
|
|
226
|
+
lang_html_1.html({}),
|
|
227
|
+
];
|
|
228
|
+
if (environment_1.cookie('dark')) {
|
|
229
|
+
extensions.push(theme_one_dark_1.oneDarkTheme);
|
|
216
230
|
}
|
|
231
|
+
return new code_mirror_bridge_1.CodeMirrorBridge({ extensions }).fromTextArea(el, opts);
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
codeMirrorOptions: {
|
|
235
|
+
indentWithTabs: false,
|
|
236
|
+
lineNumbers: true,
|
|
237
|
+
lineWrapping: true,
|
|
238
|
+
mode: 'text/html',
|
|
239
|
+
tabMode: 'space',
|
|
240
|
+
tabSize: 4
|
|
241
|
+
},
|
|
242
|
+
fileInsertButtons: [
|
|
243
|
+
'fileBack',
|
|
244
|
+
],
|
|
245
|
+
fileUploadURL: 'https://app.sitetheory.io/?session=' + environment_1.cookie('SITETHEORY'),
|
|
246
|
+
fontFamily: {
|
|
247
|
+
'Arial,Helvetica,sans-serif': 'Arial',
|
|
248
|
+
'Georgia,serif': 'Georgia',
|
|
249
|
+
'Impact,Charcoal,sans-serif': 'Impact',
|
|
250
|
+
'Tahoma,Geneva,sans-serif': 'Tahoma',
|
|
251
|
+
'"Times New Roman",Times,serif': 'Times New Roman',
|
|
252
|
+
'Verdana,Geneva,sans-serif': 'Verdana'
|
|
253
|
+
},
|
|
254
|
+
heightMax: window.innerHeight || document.documentElement.clientHeight || 500,
|
|
255
|
+
htmlAllowedAttrs: [
|
|
256
|
+
'aria-.+',
|
|
257
|
+
'data-.+',
|
|
258
|
+
'ng-.+',
|
|
259
|
+
'stratus-.+',
|
|
260
|
+
'sa-.+',
|
|
261
|
+
'accept', 'accept-charset', 'accesskey', 'action', 'align', 'allow', 'allowfullscreen',
|
|
262
|
+
'allowtransparency', 'alt', 'async', 'autocomplete', 'autofocus',
|
|
263
|
+
'autoplay', 'autosave',
|
|
264
|
+
'background', 'bgcolor', 'border',
|
|
265
|
+
'charset', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'color',
|
|
266
|
+
'cols', 'colspan', 'content', 'contenteditable', 'contextmenu', 'controls',
|
|
267
|
+
'coords',
|
|
268
|
+
'data', 'datetime', 'default', 'defer', 'dir', 'dirname',
|
|
269
|
+
'disabled', 'download', 'draggable', 'dropzone',
|
|
270
|
+
'enctype',
|
|
271
|
+
'for', 'form', 'formaction', 'frameborder',
|
|
272
|
+
'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'http-equiv',
|
|
273
|
+
'icon', 'id', 'ismap', 'itemprop',
|
|
274
|
+
'keytype', 'kind',
|
|
275
|
+
'label', 'lang', 'language', 'list', 'loop', 'low',
|
|
276
|
+
'max', 'maxlength', 'media', 'method', 'min', 'mozallowfullscreen', 'multiple',
|
|
277
|
+
'muted',
|
|
278
|
+
'name', 'novalidate',
|
|
279
|
+
'open', 'optimum',
|
|
280
|
+
'pattern', 'ping', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate',
|
|
281
|
+
'radiogroup', 'readonly', 'rel', 'required', 'reversed', 'rows', 'rowspan',
|
|
282
|
+
'sandbox', 'scope', 'scoped', 'scrolling', 'seamless', 'selected', 'shape',
|
|
283
|
+
'size', 'sizes', 'span', 'src', 'srcdoc', 'srclang', 'srcset', 'start', 'step',
|
|
284
|
+
'summary', 'spellcheck', 'style',
|
|
285
|
+
'tabindex', 'target', 'title', 'type', 'translate',
|
|
286
|
+
'usemap',
|
|
287
|
+
'value', 'valign',
|
|
288
|
+
'webkitallowfullscreen', 'width', 'wrap',
|
|
289
|
+
'xmlns',
|
|
290
|
+
'xmlns:xlink',
|
|
291
|
+
'accent-height', 'accumulate', 'additive', 'alignment-baseline', 'alphabetic', 'amplitude', 'arabic-form', 'ascent',
|
|
292
|
+
'attributeName', 'attributeType', 'azimuth',
|
|
293
|
+
'baseFrequency', 'baseline-shift', 'baseProfile', 'bbox', 'begin', 'bias', 'by',
|
|
294
|
+
'calcMode', 'cap-height', 'clip', 'clipPathUnits', 'clip-path', 'clip-rule', 'color-interpolation',
|
|
295
|
+
'color-interpolation-filters', 'color-profile', 'color-rendering', 'contentScriptType', 'contentStyleType', 'crossorigin',
|
|
296
|
+
'cursor', 'cx', 'cy',
|
|
297
|
+
'd', 'decelerate', 'descent', 'diffuseConstant', 'direction', 'display', 'divisor', 'dominant-baseline', 'dur', 'dx', 'dy',
|
|
298
|
+
'edgeMode', 'elevation', 'enable-background', 'end', 'exponent', 'externalResourcesRequired',
|
|
299
|
+
'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterRes', 'filterUnits', 'flood-color', 'flood-opacity', 'font-family',
|
|
300
|
+
'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'format', 'from',
|
|
301
|
+
'fr', 'fx', 'fy',
|
|
302
|
+
'g1', 'g2', 'glyph-name', 'glyph-orientation-horizontal', 'glyph-orientation-vertical', 'glyphRef', 'gradientTransform',
|
|
303
|
+
'gradientUnits',
|
|
304
|
+
'hanging', 'horiz-adv-x', 'horiz-origin-x',
|
|
305
|
+
'ideographic', 'image-rendering', 'in', 'in2', 'intercept',
|
|
306
|
+
'k', 'k1', 'k2', 'k3', 'k4', 'kernelMatrix', 'kernelUnitLength', 'kerning', 'keyPoints', 'keySplines', 'keyTimes',
|
|
307
|
+
'lengthAdjust', 'letter-spacing', 'lighting-color', 'limitingConeAngle', 'local',
|
|
308
|
+
'marker-end', 'marker-mid', 'marker-start', 'markerHeight', 'markerUnits', 'markerWidth', 'mask', 'maskContentUnits',
|
|
309
|
+
'maskUnits', 'mathematical', 'mode',
|
|
310
|
+
'numOctaves',
|
|
311
|
+
'offset', 'opacity', 'operator', 'order', 'orient', 'orientation', 'origin', 'overflow', 'overline-position',
|
|
312
|
+
'overline-thickness',
|
|
313
|
+
'panose-1', 'paint-order', 'path', 'pathLength', 'patternContentUnits', 'patternTransform', 'patternUnits', 'pointer-events',
|
|
314
|
+
'points', 'pointsAtX', 'pointsAtY', 'pointsAtZ', 'preserveAlpha', 'preserveAspectRatio', 'primitiveUnits',
|
|
315
|
+
'r', 'radius', 'referrerPolicy', 'refX', 'refY', 'rendering-intent', 'repeatCount', 'repeatDur', 'requiredExtensions',
|
|
316
|
+
'requiredFeatures', 'restart', 'result', 'rotate', 'rx', 'ry',
|
|
317
|
+
'scale', 'seed', 'shape-rendering', 'slope', 'spacing', 'specularConstant', 'specularExponent', 'speed', 'spreadMethod',
|
|
318
|
+
'startOffset', 'stdDeviation', 'stemh', 'stemv', 'stitchTiles', 'stop-color', 'stop-opacity', 'strikethrough-position',
|
|
319
|
+
'strikethrough-thickness', 'string', 'stroke', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin',
|
|
320
|
+
'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'surfaceScale', 'systemLanguage',
|
|
321
|
+
'tableValues', 'targetX', 'targetY', 'text-anchor', 'text-decoration', 'text-rendering', 'textLength', 'to', 'transform',
|
|
322
|
+
'transform-origin',
|
|
323
|
+
'u1', 'u2', 'underline-position', 'underline-thickness', 'unicode', 'unicode-bidi', 'unicode-range', 'units-per-em',
|
|
324
|
+
'v-alphabetic', 'v-hanging', 'v-ideographic', 'v-mathematical', 'values', 'vector-effect', 'version', 'vert-adv-y',
|
|
325
|
+
'vert-origin-x', 'vert-origin-y', 'viewBox', 'viewTarget', 'visibility',
|
|
326
|
+
'widths', 'word-spacing', 'writing-mode',
|
|
327
|
+
'x', 'x-height', 'x1', 'x2', 'xChannelSelector',
|
|
328
|
+
'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show',
|
|
329
|
+
'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space',
|
|
330
|
+
'y', 'y1', 'y2', 'yChannelSelector',
|
|
331
|
+
'z', 'zoomAndPan'
|
|
332
|
+
],
|
|
333
|
+
htmlAllowedEmptyTags: [
|
|
334
|
+
'textarea', 'a', 'iframe', 'object', 'video', 'style', 'script',
|
|
335
|
+
'form',
|
|
336
|
+
'hr', 'div',
|
|
337
|
+
'animate', 'animateMotion', 'animateTransform', 'circle', 'clipPath', 'defs', 'desc', 'discard', 'ellipse',
|
|
338
|
+
'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting',
|
|
339
|
+
'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG',
|
|
340
|
+
'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset',
|
|
341
|
+
'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence',
|
|
342
|
+
'filter', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'marker', 'mask', 'metadata', 'mpath',
|
|
343
|
+
'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'set', 'stop', 'svg', 'switch',
|
|
344
|
+
'symbol', 'text', 'textPath', 'tspan', 'unknown', 'use', 'view',
|
|
345
|
+
'ng-app', 'ng-bind', 'ng-bind-html', 'ng-bind-template', 'ng-blur', 'ng-change', 'ng-checked', 'ng-class', 'ng-class-even',
|
|
346
|
+
'ng-class-odd', 'ng-click', 'ng-cloak', 'ng-controller', 'ng-copy', 'ng-csp', 'ng-cut', 'ng-dblclick', 'ng-disabled',
|
|
347
|
+
'ng-focus', 'ng-form', 'ng-hide', 'ng-href', 'ng-if', 'ng-include', 'ng-init', 'ng-jq', 'ng-keydown', 'ng-keypress', 'ng-keyup',
|
|
348
|
+
'ng-list', 'ng-maxlength', 'ng-minlength', 'ng-model', 'ng-model-options', 'ng-mousedown', 'ng-mouseenter', 'ng-mouseleave',
|
|
349
|
+
'ng-mousemove', 'ng-mouseover', 'ng-mouseup', 'ng-non-bindable', 'ng-on', 'ng-open', 'ng-options', 'ng-paste', 'ng-pattern',
|
|
350
|
+
'ng-pluralize', 'ng-prop', 'ng-readonly', 'ng-ref', 'ng-repeat', 'ng-required', 'ng-selected', 'ng-show', 'ng-src', 'ng-srcset',
|
|
351
|
+
'ng-style', 'ng-submit', 'ng-switch', 'ng-transclude', 'ng-value', 'ng-animate-children', 'ng-animate-swap', 'ng-outlet',
|
|
352
|
+
'ng-message', 'ng-message-default', 'ng-message-exp', 'ng-messages', 'ng-messages-include', 'ng-view', 'ng-swipe-left',
|
|
353
|
+
'ng-swipe-right',
|
|
354
|
+
'md-autocomplete', 'md-autofocus', 'md-button', 'md-calendar', 'md-card', 'md-checkbox', 'md-chip', 'md-chip-remove',
|
|
355
|
+
'md-chips', 'md-colors', 'md-contact-chips', 'md-content', 'md-datepicker', 'md-dialog', 'md-divider', 'md-fab-actions',
|
|
356
|
+
'md-fab-speed-dial', 'md-fab-toolbar', 'md-force-height', 'md-grid-list', 'md-grid-tile', 'md-highlight-text', 'md-icon',
|
|
357
|
+
'md-ink-ripple', 'md-input', 'md-input-container', 'md-list', 'md-list-item', 'md-menu', 'md-menu-bar', 'md-nav-bar',
|
|
358
|
+
'md-nav-item', 'md-optgroup', 'md-option', 'md-progress-circular', 'md-progress-linear', 'md-radio-button', 'md-radio-group',
|
|
359
|
+
'md-select', 'md-select-on-focus', 'md-sidenav', 'md-slider', 'md-slider-container', 'md-subheader', 'md-swipe-down',
|
|
360
|
+
'md-swipe-left', 'md-swipe-right', 'md-swipe-up', 'md-switch', 'md-tab', 'md-tabs', 'md-toolbar', 'md-tooltip', 'md-truncate',
|
|
361
|
+
'md-virtual-repeat', 'md-virtual-repeat-container', 'md-whiteframe',
|
|
362
|
+
'md-svg-src',
|
|
363
|
+
'stratus-base',
|
|
364
|
+
'stratus-calculator-mortgage',
|
|
365
|
+
'stratus-calendar',
|
|
366
|
+
'stratus-citation',
|
|
367
|
+
'stratus-citation-notitle',
|
|
368
|
+
'stratus-contact-form',
|
|
369
|
+
'stratus-content-selector',
|
|
370
|
+
'stratus-date-time',
|
|
371
|
+
'stratus-delete',
|
|
372
|
+
'stratus-error-message',
|
|
373
|
+
'stratus-facebook',
|
|
374
|
+
'stratus-filter',
|
|
375
|
+
'stratus-help',
|
|
376
|
+
'stratus-idx-disclaimer',
|
|
377
|
+
'stratus-idx-map',
|
|
378
|
+
'stratus-idx-member-details',
|
|
379
|
+
'stratus-idx-member-list',
|
|
380
|
+
'stratus-idx-member-search',
|
|
381
|
+
'stratus-idx-office-list',
|
|
382
|
+
'stratus-idx-office-search',
|
|
383
|
+
'stratus-idx-property-details',
|
|
384
|
+
'stratus-idx-property-details-sub-section',
|
|
385
|
+
'stratus-idx-property-list',
|
|
386
|
+
'stratus-idx-property-search',
|
|
387
|
+
'stratus-image-carousel',
|
|
388
|
+
'stratus-json-editor',
|
|
389
|
+
'stratus-media-details',
|
|
390
|
+
'stratus-media-drag-drop',
|
|
391
|
+
'stratus-media-library',
|
|
392
|
+
'stratus-media-selector',
|
|
393
|
+
'stratus-media-short-details',
|
|
394
|
+
'stratus-media-uploader',
|
|
395
|
+
'stratus-open-houses',
|
|
396
|
+
'stratus-option-value',
|
|
397
|
+
'stratus-pagination',
|
|
398
|
+
'stratus-password-reset',
|
|
399
|
+
'stratus-permissions',
|
|
400
|
+
'stratus-proposal-alert',
|
|
401
|
+
'stratus-publish',
|
|
402
|
+
'stratus-role',
|
|
403
|
+
'stratus-search',
|
|
404
|
+
'stratus-single-sign-on',
|
|
405
|
+
'stratus-social-media',
|
|
406
|
+
'stratus-sort',
|
|
407
|
+
'stratus-swiper-carousel',
|
|
408
|
+
'stratus-tag',
|
|
409
|
+
'stratus-theme-selector',
|
|
410
|
+
'stratus-twitter-feed',
|
|
411
|
+
'stratus-user-authentication',
|
|
412
|
+
'stratus-user-selector',
|
|
413
|
+
'stratus-visual-selector',
|
|
414
|
+
'sa-boot',
|
|
415
|
+
'sa-editor',
|
|
416
|
+
'sa-map',
|
|
417
|
+
'sa-media-selector',
|
|
418
|
+
'sa-selector',
|
|
419
|
+
'sa-stripe-payment-method-list',
|
|
420
|
+
'sa-stripe-payment-method-selector',
|
|
421
|
+
'sa-tree',
|
|
422
|
+
],
|
|
423
|
+
htmlAllowedStyleProps: [
|
|
424
|
+
'.*'
|
|
425
|
+
],
|
|
426
|
+
htmlAllowedTags: [
|
|
427
|
+
'a', 'abbr', 'address', 'area', 'article', 'aside', 'audio',
|
|
428
|
+
'b', 'base', 'bdi', 'bdo', 'blockquote', 'br', 'button',
|
|
429
|
+
'canvas', 'caption', 'cite', 'code', 'col', 'colgroup',
|
|
430
|
+
'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt',
|
|
431
|
+
'em', 'embed',
|
|
432
|
+
'fieldset', 'figcaption', 'figure', 'footer', 'form',
|
|
433
|
+
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr',
|
|
434
|
+
'i', 'iframe', 'img', 'input', 'ins',
|
|
435
|
+
'kbd', 'keygen',
|
|
436
|
+
'label', 'legend', 'li', 'link',
|
|
437
|
+
'main', 'map', 'mark', 'menu', 'menuitem', 'meter',
|
|
438
|
+
'nav', 'noscript',
|
|
439
|
+
'object', 'ol', 'optgroup', 'option', 'output',
|
|
440
|
+
'p', 'param', 'pre', 'progress',
|
|
441
|
+
'queue',
|
|
442
|
+
'rp', 'rt', 'ruby',
|
|
443
|
+
's', 'samp', 'script', 'style', 'section', 'select', 'small',
|
|
444
|
+
'source', 'span', 'strike', 'strong', 'sub', 'summary', 'sup',
|
|
445
|
+
'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track',
|
|
446
|
+
'u', 'ul',
|
|
447
|
+
'var', 'video',
|
|
448
|
+
'wbr',
|
|
449
|
+
'animate', 'animateMotion', 'animateTransform', 'circle', 'clipPath', 'defs', 'desc', 'discard', 'ellipse',
|
|
450
|
+
'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting',
|
|
451
|
+
'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG',
|
|
452
|
+
'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset',
|
|
453
|
+
'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence',
|
|
454
|
+
'filter', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'marker', 'mask', 'metadata', 'mpath',
|
|
455
|
+
'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'set', 'stop', 'svg', 'switch',
|
|
456
|
+
'symbol', 'text', 'textPath', 'tspan', 'unknown', 'use', 'view',
|
|
457
|
+
'ng-app', 'ng-bind', 'ng-bind-html', 'ng-bind-template', 'ng-blur', 'ng-change', 'ng-checked', 'ng-class', 'ng-class-even',
|
|
458
|
+
'ng-class-odd', 'ng-click', 'ng-cloak', 'ng-controller', 'ng-copy', 'ng-csp', 'ng-cut', 'ng-dblclick', 'ng-disabled',
|
|
459
|
+
'ng-focus', 'ng-form', 'ng-hide', 'ng-href', 'ng-if', 'ng-include', 'ng-init', 'ng-jq', 'ng-keydown', 'ng-keypress', 'ng-keyup',
|
|
460
|
+
'ng-list', 'ng-maxlength', 'ng-minlength', 'ng-model', 'ng-model-options', 'ng-mousedown', 'ng-mouseenter', 'ng-mouseleave',
|
|
461
|
+
'ng-mousemove', 'ng-mouseover', 'ng-mouseup', 'ng-non-bindable', 'ng-on', 'ng-open', 'ng-options', 'ng-paste', 'ng-pattern',
|
|
462
|
+
'ng-pluralize', 'ng-prop', 'ng-readonly', 'ng-ref', 'ng-repeat', 'ng-required', 'ng-selected', 'ng-show', 'ng-src', 'ng-srcset',
|
|
463
|
+
'ng-style', 'ng-submit', 'ng-switch', 'ng-transclude', 'ng-value', 'ng-animate-children', 'ng-animate-swap', 'ng-outlet',
|
|
464
|
+
'ng-message', 'ng-message-default', 'ng-message-exp', 'ng-messages', 'ng-messages-include', 'ng-view', 'ng-swipe-left',
|
|
465
|
+
'ng-swipe-right',
|
|
466
|
+
'md-autocomplete', 'md-autofocus', 'md-button', 'md-calendar', 'md-card', 'md-checkbox', 'md-chip', 'md-chip-remove',
|
|
467
|
+
'md-chips', 'md-colors', 'md-contact-chips', 'md-content', 'md-datepicker', 'md-dialog', 'md-divider', 'md-fab-actions',
|
|
468
|
+
'md-fab-speed-dial', 'md-fab-toolbar', 'md-force-height', 'md-grid-list', 'md-grid-tile', 'md-highlight-text', 'md-icon',
|
|
469
|
+
'md-ink-ripple', 'md-input', 'md-input-container', 'md-list', 'md-list-item', 'md-menu', 'md-menu-bar', 'md-nav-bar',
|
|
470
|
+
'md-nav-item', 'md-optgroup', 'md-option', 'md-progress-circular', 'md-progress-linear', 'md-radio-button', 'md-radio-group',
|
|
471
|
+
'md-select', 'md-select-on-focus', 'md-sidenav', 'md-slider', 'md-slider-container', 'md-subheader', 'md-swipe-down',
|
|
472
|
+
'md-swipe-left', 'md-swipe-right', 'md-swipe-up', 'md-switch', 'md-tab', 'md-tabs', 'md-toolbar', 'md-tooltip', 'md-truncate',
|
|
473
|
+
'md-virtual-repeat', 'md-virtual-repeat-container', 'md-whiteframe',
|
|
474
|
+
'md-svg-src',
|
|
475
|
+
'sa-boot',
|
|
476
|
+
'sa-editor',
|
|
477
|
+
'sa-map',
|
|
478
|
+
'sa-media-selector',
|
|
479
|
+
'sa-selector',
|
|
480
|
+
'sa-stripe-payment-method-list',
|
|
481
|
+
'sa-stripe-payment-method-selector',
|
|
482
|
+
'sa-tree',
|
|
483
|
+
'stratus-.+',
|
|
484
|
+
],
|
|
485
|
+
htmlRemoveTags: [],
|
|
486
|
+
htmlSimpleAmpersand: false,
|
|
487
|
+
imageInsertButtons: [
|
|
488
|
+
'imageBack',
|
|
489
|
+
'|',
|
|
490
|
+
'imageUpload',
|
|
491
|
+
'imageByURL',
|
|
492
|
+
],
|
|
493
|
+
imageUpload: true,
|
|
494
|
+
imageUploadRemoteUrls: true,
|
|
495
|
+
imageUploadURL: 'https://app.sitetheory.io/?session=' + environment_1.cookie('SITETHEORY'),
|
|
496
|
+
imageManagerPageSize: 20,
|
|
497
|
+
imageManagerScrollOffset: 10,
|
|
498
|
+
imageManagerLoadMethod: 'GET',
|
|
499
|
+
imageManagerLoadURL: '/Api/Media?payload-only=true',
|
|
500
|
+
linkEditButtons: [
|
|
501
|
+
'linkOpen',
|
|
502
|
+
'linkRemove',
|
|
503
|
+
],
|
|
504
|
+
linkInsertButtons: [
|
|
505
|
+
'linkBack',
|
|
506
|
+
],
|
|
507
|
+
multiLine: true,
|
|
508
|
+
paragraphStyles: {
|
|
509
|
+
btn: 'Button',
|
|
510
|
+
header: 'Header',
|
|
511
|
+
title: 'Title',
|
|
512
|
+
'alt-title': 'Alt Title (over)',
|
|
513
|
+
subtitle: 'Subtitle',
|
|
514
|
+
pullout: 'Pullout Quote',
|
|
515
|
+
},
|
|
516
|
+
pasteDeniedAttrs: [
|
|
517
|
+
'id',
|
|
518
|
+
'class',
|
|
519
|
+
'style',
|
|
520
|
+
'dir',
|
|
521
|
+
'data-.+',
|
|
522
|
+
'aria-.+',
|
|
523
|
+
'ng-.+',
|
|
524
|
+
'stratus-.+',
|
|
525
|
+
'sa-.+'
|
|
526
|
+
],
|
|
527
|
+
pasteDeniedTags: [
|
|
528
|
+
'form',
|
|
529
|
+
'input',
|
|
530
|
+
'label',
|
|
531
|
+
'style'
|
|
532
|
+
],
|
|
533
|
+
pastePlain: false,
|
|
534
|
+
pluginsEnabled: [
|
|
535
|
+
'align',
|
|
536
|
+
'charCounter',
|
|
537
|
+
'codeBeautifier',
|
|
538
|
+
'codeView',
|
|
539
|
+
'colors',
|
|
540
|
+
'draggable',
|
|
541
|
+
'embedly',
|
|
542
|
+
'entities',
|
|
543
|
+
'file',
|
|
544
|
+
'fontAwesome',
|
|
545
|
+
'fontFamily',
|
|
546
|
+
'fontSize',
|
|
547
|
+
'fullscreen',
|
|
548
|
+
'help',
|
|
549
|
+
'image',
|
|
550
|
+
'imageTUI',
|
|
551
|
+
'inlineStyle',
|
|
552
|
+
'inlineClass',
|
|
553
|
+
'lineBreaker',
|
|
554
|
+
'link',
|
|
555
|
+
'linkManager',
|
|
556
|
+
'citationManager',
|
|
557
|
+
'lists',
|
|
558
|
+
'mediaManager',
|
|
559
|
+
'paragraphFormat',
|
|
560
|
+
'paragraphStyle',
|
|
561
|
+
'print',
|
|
562
|
+
'quickInsert',
|
|
563
|
+
'quote',
|
|
564
|
+
'save',
|
|
565
|
+
'specialCharacters',
|
|
566
|
+
'table',
|
|
567
|
+
'url',
|
|
568
|
+
'video',
|
|
569
|
+
'wordPaste',
|
|
570
|
+
],
|
|
571
|
+
quickInsertButtons: [
|
|
572
|
+
'media',
|
|
573
|
+
'link',
|
|
574
|
+
'video',
|
|
575
|
+
'embedly',
|
|
576
|
+
'table',
|
|
577
|
+
'ul',
|
|
578
|
+
'ol',
|
|
579
|
+
'hr'
|
|
580
|
+
],
|
|
581
|
+
scrollableContainer: stratus_1.Stratus.Environment.get('viewPort') || 'body',
|
|
582
|
+
spellcheck: true,
|
|
583
|
+
theme: environment_1.cookie('dark') ? 'dark' : null,
|
|
584
|
+
toolbarSticky: true,
|
|
585
|
+
toolbarButtons: {
|
|
586
|
+
moreText: {
|
|
587
|
+
buttons: this.froalaStandardButtons.moreText,
|
|
588
|
+
buttonsVisible: 3
|
|
217
589
|
},
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
lineWrapping: true,
|
|
222
|
-
mode: 'text/html',
|
|
223
|
-
tabMode: 'space',
|
|
224
|
-
tabSize: 4
|
|
590
|
+
moreParagraph: {
|
|
591
|
+
buttons: this.froalaStandardButtons.moreParagraph,
|
|
592
|
+
buttonsVisible: 8
|
|
225
593
|
},
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
fileUploadURL: 'https://app.sitetheory.io/?session=' + environment_1.cookie('SITETHEORY'),
|
|
230
|
-
fontFamily: {
|
|
231
|
-
'Arial,Helvetica,sans-serif': 'Arial',
|
|
232
|
-
'Georgia,serif': 'Georgia',
|
|
233
|
-
'Impact,Charcoal,sans-serif': 'Impact',
|
|
234
|
-
'Tahoma,Geneva,sans-serif': 'Tahoma',
|
|
235
|
-
'"Times New Roman",Times,serif': 'Times New Roman',
|
|
236
|
-
'Verdana,Geneva,sans-serif': 'Verdana'
|
|
594
|
+
moreRich: {
|
|
595
|
+
buttons: this.froalaStandardButtons.moreRich,
|
|
596
|
+
buttonsVisible: 1
|
|
237
597
|
},
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
'
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
'background', 'bgcolor', 'border',
|
|
249
|
-
'charset', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'color',
|
|
250
|
-
'cols', 'colspan', 'content', 'contenteditable', 'contextmenu', 'controls',
|
|
251
|
-
'coords',
|
|
252
|
-
'data', 'datetime', 'default', 'defer', 'dir', 'dirname',
|
|
253
|
-
'disabled', 'download', 'draggable', 'dropzone',
|
|
254
|
-
'enctype',
|
|
255
|
-
'for', 'form', 'formaction', 'frameborder',
|
|
256
|
-
'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'http-equiv',
|
|
257
|
-
'icon', 'id', 'ismap', 'itemprop',
|
|
258
|
-
'keytype', 'kind',
|
|
259
|
-
'label', 'lang', 'language', 'list', 'loop', 'low',
|
|
260
|
-
'max', 'maxlength', 'media', 'method', 'min', 'mozallowfullscreen', 'multiple',
|
|
261
|
-
'muted',
|
|
262
|
-
'name', 'novalidate',
|
|
263
|
-
'open', 'optimum',
|
|
264
|
-
'pattern', 'ping', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate',
|
|
265
|
-
'radiogroup', 'readonly', 'rel', 'required', 'reversed', 'rows', 'rowspan',
|
|
266
|
-
'sandbox', 'scope', 'scoped', 'scrolling', 'seamless', 'selected', 'shape',
|
|
267
|
-
'size', 'sizes', 'span', 'src', 'srcdoc', 'srclang', 'srcset', 'start', 'step',
|
|
268
|
-
'summary', 'spellcheck', 'style',
|
|
269
|
-
'tabindex', 'target', 'title', 'type', 'translate',
|
|
270
|
-
'usemap',
|
|
271
|
-
'value', 'valign',
|
|
272
|
-
'webkitallowfullscreen', 'width', 'wrap',
|
|
273
|
-
'xmlns',
|
|
274
|
-
'xmlns:xlink',
|
|
275
|
-
'accent-height', 'accumulate', 'additive', 'alignment-baseline', 'alphabetic', 'amplitude', 'arabic-form', 'ascent',
|
|
276
|
-
'attributeName', 'attributeType', 'azimuth',
|
|
277
|
-
'baseFrequency', 'baseline-shift', 'baseProfile', 'bbox', 'begin', 'bias', 'by',
|
|
278
|
-
'calcMode', 'cap-height', 'clip', 'clipPathUnits', 'clip-path', 'clip-rule', 'color-interpolation',
|
|
279
|
-
'color-interpolation-filters', 'color-profile', 'color-rendering', 'contentScriptType', 'contentStyleType', 'crossorigin',
|
|
280
|
-
'cursor', 'cx', 'cy',
|
|
281
|
-
'd', 'decelerate', 'descent', 'diffuseConstant', 'direction', 'display', 'divisor', 'dominant-baseline', 'dur', 'dx', 'dy',
|
|
282
|
-
'edgeMode', 'elevation', 'enable-background', 'end', 'exponent', 'externalResourcesRequired',
|
|
283
|
-
'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterRes', 'filterUnits', 'flood-color', 'flood-opacity', 'font-family',
|
|
284
|
-
'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'format', 'from',
|
|
285
|
-
'fr', 'fx', 'fy',
|
|
286
|
-
'g1', 'g2', 'glyph-name', 'glyph-orientation-horizontal', 'glyph-orientation-vertical', 'glyphRef', 'gradientTransform',
|
|
287
|
-
'gradientUnits',
|
|
288
|
-
'hanging', 'horiz-adv-x', 'horiz-origin-x',
|
|
289
|
-
'ideographic', 'image-rendering', 'in', 'in2', 'intercept',
|
|
290
|
-
'k', 'k1', 'k2', 'k3', 'k4', 'kernelMatrix', 'kernelUnitLength', 'kerning', 'keyPoints', 'keySplines', 'keyTimes',
|
|
291
|
-
'lengthAdjust', 'letter-spacing', 'lighting-color', 'limitingConeAngle', 'local',
|
|
292
|
-
'marker-end', 'marker-mid', 'marker-start', 'markerHeight', 'markerUnits', 'markerWidth', 'mask', 'maskContentUnits',
|
|
293
|
-
'maskUnits', 'mathematical', 'mode',
|
|
294
|
-
'numOctaves',
|
|
295
|
-
'offset', 'opacity', 'operator', 'order', 'orient', 'orientation', 'origin', 'overflow', 'overline-position',
|
|
296
|
-
'overline-thickness',
|
|
297
|
-
'panose-1', 'paint-order', 'path', 'pathLength', 'patternContentUnits', 'patternTransform', 'patternUnits', 'pointer-events',
|
|
298
|
-
'points', 'pointsAtX', 'pointsAtY', 'pointsAtZ', 'preserveAlpha', 'preserveAspectRatio', 'primitiveUnits',
|
|
299
|
-
'r', 'radius', 'referrerPolicy', 'refX', 'refY', 'rendering-intent', 'repeatCount', 'repeatDur', 'requiredExtensions',
|
|
300
|
-
'requiredFeatures', 'restart', 'result', 'rotate', 'rx', 'ry',
|
|
301
|
-
'scale', 'seed', 'shape-rendering', 'slope', 'spacing', 'specularConstant', 'specularExponent', 'speed', 'spreadMethod',
|
|
302
|
-
'startOffset', 'stdDeviation', 'stemh', 'stemv', 'stitchTiles', 'stop-color', 'stop-opacity', 'strikethrough-position',
|
|
303
|
-
'strikethrough-thickness', 'string', 'stroke', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin',
|
|
304
|
-
'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'surfaceScale', 'systemLanguage',
|
|
305
|
-
'tableValues', 'targetX', 'targetY', 'text-anchor', 'text-decoration', 'text-rendering', 'textLength', 'to', 'transform',
|
|
306
|
-
'transform-origin',
|
|
307
|
-
'u1', 'u2', 'underline-position', 'underline-thickness', 'unicode', 'unicode-bidi', 'unicode-range', 'units-per-em',
|
|
308
|
-
'v-alphabetic', 'v-hanging', 'v-ideographic', 'v-mathematical', 'values', 'vector-effect', 'version', 'vert-adv-y',
|
|
309
|
-
'vert-origin-x', 'vert-origin-y', 'viewBox', 'viewTarget', 'visibility',
|
|
310
|
-
'widths', 'word-spacing', 'writing-mode',
|
|
311
|
-
'x', 'x-height', 'x1', 'x2', 'xChannelSelector',
|
|
312
|
-
'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show',
|
|
313
|
-
'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space',
|
|
314
|
-
'y', 'y1', 'y2', 'yChannelSelector',
|
|
315
|
-
'z', 'zoomAndPan'
|
|
316
|
-
],
|
|
317
|
-
htmlAllowedEmptyTags: [
|
|
318
|
-
'textarea', 'a', 'iframe', 'object', 'video', 'style', 'script',
|
|
319
|
-
'form',
|
|
320
|
-
'hr', 'div',
|
|
321
|
-
'animate', 'animateMotion', 'animateTransform', 'circle', 'clipPath', 'defs', 'desc', 'discard', 'ellipse',
|
|
322
|
-
'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting',
|
|
323
|
-
'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG',
|
|
324
|
-
'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset',
|
|
325
|
-
'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence',
|
|
326
|
-
'filter', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'marker', 'mask', 'metadata', 'mpath',
|
|
327
|
-
'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'set', 'stop', 'svg', 'switch',
|
|
328
|
-
'symbol', 'text', 'textPath', 'tspan', 'unknown', 'use', 'view',
|
|
329
|
-
'ng-app', 'ng-bind', 'ng-bind-html', 'ng-bind-template', 'ng-blur', 'ng-change', 'ng-checked', 'ng-class', 'ng-class-even',
|
|
330
|
-
'ng-class-odd', 'ng-click', 'ng-cloak', 'ng-controller', 'ng-copy', 'ng-csp', 'ng-cut', 'ng-dblclick', 'ng-disabled',
|
|
331
|
-
'ng-focus', 'ng-form', 'ng-hide', 'ng-href', 'ng-if', 'ng-include', 'ng-init', 'ng-jq', 'ng-keydown', 'ng-keypress', 'ng-keyup',
|
|
332
|
-
'ng-list', 'ng-maxlength', 'ng-minlength', 'ng-model', 'ng-model-options', 'ng-mousedown', 'ng-mouseenter', 'ng-mouseleave',
|
|
333
|
-
'ng-mousemove', 'ng-mouseover', 'ng-mouseup', 'ng-non-bindable', 'ng-on', 'ng-open', 'ng-options', 'ng-paste', 'ng-pattern',
|
|
334
|
-
'ng-pluralize', 'ng-prop', 'ng-readonly', 'ng-ref', 'ng-repeat', 'ng-required', 'ng-selected', 'ng-show', 'ng-src', 'ng-srcset',
|
|
335
|
-
'ng-style', 'ng-submit', 'ng-switch', 'ng-transclude', 'ng-value', 'ng-animate-children', 'ng-animate-swap', 'ng-outlet',
|
|
336
|
-
'ng-message', 'ng-message-default', 'ng-message-exp', 'ng-messages', 'ng-messages-include', 'ng-view', 'ng-swipe-left',
|
|
337
|
-
'ng-swipe-right',
|
|
338
|
-
'md-autocomplete', 'md-autofocus', 'md-button', 'md-calendar', 'md-card', 'md-checkbox', 'md-chip', 'md-chip-remove',
|
|
339
|
-
'md-chips', 'md-colors', 'md-contact-chips', 'md-content', 'md-datepicker', 'md-dialog', 'md-divider', 'md-fab-actions',
|
|
340
|
-
'md-fab-speed-dial', 'md-fab-toolbar', 'md-force-height', 'md-grid-list', 'md-grid-tile', 'md-highlight-text', 'md-icon',
|
|
341
|
-
'md-ink-ripple', 'md-input', 'md-input-container', 'md-list', 'md-list-item', 'md-menu', 'md-menu-bar', 'md-nav-bar',
|
|
342
|
-
'md-nav-item', 'md-optgroup', 'md-option', 'md-progress-circular', 'md-progress-linear', 'md-radio-button', 'md-radio-group',
|
|
343
|
-
'md-select', 'md-select-on-focus', 'md-sidenav', 'md-slider', 'md-slider-container', 'md-subheader', 'md-swipe-down',
|
|
344
|
-
'md-swipe-left', 'md-swipe-right', 'md-swipe-up', 'md-switch', 'md-tab', 'md-tabs', 'md-toolbar', 'md-tooltip', 'md-truncate',
|
|
345
|
-
'md-virtual-repeat', 'md-virtual-repeat-container', 'md-whiteframe',
|
|
346
|
-
'md-svg-src',
|
|
347
|
-
'stratus-base',
|
|
348
|
-
'stratus-calculator-mortgage',
|
|
349
|
-
'stratus-calendar',
|
|
350
|
-
'stratus-citation',
|
|
351
|
-
'stratus-citation-notitle',
|
|
352
|
-
'stratus-contact-form',
|
|
353
|
-
'stratus-content-selector',
|
|
354
|
-
'stratus-date-time',
|
|
355
|
-
'stratus-delete',
|
|
356
|
-
'stratus-error-message',
|
|
357
|
-
'stratus-facebook',
|
|
358
|
-
'stratus-filter',
|
|
359
|
-
'stratus-help',
|
|
360
|
-
'stratus-idx-disclaimer',
|
|
361
|
-
'stratus-idx-map',
|
|
362
|
-
'stratus-idx-member-details',
|
|
363
|
-
'stratus-idx-member-list',
|
|
364
|
-
'stratus-idx-member-search',
|
|
365
|
-
'stratus-idx-office-list',
|
|
366
|
-
'stratus-idx-office-search',
|
|
367
|
-
'stratus-idx-property-details',
|
|
368
|
-
'stratus-idx-property-details-sub-section',
|
|
369
|
-
'stratus-idx-property-list',
|
|
370
|
-
'stratus-idx-property-search',
|
|
371
|
-
'stratus-image-carousel',
|
|
372
|
-
'stratus-json-editor',
|
|
373
|
-
'stratus-media-details',
|
|
374
|
-
'stratus-media-drag-drop',
|
|
375
|
-
'stratus-media-library',
|
|
376
|
-
'stratus-media-selector',
|
|
377
|
-
'stratus-media-short-details',
|
|
378
|
-
'stratus-media-uploader',
|
|
379
|
-
'stratus-open-houses',
|
|
380
|
-
'stratus-option-value',
|
|
381
|
-
'stratus-pagination',
|
|
382
|
-
'stratus-password-reset',
|
|
383
|
-
'stratus-permissions',
|
|
384
|
-
'stratus-proposal-alert',
|
|
385
|
-
'stratus-publish',
|
|
386
|
-
'stratus-role',
|
|
387
|
-
'stratus-search',
|
|
388
|
-
'stratus-single-sign-on',
|
|
389
|
-
'stratus-social-media',
|
|
390
|
-
'stratus-sort',
|
|
391
|
-
'stratus-swiper-carousel',
|
|
392
|
-
'stratus-tag',
|
|
393
|
-
'stratus-theme-selector',
|
|
394
|
-
'stratus-twitter-feed',
|
|
395
|
-
'stratus-user-authentication',
|
|
396
|
-
'stratus-user-selector',
|
|
397
|
-
'stratus-visual-selector',
|
|
398
|
-
'sa-boot',
|
|
399
|
-
'sa-editor',
|
|
400
|
-
'sa-map',
|
|
401
|
-
'sa-media-selector',
|
|
402
|
-
'sa-selector',
|
|
403
|
-
'sa-stripe-payment-method-list',
|
|
404
|
-
'sa-stripe-payment-method-selector',
|
|
405
|
-
'sa-tree',
|
|
406
|
-
],
|
|
407
|
-
htmlAllowedStyleProps: [
|
|
408
|
-
'.*'
|
|
409
|
-
],
|
|
410
|
-
htmlAllowedTags: [
|
|
411
|
-
'a', 'abbr', 'address', 'area', 'article', 'aside', 'audio',
|
|
412
|
-
'b', 'base', 'bdi', 'bdo', 'blockquote', 'br', 'button',
|
|
413
|
-
'canvas', 'caption', 'cite', 'code', 'col', 'colgroup',
|
|
414
|
-
'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt',
|
|
415
|
-
'em', 'embed',
|
|
416
|
-
'fieldset', 'figcaption', 'figure', 'footer', 'form',
|
|
417
|
-
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr',
|
|
418
|
-
'i', 'iframe', 'img', 'input', 'ins',
|
|
419
|
-
'kbd', 'keygen',
|
|
420
|
-
'label', 'legend', 'li', 'link',
|
|
421
|
-
'main', 'map', 'mark', 'menu', 'menuitem', 'meter',
|
|
422
|
-
'nav', 'noscript',
|
|
423
|
-
'object', 'ol', 'optgroup', 'option', 'output',
|
|
424
|
-
'p', 'param', 'pre', 'progress',
|
|
425
|
-
'queue',
|
|
426
|
-
'rp', 'rt', 'ruby',
|
|
427
|
-
's', 'samp', 'script', 'style', 'section', 'select', 'small',
|
|
428
|
-
'source', 'span', 'strike', 'strong', 'sub', 'summary', 'sup',
|
|
429
|
-
'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track',
|
|
430
|
-
'u', 'ul',
|
|
431
|
-
'var', 'video',
|
|
432
|
-
'wbr',
|
|
433
|
-
'animate', 'animateMotion', 'animateTransform', 'circle', 'clipPath', 'defs', 'desc', 'discard', 'ellipse',
|
|
434
|
-
'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting',
|
|
435
|
-
'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG',
|
|
436
|
-
'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset',
|
|
437
|
-
'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence',
|
|
438
|
-
'filter', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'marker', 'mask', 'metadata', 'mpath',
|
|
439
|
-
'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'set', 'stop', 'svg', 'switch',
|
|
440
|
-
'symbol', 'text', 'textPath', 'tspan', 'unknown', 'use', 'view',
|
|
441
|
-
'ng-app', 'ng-bind', 'ng-bind-html', 'ng-bind-template', 'ng-blur', 'ng-change', 'ng-checked', 'ng-class', 'ng-class-even',
|
|
442
|
-
'ng-class-odd', 'ng-click', 'ng-cloak', 'ng-controller', 'ng-copy', 'ng-csp', 'ng-cut', 'ng-dblclick', 'ng-disabled',
|
|
443
|
-
'ng-focus', 'ng-form', 'ng-hide', 'ng-href', 'ng-if', 'ng-include', 'ng-init', 'ng-jq', 'ng-keydown', 'ng-keypress', 'ng-keyup',
|
|
444
|
-
'ng-list', 'ng-maxlength', 'ng-minlength', 'ng-model', 'ng-model-options', 'ng-mousedown', 'ng-mouseenter', 'ng-mouseleave',
|
|
445
|
-
'ng-mousemove', 'ng-mouseover', 'ng-mouseup', 'ng-non-bindable', 'ng-on', 'ng-open', 'ng-options', 'ng-paste', 'ng-pattern',
|
|
446
|
-
'ng-pluralize', 'ng-prop', 'ng-readonly', 'ng-ref', 'ng-repeat', 'ng-required', 'ng-selected', 'ng-show', 'ng-src', 'ng-srcset',
|
|
447
|
-
'ng-style', 'ng-submit', 'ng-switch', 'ng-transclude', 'ng-value', 'ng-animate-children', 'ng-animate-swap', 'ng-outlet',
|
|
448
|
-
'ng-message', 'ng-message-default', 'ng-message-exp', 'ng-messages', 'ng-messages-include', 'ng-view', 'ng-swipe-left',
|
|
449
|
-
'ng-swipe-right',
|
|
450
|
-
'md-autocomplete', 'md-autofocus', 'md-button', 'md-calendar', 'md-card', 'md-checkbox', 'md-chip', 'md-chip-remove',
|
|
451
|
-
'md-chips', 'md-colors', 'md-contact-chips', 'md-content', 'md-datepicker', 'md-dialog', 'md-divider', 'md-fab-actions',
|
|
452
|
-
'md-fab-speed-dial', 'md-fab-toolbar', 'md-force-height', 'md-grid-list', 'md-grid-tile', 'md-highlight-text', 'md-icon',
|
|
453
|
-
'md-ink-ripple', 'md-input', 'md-input-container', 'md-list', 'md-list-item', 'md-menu', 'md-menu-bar', 'md-nav-bar',
|
|
454
|
-
'md-nav-item', 'md-optgroup', 'md-option', 'md-progress-circular', 'md-progress-linear', 'md-radio-button', 'md-radio-group',
|
|
455
|
-
'md-select', 'md-select-on-focus', 'md-sidenav', 'md-slider', 'md-slider-container', 'md-subheader', 'md-swipe-down',
|
|
456
|
-
'md-swipe-left', 'md-swipe-right', 'md-swipe-up', 'md-switch', 'md-tab', 'md-tabs', 'md-toolbar', 'md-tooltip', 'md-truncate',
|
|
457
|
-
'md-virtual-repeat', 'md-virtual-repeat-container', 'md-whiteframe',
|
|
458
|
-
'md-svg-src',
|
|
459
|
-
'sa-boot',
|
|
460
|
-
'sa-editor',
|
|
461
|
-
'sa-map',
|
|
462
|
-
'sa-media-selector',
|
|
463
|
-
'sa-selector',
|
|
464
|
-
'sa-stripe-payment-method-list',
|
|
465
|
-
'sa-stripe-payment-method-selector',
|
|
466
|
-
'sa-tree',
|
|
467
|
-
'stratus-.+',
|
|
468
|
-
],
|
|
469
|
-
htmlRemoveTags: [],
|
|
470
|
-
htmlSimpleAmpersand: false,
|
|
471
|
-
imageInsertButtons: [
|
|
472
|
-
'imageBack',
|
|
473
|
-
'|',
|
|
474
|
-
'imageUpload',
|
|
475
|
-
'imageByURL',
|
|
476
|
-
],
|
|
477
|
-
imageUpload: true,
|
|
478
|
-
imageUploadRemoteUrls: true,
|
|
479
|
-
imageUploadURL: 'https://app.sitetheory.io/?session=' + environment_1.cookie('SITETHEORY'),
|
|
480
|
-
imageManagerPageSize: 20,
|
|
481
|
-
imageManagerScrollOffset: 10,
|
|
482
|
-
imageManagerLoadMethod: 'GET',
|
|
483
|
-
imageManagerLoadURL: '/Api/Media?payload-only=true',
|
|
484
|
-
linkEditButtons: [
|
|
485
|
-
'linkOpen',
|
|
486
|
-
'linkRemove',
|
|
487
|
-
],
|
|
488
|
-
linkInsertButtons: [
|
|
489
|
-
'linkBack',
|
|
490
|
-
],
|
|
491
|
-
multiLine: true,
|
|
492
|
-
paragraphStyles: {
|
|
493
|
-
btn: 'Button',
|
|
494
|
-
header: 'Header',
|
|
495
|
-
title: 'Title',
|
|
496
|
-
'alt-title': 'Alt Title (over)',
|
|
497
|
-
subtitle: 'Subtitle',
|
|
498
|
-
pullout: 'Pullout Quote',
|
|
598
|
+
moreMisc: {
|
|
599
|
+
buttons: this.froalaStandardButtons.moreMisc,
|
|
600
|
+
align: 'right',
|
|
601
|
+
buttonsVisible: 1
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
toolbarButtonsSM: {
|
|
605
|
+
moreText: {
|
|
606
|
+
buttons: this.froalaStandardButtons.moreText,
|
|
607
|
+
buttonsVisible: 3
|
|
499
608
|
},
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
'style',
|
|
504
|
-
'dir',
|
|
505
|
-
'data-.+',
|
|
506
|
-
'aria-.+',
|
|
507
|
-
'ng-.+',
|
|
508
|
-
'stratus-.+',
|
|
509
|
-
'sa-.+'
|
|
510
|
-
],
|
|
511
|
-
pasteDeniedTags: [
|
|
512
|
-
'form',
|
|
513
|
-
'input',
|
|
514
|
-
'label',
|
|
515
|
-
'style'
|
|
516
|
-
],
|
|
517
|
-
pastePlain: false,
|
|
518
|
-
pluginsEnabled: [
|
|
519
|
-
'align',
|
|
520
|
-
'charCounter',
|
|
521
|
-
'codeBeautifier',
|
|
522
|
-
'codeView',
|
|
523
|
-
'colors',
|
|
524
|
-
'draggable',
|
|
525
|
-
'embedly',
|
|
526
|
-
'entities',
|
|
527
|
-
'file',
|
|
528
|
-
'fontAwesome',
|
|
529
|
-
'fontFamily',
|
|
530
|
-
'fontSize',
|
|
531
|
-
'fullscreen',
|
|
532
|
-
'help',
|
|
533
|
-
'image',
|
|
534
|
-
'imageTUI',
|
|
535
|
-
'inlineStyle',
|
|
536
|
-
'inlineClass',
|
|
537
|
-
'lineBreaker',
|
|
538
|
-
'link',
|
|
539
|
-
'linkManager',
|
|
540
|
-
'citationManager',
|
|
541
|
-
'lists',
|
|
542
|
-
'mediaManager',
|
|
543
|
-
'paragraphFormat',
|
|
544
|
-
'paragraphStyle',
|
|
545
|
-
'print',
|
|
546
|
-
'quickInsert',
|
|
547
|
-
'quote',
|
|
548
|
-
'save',
|
|
549
|
-
'specialCharacters',
|
|
550
|
-
'table',
|
|
551
|
-
'url',
|
|
552
|
-
'video',
|
|
553
|
-
'wordPaste',
|
|
554
|
-
],
|
|
555
|
-
quickInsertButtons: [
|
|
556
|
-
'media',
|
|
557
|
-
'link',
|
|
558
|
-
'video',
|
|
559
|
-
'embedly',
|
|
560
|
-
'table',
|
|
561
|
-
'ul',
|
|
562
|
-
'ol',
|
|
563
|
-
'hr'
|
|
564
|
-
],
|
|
565
|
-
scrollableContainer: stratus_1.Stratus.Environment.get('viewPort') || 'body',
|
|
566
|
-
spellcheck: true,
|
|
567
|
-
theme: environment_1.cookie('dark') ? 'dark' : null,
|
|
568
|
-
toolbarSticky: true,
|
|
569
|
-
toolbarButtons: {
|
|
570
|
-
moreText: {
|
|
571
|
-
buttons: this.froalaStandardButtons.moreText,
|
|
572
|
-
buttonsVisible: 3
|
|
573
|
-
},
|
|
574
|
-
moreParagraph: {
|
|
575
|
-
buttons: this.froalaStandardButtons.moreParagraph,
|
|
576
|
-
buttonsVisible: 8
|
|
577
|
-
},
|
|
578
|
-
moreRich: {
|
|
579
|
-
buttons: this.froalaStandardButtons.moreRich,
|
|
580
|
-
buttonsVisible: 1
|
|
581
|
-
},
|
|
582
|
-
moreMisc: {
|
|
583
|
-
buttons: this.froalaStandardButtons.moreMisc,
|
|
584
|
-
align: 'right',
|
|
585
|
-
buttonsVisible: 1
|
|
586
|
-
}
|
|
609
|
+
moreParagraph: {
|
|
610
|
+
buttons: this.froalaStandardButtons.moreParagraph,
|
|
611
|
+
buttonsVisible: 0
|
|
587
612
|
},
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
buttonsVisible: 3
|
|
592
|
-
},
|
|
593
|
-
moreParagraph: {
|
|
594
|
-
buttons: this.froalaStandardButtons.moreParagraph,
|
|
595
|
-
buttonsVisible: 0
|
|
596
|
-
},
|
|
597
|
-
moreRich: {
|
|
598
|
-
buttons: this.froalaStandardButtons.moreRich,
|
|
599
|
-
buttonsVisible: 3
|
|
600
|
-
},
|
|
601
|
-
moreMisc: {
|
|
602
|
-
buttons: this.froalaStandardButtons.moreMisc,
|
|
603
|
-
align: 'right',
|
|
604
|
-
buttonsVisible: 0
|
|
605
|
-
}
|
|
613
|
+
moreRich: {
|
|
614
|
+
buttons: this.froalaStandardButtons.moreRich,
|
|
615
|
+
buttonsVisible: 3
|
|
606
616
|
},
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
buttons: this.froalaStandardButtons.moreMisc,
|
|
622
|
-
align: 'right',
|
|
623
|
-
buttonsVisible: 0
|
|
624
|
-
}
|
|
617
|
+
moreMisc: {
|
|
618
|
+
buttons: this.froalaStandardButtons.moreMisc,
|
|
619
|
+
align: 'right',
|
|
620
|
+
buttonsVisible: 0
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
toolbarButtonsXS: {
|
|
624
|
+
moreText: {
|
|
625
|
+
buttons: this.froalaStandardButtons.moreText,
|
|
626
|
+
buttonsVisible: 0
|
|
627
|
+
},
|
|
628
|
+
moreParagraph: {
|
|
629
|
+
buttons: this.froalaStandardButtons.moreParagraph,
|
|
630
|
+
buttonsVisible: 0
|
|
625
631
|
},
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
'
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
632
|
+
moreRich: {
|
|
633
|
+
buttons: this.froalaStandardButtons.moreRich,
|
|
634
|
+
buttonsVisible: 0
|
|
635
|
+
},
|
|
636
|
+
moreMisc: {
|
|
637
|
+
buttons: this.froalaStandardButtons.moreMisc,
|
|
638
|
+
align: 'right',
|
|
639
|
+
buttonsVisible: 0
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
useClasses: true,
|
|
643
|
+
videoInsertButtons: [
|
|
644
|
+
'videoBack',
|
|
645
|
+
'|',
|
|
646
|
+
'videoByURL',
|
|
647
|
+
'videoEmbed',
|
|
648
|
+
'videoUpload',
|
|
649
|
+
],
|
|
650
|
+
videoUpload: true,
|
|
651
|
+
videoUploadURL: 'https://app.sitetheory.io/?session=' + environment_1.cookie('SITETHEORY')
|
|
652
|
+
};
|
|
653
|
+
constructor(sanitizer, ref, elementRef, fb, dialog) {
|
|
654
|
+
super();
|
|
655
|
+
this.sanitizer = sanitizer;
|
|
656
|
+
this.ref = ref;
|
|
657
|
+
this.elementRef = elementRef;
|
|
658
|
+
this.fb = fb;
|
|
659
|
+
this.dialog = dialog;
|
|
637
660
|
this.uid = lodash_1.default.uniqueId(`sa_${lodash_1.default.snakeCase(moduleName)}_component_`);
|
|
638
661
|
stratus_1.Stratus.Instances[this.uid] = this;
|
|
639
662
|
stratus_1.Stratus.Internals.LoadCss([
|
|
@@ -652,7 +675,7 @@ System.register(["@angular/core", "@angular/forms", "@angular/material/dialog",
|
|
|
652
675
|
this.styled = true;
|
|
653
676
|
this.refresh();
|
|
654
677
|
});
|
|
655
|
-
this.hydrate(elementRef, sanitizer, ["title", "
|
|
678
|
+
this.hydrate(elementRef, sanitizer, ["title", "dev", "debug", "editor", "target", "targetSuffix", "id", "manifest", "decouple", "direct", "api", "urlRoot", "property", "classes", "_", "has", "log", "Stratus", "registry", "fetched", "data", "collection", "model", "dataSub", "onChange", "subscriber", "svgIcons", "initialized", "styled", "blurred", "focused", "codeViewIsOpen", "form", "dataChangeLog", "incomingData", "outgoingData", "debounceSave", "debounceTime", "forceSave", "froalaEditorDirective", "froalaStandardButtons", "froalaConfig", "sanitizer", "ref", "elementRef", "fb", "dialog", "ngOnInit", "modelSave", "listDuplicates", "normalizeIn", "normalizeOut", "changeImgSize", "handleError", "fetchData", "dataDefer", "dataRef", "onDataChange", "created", "changedEditor", "onChangeEvent", "onFocus", "onBlur", "bypassHTML", "trigger", "openCitationDialog", "openLinkDialog", "openMediaDialog", "openCodeViewDialog", "hydrate", "uid", "disableRefresh", "stagger", "reloading", "refresh", "ngOnDestroy"]);
|
|
656
679
|
this.fetchData()
|
|
657
680
|
.then(data => {
|
|
658
681
|
if (!data || !(data instanceof eventManager_1.EventManager)) {
|