@natec/mef-dev-ui-kit 16.2.3 → 16.2.5
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/esm2022/lib/markup-kit/card/card-long/card-long.component.mjs +16 -16
- package/esm2022/lib/markup-kit/card/card-simple/card-simple.component.mjs +7 -7
- package/esm2022/lib/markup-kit/collapse/collapse/collapse.component.mjs +3 -3
- package/esm2022/lib/markup-kit/executors/mefdev-executor-page/mefdev-executor-page.component.mjs +69 -1
- package/esm2022/lib/markup-kit/executors/stage/stage.component.mjs +4 -1
- package/esm2022/lib/markup-kit/executors/step-executor/step-executor.component.mjs +116 -1
- package/esm2022/lib/markup-kit/modals/fill/fill.component.mjs +3 -3
- package/esm2022/lib/markup-kit/modals/slide-up/slide-up.component.mjs +3 -3
- package/esm2022/lib/markup-kit/slider/index.mjs +3 -0
- package/esm2022/lib/markup-kit/slider/slider/slider.component.mjs +120 -0
- package/esm2022/lib/markup-kit/slider/slider.module.mjs +28 -0
- package/esm2022/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.mjs +18 -7
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/natec-mef-dev-ui-kit.mjs +371 -34
- package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/lib/markup-kit/card/card-long/card-long.component.d.ts +14 -14
- package/lib/markup-kit/card/card-simple/card-simple.component.d.ts +5 -5
- package/lib/markup-kit/executors/mefdev-executor-page/mefdev-executor-page.component.d.ts +68 -0
- package/lib/markup-kit/executors/stage/stage.component.d.ts +3 -0
- package/lib/markup-kit/executors/step-executor/step-executor.component.d.ts +115 -0
- package/lib/markup-kit/slider/index.d.ts +2 -0
- package/lib/markup-kit/slider/slider/slider.component.d.ts +93 -0
- package/lib/markup-kit/slider/slider.module.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/lib/styles/pg/vendor/ng-datatable.scss +5 -3
|
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* Example of usage:
|
|
9
9
|
*
|
|
10
10
|
* ```
|
|
11
|
-
* <
|
|
11
|
+
* <mefdev-card-long
|
|
12
12
|
* [type_text]="'Type Text'"
|
|
13
13
|
* [type_color]="CartTypeColors.RED"
|
|
14
14
|
* [img]="'path/to/image.jpg'"
|
|
@@ -30,7 +30,7 @@ import * as i0 from "@angular/core";
|
|
|
30
30
|
* <ng-template #third_col>
|
|
31
31
|
* <!-- Content for the third column -->
|
|
32
32
|
* </ng-template>
|
|
33
|
-
* </
|
|
33
|
+
* </mefdev-card-long>
|
|
34
34
|
* ```
|
|
35
35
|
*
|
|
36
36
|
* <example-url>https://mef.dev/ui_kit_demo/view/card/card-long</example-url>
|
|
@@ -40,44 +40,44 @@ export declare class CardLongComponent implements OnInit {
|
|
|
40
40
|
/**
|
|
41
41
|
* Template for displaying the title of the card.
|
|
42
42
|
* ```
|
|
43
|
-
* <
|
|
43
|
+
* <mefdev-card-long>
|
|
44
44
|
* <ng-template #title>
|
|
45
45
|
* <!-- Content for the card title -->
|
|
46
46
|
* </ng-template>
|
|
47
|
-
* </
|
|
47
|
+
* </mefdev-card-long>
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
50
|
title: TemplateRef<void>;
|
|
51
51
|
/**
|
|
52
52
|
* Template for displaying the parameters of the card.
|
|
53
53
|
* ```
|
|
54
|
-
* <
|
|
54
|
+
* <mefdev-card-long>
|
|
55
55
|
* <ng-template #params>
|
|
56
56
|
* <!-- Content for the card params -->
|
|
57
57
|
* </ng-template>
|
|
58
|
-
* </
|
|
58
|
+
* </mefdev-card-long>
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
61
|
params: TemplateRef<void>;
|
|
62
62
|
/**
|
|
63
63
|
* Template for displaying the content of the second column.
|
|
64
64
|
* ```
|
|
65
|
-
* <
|
|
65
|
+
* <mefdev-card-long>
|
|
66
66
|
* <ng-template #second_col>
|
|
67
67
|
* <!-- Content for the card second column -->
|
|
68
68
|
* </ng-template>
|
|
69
|
-
* </
|
|
69
|
+
* </mefdev-card-long>
|
|
70
70
|
* ```
|
|
71
71
|
*/
|
|
72
72
|
second_col: TemplateRef<void>;
|
|
73
73
|
/**
|
|
74
74
|
* Template for displaying the content of the third column.
|
|
75
75
|
* ```
|
|
76
|
-
* <
|
|
76
|
+
* <mefdev-card-long>
|
|
77
77
|
* <ng-template #third_col>
|
|
78
78
|
* <!-- Content for the card third column -->
|
|
79
79
|
* </ng-template>
|
|
80
|
-
* </
|
|
80
|
+
* </mefdev-card-long>
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
|
83
83
|
third_col: TemplateRef<void>;
|
|
@@ -85,7 +85,7 @@ export declare class CardLongComponent implements OnInit {
|
|
|
85
85
|
* The text for the card type.
|
|
86
86
|
* @usageNotes
|
|
87
87
|
* ```
|
|
88
|
-
* <
|
|
88
|
+
* <mefdev-card-long type_text = "'Type'"></<mefdev-card-long>
|
|
89
89
|
* ```
|
|
90
90
|
*/
|
|
91
91
|
type_text: string;
|
|
@@ -93,10 +93,10 @@ export declare class CardLongComponent implements OnInit {
|
|
|
93
93
|
* The color of the card type.
|
|
94
94
|
* @usageNotes
|
|
95
95
|
* ```
|
|
96
|
-
* <
|
|
96
|
+
* <mefdev-card-long type_color = "'RED'"></<mefdev-card-long>
|
|
97
97
|
* ```
|
|
98
98
|
* Colors: RED, UNSET, GREEN
|
|
99
|
-
|
|
99
|
+
|
|
100
100
|
*/
|
|
101
101
|
type_color: CartTypeColors;
|
|
102
102
|
/**
|
|
@@ -131,5 +131,5 @@ export declare class CardLongComponent implements OnInit {
|
|
|
131
131
|
*/
|
|
132
132
|
imgClick(): void;
|
|
133
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardLongComponent, never>;
|
|
134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardLongComponent, "
|
|
134
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardLongComponent, "mefdev-card-long", never, { "type_text": { "alias": "type_text"; "required": false; }; "type_color": { "alias": "type_color"; "required": false; }; "img": { "alias": "img"; "required": false; }; "imgUrl": { "alias": "imgUrl"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, ["title", "params", "second_col", "third_col"], never, false, never>;
|
|
135
135
|
}
|
|
@@ -5,11 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*
|
|
6
6
|
* Example of usage:
|
|
7
7
|
*```
|
|
8
|
-
* <
|
|
8
|
+
* <mefdev-card-simple [disabled]="true">
|
|
9
9
|
* <ng-template #card_title>
|
|
10
10
|
* <!-- Content for the card title -->
|
|
11
11
|
* </ng-template>
|
|
12
|
-
* </
|
|
12
|
+
* </mefdev-card-simple>
|
|
13
13
|
*```
|
|
14
14
|
*
|
|
15
15
|
* <example-url>https://mef.dev/ui_kit_demo/view/card/card-simple</example-url>
|
|
@@ -22,16 +22,16 @@ export declare class CardSimpleComponent implements OnInit {
|
|
|
22
22
|
/**
|
|
23
23
|
* Template for displaying the title of the card.
|
|
24
24
|
*```
|
|
25
|
-
* <
|
|
25
|
+
* <mefdev-card-simple>
|
|
26
26
|
* <ng-template #card_title>
|
|
27
27
|
* <h3>Card Title</h3>
|
|
28
28
|
* </ng-template>
|
|
29
|
-
* </
|
|
29
|
+
* </mefdev-card-simple>
|
|
30
30
|
*```
|
|
31
31
|
*/
|
|
32
32
|
card_title: TemplateRef<void>;
|
|
33
33
|
constructor();
|
|
34
34
|
ngOnInit(): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardSimpleComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardSimpleComponent, "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSimpleComponent, "mefdev-card-simple", never, { "isDisabled": { "alias": "disabled"; "required": false; }; }, {}, ["card_title"], ["*"], false, never>;
|
|
37
37
|
}
|
|
@@ -1,12 +1,80 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { StepExecutorComponent } from '../step-executor/step-executor.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A component that allows us to create a content page - a step in our executor.
|
|
6
|
+
* Each individual step can have different styles, content and settings.
|
|
7
|
+
*
|
|
8
|
+
* Example of usage:
|
|
9
|
+
*
|
|
10
|
+
* ```
|
|
11
|
+
* <mefdev-executor-page
|
|
12
|
+
* [title]="'Executor title 1'"
|
|
13
|
+
* [isActive]="mainExecutor.activePageInd === 0"
|
|
14
|
+
* [isCompleted]="mainExecutor.activePageInd >= 0"
|
|
15
|
+
* class="yourClass">
|
|
16
|
+
* <!-- Content of the first executor step -->
|
|
17
|
+
* </mefdev-executor-page>
|
|
18
|
+
* <mefdev-executor-page
|
|
19
|
+
* [title]="'Executor title 2'"
|
|
20
|
+
* [isActive]="mainExecutor.activePageInd === 1"
|
|
21
|
+
* [isCompleted]="mainExecutor.activePageInd >= 1"
|
|
22
|
+
* class="yourClass">
|
|
23
|
+
* <!-- Content of the second executor step -->
|
|
24
|
+
* </mefdev-executor-page>
|
|
25
|
+
* <mefdev-executor-page
|
|
26
|
+
* [title]="'Executor title 3'"
|
|
27
|
+
* [isActive]="mainExecutor.activePageInd === 2"
|
|
28
|
+
* [isCompleted]="mainExecutor.activePageInd >= 2"
|
|
29
|
+
* class="yourClass">
|
|
30
|
+
* <!-- Content of the third executor step -->
|
|
31
|
+
* </mefdev-executor-page>
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
4
35
|
export declare class MefdevExecutorPageComponent implements OnChanges {
|
|
5
36
|
private _mainExecutor;
|
|
6
37
|
private _elementRef;
|
|
38
|
+
/**
|
|
39
|
+
* The title of the step
|
|
40
|
+
* @usageNotes
|
|
41
|
+
* ```
|
|
42
|
+
* <mefdev-executor-page [title]="'Description of situation 1'"></mefdev-executor-page>
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
7
45
|
title: string;
|
|
46
|
+
/**
|
|
47
|
+
* The input parameter that corresponds to whether the current step matches the respective page.
|
|
48
|
+
* The value of the active page is passed by reference from the specific component StepExecutorComponent.
|
|
49
|
+
*
|
|
50
|
+
* @usageNotes
|
|
51
|
+
* ```
|
|
52
|
+
* <mefdev-step-executor #mainExecutor>
|
|
53
|
+
* <mefdev-executor-page [isActive]="mainExecutor.activePageInd === 0">
|
|
54
|
+
* <mefdev-executor-page [isActive]="mainExecutor.activePageInd === 1">
|
|
55
|
+
* <mefdev-executor-page [isActive]="mainExecutor.activePageInd === 2">
|
|
56
|
+
* </<mefdev-step-executor>
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
8
60
|
isActive: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* The input parameter that checks whether the step is completed.
|
|
63
|
+
*
|
|
64
|
+
* @usageNotes
|
|
65
|
+
* ```
|
|
66
|
+
* <mefdev-executor-page [isCompleted]="mainExecutor.activePageInd >= 0"></mefdev-executor-page>
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
9
69
|
isCompleted: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* The output parameter that emits a boolean value indicating whether our completed step has changed.
|
|
72
|
+
*
|
|
73
|
+
* @usageNotes
|
|
74
|
+
* ```
|
|
75
|
+
* <mefdev-executor-page (isCompletedChange)="onStepChanged($event)"></mefdev-executor-page>
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
10
78
|
isCompletedChange: EventEmitter<boolean>;
|
|
11
79
|
elRef: ElementRef;
|
|
12
80
|
constructor(_mainExecutor: StepExecutorComponent, _elementRef: ElementRef);
|
|
@@ -1,13 +1,104 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, Renderer2, TemplateRef } from '@angular/core';
|
|
2
2
|
import { MefdevExecutorPageComponent } from '../mefdev-executor-page/mefdev-executor-page.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Wrapper component that represents a specific encapsulated executor.
|
|
6
|
+
*
|
|
7
|
+
* Example of usage:
|
|
8
|
+
*```
|
|
9
|
+
* <mefdev-step-executor #mainExecutor [view]="'regular'">
|
|
10
|
+
*
|
|
11
|
+
* <ng-template #title>
|
|
12
|
+
* <!-- Content for the executor title -->
|
|
13
|
+
* </ng-template>
|
|
14
|
+
* <ng-template #description>
|
|
15
|
+
* <!-- Content for the executor description -->
|
|
16
|
+
* </ng-template>
|
|
17
|
+
*
|
|
18
|
+
* <mefdev-executor-page
|
|
19
|
+
* [title]="'Description of situation 1'"
|
|
20
|
+
* [isActive]="mainExecutor.activePageInd === 0"
|
|
21
|
+
* [isCompleted]="mainExecutor.activePageInd >= 0">
|
|
22
|
+
* <!-- Content of the first executor step -->
|
|
23
|
+
* </mefdev-executor-page>
|
|
24
|
+
* <mefdev-executor-page
|
|
25
|
+
* [title]="'Description of situation 2'"
|
|
26
|
+
* [isActive]="mainExecutor.activePageInd === 1"
|
|
27
|
+
* [isCompleted]="mainExecutor.activePageInd >= 1">
|
|
28
|
+
* <!-- Content of the second executor step -->
|
|
29
|
+
* </mefdev-executor-page>
|
|
30
|
+
* <mefdev-executor-page
|
|
31
|
+
* [title]="'Description of situation 3'"
|
|
32
|
+
* [isActive]="mainExecutor.activePageInd === 2"
|
|
33
|
+
* [isCompleted]="mainExecutor.activePageInd >= 2">
|
|
34
|
+
* <!-- Content of the third executor step -->
|
|
35
|
+
* </mefdev-executor-page>
|
|
36
|
+
*
|
|
37
|
+
* <ng-template #footer>
|
|
38
|
+
* <!-- Content for the executor footer -->
|
|
39
|
+
* <ng-template>
|
|
40
|
+
*
|
|
41
|
+
* </mefdev-step-executor>
|
|
42
|
+
*
|
|
43
|
+
*```
|
|
44
|
+
*/
|
|
4
45
|
export declare class StepExecutorComponent implements AfterViewInit {
|
|
5
46
|
private renderer;
|
|
47
|
+
/**
|
|
48
|
+
* Mandatory input parameter that specifies the type of the step-by-step wizard.
|
|
49
|
+
* It can have three options: regular, modal, right.
|
|
50
|
+
*
|
|
51
|
+
* @usageNotes
|
|
52
|
+
* ```
|
|
53
|
+
* <mefdev-step-executor #mainExecutor [view]="'regular'"></mefdev-step-executor>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
6
56
|
view: string;
|
|
57
|
+
/**
|
|
58
|
+
* ViewChild reference to the host executor content.
|
|
59
|
+
*/
|
|
7
60
|
container: ElementRef<HTMLElement>;
|
|
61
|
+
/**
|
|
62
|
+
* Template for displaying the content of the executor title.
|
|
63
|
+
*
|
|
64
|
+
* @usageNotes
|
|
65
|
+
* ```
|
|
66
|
+
* <ng-template #title>
|
|
67
|
+
* <!-- Content for the executor title -->
|
|
68
|
+
* </ng-template>
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
8
71
|
title: TemplateRef<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Template for displaying the content of the executor description.
|
|
74
|
+
*
|
|
75
|
+
* @usageNotes
|
|
76
|
+
* ```
|
|
77
|
+
* <ng-template #description>
|
|
78
|
+
* <!-- Content for the executor description -->
|
|
79
|
+
* </ng-template>
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
9
82
|
description: TemplateRef<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Template for displaying the content of the executor footer.
|
|
85
|
+
*
|
|
86
|
+
* @usageNotes
|
|
87
|
+
* ```
|
|
88
|
+
* <ng-template #footer>
|
|
89
|
+
* <!-- Content for the executor footer -->
|
|
90
|
+
* </ng-template>
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
10
93
|
footer: TemplateRef<void>;
|
|
94
|
+
/**
|
|
95
|
+
* The output parameter that emits the class of the active page - active step.
|
|
96
|
+
*
|
|
97
|
+
* @usageNotes
|
|
98
|
+
* ```
|
|
99
|
+
* <mefdev-step-executor #mainExecutor (onActivePageChange)="getActiveStep($event)"></mefdev-step-executor>
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
11
102
|
onActivePageChange: EventEmitter<MefdevExecutorPageComponent>;
|
|
12
103
|
_activePageInd: number;
|
|
13
104
|
pages: MefdevExecutorPageComponent[];
|
|
@@ -16,13 +107,37 @@ export declare class StepExecutorComponent implements AfterViewInit {
|
|
|
16
107
|
get activePageInd(): number;
|
|
17
108
|
get activePage(): MefdevExecutorPageComponent | null;
|
|
18
109
|
ngAfterViewInit(): void;
|
|
110
|
+
/**
|
|
111
|
+
* Check whether there is a next step of the executor. If we are at the last step - disable the 'next' button
|
|
112
|
+
*/
|
|
19
113
|
nextBtnIsDisabled(): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Check whether there is a next step of the executor. If we are at the last step - disable the 'next' button
|
|
116
|
+
*/
|
|
20
117
|
prev(): void;
|
|
118
|
+
/**
|
|
119
|
+
* Go back to the previous step
|
|
120
|
+
*/
|
|
21
121
|
cancel(): void;
|
|
122
|
+
/**
|
|
123
|
+
* Go to the next step
|
|
124
|
+
*/
|
|
22
125
|
next(): void;
|
|
126
|
+
/**
|
|
127
|
+
* Set a specific active page
|
|
128
|
+
*/
|
|
23
129
|
setActivePage(pageNumber: number): void;
|
|
130
|
+
/**
|
|
131
|
+
* Add new page
|
|
132
|
+
*/
|
|
24
133
|
addPage(page: MefdevExecutorPageComponent): void;
|
|
134
|
+
/**
|
|
135
|
+
* Delete a specific page
|
|
136
|
+
*/
|
|
25
137
|
removeSpecificPage(page: MefdevExecutorPageComponent): void;
|
|
138
|
+
/**
|
|
139
|
+
* Delete a page by its index
|
|
140
|
+
*/
|
|
26
141
|
removePageByIndex(index: number): void;
|
|
27
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepExecutorComponent, never>;
|
|
28
143
|
static ɵcmp: i0.ɵɵComponentDeclaration<StepExecutorComponent, "mefdev-step-executor", never, { "view": { "alias": "view"; "required": true; }; }, { "onActivePageChange": "onActivePageChange"; }, ["title", "description", "footer"], never, false, never>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Component for a slider that allows selecting a range of values.
|
|
5
|
+
* @example
|
|
6
|
+
* <mefdev-slider
|
|
7
|
+
* [disabled]="false"
|
|
8
|
+
* [range] = "{min: 1, max: 10000}"
|
|
9
|
+
* [id]= "'slider1'"
|
|
10
|
+
* (valueChange)="onChildValueChange($event)"
|
|
11
|
+
* ></mefdev-slider>
|
|
12
|
+
*
|
|
13
|
+
* <example-url>https://mef.dev/ui_kit_demo/view/typography/slider</example-url>
|
|
14
|
+
*/
|
|
15
|
+
export declare class MefDevSliderComponent {
|
|
16
|
+
private _range;
|
|
17
|
+
/**
|
|
18
|
+
* Unique id for each slider. Use it, if u need more than one slider independent from another on the same page.
|
|
19
|
+
* @example
|
|
20
|
+
* <mefdev-slider
|
|
21
|
+
* [id]= "'slider1'"
|
|
22
|
+
* ></mefdev-slider>
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* Input Object {min, max} container of the slider
|
|
27
|
+
* @example
|
|
28
|
+
* @interval
|
|
29
|
+
* <mefdev-slider
|
|
30
|
+
* [range] = "{min: 1, max: 10000}"
|
|
31
|
+
* ></mefdev-slider>
|
|
32
|
+
*/
|
|
33
|
+
set range(range: {
|
|
34
|
+
min: number;
|
|
35
|
+
max: number;
|
|
36
|
+
});
|
|
37
|
+
get range(): {
|
|
38
|
+
min: number;
|
|
39
|
+
max: number;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* The minimum value of the slider.
|
|
43
|
+
*/
|
|
44
|
+
minValue: number;
|
|
45
|
+
/**
|
|
46
|
+
* The maximum value of the slider.
|
|
47
|
+
*/
|
|
48
|
+
maxValue: number;
|
|
49
|
+
/**
|
|
50
|
+
* Property indicating whether the component is disabled.
|
|
51
|
+
* @example
|
|
52
|
+
* <mefdev-slider
|
|
53
|
+
* [disabled]="true"
|
|
54
|
+
* ></mefdev-slider>
|
|
55
|
+
*/
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Event emitted when the values of the slider change.
|
|
59
|
+
* It passes an object with `minValue` and `maxValue` properties.
|
|
60
|
+
* @event MefDevSliderComponent#valueChange
|
|
61
|
+
* @type {EventEmitter<{ minValue: number; maxValue: number }>}
|
|
62
|
+
* @example
|
|
63
|
+
* <mefdev-slider
|
|
64
|
+
* (valueChange)="onChildValueChange($event)"
|
|
65
|
+
* ></mefdev-slider>
|
|
66
|
+
*/
|
|
67
|
+
valueChange: EventEmitter<{
|
|
68
|
+
minValue: number;
|
|
69
|
+
maxValue: number;
|
|
70
|
+
}>;
|
|
71
|
+
/**
|
|
72
|
+
* Method called when the values of the slider change.
|
|
73
|
+
* Emits the `valueChange` event and calls methods to handle changes in the minimum and maximum values.
|
|
74
|
+
* @fires MefDevSliderComponent#valueChange
|
|
75
|
+
*/
|
|
76
|
+
onValueChange(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Method to handle changes in the minimum value.
|
|
79
|
+
* Converts a string to a number and removes all non-numeric characters.
|
|
80
|
+
* Then, emits the `valueChange` event and updates the value of the "fromSlider" slider.
|
|
81
|
+
* @fires MefDevSliderComponent#valueChange
|
|
82
|
+
*/
|
|
83
|
+
onMinValueChange(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Method to handle changes in the maximum value.
|
|
86
|
+
* Converts a string to a number and removes all non-numeric characters.
|
|
87
|
+
* Then, emits the `valueChange` event and updates the value of the "toSlider" slider.
|
|
88
|
+
* @fires MefDevSliderComponent#valueChange
|
|
89
|
+
*/
|
|
90
|
+
onMaxValueChange(): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSliderComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSliderComponent, "mefdev-slider", never, { "id": { "alias": "id"; "required": false; }; "range": { "alias": "range"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./slider/slider.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class MefDevSliderModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSliderModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevSliderModule, [typeof i1.MefDevSliderComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.MefDevSliderComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevSliderModule>;
|
|
9
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './lib/markup-kit/card/index';
|
|
|
6
6
|
export * from './lib/markup-kit/modals/index';
|
|
7
7
|
export * from './lib/markup-kit/page-layouts/index';
|
|
8
8
|
export * from './lib/markup-kit/executors';
|
|
9
|
+
export * from './lib/markup-kit/slider/index';
|
|
9
10
|
export * from './lib/pg-components/card/index';
|
|
10
11
|
export * from './lib/pg-components/progress/index';
|
|
11
12
|
export * from './lib/pg-components/select/index';
|
|
@@ -225,6 +225,9 @@
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
+
.ngx-datatable.fixed-header .datatable-header .datatable-header-inner{
|
|
229
|
+
padding: 0;
|
|
230
|
+
}
|
|
228
231
|
|
|
229
232
|
.ngx-datatable.fixed-header .datatable-header .datatable-header-inner .datatable-header-cell{
|
|
230
233
|
background-color: c.$Light-Gray-2;
|
|
@@ -238,10 +241,9 @@
|
|
|
238
241
|
|
|
239
242
|
}
|
|
240
243
|
.ngx-datatable .datatable-header .datatable-header-cell .datatable-header-cell-template-wrap{
|
|
241
|
-
top:
|
|
242
|
-
left: -
|
|
244
|
+
top: 0;
|
|
245
|
+
left: -2px;
|
|
243
246
|
overflow-y: auto;
|
|
244
|
-
width: 120%;
|
|
245
247
|
}
|
|
246
248
|
.ngx-datatable.material .datatable-header{
|
|
247
249
|
border: 0 !important;
|