@memberjunction/ng-file-storage 1.8.1 → 2.1.1

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.
@@ -105,7 +105,7 @@ const downloadFromUrl = (url, fileName, contentType) => __awaiter(void 0, void 0
105
105
  return true;
106
106
  });
107
107
  const FileDownloadQuery = gql `
108
- query FileDownloadUrl($FileID: Int!) {
108
+ query FileDownloadUrl($FileID: String!) {
109
109
  File(ID: $FileID) {
110
110
  ContentType
111
111
  DownloadUrl
@@ -252,7 +252,7 @@ export class FilesGridComponent {
252
252
  var _a;
253
253
  this.isLoading = true;
254
254
  const rv = new RunView();
255
- const result = yield rv.RunView(Object.assign({ EntityName: 'Files', ResultType: 'entity_object' }, (this.CategoryID !== undefined && { ExtraFilter: `CategoryID=${this.CategoryID}` })));
255
+ const result = yield rv.RunView(Object.assign({ EntityName: 'Files', ResultType: 'entity_object' }, (this.CategoryID !== undefined && { ExtraFilter: `CategoryID='${this.CategoryID}'` })));
256
256
  if (result.Success) {
257
257
  this.files = (_a = result.Results) !== null && _a !== void 0 ? _a : [];
258
258
  }
@@ -21,7 +21,7 @@ import * as i19 from "@progress/kendo-angular-menu";
21
21
  import * as i20 from "@progress/kendo-angular-indicators";
22
22
  export declare class FileStorageModule {
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<FileStorageModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<FileStorageModule, [typeof i1.CategoryTreeComponent, typeof i2.FilesGridComponent, typeof i3.FileUploadComponent], [typeof i4.CommonModule, typeof i5.TreeViewModule, typeof i6.FormsModule, typeof i7.DialogsModule, typeof i8.ExcelExportModule, typeof i9.CompareRecordsModule, typeof i10.ContainerDirectivesModule, typeof i11.ButtonsModule, typeof i12.LabelModule, typeof i13.GridModule, typeof i14.DropDownsModule, typeof i15.BrowserModule, typeof i16.BrowserAnimationsModule, typeof i17.InputsModule, typeof i18.UploadsModule, typeof i19.MenusModule, typeof i20.IndicatorsModule], [typeof i1.CategoryTreeComponent, typeof i2.FilesGridComponent]>;
24
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FileStorageModule, [typeof i1.CategoryTreeComponent, typeof i2.FilesGridComponent, typeof i3.FileUploadComponent], [typeof i4.CommonModule, typeof i5.TreeViewModule, typeof i6.FormsModule, typeof i7.DialogsModule, typeof i8.ExcelExportModule, typeof i9.CompareRecordsModule, typeof i10.ContainerDirectivesModule, typeof i11.ButtonsModule, typeof i12.LabelModule, typeof i13.GridModule, typeof i14.DropDownsModule, typeof i15.BrowserModule, typeof i16.BrowserAnimationsModule, typeof i17.InputsModule, typeof i18.UploadsModule, typeof i19.MenusModule, typeof i20.IndicatorsModule], [typeof i1.CategoryTreeComponent, typeof i2.FilesGridComponent, typeof i3.FileUploadComponent]>;
25
25
  static ɵinj: i0.ɵɵInjectorDeclaration<FileStorageModule>;
26
26
  }
27
27
  //# sourceMappingURL=module.d.ts.map
@@ -65,7 +65,7 @@ FileStorageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [Common
65
65
  MenusModule,
66
66
  IndicatorsModule,
67
67
  ],
68
- exports: [CategoryTreeComponent, FilesGridComponent],
68
+ exports: [CategoryTreeComponent, FilesGridComponent, FileUploadComponent],
69
69
  }]
70
70
  }], null, null); })();
71
71
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FileStorageModule, { declarations: [CategoryTreeComponent, FilesGridComponent, FileUploadComponent], imports: [CommonModule,
@@ -84,4 +84,4 @@ FileStorageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [Common
84
84
  InputsModule,
85
85
  UploadsModule,
86
86
  MenusModule,
87
- IndicatorsModule], exports: [CategoryTreeComponent, FilesGridComponent] }); })();
87
+ IndicatorsModule], exports: [CategoryTreeComponent, FilesGridComponent, FileUploadComponent] }); })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-file-storage",
3
- "version": "1.8.1",
3
+ "version": "2.1.1",
4
4
  "description": "MemberJunction: Angular components for managing files, and related components.",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -26,12 +26,12 @@
26
26
  "@angular/router": "18.0.2"
27
27
  },
28
28
  "dependencies": {
29
- "@memberjunction/core": "1.8.1",
30
- "@memberjunction/core-entities": "1.8.1",
31
- "@memberjunction/global": "1.8.1",
32
- "@memberjunction/graphql-dataprovider": "1.8.1",
33
- "@memberjunction/ng-container-directives": "1.8.1",
34
- "@memberjunction/ng-shared": "1.8.1",
29
+ "@memberjunction/core": "2.1.1",
30
+ "@memberjunction/core-entities": "2.1.1",
31
+ "@memberjunction/global": "2.1.1",
32
+ "@memberjunction/graphql-dataprovider": "2.1.1",
33
+ "@memberjunction/ng-container-directives": "2.1.1",
34
+ "@memberjunction/ng-shared": "2.1.1",
35
35
  "@progress/kendo-angular-buttons": "16.2.0",
36
36
  "@progress/kendo-angular-dialog": "16.2.0",
37
37
  "@progress/kendo-angular-dropdowns": "16.2.0",