angular-slickgrid 5.0.1 → 5.0.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/LICENSE +20 -20
- package/README.md +181 -179
- package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +3 -7
- package/esm2020/app/modules/angular-slickgrid/constants.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/extensions/index.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +2 -2
- package/esm2020/app/modules/angular-slickgrid/global-grid-options.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/index.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/index.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/services/angularUtil.service.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/services/index.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/services/translater.service.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/services/utilities.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/slickgrid-config.mjs +1 -1
- package/esm2020/public_api.mjs +1 -1
- package/fesm2015/angular-slickgrid.mjs +4 -8
- package/fesm2015/angular-slickgrid.mjs.map +1 -1
- package/fesm2020/angular-slickgrid.mjs +3 -7
- package/fesm2020/angular-slickgrid.mjs.map +1 -1
- package/i18n/en.json +90 -90
- package/i18n/fr.json +91 -91
- package/package.json +1 -1
|
@@ -11,7 +11,6 @@ import 'slickgrid/dist/slick.core.min';
|
|
|
11
11
|
import 'slickgrid/dist/slick.interactions.min';
|
|
12
12
|
import 'slickgrid/dist/slick.grid.min';
|
|
13
13
|
import 'slickgrid/dist/slick.dataview.min';
|
|
14
|
-
import * as Sortable_ from 'sortablejs';
|
|
15
14
|
import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
|
|
16
15
|
import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
|
|
17
16
|
import { SlickFooterComponent } from '@slickgrid-universal/custom-footer-component';
|
|
@@ -397,7 +396,7 @@ class SlickRowDetailView extends SlickRowDetailView$1 {
|
|
|
397
396
|
awaitedItemDetail = await castObservableToPromise(this.rxjs, response); // from Angular-http-client
|
|
398
397
|
}
|
|
399
398
|
if (!awaitedItemDetail || !awaitedItemDetail.hasOwnProperty(this.datasetIdPropName)) {
|
|
400
|
-
throw new Error(`[Angular-Slickgrid] could not process the Row Detail, you must make sure that your "process" callback
|
|
399
|
+
throw new Error(`[Angular-Slickgrid] could not process the Row Detail, you must make sure that your "process" callback
|
|
401
400
|
(a Promise or an HttpClient call returning an Observable) returns an item object that has an "${this.datasetIdPropName}" property`);
|
|
402
401
|
}
|
|
403
402
|
// notify the plugin with the new item details
|
|
@@ -786,9 +785,6 @@ Constants.VALIDATION_EDITOR_TEXT_MIN_LENGTH = 'Please make sure your text is mor
|
|
|
786
785
|
Constants.VALIDATION_EDITOR_TEXT_MIN_LENGTH_INCLUSIVE = 'Please make sure your text is at least {{minLength}} character(s)';
|
|
787
786
|
|
|
788
787
|
// import 3rd party vendor libs
|
|
789
|
-
const Sortable = (Sortable_?.['default'] ?? Sortable_); // patch for rollup
|
|
790
|
-
// add Sortable to the window object so that SlickGrid lib can use globally
|
|
791
|
-
window.Sortable = Sortable;
|
|
792
788
|
class AngularSlickgridComponent {
|
|
793
789
|
constructor(angularUtilService, appRef, cd, containerService, elm, translate, translaterService, forRootConfig, externalServices) {
|
|
794
790
|
this.angularUtilService = angularUtilService;
|
|
@@ -1888,7 +1884,7 @@ AngularSlickgridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
1888
1884
|
AngularUtilService,
|
|
1889
1885
|
ApplicationRef,
|
|
1890
1886
|
TranslaterService,
|
|
1891
|
-
], ngImport: i0, template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\n </div>\n</div>" });
|
|
1887
|
+
], ngImport: i0, template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\r\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\r\n </div>\r\n</div>" });
|
|
1892
1888
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridComponent, decorators: [{
|
|
1893
1889
|
type: Component,
|
|
1894
1890
|
args: [{ selector: 'angular-slickgrid', providers: [
|
|
@@ -1896,7 +1892,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImpor
|
|
|
1896
1892
|
AngularUtilService,
|
|
1897
1893
|
ApplicationRef,
|
|
1898
1894
|
TranslaterService,
|
|
1899
|
-
], template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\n </div>\n</div>" }]
|
|
1895
|
+
], template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\r\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\r\n </div>\r\n</div>" }]
|
|
1900
1896
|
}], ctorParameters: function () { return [{ type: AngularUtilService }, { type: i0.ApplicationRef }, { type: i0.ChangeDetectorRef }, { type: ContainerService }, { type: i0.ElementRef }, { type: i1.TranslateService, decorators: [{
|
|
1901
1897
|
type: Optional
|
|
1902
1898
|
}] }, { type: TranslaterService, decorators: [{
|