@sd-angular/core 1.3.220 → 1.3.222
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/assets/scss/core/form.scss +30 -3
- package/bundles/sd-angular-core-common.umd.js +23 -0
- package/bundles/sd-angular-core-common.umd.js.map +1 -1
- package/bundles/sd-angular-core-common.umd.min.js +1 -1
- package/bundles/sd-angular-core-common.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.js +7 -3
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.min.js +1 -1
- package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-table.umd.js +188 -181
- package/bundles/sd-angular-core-table.umd.js.map +1 -1
- package/bundles/sd-angular-core-table.umd.min.js +1 -1
- package/bundles/sd-angular-core-table.umd.min.js.map +1 -1
- package/common/sd-angular-core-common.metadata.json +1 -1
- package/common/src/lib/directives/sd-suffix-icon.directive.d.ts +5 -0
- package/common/src/public-api.d.ts +1 -0
- package/esm2015/common/src/lib/common.module.js +4 -1
- package/esm2015/common/src/lib/directives/sd-suffix-icon.directive.js +18 -0
- package/esm2015/common/src/public-api.js +2 -1
- package/esm2015/select/src/lib/select.component.js +9 -4
- package/esm2015/table/src/lib/models/table-configuration.model.js +1 -1
- package/esm2015/table/src/lib/services/table-filter/table-filter.service.js +3 -3
- package/esm2015/table/src/lib/table.component.js +23 -16
- package/fesm2015/sd-angular-core-common.js +20 -1
- package/fesm2015/sd-angular-core-common.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js +8 -4
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/fesm2015/sd-angular-core-table.js +24 -17
- package/fesm2015/sd-angular-core-table.js.map +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-1.3.220.tgz → sd-angular-core-1.3.222.tgz} +0 -0
- package/select/sd-angular-core-select.metadata.json +1 -1
- package/select/src/lib/select.component.d.ts +2 -0
- package/table/sd-angular-core-table.metadata.json +1 -1
- package/table/src/lib/models/table-configuration.model.d.ts +4 -1
- package/table/src/lib/services/table-filter/table-filter.service.d.ts +2 -1
|
@@ -11,6 +11,22 @@
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
|
|
15
|
+
// sdSuffixIcon
|
|
16
|
+
// Directive sdSuffixIcon (truyền icon từ component sử dụng vào Core)
|
|
17
|
+
.sd-suffix-icon.sd-hover {
|
|
18
|
+
visibility: hidden;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Chỉ hiển thị khi được hover
|
|
22
|
+
.mat-form-field-flex {
|
|
23
|
+
&:hover {
|
|
24
|
+
.sd-suffix-icon.sd-hover {
|
|
25
|
+
visibility: visible;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
14
30
|
.mat-form-field-prefix,
|
|
15
31
|
.mat-form-field-suffix {
|
|
16
32
|
display: inline-flex;
|
|
@@ -23,7 +39,6 @@
|
|
|
23
39
|
}
|
|
24
40
|
|
|
25
41
|
.mat-form-field-infix {
|
|
26
|
-
|
|
27
42
|
mat-select.mat-select,
|
|
28
43
|
mat-date-range-input.mat-date-range-input,
|
|
29
44
|
input.mat-input-element {
|
|
@@ -37,6 +52,7 @@
|
|
|
37
52
|
}
|
|
38
53
|
}
|
|
39
54
|
|
|
55
|
+
// Size normal
|
|
40
56
|
&.sd-md {
|
|
41
57
|
&.mat-form-field-appearance-outline {
|
|
42
58
|
.mat-form-field-flex {
|
|
@@ -65,6 +81,17 @@
|
|
|
65
81
|
}
|
|
66
82
|
}
|
|
67
83
|
|
|
84
|
+
.sd-suffix-icons {
|
|
85
|
+
.mat-form-field-suffix {
|
|
86
|
+
mat-icon {
|
|
87
|
+
height: 24px;
|
|
88
|
+
width: 24px;
|
|
89
|
+
font-size: 20px;
|
|
90
|
+
text-align: center;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
68
95
|
&.mat-form-field-can-float {
|
|
69
96
|
&.mat-form-field-should-float {
|
|
70
97
|
.mat-form-field-label {
|
|
@@ -76,7 +103,7 @@
|
|
|
76
103
|
}
|
|
77
104
|
}
|
|
78
105
|
|
|
79
|
-
//
|
|
106
|
+
// Size small
|
|
80
107
|
&.sd-sm {
|
|
81
108
|
&.mat-form-field-appearance-outline {
|
|
82
109
|
.mat-form-field-flex {
|
|
@@ -132,4 +159,4 @@ mat-checkbox {
|
|
|
132
159
|
label.mat-checkbox-layout {
|
|
133
160
|
margin-bottom: 0;
|
|
134
161
|
}
|
|
135
|
-
}
|
|
162
|
+
}
|
|
@@ -1294,6 +1294,25 @@
|
|
|
1294
1294
|
{ type: i0.TemplateRef }
|
|
1295
1295
|
]; };
|
|
1296
1296
|
|
|
1297
|
+
var SD_SUFIX_ICON = new i0.InjectionToken('SdSuffixIconDirective');
|
|
1298
|
+
var SdSuffixIconDirective = /** @class */ (function () {
|
|
1299
|
+
function SdSuffixIconDirective() {
|
|
1300
|
+
}
|
|
1301
|
+
return SdSuffixIconDirective;
|
|
1302
|
+
}());
|
|
1303
|
+
SdSuffixIconDirective.decorators = [
|
|
1304
|
+
{ type: i0.Directive, args: [{
|
|
1305
|
+
selector: '[sdSuffixIcon]',
|
|
1306
|
+
providers: [{ provide: SD_SUFIX_ICON, useExisting: SdSuffixIconDirective }],
|
|
1307
|
+
host: {
|
|
1308
|
+
'[class.sd-suffix-icon]': 'true',
|
|
1309
|
+
'[class.sd-hover]': 'true',
|
|
1310
|
+
'[class.pointer]': 'true',
|
|
1311
|
+
},
|
|
1312
|
+
},] }
|
|
1313
|
+
];
|
|
1314
|
+
SdSuffixIconDirective.ctorParameters = function () { return []; };
|
|
1315
|
+
|
|
1297
1316
|
var SdLabelDefDirective = /** @class */ (function () {
|
|
1298
1317
|
// @Input() sdLableDef: string;
|
|
1299
1318
|
function SdLabelDefDirective(templateRef) {
|
|
@@ -1416,6 +1435,7 @@
|
|
|
1416
1435
|
SdLetDirective,
|
|
1417
1436
|
SdScrollDirective,
|
|
1418
1437
|
SdSuffixDirective,
|
|
1438
|
+
SdSuffixIconDirective,
|
|
1419
1439
|
SdLabelDefDirective
|
|
1420
1440
|
],
|
|
1421
1441
|
exports: [
|
|
@@ -1424,6 +1444,7 @@
|
|
|
1424
1444
|
SdLetDirective,
|
|
1425
1445
|
SdScrollDirective,
|
|
1426
1446
|
SdSuffixDirective,
|
|
1447
|
+
SdSuffixIconDirective,
|
|
1427
1448
|
SdLabelDefDirective
|
|
1428
1449
|
],
|
|
1429
1450
|
providers: []
|
|
@@ -1436,6 +1457,7 @@
|
|
|
1436
1457
|
|
|
1437
1458
|
exports.FIREBASE_CONFIG = FIREBASE_CONFIG;
|
|
1438
1459
|
exports.FORM_CONFIG = FORM_CONFIG;
|
|
1460
|
+
exports.SD_SUFIX_ICON = SD_SUFIX_ICON;
|
|
1439
1461
|
exports.SdBrowserService = SdBrowserService;
|
|
1440
1462
|
exports.SdCommonModule = SdCommonModule;
|
|
1441
1463
|
exports.SdFormControl = SdFormControl;
|
|
@@ -1443,6 +1465,7 @@
|
|
|
1443
1465
|
exports.SdLetDirective = SdLetDirective;
|
|
1444
1466
|
exports.SdScrollDirective = SdScrollDirective;
|
|
1445
1467
|
exports.SdSuffixDirective = SdSuffixDirective;
|
|
1468
|
+
exports.SdSuffixIconDirective = SdSuffixIconDirective;
|
|
1446
1469
|
exports.SdViewDefDirective = SdViewDefDirective;
|
|
1447
1470
|
exports.ɵa = SdForDirective;
|
|
1448
1471
|
|