myrta-ui 17.0.75 → 17.0.76

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.
Files changed (27) hide show
  1. package/esm2022/lib/components/form/formula-editor/enums/error-messages.enum.mjs +16 -0
  2. package/esm2022/lib/components/form/formula-editor/enums/formula-editor-size.enum.mjs +7 -0
  3. package/esm2022/lib/components/form/formula-editor/formula-editor.component.mjs +342 -0
  4. package/esm2022/lib/components/form/formula-editor/formula-editor.module.mjs +44 -0
  5. package/esm2022/lib/components/form/formula-editor/helpers/check-errors.helper.mjs +73 -0
  6. package/esm2022/lib/components/form/formula-editor/helpers/create-tags.helper.mjs +17 -0
  7. package/esm2022/lib/components/form/formula-editor/models/check-error-result.model.mjs +2 -0
  8. package/esm2022/lib/components/form/formula-editor/models/formula-editor.model.mjs +2 -0
  9. package/esm2022/lib/components/form/formula-editor/models/index.mjs +4 -0
  10. package/esm2022/lib/components/form/formula-editor/models/white-list-item.model.mjs +2 -0
  11. package/esm2022/lib/helpers/is-number.helper.mjs +7 -0
  12. package/esm2022/public-api.mjs +4 -1
  13. package/fesm2022/myrta-ui.mjs +490 -8
  14. package/fesm2022/myrta-ui.mjs.map +1 -1
  15. package/lib/components/form/formula-editor/enums/error-messages.enum.d.ts +8 -0
  16. package/lib/components/form/formula-editor/enums/formula-editor-size.enum.d.ts +6 -0
  17. package/lib/components/form/formula-editor/formula-editor.component.d.ts +74 -0
  18. package/lib/components/form/formula-editor/formula-editor.module.d.ts +13 -0
  19. package/lib/components/form/formula-editor/helpers/check-errors.helper.d.ts +6 -0
  20. package/lib/components/form/formula-editor/helpers/create-tags.helper.d.ts +5 -0
  21. package/lib/components/form/formula-editor/models/check-error-result.model.d.ts +5 -0
  22. package/lib/components/form/formula-editor/models/formula-editor.model.d.ts +5 -0
  23. package/lib/components/form/formula-editor/models/index.d.ts +3 -0
  24. package/lib/components/form/formula-editor/models/white-list-item.model.d.ts +5 -0
  25. package/lib/helpers/is-number.helper.d.ts +1 -0
  26. package/package.json +1 -1
  27. package/public-api.d.ts +3 -0
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Input, Component, Pipe, EventEmitter, Output, ChangeDetectionStrategy, NgModule, CUSTOM_ELEMENTS_SCHEMA, Injectable, forwardRef, InjectionToken, TemplateRef, Inject, Injector, HostListener, Directive, ContentChild, ViewChild, ContentChildren, HostBinding, ViewEncapsulation, ViewChildren } from '@angular/core';
3
3
  import * as i1$1 from '@angular/common';
4
- import { CommonModule, NgOptimizedImage, registerLocaleData, DatePipe } from '@angular/common';
4
+ import { CommonModule, NgOptimizedImage, registerLocaleData, DatePipe, DOCUMENT } from '@angular/common';
5
5
  import * as i2 from '@angular/router';
6
6
  import { RouterModule, RouterLinkActive } from '@angular/router';
7
7
  import * as i1 from '@angular/platform-browser';
@@ -14662,13 +14662,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
14662
14662
  }]
14663
14663
  }] });
14664
14664
 
14665
- var ErrorMessagesEnum;
14665
+ var ErrorMessagesEnum$1;
14666
14666
  (function (ErrorMessagesEnum) {
14667
14667
  ErrorMessagesEnum["TooManyFiles"] = "\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u043E\u0432";
14668
14668
  ErrorMessagesEnum["FileTooBig"] = "\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0444\u0430\u0439\u043B";
14669
14669
  ErrorMessagesEnum["EmptyFile"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u0444\u0430\u0439\u043B";
14670
14670
  ErrorMessagesEnum["InvalidFileFormat"] = "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0444\u0430\u0439\u043B\u0430";
14671
- })(ErrorMessagesEnum || (ErrorMessagesEnum = {}));
14671
+ })(ErrorMessagesEnum$1 || (ErrorMessagesEnum$1 = {}));
14672
14672
 
14673
14673
  var InputFileTargetTypesEnum;
14674
14674
  (function (InputFileTargetTypesEnum) {
@@ -14712,10 +14712,10 @@ class InputFileComponent {
14712
14712
  invalidMessage = '';
14713
14713
  checkInvalid = null;
14714
14714
  // ERROR MESSAGES
14715
- messageTooManyFiles = ErrorMessagesEnum.TooManyFiles;
14716
- messageFileTooBig = ErrorMessagesEnum.FileTooBig;
14717
- messageEmptyFile = ErrorMessagesEnum.EmptyFile;
14718
- messageInvalidFileFormat = ErrorMessagesEnum.InvalidFileFormat;
14715
+ messageTooManyFiles = ErrorMessagesEnum$1.TooManyFiles;
14716
+ messageFileTooBig = ErrorMessagesEnum$1.FileTooBig;
14717
+ messageEmptyFile = ErrorMessagesEnum$1.EmptyFile;
14718
+ messageInvalidFileFormat = ErrorMessagesEnum$1.InvalidFileFormat;
14719
14719
  // PLACEHOLDERS
14720
14720
  placeholder = 'Перенесите файл с устройства или нажмите на данное поле для добавления файла';
14721
14721
  placeholderFileMaxSize = 'Размер файла: не больше';
@@ -17157,6 +17157,488 @@ var StepperClasses;
17157
17157
  StepperClasses["success"] = "mrx-stepper-success";
17158
17158
  })(StepperClasses || (StepperClasses = {}));
17159
17159
 
17160
+ var ErrorTypeEnum;
17161
+ (function (ErrorTypeEnum) {
17162
+ ErrorTypeEnum["Default"] = "default";
17163
+ ErrorTypeEnum["Interpretation"] = "interpretation";
17164
+ ErrorTypeEnum["Sequence"] = "sequence";
17165
+ ErrorTypeEnum["Divider"] = "divider";
17166
+ ErrorTypeEnum["Bracket"] = "bracket";
17167
+ })(ErrorTypeEnum || (ErrorTypeEnum = {}));
17168
+ const ErrorMessagesEnum = {
17169
+ [ErrorTypeEnum.Default]: '',
17170
+ [ErrorTypeEnum.Interpretation]: 'Не удалось интерпретировать введенное значение',
17171
+ [ErrorTypeEnum.Sequence]: 'Некорректная последовательность элементов',
17172
+ [ErrorTypeEnum.Divider]: 'Некорректный разделитель',
17173
+ [ErrorTypeEnum.Bracket]: 'Не все скобки закрыты'
17174
+ };
17175
+
17176
+ //  
17177
+ const createTag = (content) => {
17178
+ return `<div class="tag argument -medium" contenteditable="false" tabindex="-1">${content}</div>&nbsp;`;
17179
+ };
17180
+ const createOperator = (content) => {
17181
+ return `<div class="tag operator -large" contenteditable="false" tabindex="-1">${content}</div>&nbsp;`;
17182
+ };
17183
+ const createNumber = (content) => {
17184
+ return `<div class="tag number -medium" contenteditable="false" tabindex="-1">${content}</div>&nbsp;`;
17185
+ };
17186
+ const createBracket = (content) => {
17187
+ return `<div class="tag bracket -medium" contenteditable="false" tabindex="-1">${content}</div>&nbsp;`;
17188
+ };
17189
+ const createTagOutside = (content) => {
17190
+ return `{${content}}`;
17191
+ };
17192
+
17193
+ const isAn = (value) => {
17194
+ if (value instanceof Number) {
17195
+ value = value.valueOf();
17196
+ }
17197
+ return !isNaN(parseFloat(value)) && isFinite(value);
17198
+ };
17199
+
17200
+ const checkInterpretationErrors = (error) => {
17201
+ return {
17202
+ isError: error,
17203
+ errorType: ErrorTypeEnum.Interpretation
17204
+ };
17205
+ };
17206
+ const checkBracketErrors = (array) => {
17207
+ const findOpenedBrackets = array.filter(i => i === '(');
17208
+ const findClosedBrackets = array.filter(i => i === ')');
17209
+ const isError = !(findOpenedBrackets.length === findClosedBrackets.length);
17210
+ return {
17211
+ isError: isError,
17212
+ errorType: ErrorTypeEnum.Bracket
17213
+ };
17214
+ };
17215
+ const checkSequenceErrors = (array, operatorList, bracketList) => {
17216
+ let isError = false;
17217
+ array.forEach((item, idx) => {
17218
+ if (idx === 0) {
17219
+ isError = isError || !!operatorList.find(i => i === item);
17220
+ }
17221
+ else if (idx > 0 && idx < array.length - 1) {
17222
+ if (!operatorList.find(i => i === item)) {
17223
+ if (bracketList.find(i => i === item)) {
17224
+ if (item === '(') {
17225
+ isError = isError || !operatorList.find(i => i === array[idx - 1]);
17226
+ }
17227
+ else if (item === ')') {
17228
+ isError = isError || !operatorList.find(i => i === array[idx + 1]);
17229
+ }
17230
+ }
17231
+ else {
17232
+ if (!bracketList.find(i => i === array[idx - 1])) {
17233
+ isError = isError || !operatorList.find(i => i === array[idx - 1]);
17234
+ }
17235
+ }
17236
+ }
17237
+ }
17238
+ else if (idx === array.length - 1) {
17239
+ if (!operatorList.find(i => i === item)) {
17240
+ if (!bracketList.find(i => i === item)) {
17241
+ isError = isError || !operatorList.find(i => i === array[idx - 1]);
17242
+ }
17243
+ else {
17244
+ isError = isError || !!operatorList.find(i => i === array[idx - 1]);
17245
+ }
17246
+ }
17247
+ else {
17248
+ isError = isError || true;
17249
+ }
17250
+ }
17251
+ });
17252
+ return {
17253
+ isError: isError,
17254
+ errorType: ErrorTypeEnum.Sequence
17255
+ };
17256
+ };
17257
+ const checkDividerErrors = (array, list) => {
17258
+ const regExp = /^[0-9]*[,/][0-9]+$/;
17259
+ let isError = false;
17260
+ array.some((item) => {
17261
+ if (regExp.test(item)) {
17262
+ isError = true;
17263
+ return;
17264
+ }
17265
+ });
17266
+ return {
17267
+ isError: isError,
17268
+ errorType: ErrorTypeEnum.Divider
17269
+ };
17270
+ };
17271
+
17272
+ var FormulaEditorSizesEnum;
17273
+ (function (FormulaEditorSizesEnum) {
17274
+ FormulaEditorSizesEnum["small"] = "mrx-formula-editor-sm";
17275
+ FormulaEditorSizesEnum["medium"] = "mrx-formula-editor-md";
17276
+ FormulaEditorSizesEnum["large"] = "mrx-formula-editor-lg";
17277
+ })(FormulaEditorSizesEnum || (FormulaEditorSizesEnum = {}));
17278
+
17279
+ class FormulaEditorComponent {
17280
+ document;
17281
+ _detector;
17282
+ eRef;
17283
+ _range;
17284
+ _selection = null;
17285
+ _cursorPosition = {
17286
+ startContainer: null,
17287
+ endContainer: null,
17288
+ startOffset: 0,
17289
+ endOffset: 0
17290
+ };
17291
+ searchText = '';
17292
+ _operatorList = ['+', '-', '*', '/'];
17293
+ _bracketList = ['(', ')'];
17294
+ _itemList = [];
17295
+ _modifiedItemList = {
17296
+ items: {},
17297
+ regExp: new RegExp(''),
17298
+ };
17299
+ value = '';
17300
+ visibleValue = '';
17301
+ isFocused = false;
17302
+ errorModel = {
17303
+ isError: false,
17304
+ errorType: ErrorTypeEnum.Default
17305
+ };
17306
+ // SAVE STATE
17307
+ uuid = v4();
17308
+ fields = [];
17309
+ disabled = false;
17310
+ readonly = false;
17311
+ placeholder = '';
17312
+ customClasses = '';
17313
+ size = 'large';
17314
+ // VALIDATE
17315
+ invalid = false;
17316
+ invalidMessage = '';
17317
+ checkInvalid = null;
17318
+ set items(items) {
17319
+ const itemsMap = Object.fromEntries(items.map(obj => [obj.label, obj.sysName]));
17320
+ this._itemList = items;
17321
+ this._modifiedItemList.items = itemsMap;
17322
+ this._modifiedItemList.regExp = new RegExp(items.map(s => s.label).join('|'), 'g');
17323
+ const { visibleValue } = this._transformValue(this._modifiedValue(this._inputValue), true);
17324
+ this.updateVisibleValue(visibleValue);
17325
+ this._detector.detectChanges();
17326
+ }
17327
+ inputElement;
17328
+ changed = new EventEmitter();
17329
+ blurred = new EventEmitter();
17330
+ modelChange = new EventEmitter();
17331
+ constructor(document, _detector, eRef) {
17332
+ this.document = document;
17333
+ this._detector = _detector;
17334
+ this.eRef = eRef;
17335
+ }
17336
+ get getErrorMessage() {
17337
+ return this.invalidMessage || ErrorMessagesEnum[this.errorModel.errorType];
17338
+ }
17339
+ get filteredList() {
17340
+ return this._itemList.filter(item => item.label.includes(this.searchText));
17341
+ }
17342
+ get getInvalid() {
17343
+ return this.errorModel.isError || this.invalid;
17344
+ }
17345
+ get readonlyClass() {
17346
+ return this.readonly ? 'mrx-input__readonly' : '';
17347
+ }
17348
+ get checkValidClasses() {
17349
+ return this.checkInvalid === false ? 'mrx-input-checked-success' : this.checkInvalid === true ? 'mrx-input-checked-error' : '';
17350
+ }
17351
+ get getClasses() {
17352
+ return `${FormulaEditorSizesEnum[this.size]} ${this.customClasses} ${this.readonlyClass} ${this.checkValidClasses}`;
17353
+ }
17354
+ get getIconClass() {
17355
+ return `${this.size !== 'large' ? 'icon-font-16' : 'icon-font-24'}`;
17356
+ }
17357
+ get canClean() {
17358
+ return !!this.visibleValue.trim();
17359
+ }
17360
+ get _inputValue() {
17361
+ return this.inputElement.nativeElement.textContent || '';
17362
+ }
17363
+ writeValue(outsideValue) {
17364
+ if (outsideValue !== null && this.value === '') {
17365
+ const { visibleValue } = this._transformValue(this._modifiedValue(outsideValue));
17366
+ this.value = outsideValue;
17367
+ this.visibleValue = visibleValue;
17368
+ this._detector.detectChanges();
17369
+ }
17370
+ }
17371
+ onInput(event) {
17372
+ const { value, searchText } = this._transformValue(this._modifiedValue(this._inputValue), false);
17373
+ this.searchText = searchText;
17374
+ this._storeCursorPosition();
17375
+ }
17376
+ onFocus(event) {
17377
+ this.isFocused = true;
17378
+ this._detector.detectChanges();
17379
+ this._placeCaretAtEnd();
17380
+ }
17381
+ onClear() {
17382
+ this.updateValue('');
17383
+ this.updateVisibleValue('');
17384
+ }
17385
+ onBlur(event) {
17386
+ this._storeCursorPosition();
17387
+ }
17388
+ onKeyup(event) {
17389
+ event.preventDefault();
17390
+ const { value, visibleValue } = this._transformValue(this._modifiedValue(this._inputValue), true);
17391
+ this.updateValue(value);
17392
+ this.updateVisibleValue(visibleValue);
17393
+ this.isFocused = false;
17394
+ this.inputElement.nativeElement.blur();
17395
+ this._detector.detectChanges();
17396
+ }
17397
+ insertTag(whiteListItem) {
17398
+ this._restoreCursorPosition(this.inputElement.nativeElement);
17399
+ this._insertPositionText(`{${whiteListItem.sysName}}`);
17400
+ setTimeout(() => {
17401
+ const { value, visibleValue } = this._transformValue(this._modifiedValue(this._inputValue), true);
17402
+ this.updateValue(value);
17403
+ this.updateVisibleValue(visibleValue);
17404
+ });
17405
+ this._placeCaretAtEnd();
17406
+ this.searchText = '';
17407
+ }
17408
+ updateVisibleValue(insideValue) {
17409
+ this.visibleValue = '';
17410
+ setTimeout(() => {
17411
+ this.visibleValue = insideValue;
17412
+ this._storeCursorPosition();
17413
+ });
17414
+ setTimeout(() => {
17415
+ this._detector.detectChanges();
17416
+ this._detector.markForCheck();
17417
+ }, 1000);
17418
+ }
17419
+ updateValue(insideValue) {
17420
+ this.value = insideValue;
17421
+ this.changed.emit(insideValue);
17422
+ this.modelChange.emit({ value: insideValue, id: this.uuid });
17423
+ this.onChange(insideValue);
17424
+ this.onTouched();
17425
+ }
17426
+ _modifiedValue(value) {
17427
+ return value.replace(this._modifiedItemList.regExp, match => {
17428
+ return this._modifiedItemList.items[match] ? `{${this._modifiedItemList.items[match]}}` : '';
17429
+ });
17430
+ }
17431
+ _transformValue(content, analise = false) {
17432
+ const valueArray = content.split(/[\s\u00A0]+/).filter(Boolean);
17433
+ const visibleValueArray = [];
17434
+ const originalValueArray = [];
17435
+ let isInterpretationError = false;
17436
+ let searchText = '';
17437
+ valueArray.forEach((item) => {
17438
+ const clearedItem = item.trim();
17439
+ const findItem = this._itemList.find(v => clearedItem.includes(v.sysName));
17440
+ if (findItem) {
17441
+ visibleValueArray.push(createTag(findItem.label));
17442
+ originalValueArray.push(createTagOutside(findItem.sysName));
17443
+ }
17444
+ else if (this._bracketList.find(v => v === clearedItem)) {
17445
+ visibleValueArray.push(createBracket(clearedItem));
17446
+ originalValueArray.push(clearedItem);
17447
+ }
17448
+ else if (this._operatorList.find(v => v === clearedItem)) {
17449
+ visibleValueArray.push(createOperator(clearedItem));
17450
+ originalValueArray.push(clearedItem);
17451
+ }
17452
+ else if (isAn(clearedItem)) {
17453
+ visibleValueArray.push(createNumber(clearedItem));
17454
+ originalValueArray.push(clearedItem);
17455
+ }
17456
+ else {
17457
+ visibleValueArray.push(clearedItem);
17458
+ originalValueArray.push(clearedItem);
17459
+ searchText = clearedItem;
17460
+ isInterpretationError = true;
17461
+ }
17462
+ });
17463
+ if (analise) {
17464
+ this._checkErrors(originalValueArray, isInterpretationError);
17465
+ }
17466
+ return {
17467
+ value: originalValueArray.join(' '),
17468
+ visibleValue: visibleValueArray.join(' '),
17469
+ searchText: searchText
17470
+ };
17471
+ }
17472
+ _checkErrors(valueArray, isInterpretationError) {
17473
+ this._disableError();
17474
+ this._toggleError(checkBracketErrors(valueArray));
17475
+ this._toggleError(checkDividerErrors(valueArray, this._itemList));
17476
+ this._toggleError(checkSequenceErrors(valueArray, this._operatorList, this._bracketList));
17477
+ this._toggleError(checkInterpretationErrors(isInterpretationError));
17478
+ }
17479
+ _toggleError(errorModel) {
17480
+ if (!this.errorModel.isError) {
17481
+ this.errorModel = errorModel;
17482
+ }
17483
+ this._detector.detectChanges();
17484
+ }
17485
+ _disableError() {
17486
+ this.errorModel = {
17487
+ isError: false,
17488
+ errorType: ErrorTypeEnum.Default
17489
+ };
17490
+ this._detector.detectChanges();
17491
+ }
17492
+ _insertPositionText(content) {
17493
+ const node = document.createTextNode(content);
17494
+ try {
17495
+ if (this._range) {
17496
+ this._range.deleteContents();
17497
+ this._range.insertNode(node);
17498
+ this._range = this._range.cloneRange();
17499
+ this._range.selectNodeContents(node);
17500
+ this._range.collapse(false);
17501
+ }
17502
+ }
17503
+ catch (e) {
17504
+ }
17505
+ }
17506
+ _storeCursorPosition() {
17507
+ this._selection = window.getSelection();
17508
+ if (this._selection && this._selection.rangeCount > 0) {
17509
+ this._range = this._selection.getRangeAt(0);
17510
+ this._cursorPosition.startContainer = this._range.startContainer;
17511
+ this._cursorPosition.endContainer = this._range.endContainer;
17512
+ this._cursorPosition.startOffset = this._range.startOffset;
17513
+ this._cursorPosition.endOffset = this._range.endOffset;
17514
+ }
17515
+ this._detector.detectChanges();
17516
+ }
17517
+ _restoreCursorPosition(element) {
17518
+ this._range = document.createRange();
17519
+ if (this._cursorPosition.startContainer && this._cursorPosition.endContainer) {
17520
+ this._range.setStart(this._cursorPosition.startContainer, this._cursorPosition.startOffset);
17521
+ this._range.setEnd(this._cursorPosition.endContainer, this._cursorPosition.endOffset);
17522
+ }
17523
+ }
17524
+ _placeCaretAtEnd() {
17525
+ setTimeout(() => {
17526
+ this._range = document.createRange();
17527
+ this._selection = document.getSelection();
17528
+ if (this._selection) {
17529
+ this._range.selectNodeContents(this.inputElement.nativeElement);
17530
+ this._range.collapse(false);
17531
+ this._selection.removeAllRanges();
17532
+ this._selection.addRange(this._range);
17533
+ this.inputElement.nativeElement.focus();
17534
+ }
17535
+ });
17536
+ }
17537
+ clickOut(event) {
17538
+ if (!this.eRef.nativeElement.contains(event.target) && this.isFocused) {
17539
+ const { value, visibleValue } = this._transformValue(this._modifiedValue(this._inputValue), true);
17540
+ this.updateValue(value);
17541
+ this.updateVisibleValue(visibleValue);
17542
+ this.isFocused = false;
17543
+ this._detector.detectChanges();
17544
+ }
17545
+ }
17546
+ registerOnChange(fn) {
17547
+ this.onChange = fn;
17548
+ }
17549
+ registerOnTouched(fn) {
17550
+ this.onTouched = fn;
17551
+ }
17552
+ onChange = (value) => {
17553
+ };
17554
+ onTouched = () => {
17555
+ };
17556
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaEditorComponent, deps: [{ token: DOCUMENT }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
17557
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormulaEditorComponent, selector: "mrx-formula-editor", inputs: { fields: "fields", disabled: "disabled", readonly: "readonly", placeholder: "placeholder", customClasses: "customClasses", size: "size", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid", items: "items" }, outputs: { changed: "changed", blurred: "blurred", modelChange: "modelChange" }, host: { listeners: { "document:click": "clickOut($event)" } }, providers: [{
17558
+ provide: NG_VALUE_ACCESSOR,
17559
+ useExisting: forwardRef(() => FormulaEditorComponent),
17560
+ multi: true
17561
+ }], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, static: true }], ngImport: i0, template: "<div\r\n class=\"mrx-formula-editor\"\r\n [class.mrx-input-error]=\"getInvalid\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [class]=\"getClasses\"\r\n>\r\n <div class=\"mrx-formula-editor__wrapper\">\r\n <div\r\n [innerHTML]=\"visibleValue.trim() | safe\"\r\n #inputElement\r\n class=\"mrx-formula-editor__box\"\r\n contenteditable=\"true\"\r\n [attr.data-ph]=\"placeholder\"\r\n (input)=\"onInput($event)\"\r\n (blur)=\"onBlur($event)\"\r\n (focus)=\"onFocus($event)\"\r\n (keydown.enter)=\"onKeyup($event)\"\r\n (keydown.tab)=\"onKeyup($event)\"\r\n ></div>\r\n\r\n <div class=\"mrx-formula-editor__clear\" *ngIf=\"canClean\" (click)=\"onClear()\">\r\n <div class=\"mrx-icon icon-close\" [class]=\"getIconClass\"></div>\r\n </div>\r\n\r\n <div class=\"mrx-formula-editor__popup\" *ngIf=\"isFocused\">\r\n <ng-container *ngIf=\"errorModel.isError && isFocused\">\r\n <div class=\"mrx-formula-editor__popup--error\">\r\n {{ getErrorMessage }}\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"filteredList.length; else emptyList\">\r\n <div\r\n class=\"mrx-formula-editor__popup--row\"\r\n *ngFor=\"let item of filteredList\"\r\n (click)=\"insertTag(item); $event.stopPropagation()\"\r\n >\r\n {{ item.dropLabel || item.label }}\r\n </div>\r\n </ng-container>\r\n <ng-template #emptyList>\r\n <div class=\"mrx-formula-editor__popup--row\">\r\n \u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"getInvalid && getErrorMessage && !isFocused\"\r\n [invalidMessage]=\"getErrorMessage\"\r\n ></mrx-error-message>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [".mrx-formula-editor{position:relative}.mrx-formula-editor__box{border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1, 4px);outline:none;color:var(--neutral-text-primary, #262626);transition:outline-width .2s,border .2s;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space}.mrx-formula-editor__box:focus,.mrx-formula-editor__box:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-formula-editor__box:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-formula-editor__wrapper{position:relative}.mrx-formula-editor__clear{position:absolute;top:12px;right:12px;cursor:pointer}.mrx-formula-editor__box ::ng-deep .tag{display:inline-flex;cursor:default;-webkit-user-modify:read-only}.mrx-formula-editor__box ::ng-deep .argument{border-radius:var(--border-radius-1, 4px);background:var(--brand-bg-secondary-default, #EDF5FF)}.mrx-formula-editor__box ::ng-deep .bracket{color:var(--neutral-text-tertiary, #71767E)}.mrx-formula-editor__box ::ng-deep .operator{color:var(--system-text-attention, #AC5C06)}.mrx-formula-editor__box ::ng-deep .number{color:var(--system-text-negative, #8E2100)}.mrx-formula-editor.mrx-formula-editor-lg .mrx-formula-editor__box{padding:5px 44px 5px var(--spacing-2, 8px);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:36px}.mrx-formula-editor.mrx-formula-editor-lg .mrx-formula-editor__box::ng-deep .tag.-large{font-family:var(--body-lg-font-family, \"PT Sans\");font-size:var(--body-lg-font-size, 16px);font-weight:var(--body-lg-font-weight, 400);line-height:var(--body-lg-line-height, 24px)}.mrx-formula-editor.mrx-formula-editor-lg .mrx-formula-editor__box::ng-deep .tag.-medium{font-family:var(--body-md-font-family, \"PT Sans\");font-size:var(--body-md-font-size, 14px);font-weight:var(--body-md-font-weight, 400);line-height:var(--body-md-line-height, 20px)}.mrx-formula-editor.mrx-formula-editor-lg .mrx-formula-editor__box::ng-deep .tag.argument{padding:6px 12px;margin:0 2px}.mrx-formula-editor.mrx-formula-editor-md .mrx-formula-editor__box{padding:5px 36px 5px var(--spacing-2, 8px);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:28px}.mrx-formula-editor.mrx-formula-editor-md .mrx-formula-editor__box::ng-deep .tag.-large{font-family:var(--body-md-font-family, \"PT Sans\");font-size:var(--body-md-font-size, 14px);font-weight:var(--body-md-font-weight, 400);line-height:var(--body-md-line-height, 20px)}.mrx-formula-editor.mrx-formula-editor-md .mrx-formula-editor__box::ng-deep .tag.-medium{font-family:var(--body-sm-font-family, \"PT Sans\");font-size:var(--body-sm-font-size, 12px);font-weight:var(--body-sm-font-weight, 400);line-height:var(--body-sm-line-height, 16px)}.mrx-formula-editor.mrx-formula-editor-md .mrx-formula-editor__box::ng-deep .tag.argument{padding:4px 8px;margin:0 2px}.mrx-formula-editor.mrx-formula-editor-sm .mrx-formula-editor__box{padding:5px 36px 5px var(--spacing-2, 8px);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:28px}.mrx-formula-editor.mrx-formula-editor-sm .mrx-formula-editor__box::ng-deep .tag.-large{font-family:var(--body-md-font-family, \"PT Sans\");font-size:var(--body-md-font-size, 14px);font-weight:var(--body-md-font-weight, 400);line-height:var(--body-md-line-height, 20px)}.mrx-formula-editor.mrx-formula-editor-sm .mrx-formula-editor__box::ng-deep .tag.-medium{font-family:var(--body-sm-font-family, \"PT Sans\");font-size:var(--body-sm-font-size, 12px);font-weight:var(--body-sm-font-weight, 400);line-height:var(--body-sm-line-height, 16px)}.mrx-formula-editor.mrx-formula-editor-sm .mrx-formula-editor__box::ng-deep .tag.argument{padding:4px 8px;margin:0 2px}.mrx-formula-editor__popup{position:absolute;z-index:99;width:100%;border-radius:var(--border-radius-1);background:var(--neutral-bg-island-default, #F8F9FA);box-shadow:0 1px 4px #3a3a3a4d;background-color:#fff;max-height:240px;overflow-x:hidden;overflow-y:auto;margin-top:4px}.mrx-formula-editor__popup--error{padding:var(--spacing-2) var(--spacing-4);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);color:var(--system-text-negative, #8E2100)}.mrx-formula-editor__popup--row{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height);padding:calc(var(--spacing-2) + var(--spacing-half)) var(--spacing-4);white-space:normal;transition:background-color .2s}.mrx-formula-editor__popup--row:hover{cursor:pointer;background-color:var(--Bg2)!important}.mrx-formula-editor__box:empty:not(:focus):before{content:attr(data-ph);color:var(--neutral-text-tertiary, #71767E);padding-left:8px}.mrx-formula-editor.-disabled .mrx-formula-editor__box{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-tertiary, #71767E);pointer-events:none}.mrx-formula-editor.-readonly .mrx-formula-editor__box{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-primary, #262626);pointer-events:none}.mrx-formula-editor.mrx-input-error .mrx-formula-editor__box{border-color:var(--system-bg-controls-negative-default)}.mrx-formula-editor.mrx-input-error .mrx-formula-editor__box:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-formula-editor.mrx-input-checked-error .mrx-formula-editor__box{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-formula-editor.mrx-input-checked-error .mrx-formula-editor__box:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-formula-editor.mrx-input-checked-success .mrx-formula-editor__box{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-formula-editor.mrx-input-checked-success .mrx-formula-editor__box:hover{border:var(--border-width-default) solid var(--system-bg-controls-positive-default)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "component", type: SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "pipe", type: SafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
17562
+ }
17563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaEditorComponent, decorators: [{
17564
+ type: Component,
17565
+ args: [{ selector: 'mrx-formula-editor', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{
17566
+ provide: NG_VALUE_ACCESSOR,
17567
+ useExisting: forwardRef(() => FormulaEditorComponent),
17568
+ multi: true
17569
+ }], template: "<div\r\n class=\"mrx-formula-editor\"\r\n [class.mrx-input-error]=\"getInvalid\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [class]=\"getClasses\"\r\n>\r\n <div class=\"mrx-formula-editor__wrapper\">\r\n <div\r\n [innerHTML]=\"visibleValue.trim() | safe\"\r\n #inputElement\r\n class=\"mrx-formula-editor__box\"\r\n contenteditable=\"true\"\r\n [attr.data-ph]=\"placeholder\"\r\n (input)=\"onInput($event)\"\r\n (blur)=\"onBlur($event)\"\r\n (focus)=\"onFocus($event)\"\r\n (keydown.enter)=\"onKeyup($event)\"\r\n (keydown.tab)=\"onKeyup($event)\"\r\n ></div>\r\n\r\n <div class=\"mrx-formula-editor__clear\" *ngIf=\"canClean\" (click)=\"onClear()\">\r\n <div class=\"mrx-icon icon-close\" [class]=\"getIconClass\"></div>\r\n </div>\r\n\r\n <div class=\"mrx-formula-editor__popup\" *ngIf=\"isFocused\">\r\n <ng-container *ngIf=\"errorModel.isError && isFocused\">\r\n <div class=\"mrx-formula-editor__popup--error\">\r\n {{ getErrorMessage }}\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"filteredList.length; else emptyList\">\r\n <div\r\n class=\"mrx-formula-editor__popup--row\"\r\n *ngFor=\"let item of filteredList\"\r\n (click)=\"insertTag(item); $event.stopPropagation()\"\r\n >\r\n {{ item.dropLabel || item.label }}\r\n </div>\r\n </ng-container>\r\n <ng-template #emptyList>\r\n <div class=\"mrx-formula-editor__popup--row\">\r\n \u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"getInvalid && getErrorMessage && !isFocused\"\r\n [invalidMessage]=\"getErrorMessage\"\r\n ></mrx-error-message>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [".mrx-formula-editor{position:relative}.mrx-formula-editor__box{border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1, 4px);outline:none;color:var(--neutral-text-primary, #262626);transition:outline-width .2s,border .2s;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space}.mrx-formula-editor__box:focus,.mrx-formula-editor__box:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-formula-editor__box:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-formula-editor__wrapper{position:relative}.mrx-formula-editor__clear{position:absolute;top:12px;right:12px;cursor:pointer}.mrx-formula-editor__box ::ng-deep .tag{display:inline-flex;cursor:default;-webkit-user-modify:read-only}.mrx-formula-editor__box ::ng-deep .argument{border-radius:var(--border-radius-1, 4px);background:var(--brand-bg-secondary-default, #EDF5FF)}.mrx-formula-editor__box ::ng-deep .bracket{color:var(--neutral-text-tertiary, #71767E)}.mrx-formula-editor__box ::ng-deep .operator{color:var(--system-text-attention, #AC5C06)}.mrx-formula-editor__box ::ng-deep .number{color:var(--system-text-negative, #8E2100)}.mrx-formula-editor.mrx-formula-editor-lg .mrx-formula-editor__box{padding:5px 44px 5px var(--spacing-2, 8px);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:36px}.mrx-formula-editor.mrx-formula-editor-lg .mrx-formula-editor__box::ng-deep .tag.-large{font-family:var(--body-lg-font-family, \"PT Sans\");font-size:var(--body-lg-font-size, 16px);font-weight:var(--body-lg-font-weight, 400);line-height:var(--body-lg-line-height, 24px)}.mrx-formula-editor.mrx-formula-editor-lg .mrx-formula-editor__box::ng-deep .tag.-medium{font-family:var(--body-md-font-family, \"PT Sans\");font-size:var(--body-md-font-size, 14px);font-weight:var(--body-md-font-weight, 400);line-height:var(--body-md-line-height, 20px)}.mrx-formula-editor.mrx-formula-editor-lg .mrx-formula-editor__box::ng-deep .tag.argument{padding:6px 12px;margin:0 2px}.mrx-formula-editor.mrx-formula-editor-md .mrx-formula-editor__box{padding:5px 36px 5px var(--spacing-2, 8px);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:28px}.mrx-formula-editor.mrx-formula-editor-md .mrx-formula-editor__box::ng-deep .tag.-large{font-family:var(--body-md-font-family, \"PT Sans\");font-size:var(--body-md-font-size, 14px);font-weight:var(--body-md-font-weight, 400);line-height:var(--body-md-line-height, 20px)}.mrx-formula-editor.mrx-formula-editor-md .mrx-formula-editor__box::ng-deep .tag.-medium{font-family:var(--body-sm-font-family, \"PT Sans\");font-size:var(--body-sm-font-size, 12px);font-weight:var(--body-sm-font-weight, 400);line-height:var(--body-sm-line-height, 16px)}.mrx-formula-editor.mrx-formula-editor-md .mrx-formula-editor__box::ng-deep .tag.argument{padding:4px 8px;margin:0 2px}.mrx-formula-editor.mrx-formula-editor-sm .mrx-formula-editor__box{padding:5px 36px 5px var(--spacing-2, 8px);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:28px}.mrx-formula-editor.mrx-formula-editor-sm .mrx-formula-editor__box::ng-deep .tag.-large{font-family:var(--body-md-font-family, \"PT Sans\");font-size:var(--body-md-font-size, 14px);font-weight:var(--body-md-font-weight, 400);line-height:var(--body-md-line-height, 20px)}.mrx-formula-editor.mrx-formula-editor-sm .mrx-formula-editor__box::ng-deep .tag.-medium{font-family:var(--body-sm-font-family, \"PT Sans\");font-size:var(--body-sm-font-size, 12px);font-weight:var(--body-sm-font-weight, 400);line-height:var(--body-sm-line-height, 16px)}.mrx-formula-editor.mrx-formula-editor-sm .mrx-formula-editor__box::ng-deep .tag.argument{padding:4px 8px;margin:0 2px}.mrx-formula-editor__popup{position:absolute;z-index:99;width:100%;border-radius:var(--border-radius-1);background:var(--neutral-bg-island-default, #F8F9FA);box-shadow:0 1px 4px #3a3a3a4d;background-color:#fff;max-height:240px;overflow-x:hidden;overflow-y:auto;margin-top:4px}.mrx-formula-editor__popup--error{padding:var(--spacing-2) var(--spacing-4);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);color:var(--system-text-negative, #8E2100)}.mrx-formula-editor__popup--row{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height);padding:calc(var(--spacing-2) + var(--spacing-half)) var(--spacing-4);white-space:normal;transition:background-color .2s}.mrx-formula-editor__popup--row:hover{cursor:pointer;background-color:var(--Bg2)!important}.mrx-formula-editor__box:empty:not(:focus):before{content:attr(data-ph);color:var(--neutral-text-tertiary, #71767E);padding-left:8px}.mrx-formula-editor.-disabled .mrx-formula-editor__box{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-tertiary, #71767E);pointer-events:none}.mrx-formula-editor.-readonly .mrx-formula-editor__box{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-primary, #262626);pointer-events:none}.mrx-formula-editor.mrx-input-error .mrx-formula-editor__box{border-color:var(--system-bg-controls-negative-default)}.mrx-formula-editor.mrx-input-error .mrx-formula-editor__box:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-formula-editor.mrx-input-checked-error .mrx-formula-editor__box{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-formula-editor.mrx-input-checked-error .mrx-formula-editor__box:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-formula-editor.mrx-input-checked-success .mrx-formula-editor__box{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-formula-editor.mrx-input-checked-success .mrx-formula-editor__box:hover{border:var(--border-width-default) solid var(--system-bg-controls-positive-default)}\n"] }]
17570
+ }], ctorParameters: () => [{ type: Document, decorators: [{
17571
+ type: Inject,
17572
+ args: [DOCUMENT]
17573
+ }] }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { fields: [{
17574
+ type: Input
17575
+ }], disabled: [{
17576
+ type: Input
17577
+ }], readonly: [{
17578
+ type: Input
17579
+ }], placeholder: [{
17580
+ type: Input
17581
+ }], customClasses: [{
17582
+ type: Input
17583
+ }], size: [{
17584
+ type: Input
17585
+ }], invalid: [{
17586
+ type: Input
17587
+ }], invalidMessage: [{
17588
+ type: Input
17589
+ }], checkInvalid: [{
17590
+ type: Input
17591
+ }], items: [{
17592
+ type: Input
17593
+ }], inputElement: [{
17594
+ type: ViewChild,
17595
+ args: ['inputElement', { static: true }]
17596
+ }], changed: [{
17597
+ type: Output
17598
+ }], blurred: [{
17599
+ type: Output
17600
+ }], modelChange: [{
17601
+ type: Output
17602
+ }], clickOut: [{
17603
+ type: HostListener,
17604
+ args: ['document:click', ['$event']]
17605
+ }] } });
17606
+
17607
+ class FormulaEditorModule {
17608
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
17609
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FormulaEditorModule, declarations: [FormulaEditorComponent], imports: [CommonModule,
17610
+ CharsLeftModule,
17611
+ ErrorMessageModule,
17612
+ FormsModule,
17613
+ SaveStateModule,
17614
+ SafeModule], exports: [FormulaEditorComponent] });
17615
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaEditorModule, imports: [CommonModule,
17616
+ CharsLeftModule,
17617
+ ErrorMessageModule,
17618
+ FormsModule,
17619
+ SaveStateModule,
17620
+ SafeModule] });
17621
+ }
17622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormulaEditorModule, decorators: [{
17623
+ type: NgModule,
17624
+ args: [{
17625
+ declarations: [
17626
+ FormulaEditorComponent
17627
+ ],
17628
+ imports: [
17629
+ CommonModule,
17630
+ CharsLeftModule,
17631
+ ErrorMessageModule,
17632
+ FormsModule,
17633
+ SaveStateModule,
17634
+ SafeModule
17635
+ ],
17636
+ exports: [
17637
+ FormulaEditorComponent
17638
+ ]
17639
+ }]
17640
+ }] });
17641
+
17160
17642
  class ContentTitleWrapperComponent {
17161
17643
  customClasses = '';
17162
17644
  title = '';
@@ -17501,5 +17983,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
17501
17983
  * Generated bundle index. Do not edit.
17502
17984
  */
17503
17985
 
17504
- export { AlertColorClasses, AlertComponent, AlertIconClasses, AlertModule, BadgeColorClassesEnum, BadgeComponent, BadgeGroupComponent, BadgeSizeEnum, BadgeTagTypeClassesEnum, BadgeTargetTypesEnum, BadgeTypeEnum, BadgesModule, BreadcrumbsComponent, BreadcrumbsModule, BreadcrumbsTypeEnum, ButtonColorsEnum, ButtonComponent, ButtonIconPositionEnum, ButtonModule, ButtonSizesEnum, ButtonTypesEnum, CdkTooltipDirective, CdkTooltipModule, CharsLeftComponent, CharsLeftModule, CheckboxComponent, CheckboxGroupComponent, CheckboxGroupModule, CheckboxModule, ColumnComponent, ContentTitleWrapperComponent, ContentTitleWrapperModule, ContentWrapperComponent, ContentWrapperModule, ContentWrapperTypeEnum, ControlsItemComponent, ControlsVisibilityEnum, ControlsWrapperComponent, ControlsWrapperModule, CountryISO, CurrencyModule, CurrencyPipe, DateFormatModule, DateFormatPipe, DateTimeFormatPipe, DefaultPagerSettings, DropdownComponent, DropdownModule, EditorComponent, EditorModule, ErrorMessageComponent, ErrorMessageModule, FileUploadService, GalleryComponent, GalleryModule, HideAfterClickDirective, HintErrorMessageComponent, HintErrorMessageModule, IconButtonComponent, IconButtonModule, IconButtonSizeEnum, IconButtonStateEnum, IconButtonTypeEnum, InputDateSizesEnum$2 as InputDateSizesEnum, InputDateTimeComponent, InputDateTimeModule, InputDatepickerComponent, InputDatepickerModule, InputFileComponent, InputFileImageComponent, InputFileImageModule, InputFileImageTypeEnum, InputFileModule, InputNumberComponent, InputNumberModule, InputNumberSizesEnum, InputOptComponent, InputOptModule, InputPasswordComponent, InputPasswordModule, InputPasswordSizesEnum, InputPhoneComponent, InputPhoneModule, InputSearchComponent, InputSearchModule, InputSearchSizesEnum, InputSelectComponent, InputSelectModule, InputSelectSizeEnum, InputTelComponent, InputTelModule, InputTextComponent, InputTextIconColorEnum, InputTextModule, InputTextSizesEnum, InputTextareaComponent, InputTextareaModule, InputTextareaSizesEnum, InputTimepickerComponent, InputTimepickerModule, JsonEditorComponent, JsonEditorModule, JsonEditorOptions, LabelComponent, LabelModule, LinkComponent, LinkModule, LinkSizesEnum, LinkTargetTypesEnum, LinkTypesEnum, LoaderColorEnum, LoaderComponent, LoaderModule, LoaderSizesEnum, MODAL_CONFIG, MODAL_DATA, ModalAlignButtonsEnum, ModalBackdropTypeClasses, ModalColorEnum, ModalComponent, ModalModule, ModalRef, ModalService, ModalServiceComponent, ModalServiceModule, ModalSizesEnum, ModalType, ModalTypeClasses, MrxAutoSaveActionsEnum, MrxAutosaveService, MrxFormValidator, NgxOtpBehavior, PagesNavComponent, PagesNavEnum, PagesNavModule, PaginatorComponent, PaginatorModule, PaginatorPositionCss, PdfViewerComponent, PdfViewerComponentModule, PhoneFormatModule, PhoneFormatPipe, PopupComponent, PopupItemComponent, PopupModule, PopupTriggerDirective, PositionEnum, PositionStrategyEnum, PreviewEnum, ProgressClasses, ProgressComponent, ProgressModule, RadioComponent, RadioGroupComponent, RadioGroupModule, RadioModule, RadioTypesEnum, RatingComponent, RatingModule, RatingSizesEnum, RatingValueSizesEnum, RatingWrapperSizesEnum, SafeModule, SafePipe, SaveStateComponent, SaveStateModule, SaveStoreModule, SelectComponent, SelectModule, SelectSizeEnum, SidePageComponent, SidePageHeaderSizesEnum, SidePageModule, SidePagePositionEnum, SidePageSizesEnum, StepperClasses, StepperComponent, StepperModule, SwitchComponent, SwitchModule, SwitchSizeEnum, SwitchTypeEnum, TabComponent, TableComponent, TableModule, TableTypeEnum, TabsClasses, TabsGroupComponent, TabsModule, TabsTypesClasses, Timezone, ToasterPosition, ToasterService, ToasterServiceModule, ToasterType, Tooltip, TooltipComponent, TooltipModule, TooltipService, TooltipTextPositionEnum, TooltipTriggerComponent, TooltipTriggerEnum, TruncateDirective, TruncateDirectiveModule, TruncateModule, TruncatePipe, TruncateTextComponent, TruncateTextModule, ValidationMethodsEnum, ValidationOptionsEnum, ValidationTypesEnum, WarningMessageComponent, WarningMessageModule, WidgetWrapperComponent, WidgetWrapperModule, autosaveAddId, autosaveError, autosaveErrorFor, autosaveStart, autosaveStartFor, autosaveStop, autosaveStopFor, autosaveSuccess, autosaveSuccessFor, convertBase64ToFile, dateTimeFormat, defaultConfig, defaultCustomConfig, formatBytes, formattingDateRange, formattingIsoToString, getBase64FromUrl, getHashCode, innerListToList, sHashCode, selectFields, selectMrxAutoSaveState, sliceDate, toBytes, toDate, toNumberFormat, toastrDefaultConfig, wordForm };
17986
+ export { AlertColorClasses, AlertComponent, AlertIconClasses, AlertModule, BadgeColorClassesEnum, BadgeComponent, BadgeGroupComponent, BadgeSizeEnum, BadgeTagTypeClassesEnum, BadgeTargetTypesEnum, BadgeTypeEnum, BadgesModule, BreadcrumbsComponent, BreadcrumbsModule, BreadcrumbsTypeEnum, ButtonColorsEnum, ButtonComponent, ButtonIconPositionEnum, ButtonModule, ButtonSizesEnum, ButtonTypesEnum, CdkTooltipDirective, CdkTooltipModule, CharsLeftComponent, CharsLeftModule, CheckboxComponent, CheckboxGroupComponent, CheckboxGroupModule, CheckboxModule, ColumnComponent, ContentTitleWrapperComponent, ContentTitleWrapperModule, ContentWrapperComponent, ContentWrapperModule, ContentWrapperTypeEnum, ControlsItemComponent, ControlsVisibilityEnum, ControlsWrapperComponent, ControlsWrapperModule, CountryISO, CurrencyModule, CurrencyPipe, DateFormatModule, DateFormatPipe, DateTimeFormatPipe, DefaultPagerSettings, DropdownComponent, DropdownModule, EditorComponent, EditorModule, ErrorMessageComponent, ErrorMessageModule, FileUploadService, FormulaEditorComponent, FormulaEditorModule, GalleryComponent, GalleryModule, HideAfterClickDirective, HintErrorMessageComponent, HintErrorMessageModule, IconButtonComponent, IconButtonModule, IconButtonSizeEnum, IconButtonStateEnum, IconButtonTypeEnum, InputDateSizesEnum$2 as InputDateSizesEnum, InputDateTimeComponent, InputDateTimeModule, InputDatepickerComponent, InputDatepickerModule, InputFileComponent, InputFileImageComponent, InputFileImageModule, InputFileImageTypeEnum, InputFileModule, InputNumberComponent, InputNumberModule, InputNumberSizesEnum, InputOptComponent, InputOptModule, InputPasswordComponent, InputPasswordModule, InputPasswordSizesEnum, InputPhoneComponent, InputPhoneModule, InputSearchComponent, InputSearchModule, InputSearchSizesEnum, InputSelectComponent, InputSelectModule, InputSelectSizeEnum, InputTelComponent, InputTelModule, InputTextComponent, InputTextIconColorEnum, InputTextModule, InputTextSizesEnum, InputTextareaComponent, InputTextareaModule, InputTextareaSizesEnum, InputTimepickerComponent, InputTimepickerModule, JsonEditorComponent, JsonEditorModule, JsonEditorOptions, LabelComponent, LabelModule, LinkComponent, LinkModule, LinkSizesEnum, LinkTargetTypesEnum, LinkTypesEnum, LoaderColorEnum, LoaderComponent, LoaderModule, LoaderSizesEnum, MODAL_CONFIG, MODAL_DATA, ModalAlignButtonsEnum, ModalBackdropTypeClasses, ModalColorEnum, ModalComponent, ModalModule, ModalRef, ModalService, ModalServiceComponent, ModalServiceModule, ModalSizesEnum, ModalType, ModalTypeClasses, MrxAutoSaveActionsEnum, MrxAutosaveService, MrxFormValidator, NgxOtpBehavior, PagesNavComponent, PagesNavEnum, PagesNavModule, PaginatorComponent, PaginatorModule, PaginatorPositionCss, PdfViewerComponent, PdfViewerComponentModule, PhoneFormatModule, PhoneFormatPipe, PopupComponent, PopupItemComponent, PopupModule, PopupTriggerDirective, PositionEnum, PositionStrategyEnum, PreviewEnum, ProgressClasses, ProgressComponent, ProgressModule, RadioComponent, RadioGroupComponent, RadioGroupModule, RadioModule, RadioTypesEnum, RatingComponent, RatingModule, RatingSizesEnum, RatingValueSizesEnum, RatingWrapperSizesEnum, SafeModule, SafePipe, SaveStateComponent, SaveStateModule, SaveStoreModule, SelectComponent, SelectModule, SelectSizeEnum, SidePageComponent, SidePageHeaderSizesEnum, SidePageModule, SidePagePositionEnum, SidePageSizesEnum, StepperClasses, StepperComponent, StepperModule, SwitchComponent, SwitchModule, SwitchSizeEnum, SwitchTypeEnum, TabComponent, TableComponent, TableModule, TableTypeEnum, TabsClasses, TabsGroupComponent, TabsModule, TabsTypesClasses, Timezone, ToasterPosition, ToasterService, ToasterServiceModule, ToasterType, Tooltip, TooltipComponent, TooltipModule, TooltipService, TooltipTextPositionEnum, TooltipTriggerComponent, TooltipTriggerEnum, TruncateDirective, TruncateDirectiveModule, TruncateModule, TruncatePipe, TruncateTextComponent, TruncateTextModule, ValidationMethodsEnum, ValidationOptionsEnum, ValidationTypesEnum, WarningMessageComponent, WarningMessageModule, WidgetWrapperComponent, WidgetWrapperModule, autosaveAddId, autosaveError, autosaveErrorFor, autosaveStart, autosaveStartFor, autosaveStop, autosaveStopFor, autosaveSuccess, autosaveSuccessFor, convertBase64ToFile, dateTimeFormat, defaultConfig, defaultCustomConfig, formatBytes, formattingDateRange, formattingIsoToString, getBase64FromUrl, getHashCode, innerListToList, sHashCode, selectFields, selectMrxAutoSaveState, sliceDate, toBytes, toDate, toNumberFormat, toastrDefaultConfig, wordForm };
17505
17987
  //# sourceMappingURL=myrta-ui.mjs.map