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
|
@@ -12,7 +12,6 @@ import 'slickgrid/dist/slick.core.min';
|
|
|
12
12
|
import 'slickgrid/dist/slick.interactions.min';
|
|
13
13
|
import 'slickgrid/dist/slick.grid.min';
|
|
14
14
|
import 'slickgrid/dist/slick.dataview.min';
|
|
15
|
-
import * as Sortable_ from 'sortablejs';
|
|
16
15
|
import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
|
|
17
16
|
import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
|
|
18
17
|
import { SlickFooterComponent } from '@slickgrid-universal/custom-footer-component';
|
|
@@ -408,7 +407,7 @@ class SlickRowDetailView extends SlickRowDetailView$1 {
|
|
|
408
407
|
awaitedItemDetail = yield castObservableToPromise(this.rxjs, response); // from Angular-http-client
|
|
409
408
|
}
|
|
410
409
|
if (!awaitedItemDetail || !awaitedItemDetail.hasOwnProperty(this.datasetIdPropName)) {
|
|
411
|
-
throw new Error(`[Angular-Slickgrid] could not process the Row Detail, you must make sure that your "process" callback
|
|
410
|
+
throw new Error(`[Angular-Slickgrid] could not process the Row Detail, you must make sure that your "process" callback
|
|
412
411
|
(a Promise or an HttpClient call returning an Observable) returns an item object that has an "${this.datasetIdPropName}" property`);
|
|
413
412
|
}
|
|
414
413
|
// notify the plugin with the new item details
|
|
@@ -797,10 +796,7 @@ Constants.VALIDATION_EDITOR_TEXT_MAX_LENGTH_INCLUSIVE = 'Please make sure your t
|
|
|
797
796
|
Constants.VALIDATION_EDITOR_TEXT_MIN_LENGTH = 'Please make sure your text is more than {{minLength}} character(s)';
|
|
798
797
|
Constants.VALIDATION_EDITOR_TEXT_MIN_LENGTH_INCLUSIVE = 'Please make sure your text is at least {{minLength}} character(s)';
|
|
799
798
|
|
|
800
|
-
|
|
801
|
-
const Sortable = ((_a = Sortable_ === null || Sortable_ === void 0 ? void 0 : Sortable_['default']) !== null && _a !== void 0 ? _a : Sortable_); // patch for rollup
|
|
802
|
-
// add Sortable to the window object so that SlickGrid lib can use globally
|
|
803
|
-
window.Sortable = Sortable;
|
|
799
|
+
// import 3rd party vendor libs
|
|
804
800
|
class AngularSlickgridComponent {
|
|
805
801
|
constructor(angularUtilService, appRef, cd, containerService, elm, translate, translaterService, forRootConfig, externalServices) {
|
|
806
802
|
var _a, _b, _c, _d, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
@@ -1925,7 +1921,7 @@ AngularSlickgridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
1925
1921
|
AngularUtilService,
|
|
1926
1922
|
ApplicationRef,
|
|
1927
1923
|
TranslaterService,
|
|
1928
|
-
], ngImport: i0, template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\n </div>\n</div>" });
|
|
1924
|
+
], 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>" });
|
|
1929
1925
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: AngularSlickgridComponent, decorators: [{
|
|
1930
1926
|
type: Component,
|
|
1931
1927
|
args: [{ selector: 'angular-slickgrid', providers: [
|
|
@@ -1933,7 +1929,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImpor
|
|
|
1933
1929
|
AngularUtilService,
|
|
1934
1930
|
ApplicationRef,
|
|
1935
1931
|
TranslaterService,
|
|
1936
|
-
], template: "<div id=\"slickGridContainer-{{gridId}}\" class=\"gridPane\">\n <div attr.id='{{gridId}}' class=\"slickgrid-container\" style=\"width: 100%\">\n </div>\n</div>" }]
|
|
1932
|
+
], 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>" }]
|
|
1937
1933
|
}], ctorParameters: function () {
|
|
1938
1934
|
return [{ type: AngularUtilService }, { type: i0.ApplicationRef }, { type: i0.ChangeDetectorRef }, { type: ContainerService }, { type: i0.ElementRef }, { type: i1.TranslateService, decorators: [{
|
|
1939
1935
|
type: Optional
|