@smartbit4all/ng-client 3.3.53 → 3.3.55
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-component-layout/smart-component-layout.component.mjs +12 -3
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +2 -2
- package/fesm2015/smartbit4all-ng-client.mjs +20 -10
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +11 -2
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-component-layout/smart-component-layout.component.d.ts +2 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.55.tgz +0 -0
- package/smartbit4all-ng-client-3.3.53.tgz +0 -0
|
@@ -6741,7 +6741,7 @@ class SmartformLayoutDefinitionService {
|
|
|
6741
6741
|
quillModules: {
|
|
6742
6742
|
toolbar: {
|
|
6743
6743
|
container: [
|
|
6744
|
-
['bold', 'italic', 'underline', 'strike'],
|
|
6744
|
+
['bold', 'italic', 'underline', 'strike', 'link'],
|
|
6745
6745
|
['code-block'],
|
|
6746
6746
|
[{ header: 1 }, { header: 2 }],
|
|
6747
6747
|
[{ list: 'ordered' }, { list: 'bullet' }],
|
|
@@ -12582,6 +12582,7 @@ class SmartComponentLayoutComponent {
|
|
|
12582
12582
|
this.parent = this.smartComponentLayout?.parentComponent;
|
|
12583
12583
|
this.uuid = this.parent.uuid;
|
|
12584
12584
|
this.treeService = this.parent.smartTreeService;
|
|
12585
|
+
this.smartComponentLayout?.direction;
|
|
12585
12586
|
if (this.smartComponentLayout?.expandable) {
|
|
12586
12587
|
this.constructExpandableSection();
|
|
12587
12588
|
}
|
|
@@ -12622,12 +12623,20 @@ class SmartComponentLayoutComponent {
|
|
|
12622
12623
|
layoutDefinitions: this.smartComponentLayout?.form,
|
|
12623
12624
|
});
|
|
12624
12625
|
this.smartForm = {
|
|
12625
|
-
direction:
|
|
12626
|
+
direction: this.getFormLayout(),
|
|
12626
12627
|
componentModel: this.parent?.model,
|
|
12627
12628
|
widgets,
|
|
12628
12629
|
};
|
|
12629
12630
|
this.bindForm();
|
|
12630
12631
|
}
|
|
12632
|
+
getFormLayout() {
|
|
12633
|
+
if (this.smartComponentLayout?.direction) {
|
|
12634
|
+
return this.smartComponentLayout?.direction === LayoutDirection.HORIZONTAL
|
|
12635
|
+
? SmartFormWidgetDirection.ROW
|
|
12636
|
+
: SmartFormWidgetDirection.COL;
|
|
12637
|
+
}
|
|
12638
|
+
return SmartFormWidgetDirection.COL;
|
|
12639
|
+
}
|
|
12631
12640
|
setFormComponent(comp) {
|
|
12632
12641
|
if (!this.smartFormComponent) {
|
|
12633
12642
|
this.smartFormComponent = comp;
|