@solidpepper/solidpepper-upload-youbooky 0.1.0 → 0.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.
package/index.d.ts CHANGED
@@ -21,6 +21,9 @@ declare class SolidpepperUploadYoubookyComponent implements OnInit, OnDestroy, O
21
21
  isPim: boolean;
22
22
  alias: string;
23
23
  token: string;
24
+ isFree: boolean;
25
+ isFreePlan: boolean;
26
+ offer: string;
24
27
  completed: EventEmitter<{
25
28
  assetGuid: string;
26
29
  projectName: string;
@@ -56,6 +59,8 @@ declare class SolidpepperUploadYoubookyComponent implements OnInit, OnDestroy, O
56
59
  }[];
57
60
  isLoadingPdf: boolean;
58
61
  pdfProgress: number;
62
+ processingCurrentPage: number;
63
+ processingTotalPages: number;
59
64
  useHighQuality: boolean;
60
65
  pdfScale: number;
61
66
  isPdfProcessingCancelled: boolean;
@@ -103,6 +108,7 @@ declare class SolidpepperUploadYoubookyComponent implements OnInit, OnDestroy, O
103
108
  private generateSvgContent;
104
109
  private getEffectiveApiUrl;
105
110
  get effectiveAlias(): string;
111
+ get isFreeOffer(): boolean;
106
112
  syncToken(token: string): void;
107
113
  initAuthSession(): void;
108
114
  get connectedUserDisplayName(): string;
@@ -119,6 +125,7 @@ declare class SolidpepperUploadYoubookyComponent implements OnInit, OnDestroy, O
119
125
  registerLead(): Promise<void>;
120
126
  submitLogin(): Promise<void>;
121
127
  private importDocumentFiles;
128
+ private uploadWithRetry;
122
129
  private translate;
123
130
  importDocumentFromPdf(): Promise<void>;
124
131
  private scrollToActivePage;
@@ -129,13 +136,13 @@ declare class SolidpepperUploadYoubookyComponent implements OnInit, OnDestroy, O
129
136
  openLink(type: 'flipbook' | 'reviewer'): void;
130
137
  goToDetail(): void;
131
138
  static ɵfac: i0.ɵɵFactoryDeclaration<SolidpepperUploadYoubookyComponent, never>;
132
- static ɵcmp: i0.ɵɵComponentDeclaration<SolidpepperUploadYoubookyComponent, "solidpepper-upload-youbooky", never, { "parentFolder": { "alias": "parentFolder"; "required": false; }; "language": { "alias": "language"; "required": false; }; "initialProjectName": { "alias": "initialProjectName"; "required": false; }; "isModal": { "alias": "isModal"; "required": false; }; "redirectOnComplete": { "alias": "redirectOnComplete"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "flipbookBaseUrl": { "alias": "flipbookBaseUrl"; "required": false; }; "reviewerBaseUrl": { "alias": "reviewerBaseUrl"; "required": false; }; "isPim": { "alias": "isPim"; "required": false; }; "alias": { "alias": "alias"; "required": false; }; "token": { "alias": "token"; "required": false; }; }, { "completed": "completed"; "cancelled": "cancelled"; "stepChange": "stepChange"; "error": "error"; "loginSuccess": "loginSuccess"; "registerSuccess": "registerSuccess"; }, never, never, true, never>;
139
+ static ɵcmp: i0.ɵɵComponentDeclaration<SolidpepperUploadYoubookyComponent, "solidpepper-upload-youbooky", never, { "parentFolder": { "alias": "parentFolder"; "required": false; }; "language": { "alias": "language"; "required": false; }; "initialProjectName": { "alias": "initialProjectName"; "required": false; }; "isModal": { "alias": "isModal"; "required": false; }; "redirectOnComplete": { "alias": "redirectOnComplete"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "flipbookBaseUrl": { "alias": "flipbookBaseUrl"; "required": false; }; "reviewerBaseUrl": { "alias": "reviewerBaseUrl"; "required": false; }; "isPim": { "alias": "isPim"; "required": false; }; "alias": { "alias": "alias"; "required": false; }; "token": { "alias": "token"; "required": false; }; "isFree": { "alias": "isFree"; "required": false; }; "isFreePlan": { "alias": "isFreePlan"; "required": false; }; "offer": { "alias": "offer"; "required": false; }; }, { "completed": "completed"; "cancelled": "cancelled"; "stepChange": "stepChange"; "error": "error"; "loginSuccess": "loginSuccess"; "registerSuccess": "registerSuccess"; }, never, never, true, never>;
133
140
  }
134
141
 
135
142
  declare const _default$2: {
136
143
  media: {
137
- "dam-documents": {
138
- "dam-documents-list": {
144
+ 'dam-documents': {
145
+ 'dam-documents-list': {
139
146
  CLICKORDRAGPDF: string;
140
147
  SUPPORTEDFORMAT: string;
141
148
  PROCESSING: string;
@@ -153,6 +160,7 @@ declare const _default$2: {
153
160
  UPLOADING_PAGE_PROGRESS: string;
154
161
  REDIRECTING: string;
155
162
  IMPORT_SUCCESS: string;
163
+ IMPORT_PARTIAL_SUCCESS: string;
156
164
  PAGE: string;
157
165
  PREVIEW: string;
158
166
  STATUS_COMPLETED: string;
@@ -172,7 +180,7 @@ declare const _default$2: {
172
180
  };
173
181
  };
174
182
  publications: {
175
- "publications-listing": {
183
+ 'publications-listing': {
176
184
  PROJECT_NAME: string;
177
185
  NEW_PROJECT_PLACEHOLDER: string;
178
186
  };
@@ -227,8 +235,8 @@ declare const _default$2: {
227
235
 
228
236
  declare const _default$1: {
229
237
  media: {
230
- "dam-documents": {
231
- "dam-documents-list": {
238
+ 'dam-documents': {
239
+ 'dam-documents-list': {
232
240
  CLICKORDRAGPDF: string;
233
241
  SUPPORTEDFORMAT: string;
234
242
  PROCESSING: string;
@@ -246,6 +254,7 @@ declare const _default$1: {
246
254
  UPLOADING_PAGE_PROGRESS: string;
247
255
  REDIRECTING: string;
248
256
  IMPORT_SUCCESS: string;
257
+ IMPORT_PARTIAL_SUCCESS: string;
249
258
  PAGE: string;
250
259
  PREVIEW: string;
251
260
  STATUS_COMPLETED: string;
@@ -265,7 +274,7 @@ declare const _default$1: {
265
274
  };
266
275
  };
267
276
  publications: {
268
- "publications-listing": {
277
+ 'publications-listing': {
269
278
  PROJECT_NAME: string;
270
279
  NEW_PROJECT_PLACEHOLDER: string;
271
280
  };
@@ -320,8 +329,8 @@ declare const _default$1: {
320
329
 
321
330
  declare const _default: {
322
331
  media: {
323
- "dam-documents": {
324
- "dam-documents-list": {
332
+ 'dam-documents': {
333
+ 'dam-documents-list': {
325
334
  CLICKORDRAGPDF: string;
326
335
  SUPPORTEDFORMAT: string;
327
336
  PROCESSING: string;
@@ -339,6 +348,7 @@ declare const _default: {
339
348
  UPLOADING_PAGE_PROGRESS: string;
340
349
  REDIRECTING: string;
341
350
  IMPORT_SUCCESS: string;
351
+ IMPORT_PARTIAL_SUCCESS: string;
342
352
  PAGE: string;
343
353
  PREVIEW: string;
344
354
  STATUS_COMPLETED: string;
@@ -358,7 +368,7 @@ declare const _default: {
358
368
  };
359
369
  };
360
370
  publications: {
361
- "publications-listing": {
371
+ 'publications-listing': {
362
372
  PROJECT_NAME: string;
363
373
  NEW_PROJECT_PLACEHOLDER: string;
364
374
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidpepper/solidpepper-upload-youbooky",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Solidpepper - YouBooky PDF import and upload library component",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=17.0.0",