@skyux/grids 11.20.0 → 11.22.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.
|
@@ -6,42 +6,24 @@
|
|
|
6
6
|
* To update this file, simply rerun the command.
|
|
7
7
|
*/
|
|
8
8
|
import { NgModule } from '@angular/core';
|
|
9
|
-
import {
|
|
9
|
+
import { SkyI18nModule, SkyLibResourcesService, } from '@skyux/i18n';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
const RESOURCES = {
|
|
12
12
|
'EN-US': { skyux_grid_multiselect_select_row: { message: 'Select row' } },
|
|
13
13
|
};
|
|
14
14
|
SkyLibResourcesService.addResources(RESOURCES);
|
|
15
|
-
export class SkyGridsResourcesProvider {
|
|
16
|
-
getString(localeInfo, name) {
|
|
17
|
-
return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
15
|
/**
|
|
21
16
|
* Import into any component library module that needs to use resource strings.
|
|
22
17
|
*/
|
|
23
18
|
export class SkyGridsResourcesModule {
|
|
24
19
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
25
20
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule, exports: [SkyI18nModule] }); }
|
|
26
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule,
|
|
27
|
-
{
|
|
28
|
-
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
29
|
-
useClass: SkyGridsResourcesProvider,
|
|
30
|
-
multi: true,
|
|
31
|
-
},
|
|
32
|
-
], imports: [SkyI18nModule] }); }
|
|
21
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule, imports: [SkyI18nModule] }); }
|
|
33
22
|
}
|
|
34
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule, decorators: [{
|
|
35
24
|
type: NgModule,
|
|
36
25
|
args: [{
|
|
37
26
|
exports: [SkyI18nModule],
|
|
38
|
-
providers: [
|
|
39
|
-
{
|
|
40
|
-
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
41
|
-
useClass: SkyGridsResourcesProvider,
|
|
42
|
-
multi: true,
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
27
|
}]
|
|
46
28
|
}] });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2t5LWdyaWRzLXJlc291cmNlcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZ3JpZHMvc3JjL2xpYi9tb2R1bGVzL3NoYXJlZC9za3ktZ3JpZHMtcmVzb3VyY2VzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwwQkFBMEI7QUFFMUI7Ozs7O0dBS0c7QUFDSCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFDTCxhQUFhLEVBRWIsc0JBQXNCLEdBQ3ZCLE1BQU0sYUFBYSxDQUFDOztBQUVyQixNQUFNLFNBQVMsR0FBb0M7SUFDakQsT0FBTyxFQUFFLEVBQUUsaUNBQWlDLEVBQUUsRUFBRSxPQUFPLEVBQUUsWUFBWSxFQUFFLEVBQUU7Q0FDMUUsQ0FBQztBQUVGLHNCQUFzQixDQUFDLFlBQVksQ0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aWNlLmFkZFJlc291cmNlcyhSRVNPVVJDRVMpO1xuXG4vKipcbiAqIEltcG9ydCBpbnRvIGFueSBjb21wb25lbnQgbGlicmFyeSBtb2R1bGUgdGhhdCBuZWVkcyB0byB1c2UgcmVzb3VyY2Ugc3RyaW5ncy5cbiAqL1xuQE5nTW9kdWxlKHtcbiAgZXhwb3J0czogW1NreUkxOG5Nb2R1bGVdLFxufSlcbmV4cG9ydCBjbGFzcyBTa3lHcmlkc1Jlc291cmNlc01vZHVsZSB7fVxuIl19
|
package/fesm2022/skyux-grids.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import { SkyPopoverModule } from '@skyux/popovers';
|
|
|
21
21
|
import * as i2 from 'ng2-dragula';
|
|
22
22
|
import { DragulaService, DragulaModule } from 'ng2-dragula';
|
|
23
23
|
import * as i13 from '@skyux/i18n';
|
|
24
|
-
import { SkyLibResourcesService,
|
|
24
|
+
import { SkyLibResourcesService, SkyI18nModule } from '@skyux/i18n';
|
|
25
25
|
import { getData, ListItemModel } from '@skyux/list-builder-common';
|
|
26
26
|
import { Subject, BehaviorSubject, fromEvent, merge } from 'rxjs';
|
|
27
27
|
import { takeUntil, take, map, distinctUntilChanged, takeWhile } from 'rxjs/operators';
|
|
@@ -63,36 +63,18 @@ const RESOURCES = {
|
|
|
63
63
|
'EN-US': { skyux_grid_multiselect_select_row: { message: 'Select row' } },
|
|
64
64
|
};
|
|
65
65
|
SkyLibResourcesService.addResources(RESOURCES);
|
|
66
|
-
class SkyGridsResourcesProvider {
|
|
67
|
-
getString(localeInfo, name) {
|
|
68
|
-
return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
66
|
/**
|
|
72
67
|
* Import into any component library module that needs to use resource strings.
|
|
73
68
|
*/
|
|
74
69
|
class SkyGridsResourcesModule {
|
|
75
70
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
76
71
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule, exports: [SkyI18nModule] }); }
|
|
77
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule,
|
|
78
|
-
{
|
|
79
|
-
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
80
|
-
useClass: SkyGridsResourcesProvider,
|
|
81
|
-
multi: true,
|
|
82
|
-
},
|
|
83
|
-
], imports: [SkyI18nModule] }); }
|
|
72
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule, imports: [SkyI18nModule] }); }
|
|
84
73
|
}
|
|
85
74
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SkyGridsResourcesModule, decorators: [{
|
|
86
75
|
type: NgModule,
|
|
87
76
|
args: [{
|
|
88
77
|
exports: [SkyI18nModule],
|
|
89
|
-
providers: [
|
|
90
|
-
{
|
|
91
|
-
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
92
|
-
useClass: SkyGridsResourcesProvider,
|
|
93
|
-
multi: true,
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
78
|
}]
|
|
97
79
|
}] });
|
|
98
80
|
|