@natec/mef-dev-ui-kit 15.1.2 → 15.1.3

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.
@@ -1,5 +1,4 @@
1
- import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
- import { ModalDirective } from 'ngx-bootstrap/modal';
1
+ import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
3
  /**
5
4
  * Fill Component for a modal window.
@@ -22,6 +21,8 @@ import * as i0 from "@angular/core";
22
21
  * <example-url>https://mef.dev/ui_kit_demo/view/modals/fill</example-url>
23
22
  */
24
23
  export declare class FillComponent implements OnInit {
24
+ protected visible: boolean;
25
+ protected dialog?: ElementRef;
25
26
  /**
26
27
  * The header template of the modal window.
27
28
  * ```
@@ -44,37 +45,36 @@ export declare class FillComponent implements OnInit {
44
45
  * ```
45
46
  */
46
47
  modal_footer: TemplateRef<void>;
47
- /**
48
- * Reference to the ModalDirective element from ngx-bootstrap.
49
- */
50
- fadInModal?: ModalDirective;
51
48
  /**
52
49
  * Input parameter that determines whether to show the modal window.
53
50
  */
54
51
  set show(val: boolean);
55
52
  /**
56
- * Event emitter triggered when the modal window is closed.
57
- * Emits a boolean value indicating whether the modal window is closed.
53
+ * Event emitted when the modal is change state.
54
+ * Emits a boolean value indicating if the modal is closed(false), or open(true).
58
55
  * Example:
59
56
  * ```
60
- * <mefdev-fill-modal (isClouse)="onModalClosed($event)"></mefdev-fill-modal>
57
+ * <mefdev-fill-modal (visibleChange)="onModalClosed($event)"></mefdev-fill-modal>
61
58
  * ```
62
59
  */
63
- isClouse: EventEmitter<boolean>;
60
+ visibleChange: EventEmitter<boolean>;
64
61
  constructor();
65
62
  ngOnInit(): void;
66
63
  /**
67
- * Event emitter for when the modal is closed.
68
- */
69
- modalIsCloused(): void;
64
+ * Shows the modal state.
65
+ * Return a boolean value indicating if the modal is closed(false), or open(true)
66
+ */
67
+ getModalState(): boolean;
70
68
  /**
71
- * Shows the modal window.
72
- */
69
+ * Shows the modal.
70
+ * Call this method to open the modal window.
71
+ */
73
72
  showModal(): void;
74
73
  /**
75
- * Hides the modal window.
74
+ * Hides the modal.
75
+ * Call this method to close the modal window.
76
76
  */
77
77
  hideModal(): void;
78
78
  static ɵfac: i0.ɵɵFactoryDeclaration<FillComponent, never>;
79
- static ɵcmp: i0.ɵɵComponentDeclaration<FillComponent, "mefdev-fill-modal", never, { "show": "show"; }, { "isClouse": "isClouse"; }, ["modal_header", "modal_footer"], ["*"], false, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<FillComponent, "mefdev-fill-modal", never, { "show": "show"; }, { "visibleChange": "visibleChange"; }, ["modal_header", "modal_footer"], ["*"], false, never>;
80
80
  }
@@ -1,5 +1,4 @@
1
- import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
- import { ModalDirective } from 'ngx-bootstrap/modal';
1
+ import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
3
2
  import { ModalSize } from '../modal-size.enum';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
@@ -23,6 +22,8 @@ import * as i0 from "@angular/core";
23
22
  * <example-url>https://mef.dev/ui_kit_demo/view/modals/slide-right</example-url>
24
23
  */
25
24
  export declare class SlideRightComponent implements OnInit {
25
+ protected visible: boolean;
26
+ protected dialog: ElementRef;
26
27
  /**
27
28
  * Reference to the template for the modal header.
28
29
  * Use this template to customize the header of the modal.
@@ -33,10 +34,6 @@ export declare class SlideRightComponent implements OnInit {
33
34
  * Use this template to customize the footer of the modal.
34
35
  */
35
36
  modal_footer: TemplateRef<void>;
36
- /**
37
- * Reference to the modal directive.
38
- */
39
- slideRight: ModalDirective;
40
37
  /**
41
38
  * Size of the modal.
42
39
  * Defaults to `ModalSize.md`.
@@ -49,27 +46,31 @@ export declare class SlideRightComponent implements OnInit {
49
46
  */
50
47
  set show(val: boolean);
51
48
  /**
52
- * Event emitted when the modal is closed.
53
- * Emits a boolean value indicating if the modal is closed.
49
+ * Event emitted when the modal is change state.
50
+ * Emits a boolean value indicating if the modal is closed(false), or open(true).
51
+ * Example:
52
+ * ```
53
+ * <mefdev-fill-modal (visibleChange)="onModalClosed($event)"></mefdev-fill-modal>
54
+ * ```
54
55
  */
55
- isClouse: EventEmitter<boolean>;
56
+ visibleChange: EventEmitter<boolean>;
56
57
  constructor();
57
58
  ngOnInit(): void;
58
59
  /**
59
- * Event handler for when the modal is closed.
60
- * Emits the `isClosed` event with a value of `true`.
61
- */
62
- modalIsCloused(): void;
60
+ * Shows the modal state.
61
+ * Return a boolean value indicating if the modal is closed(false), or open(true)
62
+ */
63
+ getModalState(): boolean;
63
64
  /**
64
- * Shows the modal.
65
- * Call this method to open the modal window.
66
- */
65
+ * Shows the modal.
66
+ * Call this method to open the modal window.
67
+ */
67
68
  showModal(): void;
68
69
  /**
69
- * Hides the modal.
70
- * Call this method to close the modal window.
71
- */
70
+ * Hides the modal.
71
+ * Call this method to close the modal window.
72
+ */
72
73
  hideModal(): void;
73
74
  static ɵfac: i0.ɵɵFactoryDeclaration<SlideRightComponent, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<SlideRightComponent, "mefdev-slide-right-modal", never, { "size": "size"; "show": "show"; }, { "isClouse": "isClouse"; }, ["modal_header", "modal_footer"], ["*"], false, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlideRightComponent, "mefdev-slide-right-modal", never, { "size": "size"; "show": "show"; }, { "visibleChange": "visibleChange"; }, ["modal_header", "modal_footer"], ["*"], false, never>;
75
76
  }
@@ -1,6 +1,4 @@
1
1
  import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
- import { ModalDirective } from 'ngx-bootstrap/modal';
3
- import { ModalSize } from '../modal-size.enum';
4
2
  import * as i0 from "@angular/core";
5
3
  /**
6
4
  * A component representing a slide-up modal window.
@@ -23,6 +21,7 @@ import * as i0 from "@angular/core";
23
21
  * <example-url>https://mef.dev/ui_kit_demo/view/modals/slide-up</example-url>
24
22
  */
25
23
  export declare class SlideUpComponent implements OnInit {
24
+ protected visible: boolean;
26
25
  /**
27
26
  * Reference to the template for the modal header.
28
27
  * Use this template to customize the header of the modal.
@@ -33,37 +32,27 @@ export declare class SlideUpComponent implements OnInit {
33
32
  * Use this template to customize the footer of the modal.
34
33
  */
35
34
  modal_footer: TemplateRef<void>;
36
- /**
37
- * Reference to the modal directive.
38
- */
39
- mdSlideUp: ModalDirective;
40
- /**
41
- * Size of the modal.
42
- * Defaults to `ModalSize.md`.
43
- * Possible values: `ModalSize.sm`, `ModalSize.md`, `ModalSize.lg`, `ModalSize.xl`.
44
- */
45
- size: ModalSize;
46
35
  /**
47
36
  * Flag indicating whether the modal should be shown or hidden.
48
37
  * Set it to `true` to show the modal and `false` to hide it.
49
38
  */
50
39
  set show(val: boolean);
51
40
  /**
52
- * Event emitted when the modal is closed.
53
- * Emits a boolean value indicating if the modal is closed.
41
+ * Event emitted when the modal is change state.
42
+ * Emits a boolean value indicating if the modal is closed(false), or open(true).
54
43
  */
55
- isClouse: EventEmitter<boolean>;
44
+ visibleChange: EventEmitter<boolean>;
56
45
  constructor();
57
46
  ngOnInit(): void;
58
47
  /**
59
- * Event handler for when the modal is closed.
60
- * Emits the `isClosed` event with a value of `true`.
61
- */
62
- modalIsCloused(): void;
48
+ * Shows the modal state.
49
+ * Return a boolean value indicating if the modal is closed(false), or open(true)
50
+ */
51
+ getModalState(): boolean;
63
52
  /**
64
- * Shows the modal.
65
- * Call this method to open the modal window.
66
- */
53
+ * Shows the modal.
54
+ * Call this method to open the modal window.
55
+ */
67
56
  showModal(): void;
68
57
  /**
69
58
  * Hides the modal.
@@ -71,5 +60,5 @@ export declare class SlideUpComponent implements OnInit {
71
60
  */
72
61
  hideModal(): void;
73
62
  static ɵfac: i0.ɵɵFactoryDeclaration<SlideUpComponent, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<SlideUpComponent, "mefdev-slide-up-modal", never, { "size": "size"; "show": "show"; }, { "isClouse": "isClouse"; }, ["modal_header", "modal_footer"], ["*"], false, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlideUpComponent, "mefdev-slide-up-modal", never, { "show": "show"; }, { "visibleChange": "visibleChange"; }, ["modal_header", "modal_footer"], ["*"], false, never>;
75
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natec/mef-dev-ui-kit",
3
- "version": "15.1.2",
3
+ "version": "15.1.3",
4
4
  "description": "MEF.DEV UI Kit Library",
5
5
  "author": {
6
6
  "name": "NATEC"
@@ -48,4 +48,4 @@
48
48
  "fesm2015": "fesm2015/natec-mef-dev-ui-kit.mjs",
49
49
  "typings": "index.d.ts",
50
50
  "sideEffects": false
51
- }
51
+ }
@@ -1,8 +1,8 @@
1
1
  //Core Libs
2
2
  @use '../designe-colors.scss' as c;
3
3
 
4
- @import 'https://fonts.googleapis.com/css?family=Montserrat';
5
- @import 'https://fonts.googleapis.com/css?family=Lato';
4
+ @import 'http://fonts.googleapis.com/css?family=Montserrat';
5
+ @import 'http://fonts.googleapis.com/css?family=Lato';
6
6
 
7
7
  /*#region img-font*/
8
8
  @font-face {