@sd-angular/core 0.0.1037 → 0.0.1041
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/color.scss +4 -0
- package/badge/sd-angular-core-badge.metadata.json +1 -1
- package/bundles/sd-angular-core-badge.umd.js +2 -2
- package/bundles/sd-angular-core-badge.umd.js.map +1 -1
- package/bundles/sd-angular-core-badge.umd.min.js +1 -1
- package/bundles/sd-angular-core-badge.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-chip.umd.js +40 -9
- package/bundles/sd-angular-core-chip.umd.js.map +1 -1
- package/bundles/sd-angular-core-chip.umd.min.js +2 -2
- package/bundles/sd-angular-core-chip.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-filter.umd.js +703 -0
- package/bundles/sd-angular-core-filter.umd.js.map +1 -0
- package/bundles/sd-angular-core-filter.umd.min.js +2 -0
- package/bundles/sd-angular-core-filter.umd.min.js.map +1 -0
- package/bundles/sd-angular-core-grid-material.umd.js +96 -48
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-setting.umd.js +176 -117
- package/bundles/sd-angular-core-setting.umd.js.map +1 -1
- package/bundles/sd-angular-core-setting.umd.min.js +1 -1
- package/bundles/sd-angular-core-setting.umd.min.js.map +1 -1
- package/bundles/sd-angular-core.umd.js +4 -4
- package/bundles/sd-angular-core.umd.min.js +1 -1
- package/bundles/sd-angular-core.umd.min.js.map +1 -1
- package/chip/sd-angular-core-chip.metadata.json +1 -1
- package/chip/src/lib/chip.component.d.ts +8 -1
- package/esm2015/badge/src/lib/badge.component.js +3 -3
- package/esm2015/chip/src/lib/chip.component.js +33 -3
- package/esm2015/chip/src/lib/chip.module.js +6 -3
- package/esm2015/filter/index.js +2 -0
- package/esm2015/filter/sd-angular-core-filter.js +8 -0
- package/esm2015/filter/src/lib/directives/sd-filter-def.directive.js +22 -0
- package/esm2015/filter/src/lib/filter.component.js +161 -0
- package/esm2015/filter/src/lib/filter.model.js +2 -0
- package/esm2015/filter/src/lib/filter.module.js +47 -0
- package/esm2015/filter/src/lib/filter.service.js +60 -0
- package/esm2015/filter/src/lib/pipes/values-local.pipe.js +19 -0
- package/esm2015/filter/src/lib/pipes/values-server.pipe.js +18 -0
- package/esm2015/filter/src/public-api.js +8 -0
- package/esm2015/grid-material/src/lib/components/column-inline-filter/column-inline-filter.component.js +10 -7
- package/esm2015/grid-material/src/lib/components/quick-action/quick-action.component.js +1 -1
- package/esm2015/grid-material/src/lib/grid-material.component.js +1 -6
- package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
- package/esm2015/grid-material/src/lib/services/generated-column/generated-column.service.js +28 -12
- package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +50 -21
- package/esm2015/public-api.js +2 -1
- package/esm2015/setting/src/lib/setting.model.js +1 -1
- package/esm2015/setting/src/lib/setting.service.js +119 -58
- package/fesm2015/sd-angular-core-badge.js +2 -2
- package/fesm2015/sd-angular-core-badge.js.map +1 -1
- package/fesm2015/sd-angular-core-chip.js +36 -4
- package/fesm2015/sd-angular-core-chip.js.map +1 -1
- package/fesm2015/sd-angular-core-filter.js +323 -0
- package/fesm2015/sd-angular-core-filter.js.map +1 -0
- package/fesm2015/sd-angular-core-grid-material.js +86 -43
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-setting.js +119 -58
- package/fesm2015/sd-angular-core-setting.js.map +1 -1
- package/fesm2015/sd-angular-core.js +1 -0
- package/fesm2015/sd-angular-core.js.map +1 -1
- package/filter/index.d.ts +1 -0
- package/filter/package.json +12 -0
- package/filter/sd-angular-core-filter.d.ts +7 -0
- package/filter/sd-angular-core-filter.metadata.json +1 -0
- package/filter/src/lib/directives/sd-filter-def.directive.d.ts +8 -0
- package/filter/src/lib/filter.component.d.ts +31 -0
- package/filter/src/lib/filter.model.d.ts +105 -0
- package/filter/src/lib/filter.module.d.ts +2 -0
- package/filter/src/lib/filter.service.d.ts +9 -0
- package/filter/src/lib/pipes/values-local.pipe.d.ts +5 -0
- package/filter/src/lib/pipes/values-server.pipe.d.ts +5 -0
- package/filter/src/public-api.d.ts +4 -0
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/grid-material/src/lib/models/grid-column.model.d.ts +1 -0
- package/grid-material/src/lib/services/generated-column/generated-column.service.d.ts +3 -2
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/{sd-angular-core-0.0.1037.tgz → sd-angular-core-0.0.1041.tgz} +0 -0
- package/setting/sd-angular-core-setting.metadata.json +1 -1
- package/setting/src/lib/setting.model.d.ts +20 -6
- package/setting/src/lib/setting.service.d.ts +2 -1
|
@@ -798,14 +798,27 @@ class SdGridConfigurationService {
|
|
|
798
798
|
return __classPrivateFieldGet(this, _default).call(this, gridOption);
|
|
799
799
|
}
|
|
800
800
|
const { columns, config } = gridOption;
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
801
|
+
let configuration;
|
|
802
|
+
if ((config === null || config === void 0 ? void 0 : config.storage) === 'server') {
|
|
803
|
+
const { get, remove } = this.settingService.createServer(key, {
|
|
804
|
+
args: config === null || config === void 0 ? void 0 : config.args
|
|
805
|
+
});
|
|
806
|
+
configuration = yield get().catch(() => undefined);
|
|
807
|
+
if (!(configuration === null || configuration === void 0 ? void 0 : configuration.columns)) {
|
|
808
|
+
remove().catch(console.error);
|
|
809
|
+
return __classPrivateFieldGet(this, _default).call(this, gridOption);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
else {
|
|
813
|
+
const { get, remove } = this.settingService.create(key, {
|
|
814
|
+
type: config === null || config === void 0 ? void 0 : config.storage,
|
|
815
|
+
args: config === null || config === void 0 ? void 0 : config.args
|
|
816
|
+
});
|
|
817
|
+
configuration = get();
|
|
818
|
+
if (!(configuration === null || configuration === void 0 ? void 0 : configuration.columns)) {
|
|
819
|
+
remove();
|
|
820
|
+
return __classPrivateFieldGet(this, _default).call(this, gridOption);
|
|
821
|
+
}
|
|
809
822
|
}
|
|
810
823
|
configuration.columns = configuration.columns
|
|
811
824
|
.filter(column => column.isGeneratedColumn || columns.some(e => !e.hidden && e.field === column.origin.field));
|
|
@@ -837,27 +850,43 @@ class SdGridConfigurationService {
|
|
|
837
850
|
});
|
|
838
851
|
});
|
|
839
852
|
_set.set(this, (gridOption, configuration) => {
|
|
840
|
-
var _a, _b;
|
|
853
|
+
var _a, _b, _c, _d;
|
|
841
854
|
const key = __classPrivateFieldGet(this, _getKey).call(this, gridOption);
|
|
842
855
|
if (key) {
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
856
|
+
if (((_a = gridOption === null || gridOption === void 0 ? void 0 : gridOption.config) === null || _a === void 0 ? void 0 : _a.storage) === 'server') {
|
|
857
|
+
const { set } = this.settingService.createServer(key, {
|
|
858
|
+
args: (_b = gridOption === null || gridOption === void 0 ? void 0 : gridOption.config) === null || _b === void 0 ? void 0 : _b.args
|
|
859
|
+
});
|
|
860
|
+
set(configuration);
|
|
861
|
+
}
|
|
862
|
+
else {
|
|
863
|
+
const { set } = this.settingService.create(key, {
|
|
864
|
+
type: (_c = gridOption === null || gridOption === void 0 ? void 0 : gridOption.config) === null || _c === void 0 ? void 0 : _c.storage,
|
|
865
|
+
args: (_d = gridOption === null || gridOption === void 0 ? void 0 : gridOption.config) === null || _d === void 0 ? void 0 : _d.args
|
|
866
|
+
});
|
|
867
|
+
set(configuration);
|
|
868
|
+
}
|
|
848
869
|
}
|
|
849
870
|
return JSON.parse(JSON.stringify(configuration));
|
|
850
871
|
});
|
|
851
872
|
_remove.set(this, (gridOption) => {
|
|
852
873
|
return () => {
|
|
853
|
-
var _a, _b;
|
|
874
|
+
var _a, _b, _c, _d;
|
|
854
875
|
const key = __classPrivateFieldGet(this, _getKey).call(this, gridOption);
|
|
855
876
|
if (key) {
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
877
|
+
if (((_a = gridOption === null || gridOption === void 0 ? void 0 : gridOption.config) === null || _a === void 0 ? void 0 : _a.storage) === 'server') {
|
|
878
|
+
const { remove } = this.settingService.createServer(key, {
|
|
879
|
+
args: (_b = gridOption === null || gridOption === void 0 ? void 0 : gridOption.config) === null || _b === void 0 ? void 0 : _b.args
|
|
880
|
+
});
|
|
881
|
+
remove();
|
|
882
|
+
}
|
|
883
|
+
else {
|
|
884
|
+
const { remove } = this.settingService.create(key, {
|
|
885
|
+
type: (_c = gridOption === null || gridOption === void 0 ? void 0 : gridOption.config) === null || _c === void 0 ? void 0 : _c.storage,
|
|
886
|
+
args: (_d = gridOption === null || gridOption === void 0 ? void 0 : gridOption.config) === null || _d === void 0 ? void 0 : _d.args
|
|
887
|
+
});
|
|
888
|
+
remove();
|
|
889
|
+
}
|
|
861
890
|
}
|
|
862
891
|
};
|
|
863
892
|
}
|
|
@@ -1392,11 +1421,6 @@ class SdGridMaterial {
|
|
|
1392
1421
|
result = result.toPromise();
|
|
1393
1422
|
}
|
|
1394
1423
|
return yield result;
|
|
1395
|
-
// if (exportedItems instanceof Promise) {
|
|
1396
|
-
// return await exportedItems;
|
|
1397
|
-
// } else {
|
|
1398
|
-
// return exportedItems;
|
|
1399
|
-
// }
|
|
1400
1424
|
}
|
|
1401
1425
|
else {
|
|
1402
1426
|
const filterInfo = __classPrivateFieldGet(this, _filterExportInfo).call(this, pageNumber, pageSize);
|
|
@@ -2667,16 +2691,24 @@ class SdGeneratedColumnService {
|
|
|
2667
2691
|
key: configuration.key
|
|
2668
2692
|
});
|
|
2669
2693
|
if (!__classPrivateFieldGet(this, _cache$3)[key]) {
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2694
|
+
if ((configuration === null || configuration === void 0 ? void 0 : configuration.storage) === 'server') {
|
|
2695
|
+
__classPrivateFieldGet(this, _cache$3)[key] = this.settingService.createServer(key, {
|
|
2696
|
+
args: configuration === null || configuration === void 0 ? void 0 : configuration.args,
|
|
2697
|
+
default: []
|
|
2698
|
+
});
|
|
2699
|
+
}
|
|
2700
|
+
else {
|
|
2701
|
+
__classPrivateFieldGet(this, _cache$3)[key] = this.settingService.create(key, {
|
|
2702
|
+
type: configuration === null || configuration === void 0 ? void 0 : configuration.storage,
|
|
2703
|
+
args: configuration === null || configuration === void 0 ? void 0 : configuration.args,
|
|
2704
|
+
default: []
|
|
2705
|
+
});
|
|
2706
|
+
}
|
|
2675
2707
|
}
|
|
2676
2708
|
return __classPrivateFieldGet(this, _cache$3)[key];
|
|
2677
2709
|
};
|
|
2678
2710
|
this.loadSystem = (configuration) => {
|
|
2679
|
-
var _a;
|
|
2711
|
+
var _a, _b;
|
|
2680
2712
|
if (!(configuration === null || configuration === void 0 ? void 0 : configuration.key)) {
|
|
2681
2713
|
return null;
|
|
2682
2714
|
}
|
|
@@ -2688,11 +2720,19 @@ class SdGeneratedColumnService {
|
|
|
2688
2720
|
key: configuration.key
|
|
2689
2721
|
});
|
|
2690
2722
|
if (!__classPrivateFieldGet(this, _cache$3)[key]) {
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2723
|
+
if ((configuration === null || configuration === void 0 ? void 0 : configuration.storage) === 'server') {
|
|
2724
|
+
__classPrivateFieldGet(this, _cache$3)[key] = this.settingService.createServer(key, {
|
|
2725
|
+
args: (_a = configuration === null || configuration === void 0 ? void 0 : configuration.systemColumn) === null || _a === void 0 ? void 0 : _a.args,
|
|
2726
|
+
default: []
|
|
2727
|
+
});
|
|
2728
|
+
}
|
|
2729
|
+
else {
|
|
2730
|
+
__classPrivateFieldGet(this, _cache$3)[key] = this.settingService.create(key, {
|
|
2731
|
+
type: configuration === null || configuration === void 0 ? void 0 : configuration.storage,
|
|
2732
|
+
args: (_b = configuration === null || configuration === void 0 ? void 0 : configuration.systemColumn) === null || _b === void 0 ? void 0 : _b.args,
|
|
2733
|
+
default: []
|
|
2734
|
+
});
|
|
2735
|
+
}
|
|
2696
2736
|
}
|
|
2697
2737
|
return __classPrivateFieldGet(this, _cache$3)[key];
|
|
2698
2738
|
};
|
|
@@ -3009,18 +3049,21 @@ class SdColumnInlineFilter {
|
|
|
3009
3049
|
};
|
|
3010
3050
|
}
|
|
3011
3051
|
ngOnInit() {
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3052
|
+
var _a, _b;
|
|
3053
|
+
if (this.column.type === 'date' || this.column.type === 'time' || this.column.type === 'datetime') {
|
|
3054
|
+
if (!((_b = (_a = this.column) === null || _a === void 0 ? void 0 : _a.option) === null || _b === void 0 ? void 0 : _b.useFilterDate)) {
|
|
3055
|
+
this.columnFilter[this.column.field] = this.columnFilter[this.column.field] || {
|
|
3056
|
+
from: null,
|
|
3057
|
+
to: null
|
|
3058
|
+
};
|
|
3059
|
+
}
|
|
3017
3060
|
}
|
|
3018
3061
|
}
|
|
3019
3062
|
}
|
|
3020
3063
|
SdColumnInlineFilter.decorators = [
|
|
3021
3064
|
{ type: Component, args: [{
|
|
3022
3065
|
selector: 'sd-column-inline-filter',
|
|
3023
|
-
template: "<div class=\"c-inline-column\">\r\n <ng-container *ngIf=\"\r\n column.type === 'string' ||\r\n column.type === 'number' ||\r\n column.type === 'bool' ||\r\n column.type === 'values' ||\r\n column.type === 'date' ||\r\n column.type === 'datetime' ||\r\n column.type === 'time';\r\n else noFilter\">\r\n <sd-input *ngIf=\"column.type === 'string'\" size=\"sm\" type=\"text\" [(model)]=\"columnFilter[column.field]\"\r\n (keyupEnter)=\"onFilterChange()\" [disabled]=\"column.filter?.disabled\">\r\n </sd-input>\r\n <sd-input *ngIf=\"column.type === 'number'\" size=\"sm\" type=\"number\" [(model)]=\"columnFilter[column.field]\"\r\n (keyupEnter)=\"onFilterChange()\" [disabled]=\"column.filter?.disabled\">\r\n </sd-input>\r\n <sd-select *ngIf=\"column.type === 'bool'\" size=\"sm\" [items]=\"[\r\n { value: '1', display: column.option?.displayOnTrue || 'True' },\r\n { value: '0', display: column.option?.displayOnFalse || 'False' }\r\n ]\" valueField=\"value\" displayField=\"display\" [(model)]=\"columnFilter[column.field]\" (sdChange)=\"onFilterChange()\"\r\n [disabled]=\"column.filter?.disabled\">\r\n <ng-template sdSelectDisplayDef let-item=\"item\">\r\n <sd-badge *ngIf=\"item.value === '1'\" color=\"success\"
|
|
3066
|
+
template: "<div class=\"c-inline-column\">\r\n <ng-container *ngIf=\"\r\n column.type === 'string' ||\r\n column.type === 'number' ||\r\n column.type === 'bool' ||\r\n column.type === 'values' ||\r\n column.type === 'date' ||\r\n column.type === 'datetime' ||\r\n column.type === 'time';\r\n else noFilter\">\r\n <sd-input *ngIf=\"column.type === 'string'\" size=\"sm\" type=\"text\" [(model)]=\"columnFilter[column.field]\"\r\n (keyupEnter)=\"onFilterChange()\" [disabled]=\"column.filter?.disabled\">\r\n </sd-input>\r\n <sd-input *ngIf=\"column.type === 'number'\" size=\"sm\" type=\"number\" [(model)]=\"columnFilter[column.field]\"\r\n (keyupEnter)=\"onFilterChange()\" [disabled]=\"column.filter?.disabled\">\r\n </sd-input>\r\n <sd-select *ngIf=\"column.type === 'bool'\" size=\"sm\" [items]=\"[\r\n { value: '1', display: column.option?.displayOnTrue || 'True' },\r\n { value: '0', display: column.option?.displayOnFalse || 'False' }\r\n ]\" valueField=\"value\" displayField=\"display\" [(model)]=\"columnFilter[column.field]\" (sdChange)=\"onFilterChange()\"\r\n [disabled]=\"column.filter?.disabled\">\r\n <ng-template sdSelectDisplayDef let-item=\"item\">\r\n <sd-badge *ngIf=\"item.value === '1'\" color=\"success\" [title]=\"column.option?.displayOnTrue || 'True'\">\r\n </sd-badge>\r\n <sd-badge *ngIf=\"item.value === '0'\" color=\"danger\" [title]=\"column.option?.displayOnFalse || 'False'\">\r\n </sd-badge>\r\n </ng-template>\r\n </sd-select>\r\n <sd-select *ngIf=\"\r\n column.type === 'values' && column?.option?.selection !== 'AUTOCOMPLETE'\r\n \" size=\"sm\" [items]=\"column.option.items\" [valueField]=\"column.option.valueField\"\r\n [displayField]=\"column.option.displayField\" [(model)]=\"columnFilter[column.field]\" (sdChange)=\"onFilterChange()\"\r\n [disabled]=\"column.filter?.disabled\" [multiple]=\"\r\n column?.option?.selection === 'MULTIPLE' ||\r\n column?.option?.selection === 'MULTIPLEAUTOCOMPLETE'\r\n \" [filtered]=\"column?.option?.selection === 'MULTIPLEAUTOCOMPLETE'\">\r\n </sd-select>\r\n <sd-autocomplete *ngIf=\"\r\n column.type === 'values' && column?.option?.selection === 'AUTOCOMPLETE'\r\n \" size=\"sm\" [items]=\"column.option.items\" [valueField]=\"column.option.valueField\"\r\n [displayField]=\"column.option.displayField\" [(model)]=\"columnFilter[column.field]\" (sdChange)=\"onFilterChange()\"\r\n [disabled]=\"column.filter?.disabled\">\r\n </sd-autocomplete>\r\n <ng-container *ngIf=\"column.type === 'date' || column.type === 'datetime' || column.type === 'time'\">\r\n <sd-date-range *ngIf=\"!column.option?.useFilterDate\" size=\"sm\" [(from)]=\"columnFilter[column.field].from\"\r\n [(to)]=\"columnFilter[column.field].to\" (sdChange)=\"onFilterChange()\" [disabled]=\"column.filter?.disabled\">\r\n </sd-date-range>\r\n <sd-date-time *ngIf=\"column.option?.useFilterDate\" size=\"sm\" [(model)]=\"columnFilter[column.field]\"\r\n (sdChange)=\"onFilterChange()\" [disabled]=\"column.filter?.disabled\">\r\n </sd-date-time>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #noFilter>\r\n <sd-input type=\"text\" size=\"sm\" disabled> </sd-input>\r\n </ng-template>\r\n</div>",
|
|
3024
3067
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3025
3068
|
styles: [":host ::ng-deep .c-inline-column .mat-form-field-wrapper{background-color:#fff;border-radius:8px;margin:8px 0 0!important;padding:0!important}"]
|
|
3026
3069
|
},] }
|
|
@@ -3115,7 +3158,7 @@ SdGridQuickAction.decorators = [
|
|
|
3115
3158
|
selector: 'sd-grid-quick-action',
|
|
3116
3159
|
template: "<sd-quick-action *ngIf=\"selectedItems | selectionActionFilter: gridOption?.selection?.actions as actions\"\r\n [isOpened]=\"actions?.length\">\r\n <div class=\"d-flex align-items-center\" sdMessage>\r\n <div class=\"c-bg-length\">\r\n <span class=\"c-length\">{{ selectedItems.length }}</span>\r\n </div>\r\n <div class=\"c-message\">{{ gridOption?.selection?.message || (\"selected items\" | sdTranslate) }}</div>\r\n </div>\r\n <div class=\"d-flex align-items-center mr-8\" sdAction>\r\n <ng-container *ngFor=\"let action of actions\">\r\n <sd-button *ngIf=\"action.click\" class=\"ml-5\" [tooltip]=\"action.tooltip\" [icon]=\"action.icon\"\r\n [color]=\"action.color || 'secondary'\" [type]=\"action.type || 'light'\" [fontSet]=\"action.fontSet\"\r\n [title]=\"action.title\" size=\"sm\" (action)=\"action.click(selectedItems)\"></sd-button>\r\n <ng-container *ngIf=\"action.children?.length\">\r\n <sd-button class=\"ml-5\" [tooltip]=\"action.tooltip\" [icon]=\"action.icon || 'more_vert'\"\r\n [color]=\"action.color || 'secondary'\" [type]=\"action.type || 'light'\" [fontSet]=\"action.fontSet\"\r\n [title]=\"action.title\" size=\"sm\" [matMenuTriggerFor]=\"menu\">\r\n </sd-button>\r\n <mat-menu #menu=\"matMenu\">\r\n <span>\r\n <button *ngFor=\"let childAction of action.children\" mat-menu-item (click)=\"childAction.click(selectedItems)\"\r\n [disabled]=\"childAction.disabled\">\r\n <mat-icon [fontSet]=\"childAction.fontSet\" class=\"c-icon\">{{ childAction.icon }}\r\n </mat-icon>\r\n <span> {{ childAction.title }}</span>\r\n </button>\r\n </span>\r\n </mat-menu>\r\n </ng-container>\r\n </ng-container>\r\n <sd-button class=\"ml-5\" icon=\"close\" color=\"secondary\" type=\"outline\" size=\"sm\"\r\n (action)=\"onClear()\" width=\"35px\"></sd-button>\r\n </div>\r\n</sd-quick-action>",
|
|
3117
3160
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3118
|
-
styles: [".c-bg-length{align-items:flex-start;background:#2962ff;border-radius:4px 0 0 4px;display:flex;flex-direction:column;height:48px;left:0;padding:12px 8px;position:static;top:0;width:
|
|
3161
|
+
styles: [".c-bg-length{align-items:flex-start;background:#2962ff;border-radius:4px 0 0 4px;display:flex;flex-direction:column;height:48px;left:0;min-width:48px;padding:12px 8px;position:static;top:0;width:auto}.c-bg-length .c-length{color:#fff;font-size:16px;font-weight:500;height:24px;left:8px;line-height:24px;min-width:32px;text-align:center;top:12px;width:auto}.c-bg-length .c-length,.c-message{font-family:Roboto;font-style:normal;position:static}.c-message{color:#000;font-size:14px;font-weight:400;height:20px;left:0;line-height:20px;margin:0 0 0 16px;min-width:200px;top:6px}"]
|
|
3119
3162
|
},] }
|
|
3120
3163
|
];
|
|
3121
3164
|
SdGridQuickAction.ctorParameters = () => [];
|