@veloceapps/sdk 2.0.13 → 2.0.14
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/bundles/veloce-sdk-cms.umd.js +57 -28
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +63 -29
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +1 -1
- package/cms/modules/configuration/configuration.module.d.ts +2 -1
- package/cms/modules/configuration/services/configuration.service.d.ts +4 -1
- package/esm2015/cms/modules/configuration/configuration.module.js +5 -3
- package/esm2015/cms/modules/configuration/services/configuration.service.js +46 -18
- package/esm2015/cms/utils/element.utils.js +3 -3
- package/esm2015/runtime/execution/directives/vl-document-templates.directive.js +1 -1
- package/esm2015/runtime/services/configuration.service.js +49 -15
- package/fesm2015/veloce-sdk-cms.js +52 -24
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +57 -24
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/package.json +1 -1
- package/runtime/execution/directives/vl-document-templates.directive.d.ts +3 -1
- package/runtime/services/configuration.service.d.ts +4 -1
package/package.json
CHANGED
|
@@ -8,7 +8,9 @@ export declare class VlDocumentTemplatesDirective {
|
|
|
8
8
|
getTemplates(tag?: string): Promise<DocumentTemplate[]>;
|
|
9
9
|
upsertTemplate(template: DocumentTemplate, templateFile: File): Promise<DocumentTemplate>;
|
|
10
10
|
removeTemplate(id: string): Promise<DocumentTemplate>;
|
|
11
|
-
cloneTemplate(id: string): Promise<
|
|
11
|
+
cloneTemplate(id: string): Promise<{
|
|
12
|
+
clonedRecordId: string;
|
|
13
|
+
}>;
|
|
12
14
|
downloadTemplate(id: string): Promise<Blob>;
|
|
13
15
|
generateDocument(template: DocumentTemplate, quoteDraft: QuoteDraft, params?: {
|
|
14
16
|
[param: string]: string | boolean;
|
|
@@ -4,14 +4,17 @@ import { Observable } from 'rxjs';
|
|
|
4
4
|
import { QuoteStates } from '../types';
|
|
5
5
|
import { RuntimeContext } from '../types/runtime-context.types';
|
|
6
6
|
import { ContextService } from './context.service';
|
|
7
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ConfigurationService {
|
|
9
10
|
private configurationApiService;
|
|
10
11
|
private contextService;
|
|
11
|
-
|
|
12
|
+
private dialogService;
|
|
13
|
+
constructor(configurationApiService: ConfigurationApiService, contextService: ContextService, dialogService: DialogService);
|
|
12
14
|
configure(runtimeContext: RuntimeContext, states: QuoteStates, resolve?: boolean): Observable<LineItem>;
|
|
13
15
|
private createRequest;
|
|
14
16
|
private getDefaultLineItem;
|
|
17
|
+
private showInactiveProductsConfirmation;
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
16
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
|
17
20
|
}
|