@smartbit4all/ng-client 3.0.21 → 3.0.23
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/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +12 -12
- package/fesm2015/smartbit4all-ng-client.mjs +9 -9
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +9 -9
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-form/services/smartform.layout-definition.service.d.ts +2 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.0.23.tgz +0 -0
- package/smartbit4all-ng-client-3.0.21.tgz +0 -0
|
@@ -5461,8 +5461,8 @@ class SmartformLayoutDefinitionService {
|
|
|
5461
5461
|
case SmartFormWidgetType.RICH_TEXT:
|
|
5462
5462
|
return this.createRichText(config.layoutDefinition);
|
|
5463
5463
|
case SmartFormWidgetType.FILE_UPLOADER:
|
|
5464
|
-
if (!config.uploadCallback) {
|
|
5465
|
-
throw Error(
|
|
5464
|
+
if (!config.layoutDefinition.uploadCallback) {
|
|
5465
|
+
throw Error('No upload function injected.');
|
|
5466
5466
|
}
|
|
5467
5467
|
return this.createFileUploader(config.layoutDefinition, config.uploadCallback);
|
|
5468
5468
|
case SmartFormWidgetType.MATRIX:
|
|
@@ -5613,11 +5613,11 @@ class SmartformLayoutDefinitionService {
|
|
|
5613
5613
|
quillModules: {
|
|
5614
5614
|
toolbar: {
|
|
5615
5615
|
container: [
|
|
5616
|
-
[
|
|
5617
|
-
[
|
|
5616
|
+
['bold', 'italic', 'underline', 'strike'],
|
|
5617
|
+
['code-block'],
|
|
5618
5618
|
[{ header: 1 }, { header: 2 }],
|
|
5619
|
-
[{ list:
|
|
5620
|
-
[
|
|
5619
|
+
[{ list: 'ordered' }, { list: 'bullet' }],
|
|
5620
|
+
['clean'],
|
|
5621
5621
|
],
|
|
5622
5622
|
},
|
|
5623
5623
|
},
|
|
@@ -5787,17 +5787,17 @@ class SmartformLayoutDefinitionService {
|
|
|
5787
5787
|
label: layoutDefinition.label,
|
|
5788
5788
|
showLabel: layoutDefinition.showLabel,
|
|
5789
5789
|
cssClass: layoutDefinition.cssClass,
|
|
5790
|
-
uploadCallback,
|
|
5790
|
+
uploadCallback: layoutDefinition.uploadCallback,
|
|
5791
5791
|
};
|
|
5792
5792
|
return widget;
|
|
5793
5793
|
}
|
|
5794
5794
|
}
|
|
5795
5795
|
SmartformLayoutDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartformLayoutDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5796
|
-
SmartformLayoutDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartformLayoutDefinitionService, providedIn:
|
|
5796
|
+
SmartformLayoutDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartformLayoutDefinitionService, providedIn: 'root' });
|
|
5797
5797
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartformLayoutDefinitionService, decorators: [{
|
|
5798
5798
|
type: Injectable,
|
|
5799
5799
|
args: [{
|
|
5800
|
-
providedIn:
|
|
5800
|
+
providedIn: 'root',
|
|
5801
5801
|
}]
|
|
5802
5802
|
}], ctorParameters: function () { return []; } });
|
|
5803
5803
|
|