mis-crystal-design-system 18.0.16 → 18.0.17-test-2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mis-crystal-design-system",
3
- "version": "18.0.16",
3
+ "version": "18.0.17-test-2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "*",
6
6
  "@angular/core": "*",
@@ -40,6 +40,12 @@
40
40
  "esm": "./esm2022/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs",
41
41
  "default": "./fesm2022/mis-crystal-design-system-async-search-dropdown.mjs"
42
42
  },
43
+ "./chip": {
44
+ "types": "./chip/index.d.ts",
45
+ "esm2022": "./esm2022/chip/mis-crystal-design-system-chip.mjs",
46
+ "esm": "./esm2022/chip/mis-crystal-design-system-chip.mjs",
47
+ "default": "./fesm2022/mis-crystal-design-system-chip.mjs"
48
+ },
43
49
  "./checkbox": {
44
50
  "types": "./checkbox/index.d.ts",
45
51
  "esm2022": "./esm2022/checkbox/mis-crystal-design-system-checkbox.mjs",
@@ -52,12 +58,6 @@
52
58
  "esm": "./esm2022/button/mis-crystal-design-system-button.mjs",
53
59
  "default": "./fesm2022/mis-crystal-design-system-button.mjs"
54
60
  },
55
- "./chip": {
56
- "types": "./chip/index.d.ts",
57
- "esm2022": "./esm2022/chip/mis-crystal-design-system-chip.mjs",
58
- "esm": "./esm2022/chip/mis-crystal-design-system-chip.mjs",
59
- "default": "./fesm2022/mis-crystal-design-system-chip.mjs"
60
- },
61
61
  "./datepicker_v2": {
62
62
  "types": "./datepicker_v2/index.d.ts",
63
63
  "esm2022": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
@@ -226,18 +226,18 @@
226
226
  "esm": "./esm2022/toast/mis-crystal-design-system-toast.mjs",
227
227
  "default": "./fesm2022/mis-crystal-design-system-toast.mjs"
228
228
  },
229
- "./utils": {
230
- "types": "./utils/index.d.ts",
231
- "esm2022": "./esm2022/utils/mis-crystal-design-system-utils.mjs",
232
- "esm": "./esm2022/utils/mis-crystal-design-system-utils.mjs",
233
- "default": "./fesm2022/mis-crystal-design-system-utils.mjs"
234
- },
235
229
  "./tooltip": {
236
230
  "types": "./tooltip/index.d.ts",
237
231
  "esm2022": "./esm2022/tooltip/mis-crystal-design-system-tooltip.mjs",
238
232
  "esm": "./esm2022/tooltip/mis-crystal-design-system-tooltip.mjs",
239
233
  "default": "./fesm2022/mis-crystal-design-system-tooltip.mjs"
240
234
  },
235
+ "./utils": {
236
+ "types": "./utils/index.d.ts",
237
+ "esm2022": "./esm2022/utils/mis-crystal-design-system-utils.mjs",
238
+ "esm": "./esm2022/utils/mis-crystal-design-system-utils.mjs",
239
+ "default": "./fesm2022/mis-crystal-design-system-utils.mjs"
240
+ },
241
241
  "./virtual-scroll": {
242
242
  "types": "./virtual-scroll/index.d.ts",
243
243
  "esm2022": "./esm2022/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs",
@@ -1,29 +1,28 @@
1
1
  import { OnInit, EventEmitter } from "@angular/core";
2
- import { AbstractControl, ControlValueAccessor } from "@angular/forms";
2
+ import { AbstractControl } from "@angular/forms";
3
3
  import * as i0 from "@angular/core";
4
- export declare class RadioButtonComponent implements OnInit, ControlValueAccessor {
4
+ export declare class RadioButtonComponent implements OnInit {
5
+ /** When multiple radio input fields are used
6
+ * an "id" can be given to keep track of them */
5
7
  id: string | number;
8
+ /** Name of the attribute for which the radio
9
+ * selection is provided */
6
10
  name: string | number;
11
+ /** Value of the attribute which is to be emitted
12
+ * when selected */
7
13
  value: string | number;
8
- set disabled(value: boolean);
9
- get disabled(): boolean;
10
- set formControl(control: AbstractControl | null);
11
- get formControl(): AbstractControl;
12
- private _formControl;
14
+ /** Controls the state of the radio button */
15
+ disabled: boolean;
16
+ /** Can be used to attach the radio input field
17
+ * to a reactive form by passing in a
18
+ * “FormControl“ Object. It can also be
19
+ * used to set the default attribute value */
20
+ formControl: AbstractControl;
21
+ /** Emits "value" of the radio button on selection */
13
22
  valueChange: EventEmitter<any>;
14
- private _value;
15
- private _disabled;
16
- private onChange;
17
- onTouched: () => void;
18
23
  constructor();
19
24
  ngOnInit(): void;
20
- writeValue(value: any): void;
21
- registerOnChange(fn: any): void;
22
- registerOnTouched(fn: any): void;
23
- setDisabledState(isDisabled: boolean): void;
24
- onInputChange(event: any): void;
25
- get currentValue(): any;
26
- markAsTouched(): void;
25
+ onChange(event: any): void;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
28
27
  static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "mis-radio", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
29
28
  }
@@ -1,498 +0,0 @@
1
- @font-face {
2
- font-family: 'mis-icons';
3
- src: url('fonts/mis-icons.eot?nvmskr');
4
- src: url('fonts/mis-icons.eot?nvmskr#iefix') format('embedded-opentype'),
5
- url('fonts/mis-icons.ttf?nvmskr') format('truetype'),
6
- url('fonts/mis-icons.woff?nvmskr') format('woff'),
7
- url('fonts/mis-icons.svg?nvmskr#mis-icons') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
10
- font-display: block;
11
- }
12
-
13
- [class^="ic-"],
14
- [class*=" ic-"] {
15
- /* use !important to prevent issues with browser extensions that change fonts */
16
- font-family: 'mis-icons' !important;
17
- speak: never;
18
- font-style: normal;
19
- font-weight: normal;
20
- font-variant: normal;
21
- text-transform: none;
22
- line-height: 1;
23
-
24
- /* Better Font Rendering =========== */
25
- -webkit-font-smoothing: antialiased;
26
- -moz-osx-font-smoothing: grayscale;
27
- }
28
-
29
- .ic-navigation-arrow-left-24:before {
30
- content: "\e900";
31
- }
32
-
33
- .ic-navigation-arrow-right-24:before {
34
- content: "\e901";
35
- }
36
-
37
- .ic-action-filter-16:before {
38
- content: "\e902";
39
- }
40
-
41
- .ic-selection-Checkboxes-Active-selected .path1:before {
42
- content: "\e903";
43
- color: rgb(9, 55, 178);
44
- }
45
-
46
- .ic-selection-Checkboxes-Active-selected .path2:before {
47
- content: "\e904";
48
- margin-left: -1em;
49
- color: rgb(255, 255, 255);
50
- }
51
-
52
- .ic-selection-switch-Off-Enabled-24 .path1:before {
53
- content: "\e905";
54
- color: rgb(245, 245, 245);
55
- }
56
-
57
- .ic-selection-switch-Off-Enabled-24 .path2:before {
58
- content: "\e906";
59
- margin-left: -1em;
60
- color: rgb(255, 255, 255);
61
- }
62
-
63
- .ic-selection-switch-Off-Disabled-24 .path1:before {
64
- content: "\e907";
65
- color: rgb(224, 224, 224);
66
- }
67
-
68
- .ic-selection-switch-Off-Disabled-24 .path2:before {
69
- content: "\e908";
70
- margin-left: -1em;
71
- color: rgb(255, 255, 255);
72
- }
73
-
74
- .ic-selection-switch-On-Disabled-24 .path1:before {
75
- content: "\e909";
76
- color: rgb(224, 224, 224);
77
- }
78
-
79
- .ic-selection-switch-On-Disabled-24 .path2:before {
80
- content: "\e90a";
81
- margin-left: -1em;
82
- color: rgb(255, 255, 255);
83
- }
84
-
85
- .ic-selection-switch-On-Disabled-24 .path3:before {
86
- content: "\e90b";
87
- margin-left: -1em;
88
- color: rgb(146, 157, 171);
89
- }
90
-
91
- .ic-selection-switch-On-Enabled-24 .path1:before {
92
- content: "\e90c";
93
- color: rgb(224, 224, 224);
94
- }
95
-
96
- .ic-selection-switch-On-Enabled-24 .path2:before {
97
- content: "\e90d";
98
- margin-left: -1em;
99
- color: rgb(255, 255, 255);
100
- }
101
-
102
- .ic-selection-switch-On-Enabled-24 .path3:before {
103
- content: "\e90e";
104
- margin-left: -1em;
105
- color: rgb(9, 55, 178);
106
- }
107
-
108
- .ic-selection-radio-Disabled-Unselected-24:before {
109
- content: "\e90f";
110
- color: #929dab;
111
- }
112
-
113
- .ic-selection-radio-Active-Unselected-24:before {
114
- content: "\e910";
115
- color: #6a737d;
116
- }
117
-
118
- .ic-selection-radio-Disabled-Selected-24:before {
119
- content: "\e911";
120
- color: #929dab;
121
- }
122
-
123
- .ic-selection-radio-Active-Selected-24:before {
124
- content: "\e912";
125
- color: #0937b2;
126
- }
127
-
128
- .ic-selection-checkbox-Disabled-Neutral-24:before {
129
- content: "\e913";
130
- color: #929dab;
131
- }
132
-
133
- .ic-selection-checkbox-Active-Neutral-24 .path1:before {
134
- content: "\e914";
135
- color: rgb(9, 55, 178);
136
- }
137
-
138
- .ic-selection-checkbox-Active-Neutral-24 .path2:before {
139
- content: "\e915";
140
- margin-left: -1em;
141
- color: rgb(255, 255, 255);
142
- }
143
-
144
- .ic-selection-checkbox-disabled-selected-24 .path1:before {
145
- content: "\e918";
146
- color: rgb(200, 205, 211);
147
- }
148
-
149
- .ic-selection-checkbox-disabled-selected-24 .path2:before {
150
- content: "\e919";
151
- margin-left: -1em;
152
- color: rgb(255, 255, 255);
153
- }
154
-
155
- .ic-navigation-cancel-24:before {
156
- content: "\e91a";
157
- }
158
-
159
- .ic-navigation-chevron-right-24:before {
160
- content: "\e91b";
161
- }
162
-
163
- .ic-navigation-chevron-left-24:before {
164
- content: "\e91c";
165
- }
166
-
167
- .ic-navigation-drop-down-24:before {
168
- content: "\e91d";
169
- }
170
-
171
- .ic-navigation-expand-less-24:before {
172
- content: "\e91e";
173
- }
174
-
175
- .ic-action-cached-24:before {
176
- content: "\e91f";
177
- }
178
-
179
- .ic-ui-download-24:before {
180
- content: "\e920";
181
- color: #0937b2;
182
- }
183
-
184
- .ic-ui-location-24:before {
185
- content: "\e921";
186
- }
187
-
188
- .ic-ui-location-searching-24:before {
189
- content: "\e922";
190
- }
191
-
192
- .ic-ui-contact-support-24:before {
193
- content: "\e923";
194
- }
195
-
196
- .ic-ui-trend-up-24:before {
197
- content: "\e924";
198
- color: #4caf50;
199
- }
200
-
201
- .ic-ui-error-24:before {
202
- content: "\e925";
203
- color: #b00020;
204
- }
205
-
206
- .ic-ui-trend-down-24:before {
207
- content: "\e926";
208
- color: #b00020;
209
- }
210
-
211
- .ic-ui-success-24:before {
212
- content: "\e927";
213
- color: #4caf50;
214
- }
215
-
216
- .ic-ui-check-24:before {
217
- content: "\e928";
218
- }
219
-
220
- .ic-ui-warning-24:before {
221
- content: "\e929";
222
- color: #ff9d00;
223
- }
224
-
225
- .ic-rep-stay_primary_portrait-24:before {
226
- content: "\e92a";
227
- }
228
-
229
- .ic-rep-email-24:before {
230
- content: "\e92b";
231
- }
232
-
233
- .ic-rep-night-24:before {
234
- content: "\e92c";
235
- color: #929dab;
236
- }
237
-
238
- .ic-rep-cab-24:before {
239
- content: "\e92e";
240
- }
241
-
242
- .ic-rep-local_parking-24:before {
243
- content: "\e92f";
244
- }
245
-
246
- .ic-rep-restaurant-24:before {
247
- content: "\e930";
248
- }
249
-
250
- .ic-rep-calendar2-24:before {
251
- content: "\e931";
252
- }
253
-
254
- .ic-rep-home-24:before {
255
- content: "\e932";
256
- }
257
-
258
- .ic-rep-qr-24:before {
259
- content: "\e933";
260
- }
261
-
262
- .ic-rep-calender-24:before {
263
- content: "\e934";
264
- }
265
-
266
- .ic-rep-bus-24:before {
267
- content: "\e935";
268
- }
269
-
270
- .ic-rep-team-24:before {
271
- content: "\e936";
272
- }
273
-
274
- .ic-rep-office-24:before {
275
- content: "\e937";
276
- }
277
-
278
- .ic-sidebar-home-24:before {
279
- content: "\e938";
280
- }
281
-
282
- .ic-side-bar-work-planner-24:before {
283
- content: "\e93a";
284
- }
285
-
286
- .ic-side-bar-office-24:before {
287
- content: "\e93b";
288
- }
289
-
290
- .ic-side-bar-seat-mgmt-24:before {
291
- content: "\e93c";
292
- }
293
-
294
- .ic-sidebar-floor-plan-24:before {
295
- content: "\e93d";
296
- }
297
-
298
- .ic-side-bar-team-24:before {
299
- content: "\e93e";
300
- }
301
-
302
- .ic-side-bar-user-24:before {
303
- content: "\e93f";
304
- }
305
-
306
- .ic-side-bar-qr-mgmt-24:before {
307
- content: "\e940";
308
- }
309
-
310
- .ic-side-bar-utilisation-24:before {
311
- content: "\e941";
312
- }
313
-
314
- .ic-side-bar-settings-24:before {
315
- content: "\e942";
316
- }
317
-
318
- .ic-side-bar-report-24:before {
319
- content: "\e943";
320
- }
321
-
322
- .ic-side-bar-upload-24:before {
323
- content: "\e944";
324
- }
325
-
326
- .ic-side-bar-cancelled-24:before {
327
- content: "\e945";
328
- }
329
-
330
- .ic-side-bar-unplanned-24:before {
331
- content: "\e946";
332
- }
333
-
334
- .ic-side-bar-meetingroom-24:before {
335
- content: "\e947";
336
- }
337
-
338
- .ic-mouse-cursor:before {
339
- content: "\e948";
340
- }
341
-
342
- .ic-mouse-cursor-2 .path1:before {
343
- content: "\e949";
344
- color: rgb(255, 255, 255);
345
- }
346
-
347
- .ic-mouse-cursor-2 .path2:before {
348
- content: "\e94a";
349
- margin-left: -1em;
350
- color: rgb(24, 31, 51);
351
- }
352
-
353
- .ic-action-favorite-24:before {
354
- content: "\e94b";
355
- }
356
-
357
- .ic-action-see-more-24 .path1:before {
358
- content: "\e94c";
359
- color: rgb(224, 224, 224);
360
- }
361
-
362
- .ic-action-see-more-24 .path2:before {
363
- content: "\e94d";
364
- margin-left: -1em;
365
- color: rgb(24, 31, 51);
366
- }
367
-
368
- .ic-action-more-vert-24:before {
369
- content: "\e94e";
370
- }
371
-
372
- .ic-action-search-24:before {
373
- content: "\e94f";
374
- color: #6a737d;
375
- }
376
-
377
- .ic-action-edit-24:before {
378
- content: "\e950";
379
- }
380
-
381
- .ic-action-filter-24:before {
382
- content: "\e951";
383
- }
384
-
385
- .ic-action-visibility-24:before {
386
- content: "\e952";
387
- color: #6a737d;
388
- }
389
-
390
- .ic-action-visibility-off-24:before {
391
- content: "\e953";
392
- color: #6a737d;
393
- }
394
-
395
- .ic-action-qr-24:before {
396
- content: "\e954";
397
- }
398
-
399
- .ic-action-delete-24:before {
400
- content: "\e955";
401
- }
402
-
403
- .ic-action-history-24:before {
404
- content: "\e956";
405
- }
406
-
407
- .ic-action-share-24:before {
408
- content: "\e957";
409
- }
410
-
411
- .ic-action-add-24:before {
412
- content: "\e958";
413
- }
414
-
415
- .ic-action-remove-24:before {
416
- content: "\e959";
417
- }
418
-
419
- .ic-action-download-24:before {
420
- content: "\e95a";
421
- }
422
-
423
- .ic-action-upload-24:before {
424
- content: "\e95b";
425
- }
426
-
427
- .ic-action-logout-24:before {
428
- content: "\e95c";
429
- }
430
-
431
- .ic-action-menu-24:before {
432
- content: "\e95d";
433
- }
434
-
435
- .ic-action-notifications-24:before {
436
- content: "\e95e";
437
- }
438
-
439
- .ic-action-more-horiz-24 .path1:before {
440
- content: "\e95f";
441
- color: rgb(224, 224, 224);
442
- }
443
-
444
- .ic-action-more-horiz-24 .path2:before {
445
- content: "\e960";
446
- margin-left: -1em;
447
- color: rgb(24, 31, 51);
448
- }
449
-
450
- .ic-action-print-24:before {
451
- content: "\e961";
452
- }
453
-
454
- .ic-action-shift-time-24:before {
455
- content: "\e962";
456
- }
457
-
458
- .ic-action-refresh-24:before {
459
- content: "\e963";
460
- }
461
-
462
- .ic-action-invite-24:before {
463
- content: "\e964";
464
- }
465
-
466
- .ic-action-sort-24:before {
467
- content: "\e965";
468
- }
469
-
470
- .ic-plus-5:before {
471
- content: "\e966";
472
- color: #0937b2;
473
- }
474
-
475
- .ic-plus-4:before {
476
- content: "\e967";
477
- color: #0937b2;
478
- }
479
-
480
- .ic-plus-3:before {
481
- content: "\e968";
482
- color: #fff;
483
- }
484
-
485
- .ic-plus-2:before {
486
- content: "\e969";
487
- color: #fff;
488
- }
489
-
490
- .ic-plus-1:before {
491
- content: "\e96a";
492
- color: #fff;
493
- }
494
-
495
- .ic-plus:before {
496
- content: "\e96b";
497
- color: #929dab;
498
- }
@@ -119,6 +119,7 @@ export interface ColConfig {
119
119
  actionItems?: ActionItem[];
120
120
  actionType?: "inline" | "dropdown" | "checkbox";
121
121
  menuAlign?: "left" | "right";
122
+ disable?: (data: any) => boolean;
122
123
  }
123
124
  export interface ActionItem {
124
125
  label: string;