@natec/mef-dev-ui-kit 14.0.0 → 16.0.0

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 (132) hide show
  1. package/esm2022/lib/markup-kit/card/card/card.component.mjs +116 -0
  2. package/esm2022/lib/markup-kit/card/card-long/card-long.component.mjs +169 -0
  3. package/esm2022/lib/markup-kit/card/card-simple/card-simple.component.mjs +50 -0
  4. package/{esm2020 → esm2022}/lib/markup-kit/card/card.module.mjs +11 -11
  5. package/esm2022/lib/markup-kit/collapse/collapse/collapse.component.mjs +149 -0
  6. package/esm2022/lib/markup-kit/collapse/collapse-set/collapse-set.component.mjs +102 -0
  7. package/{esm2020 → esm2022}/lib/markup-kit/collapse/collapse.module.mjs +5 -5
  8. package/esm2022/lib/markup-kit/modals/fill/fill.component.mjs +117 -0
  9. package/{esm2020 → esm2022}/lib/markup-kit/modals/markup-kit.module.mjs +15 -15
  10. package/esm2022/lib/markup-kit/modals/right-filter/right-filter.component.mjs +44 -0
  11. package/esm2022/lib/markup-kit/modals/slide-right/slide-right.component.mjs +113 -0
  12. package/esm2022/lib/markup-kit/modals/slide-up/slide-up.component.mjs +113 -0
  13. package/esm2022/lib/markup-kit/page-layouts/central-page/central-page.component.mjs +51 -0
  14. package/esm2022/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.mjs +27 -0
  15. package/esm2022/lib/markup-kit/page-layouts/manage-page/manage-page.component.mjs +73 -0
  16. package/{esm2020 → esm2022}/lib/markup-kit/page-layouts/page-layouts.module.mjs +13 -13
  17. package/esm2022/lib/markup-kit/page-layouts/profile/profile.component.mjs +137 -0
  18. package/esm2022/lib/markup-kit/page-layouts/table-page/table-page.component.mjs +42 -0
  19. package/esm2022/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.mjs +72 -0
  20. package/esm2022/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.mjs +71 -0
  21. package/{esm2020 → esm2022}/lib/markup-kit/utils/filtered-field/filtered-field.module.mjs +7 -7
  22. package/esm2022/lib/markup-kit/utils/filtered-field/filtered-field.service.mjs +43 -0
  23. package/esm2022/lib/markup-kit/utils/filtered-field/filtred-item.model.mjs +13 -0
  24. package/esm2022/lib/markup-kit/utils/help-block/help-block.component.mjs +72 -0
  25. package/{esm2020 → esm2022}/lib/markup-kit/utils/help-block/hepl-block.module.mjs +7 -7
  26. package/esm2022/lib/pg-components/card/card.components.mjs +439 -0
  27. package/{esm2020 → esm2022}/lib/pg-components/card/card.module.mjs +5 -5
  28. package/esm2022/lib/pg-components/progress/progress.component.mjs +80 -0
  29. package/esm2022/lib/pg-components/progress/progress.config.mjs +12 -0
  30. package/{esm2020 → esm2022}/lib/pg-components/progress/progress.module.mjs +5 -5
  31. package/esm2022/lib/pg-components/select/option.component.mjs +93 -0
  32. package/{esm2020 → esm2022}/lib/pg-components/select/option.pipe.mjs +4 -4
  33. package/esm2022/lib/pg-components/select/select.component.mjs +782 -0
  34. package/{esm2020 → esm2022}/lib/pg-components/select/select.module.mjs +5 -5
  35. package/esm2022/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.mjs +36 -0
  36. package/{esm2020 → esm2022}/lib/pg-components/spec-flow-test/spec-flow-test.module.mjs +5 -5
  37. package/esm2022/lib/pg-components/switch/switch.component.mjs +293 -0
  38. package/{esm2020 → esm2022}/lib/pg-components/switch/switch.module.mjs +5 -5
  39. package/esm2022/lib/pg-components/tabs/tab-body.component.mjs +21 -0
  40. package/esm2022/lib/pg-components/tabs/tab-label.directive.mjs +45 -0
  41. package/esm2022/lib/pg-components/tabs/tab.component.mjs +102 -0
  42. package/esm2022/lib/pg-components/tabs/tabs-ink-bar.directive.mjs +81 -0
  43. package/esm2022/lib/pg-components/tabs/tabs-nav.component.mjs +298 -0
  44. package/{esm2020 → esm2022}/lib/pg-components/tabs/tabs.module.mjs +5 -5
  45. package/esm2022/lib/pg-components/tabs/tabset.component.mjs +257 -0
  46. package/fesm2022/natec-mef-dev-ui-kit.mjs +4340 -0
  47. package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -0
  48. package/lib/markup-kit/card/card/card.component.d.ts +69 -35
  49. package/lib/markup-kit/card/card-long/card-long.component.d.ts +114 -4
  50. package/lib/markup-kit/card/card-simple/card-simple.component.d.ts +24 -1
  51. package/lib/markup-kit/collapse/collapse/collapse.component.d.ts +52 -2
  52. package/lib/markup-kit/collapse/collapse-set/collapse-set.component.d.ts +51 -1
  53. package/lib/markup-kit/modals/fill/fill.component.d.ts +59 -35
  54. package/lib/markup-kit/modals/right-filter/right-filter.component.d.ts +14 -1
  55. package/lib/markup-kit/modals/slide-right/slide-right.component.d.ts +53 -1
  56. package/lib/markup-kit/modals/slide-up/slide-up.component.d.ts +56 -4
  57. package/lib/markup-kit/page-layouts/central-page/central-page.component.d.ts +23 -1
  58. package/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.d.ts +14 -1
  59. package/lib/markup-kit/page-layouts/manage-page/manage-page.component.d.ts +47 -4
  60. package/lib/markup-kit/page-layouts/profile/profile.component.d.ts +78 -2
  61. package/lib/markup-kit/page-layouts/table-page/table-page.component.d.ts +23 -4
  62. package/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.d.ts +28 -4
  63. package/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.d.ts +43 -1
  64. package/lib/markup-kit/utils/filtered-field/filtered-field.service.d.ts +14 -0
  65. package/lib/markup-kit/utils/help-block/help-block.component.d.ts +26 -4
  66. package/lib/pg-components/card/card.components.d.ts +182 -1
  67. package/lib/pg-components/progress/progress.component.d.ts +36 -1
  68. package/lib/pg-components/select/option.component.d.ts +31 -1
  69. package/lib/pg-components/select/select.component.d.ts +1 -1
  70. package/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.d.ts +1 -1
  71. package/lib/pg-components/switch/switch.component.d.ts +151 -2
  72. package/lib/pg-components/tabs/tab-body.component.d.ts +7 -1
  73. package/lib/pg-components/tabs/tab-label.directive.d.ts +1 -1
  74. package/lib/pg-components/tabs/tab.component.d.ts +46 -1
  75. package/lib/pg-components/tabs/tabs-ink-bar.directive.d.ts +2 -2
  76. package/lib/pg-components/tabs/tabs-nav.component.d.ts +3 -3
  77. package/lib/pg-components/tabs/tabset.component.d.ts +70 -4
  78. package/package.json +10 -21
  79. package/esm2020/lib/markup-kit/card/card/card.component.mjs +0 -40
  80. package/esm2020/lib/markup-kit/card/card-long/card-long.component.mjs +0 -50
  81. package/esm2020/lib/markup-kit/card/card-simple/card-simple.component.mjs +0 -27
  82. package/esm2020/lib/markup-kit/collapse/collapse/collapse.component.mjs +0 -95
  83. package/esm2020/lib/markup-kit/collapse/collapse-set/collapse-set.component.mjs +0 -54
  84. package/esm2020/lib/markup-kit/modals/fill/fill.component.mjs +0 -91
  85. package/esm2020/lib/markup-kit/modals/right-filter/right-filter.component.mjs +0 -28
  86. package/esm2020/lib/markup-kit/modals/slide-right/slide-right.component.mjs +0 -59
  87. package/esm2020/lib/markup-kit/modals/slide-up/slide-up.component.mjs +0 -59
  88. package/esm2020/lib/markup-kit/page-layouts/central-page/central-page.component.mjs +0 -29
  89. package/esm2020/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.mjs +0 -14
  90. package/esm2020/lib/markup-kit/page-layouts/manage-page/manage-page.component.mjs +0 -29
  91. package/esm2020/lib/markup-kit/page-layouts/profile/profile.component.mjs +0 -53
  92. package/esm2020/lib/markup-kit/page-layouts/table-page/table-page.component.mjs +0 -22
  93. package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.mjs +0 -47
  94. package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.mjs +0 -29
  95. package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field.service.mjs +0 -30
  96. package/esm2020/lib/markup-kit/utils/filtered-field/filtred-item.model.mjs +0 -9
  97. package/esm2020/lib/markup-kit/utils/help-block/help-block.component.mjs +0 -51
  98. package/esm2020/lib/pg-components/card/card.components.mjs +0 -252
  99. package/esm2020/lib/pg-components/progress/progress.component.mjs +0 -39
  100. package/esm2020/lib/pg-components/progress/progress.config.mjs +0 -14
  101. package/esm2020/lib/pg-components/select/option.component.mjs +0 -59
  102. package/esm2020/lib/pg-components/select/select.component.mjs +0 -766
  103. package/esm2020/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.mjs +0 -24
  104. package/esm2020/lib/pg-components/switch/switch.component.mjs +0 -114
  105. package/esm2020/lib/pg-components/tabs/tab-body.component.mjs +0 -14
  106. package/esm2020/lib/pg-components/tabs/tab-label.directive.mjs +0 -44
  107. package/esm2020/lib/pg-components/tabs/tab.component.mjs +0 -53
  108. package/esm2020/lib/pg-components/tabs/tabs-ink-bar.directive.mjs +0 -78
  109. package/esm2020/lib/pg-components/tabs/tabs-nav.component.mjs +0 -287
  110. package/esm2020/lib/pg-components/tabs/tabset.component.mjs +0 -179
  111. package/fesm2015/natec-mef-dev-ui-kit.mjs +0 -2973
  112. package/fesm2015/natec-mef-dev-ui-kit.mjs.map +0 -1
  113. package/fesm2020/natec-mef-dev-ui-kit.mjs +0 -2966
  114. package/fesm2020/natec-mef-dev-ui-kit.mjs.map +0 -1
  115. /package/{esm2020 → esm2022}/lib/markup-kit/card/card-long/cart-type-colors.enum.mjs +0 -0
  116. /package/{esm2020 → esm2022}/lib/markup-kit/card/index.mjs +0 -0
  117. /package/{esm2020 → esm2022}/lib/markup-kit/collapse/index.mjs +0 -0
  118. /package/{esm2020 → esm2022}/lib/markup-kit/modals/index.mjs +0 -0
  119. /package/{esm2020 → esm2022}/lib/markup-kit/modals/modal-size.enum.mjs +0 -0
  120. /package/{esm2020 → esm2022}/lib/markup-kit/page-layouts/index.mjs +0 -0
  121. /package/{esm2020 → esm2022}/lib/markup-kit/utils/filtered-field/index.mjs +0 -0
  122. /package/{esm2020 → esm2022}/lib/markup-kit/utils/help-block/index.mjs +0 -0
  123. /package/{esm2020 → esm2022}/lib/pg-components/card/index.mjs +0 -0
  124. /package/{esm2020 → esm2022}/lib/pg-components/progress/index.mjs +0 -0
  125. /package/{esm2020 → esm2022}/lib/pg-components/select/index.mjs +0 -0
  126. /package/{esm2020 → esm2022}/lib/pg-components/spec-flow-test/index.mjs +0 -0
  127. /package/{esm2020 → esm2022}/lib/pg-components/switch/index.mjs +0 -0
  128. /package/{esm2020 → esm2022}/lib/pg-components/tabs/index.mjs +0 -0
  129. /package/{esm2020 → esm2022}/lib/pg-components/util/convert.mjs +0 -0
  130. /package/{esm2020 → esm2022}/lib/pg-components/util/request-animation.mjs +0 -0
  131. /package/{esm2020 → esm2022}/natec-mef-dev-ui-kit.mjs +0 -0
  132. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
@@ -1,60 +1,241 @@
1
1
  import { ElementRef, TemplateRef, EventEmitter } from "@angular/core";
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * Component representing a custom card.
5
+ * It provides various styling and animation options for the card layout.
6
+ *
7
+ * Example usage:
8
+ * ```
9
+ * <pgcard [Title]="'Card Title'" [Type]="'default'" [MinimalHeader]="false" [ProgressType]="'circle'">
10
+ * Card content goes here...
11
+ * </pgcard>
12
+ * ```
13
+ */
3
14
  export declare class pgCard {
15
+ /**
16
+ * Indicates whether the card is collapsed or not.
17
+ * Default: false
18
+ */
4
19
  _isCollapsed: boolean;
20
+ /**
21
+ * Indicates whether the card is maximized or not.
22
+ * Default: false
23
+ */
5
24
  _isMaximixed: boolean;
25
+ /**
26
+ * Indicates whether the card is in loading state or not.
27
+ * Default: false
28
+ */
6
29
  _isLoading: boolean;
30
+ /**
31
+ * Indicates whether the card has a minimal header or not.
32
+ * Default: false
33
+ */
7
34
  _minimalHeader: boolean;
35
+ /**
36
+ * The message to be displayed in the card.
37
+ */
8
38
  _message: string;
39
+ /**
40
+ * The type of message to be displayed in the card (e.g., success, danger, warning).
41
+ * Default: "danger"
42
+ */
9
43
  _messageType: string;
44
+ /**
45
+ * Indicates whether the message in the card is visible or not.
46
+ * Default: false
47
+ */
10
48
  _messageVisible: boolean;
49
+ /**
50
+ * The type of progress indicator to be displayed in the card (e.g., circle, bar, none).
51
+ * Default: "circle"
52
+ */
11
53
  _progressType: string;
54
+ /**
55
+ * The color of the progress indicator in the card.
56
+ */
12
57
  _progressColor: string;
58
+ /**
59
+ * Indicates whether the tools (e.g., refresh, close, maximize) are shown in the card header or not.
60
+ * Default: true
61
+ */
13
62
  _showTools: boolean;
14
63
  _close_card: boolean;
15
64
  _refresh: boolean;
16
65
  _refreshColor: string;
66
+ /**
67
+ * Indicates whether the close button in the card is visible or not.
68
+ * Default: true
69
+ */
17
70
  _close: boolean;
71
+ /**
72
+ * Indicates whether the toggle button in the card is visible or not.
73
+ * Default: true
74
+ */
18
75
  _toggle: boolean;
76
+ /**
77
+ * Indicates whether the maximize button in the card is visible or not.
78
+ * Default: true
79
+ */
19
80
  _maximize: boolean;
81
+ /**
82
+ * The timeout value in milliseconds for the loading state of the card.
83
+ * If set to 0, the loading state will not automatically turn off.
84
+ * Default: 0
85
+ */
20
86
  _timeout: number;
87
+ /**
88
+ * The title text to be displayed in the card header.
89
+ */
21
90
  _titleText: string;
91
+ /**
92
+ * The border style of the card.
93
+ */
22
94
  _card_border_style: string;
95
+ /**
96
+ * The type of the card (e.g., default, bordered, minimal).
97
+ * Default: "default"
98
+ */
23
99
  _type: string;
100
+ /**
101
+ * Additional CSS class(es) to be added to the card header.
102
+ */
24
103
  _extraHeaderClass: string;
104
+ /**
105
+ * Additional CSS class(es) to be added to the card body.
106
+ */
25
107
  _extraBodyClass: string;
108
+ /**
109
+ * Additional CSS class(es) to be added to the card.
110
+ */
26
111
  _additionalClasses: string;
112
+ /**
113
+ * ViewChild reference to the host content element.
114
+ */
27
115
  _hostContent: ElementRef;
116
+ /**
117
+ * ViewChild reference to the minimal circle loading element.
118
+ */
28
119
  minimalCircleLoading: ElementRef;
120
+ /**
121
+ * ViewChild reference to the minimal circle loading trigger element.
122
+ */
29
123
  minimalCircleLoadingTrigger: ElementRef;
124
+ /**
125
+ * ContentChild reference to the CardTitle template.
126
+ */
30
127
  CardTitle: TemplateRef<void>;
128
+ /**
129
+ * ContentChild reference to the CardExtraControls template.
130
+ */
31
131
  CardExtraControls: TemplateRef<void>;
132
+ /**
133
+ * The title text to be displayed in the card header.
134
+ */
32
135
  set Title(value: string);
33
136
  get Title(): string;
137
+ /**
138
+ * The type of the card (e.g., default, bordered, minimal).
139
+ * Default: "default"
140
+ */
34
141
  set Type(value: string);
142
+ /**
143
+ * Indicates whether the card has a minimal header or not.
144
+ * Default: false
145
+ */
35
146
  set MinimalHeader(value: boolean);
147
+ /**
148
+ * The type of progress indicator to be displayed in the card (e.g., circle, bar, none).
149
+ * Default: "circle"
150
+ */
36
151
  set ProgressType(value: string);
152
+ /**
153
+ * The color of the progress indicator in the card.
154
+ */
37
155
  set ProgressColor(value: string);
156
+ /**
157
+ * Indicates whether the card should have a refresh button or not.
158
+ */
38
159
  set Refresh(value: boolean);
160
+ /**
161
+ * The color of the refresh button in the card (e.g., light, dark).
162
+ * Default: "light"
163
+ */
39
164
  set RefreshColor(value: string);
165
+ /**
166
+ * Indicates whether the card should have a maximize button or not.
167
+ */
40
168
  set Maximize(value: boolean);
169
+ /**
170
+ * Indicates whether the card should have a close button or not.
171
+ */
41
172
  set Close(value: boolean);
173
+ /**
174
+ * Indicates whether the card should have a toggle button or not.
175
+ */
42
176
  set Toggle(value: boolean);
177
+ /**
178
+ * Additional CSS class(es) to be added to the card header.
179
+ */
43
180
  set HeaderClass(value: string);
181
+ /**
182
+ * Additional CSS class(es) to be added to the card body.
183
+ */
44
184
  set BodyClass(value: string);
185
+ /**
186
+ * Additional CSS class(es) to be added to the card.
187
+ */
45
188
  set AdditionalClasses(value: string);
189
+ /**
190
+ * Indicates whether the tools (e.g., refresh, close, maximize) are shown in the card header or not.
191
+ */
46
192
  set Controls(value: boolean);
193
+ /**
194
+ * Indicates whether the message in the card is visible or not.
195
+ */
47
196
  set ShowMessage(value: boolean);
197
+ /**
198
+ * The message text to be displayed in the card.
199
+ */
48
200
  set Message(value: string);
201
+ /**
202
+ * Indicates whether the loading indicator is shown in the card or not.
203
+ */
49
204
  set Loading(value: boolean);
205
+ /**
206
+ * The timeout duration for the loading indicator (in milliseconds).
207
+ * If set to 0, the loading indicator will be displayed indefinitely until manually dismissed.
208
+ * Default: 0
209
+ */
50
210
  set TimeOut(value: number);
211
+ /**
212
+ * The border style of the card.
213
+ */
51
214
  set CardBorderStyle(value: string);
215
+ /**
216
+ * Event emitted when the refresh button is clicked.
217
+ */
52
218
  onRefresh: EventEmitter<void>;
219
+ /**
220
+ * Toggles the collapsed state of the card.
221
+ */
53
222
  toggle(): void;
223
+ /**
224
+ * Maximizes or restores the card to its original position.
225
+ */
54
226
  maximize(): void;
227
+ /**
228
+ * Dismisses the message in the card.
229
+ */
55
230
  alertDismiss(): void;
231
+ /**
232
+ * Triggers the refresh action of the card.
233
+ */
56
234
  refresh(): void;
235
+ /**
236
+ * Closes the card.
237
+ */
57
238
  close(): void;
58
239
  static ɵfac: i0.ɵɵFactoryDeclaration<pgCard, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<pgCard, "pgcard", never, { "Title": "Title"; "Type": "Type"; "MinimalHeader": "MinimalHeader"; "ProgressType": "ProgressType"; "ProgressColor": "ProgressColor"; "Refresh": "Refresh"; "RefreshColor": "RefreshColor"; "Maximize": "Maximize"; "Close": "Close"; "Toggle": "Toggle"; "HeaderClass": "HeaderClass"; "BodyClass": "BodyClass"; "AdditionalClasses": "AdditionalClasses"; "Controls": "Controls"; "ShowMessage": "ShowMessage"; "Message": "Message"; "Loading": "Loading"; "TimeOut": "TimeOut"; "CardBorderStyle": "CardBorderStyle"; }, { "onRefresh": "onRefresh"; }, ["CardTitle", "CardExtraControls"], ["*"], false>;
240
+ static ɵcmp: i0.ɵɵComponentDeclaration<pgCard, "pgcard", never, { "Title": { "alias": "Title"; "required": false; }; "Type": { "alias": "Type"; "required": false; }; "MinimalHeader": { "alias": "MinimalHeader"; "required": false; }; "ProgressType": { "alias": "ProgressType"; "required": false; }; "ProgressColor": { "alias": "ProgressColor"; "required": false; }; "Refresh": { "alias": "Refresh"; "required": false; }; "RefreshColor": { "alias": "RefreshColor"; "required": false; }; "Maximize": { "alias": "Maximize"; "required": false; }; "Close": { "alias": "Close"; "required": false; }; "Toggle": { "alias": "Toggle"; "required": false; }; "HeaderClass": { "alias": "HeaderClass"; "required": false; }; "BodyClass": { "alias": "BodyClass"; "required": false; }; "AdditionalClasses": { "alias": "AdditionalClasses"; "required": false; }; "Controls": { "alias": "Controls"; "required": false; }; "ShowMessage": { "alias": "ShowMessage"; "required": false; }; "Message": { "alias": "Message"; "required": false; }; "Loading": { "alias": "Loading"; "required": false; }; "TimeOut": { "alias": "TimeOut"; "required": false; }; "CardBorderStyle": { "alias": "CardBorderStyle"; "required": false; }; }, { "onRefresh": "onRefresh"; }, ["CardTitle", "CardExtraControls"], ["*"], false, never, false>;
60
241
  }
@@ -1,15 +1,50 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * Component representing a progress bar.
4
+ *
5
+ * Example of usage:
6
+ *
7
+ * ```
8
+ * <mefdev-progress type="linear" color="blue" [thick]="true"></mefdev-progress>
9
+ * <mefdev-progress type="circle" color="red" [indeterminate]="true"></mefdev-progress>
10
+ * ```
11
+ */
2
12
  export declare class MefDevProgressComponent {
3
13
  _value: number;
4
14
  _value2: any;
15
+ /**
16
+ * The type of progress bar.
17
+ * Possible values: "linear" | "circle".
18
+ * Default value: "linear".
19
+ */
5
20
  type: string;
21
+ /**
22
+ * The color of the progress bar.
23
+ * Possible values: any valid CSS color value.
24
+ * Default value: none.
25
+ */
6
26
  color: string;
27
+ /**
28
+ * Determines whether the progress bar is thick.
29
+ * Default value: false.
30
+ */
7
31
  thick: boolean;
32
+ /**
33
+ * Determines whether the progress bar is indeterminate.
34
+ * Default value: false.
35
+ */
8
36
  indeterminate: boolean;
37
+ /**
38
+ * The value of the progress bar.
39
+ * For the "circle" type, it should be a number between 0 and 100.
40
+ */
9
41
  set value(value: number);
10
42
  get value(): number;
43
+ /**
44
+ * Additional value property.
45
+ */
11
46
  get value2(): any;
12
47
  constructor();
13
48
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevProgressComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<MefDevProgressComponent, "mefdev-progress", never, { "type": "type"; "color": "color"; "thick": "thick"; "indeterminate": "indeterminate"; "value": "value"; }, {}, never, never, false>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<MefDevProgressComponent, "mefdev-progress", never, { "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "thick": { "alias": "thick"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never, false>;
15
50
  }
@@ -3,22 +3,52 @@ import { MefDevSelectComponent } from "./select.component";
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * @skipTemplateDoc true
6
+ * Component for representing an option in a dropdown list.
7
+ *
8
+ *```
9
+ * <mefdev-select>
10
+ * <mefdev-option Value="1" Label="Option 1"></mefdev-option>
11
+ * <mefdev-option Value="2" Label="Option 2"></mefdev-option>
12
+ * <mefdev-option Value="3" Label="Option 3"></mefdev-option>
13
+ * </mefdev-select>
14
+ *```
15
+ *
6
16
  */
7
17
  export declare class MefDevOptionComponent implements OnDestroy, OnInit {
8
18
  private _Select;
9
19
  private _disabled;
10
20
  _value: string;
11
21
  _label: string;
22
+ /**
23
+ * Template for the content of the option.
24
+ */
12
25
  OptionTemplate: any;
26
+ /**
27
+ * The value of the option.
28
+ */
13
29
  set Value(value: string);
14
30
  get Value(): string;
31
+ /**
32
+ * The label of the option.
33
+ */
15
34
  set Label(value: string);
16
35
  get Label(): string;
36
+ /**
37
+ * Indicates whether the option is disabled.
38
+ */
17
39
  set Disabled(value: boolean);
18
40
  get Disabled(): boolean;
19
41
  constructor(_Select: MefDevSelectComponent);
42
+ /**
43
+ * Initialization lifecycle hook.
44
+ * Adds the option to the dropdown list.
45
+ */
20
46
  ngOnInit(): void;
47
+ /**
48
+ * Destruction lifecycle hook.
49
+ * Removes the option from the dropdown list.
50
+ */
21
51
  ngOnDestroy(): void;
22
52
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevOptionComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<MefDevOptionComponent, "mefdev-option", never, { "Value": "Value"; "Label": "Label"; "Disabled": "Disabled"; }, {}, ["OptionTemplate"], ["*"], false>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<MefDevOptionComponent, "mefdev-option", never, { "Value": { "alias": "Value"; "required": false; }; "Label": { "alias": "Label"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; }, {}, ["OptionTemplate"], ["*"], false, never, false>;
24
54
  }
@@ -135,5 +135,5 @@ export declare class MefDevSelectComponent implements OnInit, AfterContentInit,
135
135
  ngAfterContentChecked(): void;
136
136
  private _updateValue;
137
137
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSelectComponent, never>;
138
- static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSelectComponent, "mefdev-select", never, { "Filter": "Filter"; "MaxMultiple": "MaxMultiple"; "FirstDefault": "FirstDefault"; "AllowClear": "AllowClear"; "KeepUnListOptions": "KeepUnListOptions"; "Mode": "Mode"; "Multiple": "Multiple"; "PlaceHolder": "PlaceHolder"; "NotFoundContent": "NotFoundContent"; "Size": "Size"; "ShowSearch": "ShowSearch"; "Tags": "Tags"; "Disabled": "Disabled"; "Open": "Open"; }, { "SearchChange": "SearchChange"; "change": "change"; "OpenChange": "OpenChange"; "ScrollToBottom": "ScrollToBottom"; }, never, never, false>;
138
+ static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSelectComponent, "mefdev-select", never, { "Filter": { "alias": "Filter"; "required": false; }; "MaxMultiple": { "alias": "MaxMultiple"; "required": false; }; "FirstDefault": { "alias": "FirstDefault"; "required": false; }; "AllowClear": { "alias": "AllowClear"; "required": false; }; "KeepUnListOptions": { "alias": "KeepUnListOptions"; "required": false; }; "Mode": { "alias": "Mode"; "required": false; }; "Multiple": { "alias": "Multiple"; "required": false; }; "PlaceHolder": { "alias": "PlaceHolder"; "required": false; }; "NotFoundContent": { "alias": "NotFoundContent"; "required": false; }; "Size": { "alias": "Size"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "Tags": { "alias": "Tags"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; "Open": { "alias": "Open"; "required": false; }; }, { "SearchChange": "SearchChange"; "change": "change"; "OpenChange": "OpenChange"; "ScrollToBottom": "ScrollToBottom"; }, never, never, false, never, false>;
139
139
  }
@@ -18,5 +18,5 @@ export declare class MefDevSpecFlowTestComponent implements OnInit {
18
18
  setError(error: any): void;
19
19
  setSuccess(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSpecFlowTestComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSpecFlowTestComponent, "mefdev-spec-flow-test", never, {}, {}, never, never, false>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSpecFlowTestComponent, "mefdev-spec-flow-test", never, {}, {}, never, never, false, never, false>;
22
22
  }
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
6
6
  * @skipTemplateDoc: true
7
7
  * Example of usage:
8
8
  * <example-url>https://mef.dev/ui_kit_demo/view/switch</example-url>
9
- */
9
+ */
10
10
  export declare class MefDevSwitchComponent implements OnInit, ControlValueAccessor {
11
11
  private _disabled;
12
12
  _prefixCls: string;
@@ -15,22 +15,171 @@ export declare class MefDevSwitchComponent implements OnInit, ControlValueAccess
15
15
  _classMap: any;
16
16
  _size: string;
17
17
  _checked: boolean;
18
+ /**
19
+ * Event emitted when the value of the switch changes.
20
+ *
21
+ * @output
22
+ * @param value The new value of the switch.
23
+ *
24
+ * Usage example:
25
+ * ```
26
+ * <mefdev-switch (onChange)="handleSwitchChange($event)"></mefdev-switch>
27
+ * ```
28
+ */
18
29
  onChange: (value: boolean) => void;
19
30
  onTouched: () => void;
31
+ /**
32
+ * Sets the value of the switch.
33
+ *
34
+ * @input
35
+ * @param value The value of the switch.
36
+ *
37
+ * Usage example:
38
+ * ```
39
+ * <mefdev-switch [Value]="true"></mefdev-switch>
40
+ * ```
41
+ */
20
42
  set Value(value: boolean);
43
+ /**
44
+ * Sets the size of the switch.
45
+ *
46
+ * @input
47
+ * @param value The size of the switch (e.g., "small", "large").
48
+ *
49
+ * Usage example:
50
+ * ```
51
+ * <mefdev-switch [Size]="'small'"></mefdev-switch>
52
+ * ```
53
+ */
21
54
  set Size(value: string);
55
+ /**
56
+ * Sets the color of the switch.
57
+ *
58
+ * @input
59
+ * @param value The color of the switch (e.g., "primary", "secondary").
60
+ *
61
+ * Usage example:
62
+ * ```
63
+ * <mefdev-switch [Color]="'primary'"></mefdev-switch>
64
+ * ```
65
+ */
22
66
  set Color(value: string);
67
+ /**
68
+ * Gets the current size of the switch.
69
+ *
70
+ * @input
71
+ * @returns The size of the switch.
72
+ *
73
+ * Usage example:
74
+ * ```
75
+ * const size = mySwitchComponent.Size;
76
+ * ```
77
+ */
23
78
  get Size(): string;
79
+ /**
80
+ * Sets the disabled state of the switch.
81
+ *
82
+ * @input
83
+ * @param value The disabled state of the switch.
84
+ *
85
+ * Usage example:
86
+ * ```
87
+ * <mefdev-switch [Disabled]="true"></mefdev-switch>
88
+ * ```
89
+ */
24
90
  set Disabled(value: boolean);
91
+ /**
92
+ * Gets the current disabled state of the switch.
93
+ *
94
+ * @input
95
+ * @returns The disabled state of the switch.
96
+ *
97
+ * Usage example:
98
+ * ```
99
+ * const disabled = mySwitchComponent.Disabled;
100
+ * ```
101
+ */
25
102
  get Disabled(): boolean;
103
+ /**
104
+ * Handles the click event of the switch.
105
+ *
106
+ * @param e The click event object.
107
+ *
108
+ * Usage example:
109
+ * ```
110
+ * <mefdev-switch (click)="handleSwitchClick($event)"></mefdev-switch>
111
+ * ```
112
+ */
26
113
  onClick(e: MouseEvent): void;
114
+ /**
115
+ * Updates the value of the switch.
116
+ *
117
+ * @param value The new value of the switch.
118
+ *
119
+ * Usage example:
120
+ * ```
121
+ * this.updateValue(true);
122
+ * ```
123
+ */
27
124
  updateValue(value: boolean): void;
125
+ /**
126
+ * Sets the class map for the switch.
127
+ *
128
+ * Usage example:
129
+ * ```
130
+ * this.setClassMap();
131
+ * ```
132
+ */
28
133
  setClassMap(): void;
134
+ /**
135
+ * Writes a new value to the switch.
136
+ *
137
+ * @param value The new value of the switch.
138
+ *
139
+ * Usage example:
140
+ * ```
141
+ * this.writeValue(true);
142
+ * ```
143
+ */
29
144
  writeValue(value: boolean): void;
145
+ /**
146
+ * Registers a callback function to be executed when the switch value changes.
147
+ *
148
+ * @param fn The callback function.
149
+ *
150
+ * Usage example:
151
+ * ```
152
+ * this.registerOnChange(value => {
153
+ * // Do something with the new value
154
+ * });
155
+ * ```
156
+ */
30
157
  registerOnChange(fn: (_: boolean) => void): void;
158
+ /**
159
+ * Registers a callback function to be executed when the switch is touched.
160
+ *
161
+ * @param fn The callback function.
162
+ *
163
+ * Usage example:
164
+ * ```
165
+ * this.registerOnTouched(() => {
166
+ * // Do something when the switch is touched
167
+ * });
168
+ * ```
169
+ */
31
170
  registerOnTouched(fn: () => void): void;
171
+ /**
172
+ * Sets the disabled state of the switch.
173
+ *
174
+ * @param isDisabled The disabled state of the switch.
175
+ *
176
+ * Usage example:
177
+ * ```
178
+ * this.setDisabledState(true);
179
+ * ```
180
+ */
32
181
  setDisabledState(isDisabled: boolean): void;
33
182
  ngOnInit(): void;
34
183
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSwitchComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSwitchComponent, "mefdev-switch", never, { "Value": "Value"; "Size": "Size"; "Color": "Color"; "Disabled": "Disabled"; }, { "onChange": "onChange"; }, never, ["[checked]", "[unchecked]"], false>;
184
+ static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSwitchComponent, "mefdev-switch", never, { "Value": { "alias": "Value"; "required": false; }; "Size": { "alias": "Size"; "required": false; }; "Color": { "alias": "Color"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; }, { "onChange": "onChange"; }, never, ["[checked]", "[unchecked]"], false, never, false>;
36
185
  }
@@ -1,7 +1,13 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * Component representing the body of a tab, which displays the tab's content.
5
+ */
3
6
  export declare class MefDevTabBodyComponent {
7
+ /**
8
+ * The content of the tab, which can be passed as a template.
9
+ */
4
10
  content: TemplateRef<void>;
5
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevTabBodyComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<MefDevTabBodyComponent, "mefdev-tab-body", never, { "content": "content"; }, {}, never, never, false>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<MefDevTabBodyComponent, "mefdev-tab-body", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never, false>;
7
13
  }
@@ -11,5 +11,5 @@ export declare class MefDevTabLabelDirective {
11
11
  getOffsetTop(): number;
12
12
  getOffsetHeight(): number;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevTabLabelDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<MefDevTabLabelDirective, "[pg-tab-label]", never, { "disabled": "disabled"; }, {}, never, never, false>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MefDevTabLabelDirective, "[pg-tab-label]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never, false>;
15
15
  }
@@ -6,17 +6,62 @@ export declare class MefDevTabComponent implements OnDestroy, OnInit {
6
6
  private disabled;
7
7
  position: number | null;
8
8
  origin: number | null;
9
+ /**
10
+ * Sets the disabled state of the tab.
11
+ *```html
12
+ * <mefdev-tab [Disabled]="true"></mefdev-tab>
13
+ * ```
14
+ */
9
15
  set Disabled(value: boolean);
16
+ /**
17
+ * Gets the disabled state of the tab.
18
+ */
10
19
  get Disabled(): boolean;
20
+ /**
21
+ * Event emitted when the tab is selected.
22
+ *```html
23
+ * <mefdev-tab (pgSelect)="onTabSelect()"></mefdev-tab>
24
+ * ```
25
+ */
11
26
  pgSelect: EventEmitter<any>;
27
+ /**
28
+ * Event emitted when the tab is clicked.
29
+ *```html
30
+ * <mefdev-tab (pgClick)="onTabClick()"></mefdev-tab>
31
+ * ```
32
+ */
12
33
  pgClick: EventEmitter<any>;
34
+ /**
35
+ * Event emitted when the tab is deselected.
36
+ *```html
37
+ * <mefdev-tab (pgDeselect)="onTabDeselect()"></mefdev-tab>
38
+ *```
39
+ */
13
40
  pgDeselect: EventEmitter<any>;
41
+ /**
42
+ * Reference to the template for the tab heading.
43
+ */
14
44
  _tabHeading: TemplateRef<void>;
45
+ /**
46
+ * Reference to the template for the tab content.
47
+ */
15
48
  _content: TemplateRef<void>;
49
+ /**
50
+ * Gets the template for the tab content.
51
+ *```html
52
+ * <ng-container *ngTemplateOutlet="content"></ng-container>
53
+ *```
54
+ */
16
55
  get content(): TemplateRef<void> | null;
17
56
  constructor(MefDevTabSetComponent: MefDevTabSetComponent);
57
+ /**
58
+ * Initializes the tab component.
59
+ */
18
60
  ngOnInit(): void;
61
+ /**
62
+ * Cleans up resources when the tab component is destroyed.
63
+ */
19
64
  ngOnDestroy(): void;
20
65
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevTabComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<MefDevTabComponent, "mefdev-tab", never, { "Disabled": "Disabled"; }, { "pgSelect": "pgSelect"; "pgClick": "pgClick"; "pgDeselect": "pgDeselect"; }, ["_tabHeading"], ["*"], false>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<MefDevTabComponent, "mefdev-tab", never, { "Disabled": { "alias": "Disabled"; "required": false; }; }, { "pgSelect": "pgSelect"; "pgClick": "pgClick"; "pgDeselect": "pgDeselect"; }, ["_tabHeading"], ["*"], false, never, false>;
22
67
  }
@@ -1,6 +1,6 @@
1
1
  import { ElementRef, NgZone, Renderer2 } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare type TabPositionMode = 'horizontal' | 'vertical';
3
+ export type TabPositionMode = 'horizontal' | 'vertical';
4
4
  export declare class MefDevTabsInkBarDirective {
5
5
  private _renderer;
6
6
  private _elementRef;
@@ -19,5 +19,5 @@ export declare class MefDevTabsInkBarDirective {
19
19
  _getTopPosition(element: HTMLElement): string;
20
20
  _getElementHeight(element: HTMLElement): string;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<MefDevTabsInkBarDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<MefDevTabsInkBarDirective, "[pg-tabs-ink-bar]", never, { "Animated": "Animated"; "PositionMode": "PositionMode"; }, {}, never, never, false>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MefDevTabsInkBarDirective, "[pg-tabs-ink-bar]", never, { "Animated": { "alias": "Animated"; "required": false; }; "PositionMode": { "alias": "PositionMode"; "required": false; }; }, {}, never, never, false, never, false>;
23
23
  }