myrta-ui 1.1.48 → 1.1.50
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/esm2020/lib/components/button/button.component.mjs +2 -2
- package/esm2020/lib/components/form/editor/editor.component.mjs +3 -3
- package/esm2020/lib/components/form/editor/modules/change-icon-module.mjs +37 -1
- package/esm2020/lib/components/form/formula-editor/formula-editor.module.mjs +1 -1
- package/esm2020/lib/components/popup/components/popup/popup.component.mjs +30 -0
- package/esm2020/lib/components/popup/components/popup-item/popup-item.component.mjs +19 -0
- package/esm2020/lib/components/popup/directives/popup-trigger.directive.mjs +97 -0
- package/esm2020/lib/components/popup/popup.module.mjs +36 -0
- package/esm2020/lib/services/mrx-form-validator/validations/email.validation.mjs +2 -2
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/myrta-ui.mjs +209 -9
- package/fesm2015/myrta-ui.mjs.map +1 -1
- package/fesm2020/myrta-ui.mjs +209 -9
- package/fesm2020/myrta-ui.mjs.map +1 -1
- package/lib/components/form/editor/modules/change-icon-module.d.ts +1 -1
- package/lib/components/popup/components/popup/popup.component.d.ts +12 -0
- package/lib/components/popup/components/popup-item/popup-item.component.d.ts +8 -0
- package/lib/components/popup/directives/popup-trigger.directive.d.ts +27 -0
- package/lib/components/popup/popup.module.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const changeIconsFunction: (name: string, control: any, clearName: any) => "<span class=\"mrx-icon icon-wysiwyg-icons-paragraph icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-bold icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-strikethrough-text icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-underline icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-italic icon-font-24\"></span>" | "<span class=\"mrx-icon icon-reload icon-font-24\"></span>" | "<span class=\"mrx-icon icon-return icon-font-24\"></span>" | "<span class=\"mrx-icon icon-search icon-font-24\"></span>" | "<span class=\"mrx-icon icon-code icon-font-24\"></span>" | "<span class=\"mrx-icon icon-table icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-padding icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-column-split icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-column-merge icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-add-column icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-add-row icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-fill-color icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-font-family icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-font-size icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-align-left icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-align-right icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-align-center icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-align-justify icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-line-height icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-padding-left icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-padding-right icon-font-24\"></span>" | "<span class=\"mrx-icon icon-point icon-font-24\"></span>" | "<span class=\"mrx-icon icon-numbers icon-font-24\"></span>" | "<span class=\"mrx-icon icon-link icon-font-24\"></span>" | "<span class=\"mrx-icon icon-image icon-font-24\"></span>" | "<span class=\"mrx-icon icon-delete icon-font-24\"></span>" | "<span class=\"mrx-icon icon-upload icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-media icon-font-24\"></span>" | "<span class=\"mrx-icon icon-more-vertical icon-font-24\"></span>" | "<span class=\"mrx-icon icon-view icon-font-24\"></span>" | "<span class=\"mrx-icon icon-edit icon-font-24\"></span>" | "<span class=\"mrx-icon icon-cancel icon-font-24\"></span>" | "<span class=\"mrx-icon icon-file icon-font-24\"></span>" | "<span class=\"mrx-icon icon-close icon-font-24\"></span>" | null;
|
|
1
|
+
export declare const changeIconsFunction: (name: string, control: any, clearName: any) => "<span class=\"mrx-icon icon-wysiwyg-icons-paragraph icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-bold icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-strikethrough-text icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-underline icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-italic icon-font-24\"></span>" | "<span class=\"mrx-icon icon-reload icon-font-24\"></span>" | "<span class=\"mrx-icon icon-return icon-font-24\"></span>" | "<span class=\"mrx-icon icon-search icon-font-24\"></span>" | "<span class=\"mrx-icon icon-code icon-font-24\"></span>" | "<span class=\"mrx-icon icon-table icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-padding icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-column-split icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-column-merge icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-add-column icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-add-row icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-fill-color icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-font-family icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-font-size icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-align-left icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-align-right icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-align-center icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-text-align-justify icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-line-height icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-padding-left icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-padding-right icon-font-24\"></span>" | "<span class=\"mrx-icon icon-point icon-font-24\"></span>" | "<span class=\"mrx-icon icon-numbers icon-font-24\"></span>" | "<span class=\"mrx-icon icon-link icon-font-24\"></span>" | "<span class=\"mrx-icon icon-image icon-font-24\"></span>" | "<span class=\"mrx-icon icon-delete icon-font-24\"></span>" | "<span class=\"mrx-icon icon-upload icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-media icon-font-24\"></span>" | "<span class=\"mrx-icon icon-more-vertical icon-font-24\"></span>" | "<span class=\"mrx-icon icon-view icon-font-24\"></span>" | "<span class=\"mrx-icon icon-edit icon-font-24\"></span>" | "<span class=\"mrx-icon icon-cancel icon-font-24\"></span>" | "<span class=\"mrx-icon icon-file icon-font-24\"></span>" | "<span class=\"mrx-icon icon-note icon-font-24\"></span>" | "<span class=\"mrx-icon icon-clear_eraser icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-subscript icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-superscript icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-cut icon-font-24\"></span>" | "<span class=\"mrx-icon icon-copy icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-insert icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-style icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-divider icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-special-symbol icon-font-24\"></span>" | "<span class=\"mrx-icon icon-print icon-font-24\"></span>" | "<span class=\"mrx-icon icon-help icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-spell-checking icon-font-24\"></span>" | "<span class=\"mrx-icon icon-wysiwyg-icons-select-all icon-font-24\"></span>" | "<span class=\"mrx-icon icon-arrow-expand icon-font-24\"></span>" | "<span class=\"mrx-icon icon-arrow-collapse icon-font-24\"></span>" | "<span class=\"mrx-icon icon-close icon-font-24\"></span>" | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { PopupItemComponent } from '../popup-item/popup-item.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PopupComponent {
|
|
5
|
+
closeAfterClick: boolean;
|
|
6
|
+
maxWidth: string;
|
|
7
|
+
templateRef: TemplateRef<any>;
|
|
8
|
+
popupItemComponents: QueryList<PopupItemComponent>;
|
|
9
|
+
closed: EventEmitter<void>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopupComponent, "mrx-popup", never, { "closeAfterClick": "closeAfterClick"; "maxWidth": "maxWidth"; }, { "closed": "closed"; }, ["popupItemComponents"], never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PopupItemComponent {
|
|
4
|
+
templateRef: TemplateRef<any>;
|
|
5
|
+
clicked: EventEmitter<void>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopupItemComponent, "mrx-popup-item", never, {}, { "clicked": "clicked"; }, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { PopupComponent } from '../components/popup/popup.component';
|
|
3
|
+
import { Overlay, OverlayOutsideClickDispatcher } from '@angular/cdk/overlay';
|
|
4
|
+
import { ConnectedPositionVariantsType } from '../../cdk-tooltip/constants';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PopupTriggerDirective implements OnDestroy {
|
|
7
|
+
private overlay;
|
|
8
|
+
private elementRef;
|
|
9
|
+
private viewContainerRef;
|
|
10
|
+
private dispatcher;
|
|
11
|
+
private _subscriber$;
|
|
12
|
+
private _isDropdownOpen;
|
|
13
|
+
private _overlayRef;
|
|
14
|
+
popupPanel: PopupComponent;
|
|
15
|
+
popupPosition: ConnectedPositionVariantsType;
|
|
16
|
+
constructor(overlay: Overlay, elementRef: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef, dispatcher: OverlayOutsideClickDispatcher);
|
|
17
|
+
togglePopup(): void;
|
|
18
|
+
openDropdown(): void;
|
|
19
|
+
close(): void;
|
|
20
|
+
private getPositionStrategy;
|
|
21
|
+
private destroyDropdown;
|
|
22
|
+
private hideOtherOverlays;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
handleClick(event: any): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupTriggerDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopupTriggerDirective, "[mrxPopupTrigger]", never, { "popupPanel": "mrxPopupTrigger"; "popupPosition": "popupPosition"; }, {}, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/popup/popup.component";
|
|
3
|
+
import * as i2 from "./components/popup-item/popup-item.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/cdk/overlay";
|
|
6
|
+
export declare class PopupModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PopupModule, [typeof i1.PopupComponent, typeof i2.PopupItemComponent], [typeof i3.CommonModule, typeof i4.OverlayModule], [typeof i1.PopupComponent, typeof i2.PopupItemComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PopupModule>;
|
|
10
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -34,6 +34,10 @@ export * from './lib/components/cdk-tooltip/models/tooltip-data';
|
|
|
34
34
|
export * from './lib/components/dropdown/dropdown.module';
|
|
35
35
|
export * from './lib/components/dropdown/dropdown.component';
|
|
36
36
|
export * from './lib/components/dropdown/directives/hide-after-click.directive';
|
|
37
|
+
export * from './lib/components/popup/popup.module';
|
|
38
|
+
export * from './lib/components/popup/components/popup/popup.component';
|
|
39
|
+
export * from './lib/components/popup/components/popup-item/popup-item.component';
|
|
40
|
+
export * from './lib/components/popup/directives/popup-trigger.directive';
|
|
37
41
|
export * from './lib/components/error-message/error-message.module';
|
|
38
42
|
export * from './lib/components/error-message/error-message.component';
|
|
39
43
|
export * from './lib/components/hint-error-message/hint-error-message.module';
|