@trudb/tru-common-lib 0.0.596 → 0.0.599
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/esm2020/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.mjs +6 -3
- package/esm2020/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.mjs +6 -3
- package/esm2020/lib/components/data-grid/tru-data-grid.mjs +5 -5
- package/fesm2015/trudb-tru-common-lib.mjs +24 -48
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +24 -48
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.d.ts +1 -1
- package/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.d.ts +1 -1
- package/package.json +1 -1
- package/esm2020/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay-module.mjs +0 -19
- package/esm2020/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay-module.mjs +0 -19
- package/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay-module.d.ts +0 -9
- package/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay-module.d.ts +0 -9
|
@@ -2205,56 +2205,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
|
|
|
2205
2205
|
}]
|
|
2206
2206
|
}] });
|
|
2207
2207
|
|
|
2208
|
-
class TruDataGridNoRowsOverlay {
|
|
2209
|
-
agInit(params) {
|
|
2210
|
-
this.params = params;
|
|
2211
|
-
}
|
|
2212
|
-
}
|
|
2213
|
-
TruDataGridNoRowsOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridNoRowsOverlay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2214
|
-
TruDataGridNoRowsOverlay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: TruDataGridNoRowsOverlay, selector: "tru-data-grid-no-rows-overlay", ngImport: i0, template: `
|
|
2215
|
-
<div class="ag-overlay-loading-center" style="font-size:14px font-weight: bold;">
|
|
2216
|
-
<span>{{ params.noRowsMessageFunc() }}</span>
|
|
2217
|
-
</div>`, isInline: true });
|
|
2218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridNoRowsOverlay, decorators: [{
|
|
2219
|
-
type: Component,
|
|
2220
|
-
args: [{
|
|
2221
|
-
selector: 'tru-data-grid-no-rows-overlay',
|
|
2222
|
-
template: `
|
|
2223
|
-
<div class="ag-overlay-loading-center" style="font-size:14px font-weight: bold;">
|
|
2224
|
-
<span>{{ params.noRowsMessageFunc() }}</span>
|
|
2225
|
-
</div>`
|
|
2226
|
-
}]
|
|
2227
|
-
}] });
|
|
2228
|
-
|
|
2229
|
-
class TruDataGridNoRowsOverlayModule {
|
|
2230
|
-
}
|
|
2231
|
-
TruDataGridNoRowsOverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridNoRowsOverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2232
|
-
TruDataGridNoRowsOverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridNoRowsOverlayModule, declarations: [TruDataGridNoRowsOverlay], imports: [CommonModule, MaterialModule], exports: [TruDataGridNoRowsOverlay] });
|
|
2233
|
-
TruDataGridNoRowsOverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridNoRowsOverlayModule, imports: [CommonModule, MaterialModule] });
|
|
2234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridNoRowsOverlayModule, decorators: [{
|
|
2235
|
-
type: NgModule,
|
|
2236
|
-
args: [{
|
|
2237
|
-
declarations: [TruDataGridNoRowsOverlay],
|
|
2238
|
-
imports: [CommonModule, MaterialModule],
|
|
2239
|
-
exports: [TruDataGridNoRowsOverlay]
|
|
2240
|
-
}]
|
|
2241
|
-
}] });
|
|
2242
|
-
|
|
2243
2208
|
class TruDataGridLoadingOverlay {
|
|
2244
2209
|
agInit(params) {
|
|
2245
2210
|
this.params = params;
|
|
2246
2211
|
}
|
|
2247
2212
|
}
|
|
2248
2213
|
TruDataGridLoadingOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridLoadingOverlay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2249
|
-
TruDataGridLoadingOverlay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: TruDataGridLoadingOverlay, selector: "tru-data-grid-loading-overlay", ngImport: i0, template: `
|
|
2214
|
+
TruDataGridLoadingOverlay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: TruDataGridLoadingOverlay, isStandalone: true, selector: "tru-data-grid-loading-overlay", ngImport: i0, template: `
|
|
2250
2215
|
<div class="ag-overlay-loading-center" style="font-size:14px font-weight: bold;">
|
|
2251
2216
|
<mat-icon class="spin" [svgIcon]="'loading-icon'">{{ params.loadingMessage }}</mat-icon>
|
|
2252
2217
|
</div>
|
|
2253
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
2218
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MaterialModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
2254
2219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridLoadingOverlay, decorators: [{
|
|
2255
2220
|
type: Component,
|
|
2256
2221
|
args: [{
|
|
2222
|
+
standalone: true,
|
|
2257
2223
|
selector: 'tru-data-grid-loading-overlay',
|
|
2224
|
+
imports: [MaterialModule],
|
|
2258
2225
|
template: `
|
|
2259
2226
|
<div class="ag-overlay-loading-center" style="font-size:14px font-weight: bold;">
|
|
2260
2227
|
<mat-icon class="spin" [svgIcon]="'loading-icon'">{{ params.loadingMessage }}</mat-icon>
|
|
@@ -2263,17 +2230,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
|
|
|
2263
2230
|
}]
|
|
2264
2231
|
}] });
|
|
2265
2232
|
|
|
2266
|
-
class
|
|
2233
|
+
class TruDataGridNoRowsOverlay {
|
|
2234
|
+
agInit(params) {
|
|
2235
|
+
this.params = params;
|
|
2236
|
+
}
|
|
2267
2237
|
}
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2238
|
+
TruDataGridNoRowsOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridNoRowsOverlay, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2239
|
+
TruDataGridNoRowsOverlay.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: TruDataGridNoRowsOverlay, isStandalone: true, selector: "tru-data-grid-no-rows-overlay", ngImport: i0, template: `
|
|
2240
|
+
<div class="ag-overlay-loading-center" style="font-size:14px font-weight: bold;">
|
|
2241
|
+
<span>{{ params.noRowsMessageFunc() }}</span>
|
|
2242
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: MaterialModule }] });
|
|
2243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDataGridNoRowsOverlay, decorators: [{
|
|
2244
|
+
type: Component,
|
|
2273
2245
|
args: [{
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2246
|
+
standalone: true,
|
|
2247
|
+
selector: 'tru-data-grid-no-rows-overlay',
|
|
2248
|
+
imports: [MaterialModule],
|
|
2249
|
+
template: `
|
|
2250
|
+
<div class="ag-overlay-loading-center" style="font-size:14px font-weight: bold;">
|
|
2251
|
+
<span>{{ params.noRowsMessageFunc() }}</span>
|
|
2252
|
+
</div>`
|
|
2277
2253
|
}]
|
|
2278
2254
|
}] });
|
|
2279
2255
|
|
|
@@ -2883,11 +2859,11 @@ class TruDataGrid {
|
|
|
2883
2859
|
this.gridOptions = {
|
|
2884
2860
|
rowSelection: 'multiple',
|
|
2885
2861
|
rowStyle: { background: 'white' },
|
|
2886
|
-
loadingOverlayComponent:
|
|
2862
|
+
loadingOverlayComponent: TruDataGridLoadingOverlay,
|
|
2887
2863
|
loadingOverlayComponentParams: {
|
|
2888
2864
|
loadingMessage: 'Searching - One moment please...',
|
|
2889
2865
|
},
|
|
2890
|
-
noRowsOverlayComponent:
|
|
2866
|
+
noRowsOverlayComponent: TruDataGridNoRowsOverlay,
|
|
2891
2867
|
noRowsOverlayComponentParams: {
|
|
2892
2868
|
noRowsMessageFunc: () => 'Sorry - no rows! at: ' + new Date(),
|
|
2893
2869
|
},
|