@smartbit4all/ng-client 4.2.10 → 4.2.12
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/esm2022/lib/smart-client/smart.component.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionData.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionList.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/smartFilterType.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/param.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/variables.mjs +1 -1
- package/esm2022/lib/smart-form/api/api/api.mjs +1 -1
- package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
- package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
- package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-form/api/index.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/models.mjs +2 -1
- package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/sortDefinition.mjs +13 -0
- package/esm2022/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
- package/esm2022/lib/smart-form/api/param.mjs +1 -1
- package/esm2022/lib/smart-form/api/variables.mjs +1 -1
- package/esm2022/lib/smart-form/services/smartform.layout-definition.service.mjs +25 -19
- package/esm2022/lib/smart-form/services/smartform.service.mjs +66 -54
- package/esm2022/lib/smart-form/smartform.form-model.mjs +1 -1
- package/esm2022/lib/smart-form/smartform.model.mjs +1 -1
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +109 -89
- package/esm2022/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +18 -4
- package/esm2022/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/index.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionChange.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/param.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/variables.mjs +1 -1
- package/esm2022/lib/smart-map/abstract-map.mjs +1 -1
- package/esm2022/lib/smart-map/api/api/geoMap.service.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapDataSourceDescriptor.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapDataSourceType.mjs +1 -1
- package/esm2022/lib/smart-map/impl/google-map.mjs +1 -1
- package/esm2022/lib/smart-map/impl/leaflet-map.mjs +1 -1
- package/esm2022/lib/smart-map/projects.mjs +1 -1
- package/esm2022/lib/smart-map/smart-map.component.mjs +1 -1
- package/esm2022/lib/smart-map/smart-map.module.mjs +1 -1
- package/esm2022/lib/smart-map/smart-map.types.mjs +1 -1
- package/esm2022/lib/smart-validation/named-validator.service.mjs +1 -1
- package/esm2022/lib/smart-validation/smart-validation.module.mjs +1 -1
- package/esm2022/lib/smart-validation/smart-validation.types.mjs +1 -1
- package/esm2022/lib/view-context/api/model/componentConstraint.mjs +1 -1
- package/esm2022/lib/view-context/api/model/models.mjs +1 -1
- package/esm2022/lib/view-context/api/model/namedValidator.mjs +1 -1
- package/esm2022/lib/view-context/smart-view-context.service.mjs +2 -2
- package/fesm2022/smartbit4all-ng-client.mjs +209 -146
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-form/api/model/models.d.ts +1 -0
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +2 -0
- package/lib/smart-form/api/model/sortDefinition.d.ts +15 -0
- package/lib/smart-form/services/smartform.layout-definition.service.d.ts +2 -2
- package/lib/smart-form/services/smartform.service.d.ts +5 -5
- package/lib/smart-form/smartform.form-model.d.ts +7 -5
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +15 -15
- package/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.d.ts +3 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.12.tgz +0 -0
- package/smartbit4all-ng-client-4.2.10.tgz +0 -0
|
@@ -19,6 +19,7 @@ import { Style } from '../../../view-context/api/model/style';
|
|
|
19
19
|
import { ValueChangeMode } from './valueChangeMode';
|
|
20
20
|
import { SmartMatrixModel } from './smartMatrixModel';
|
|
21
21
|
import { SmartFormInputMode } from './smartFormInputMode';
|
|
22
|
+
import { SortDefinition } from './sortDefinition';
|
|
22
23
|
/**
|
|
23
24
|
* The layout definition of the SmartTextField widget.
|
|
24
25
|
*/
|
|
@@ -115,4 +116,5 @@ export interface SmartWidgetDefinition {
|
|
|
115
116
|
* The error message to show for the widget.
|
|
116
117
|
*/
|
|
117
118
|
errorColor?: string;
|
|
119
|
+
sortDefinition?: SortDefinition;
|
|
118
120
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form layout definition
|
|
3
|
+
* Contains form layout definition objects.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SortDefinition {
|
|
13
|
+
key?: string;
|
|
14
|
+
displayValue?: string;
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SmartWidgetDefinition } from
|
|
2
|
-
import { SmartFormWidget } from
|
|
1
|
+
import { SmartWidgetDefinition } from "../api";
|
|
2
|
+
import { SmartFormWidget } from "../smartform.form-model";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface SmartformLayoutCreateWidgetConfig {
|
|
5
5
|
layoutDefinitions?: SmartWidgetDefinition[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UntypedFormGroup } from
|
|
2
|
-
import { SmartFormWidget, SmartItem, SmartItems } from
|
|
3
|
-
import { SmartForm, SmartValidator } from
|
|
4
|
-
import { ComponentLibrary } from
|
|
5
|
-
import { NamedValidatorService } from
|
|
1
|
+
import { UntypedFormGroup } from "@angular/forms";
|
|
2
|
+
import { SmartFormWidget, SmartItem, SmartItems } from "../smartform.form-model";
|
|
3
|
+
import { SmartForm, SmartValidator } from "../smartform.model";
|
|
4
|
+
import { ComponentLibrary } from "../../view-context/utility/componentLibrary";
|
|
5
|
+
import { NamedValidatorService } from "../../smart-validation/named-validator.service";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SmartFormService {
|
|
8
8
|
private validatorProvider?;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { QuillModules } from
|
|
2
|
-
import { SelectionDefinition, SmartFormInputMode, SmartFormWidgetDirection, SmartFormWidgetType, SmartWidgetHint, ValueChangeMode } from
|
|
3
|
-
import { SmartFormTextFieldButton, SmartFormWidgetWidth, SmartIndicator, SmartValidator, ToggleLabelPosition } from
|
|
4
|
-
import { Style } from
|
|
1
|
+
import { QuillModules } from "ngx-quill";
|
|
2
|
+
import { SelectionDefinition, SmartFormInputMode, SmartFormWidgetDirection, SmartFormWidgetType, SmartWidgetHint, SortDefinition, ValueChangeMode } from "./api";
|
|
3
|
+
import { SmartFormTextFieldButton, SmartFormWidgetWidth, SmartIndicator, SmartValidator, ToggleLabelPosition } from "./smartform.model";
|
|
4
|
+
import { Style } from "../view-context/api";
|
|
5
5
|
export declare type SmartFormWidget<T> = SmartTextField<T> | SmartTextFieldNumber<T> | SmartTextFieldChips<T> | SmartTextFieldLookup<T> | SmartTextBox<T> | SmartSelect<T> | SmartSelectMultiple<T> | SmartCheckBox<T> | SmartCheckBox2<T> | SmartRadioButton<T> | SmartDatePicker<T> | SmartDateTimePicker<T> | SmartContainer<T> | SmartLabel | SmartTime<T> | SmartToggle<T> | SmartIndicatorItem | SmartFileUploader | SmartImage | SmartDivider | SmartButton | SmartFormInlineComponent | SmartRichText | SmartSortable<T> | SmartMatrix | SmartYoutubePlayer | SmartMonthPicker | SmartSvg;
|
|
6
6
|
export interface SmartTextField<T> {
|
|
7
7
|
type: SmartFormWidgetType.TEXT_FIELD;
|
|
@@ -32,7 +32,7 @@ export interface SmartTextField<T> {
|
|
|
32
32
|
error?: string;
|
|
33
33
|
icon?: string;
|
|
34
34
|
iconColor?: string;
|
|
35
|
-
iconPosition?:
|
|
35
|
+
iconPosition?: "PRE" | "POST";
|
|
36
36
|
errorIcon?: string;
|
|
37
37
|
errorIconColor?: string;
|
|
38
38
|
serverErrorMessage?: string;
|
|
@@ -620,6 +620,8 @@ export interface SmartSortable<T> {
|
|
|
620
620
|
valueList?: SmartItem<T>[];
|
|
621
621
|
isMultiple?: boolean;
|
|
622
622
|
hint?: SmartWidgetHint;
|
|
623
|
+
icon?: string;
|
|
624
|
+
sortDefinition: SortDefinition;
|
|
623
625
|
}
|
|
624
626
|
export interface SmartMatrix {
|
|
625
627
|
type: SmartFormWidgetType.MATRIX;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ComponentRef, ElementRef, OnDestroy, OnInit, QueryList, ViewContainerRef } from
|
|
2
|
-
import { UntypedFormGroup } from
|
|
3
|
-
import { MatAutocompleteSelectedEvent } from
|
|
4
|
-
import { MatChipInputEvent } from
|
|
5
|
-
import { DomSanitizer, SafeHtml } from
|
|
6
|
-
import { ContentChange, QuillEditorComponent, QuillModules } from
|
|
7
|
-
import { Observable, Subject } from
|
|
8
|
-
import { ComponentFactoryService } from
|
|
9
|
-
import { UiActionToolbarComponent } from
|
|
10
|
-
import { SmartFormWidgetType, SmartWidgetHintPositionEnum } from
|
|
11
|
-
import { SmartFormService } from
|
|
12
|
-
import { SmartButton, SmartFormWidget, SmartItem, SmartItems } from
|
|
13
|
-
import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from
|
|
14
|
-
import { ComponentLibrary } from
|
|
15
|
-
import { EditorTextChangeEvent } from
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentRef, ElementRef, OnDestroy, OnInit, QueryList, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { UntypedFormGroup } from "@angular/forms";
|
|
3
|
+
import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
4
|
+
import { MatChipInputEvent } from "@angular/material/chips";
|
|
5
|
+
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
6
|
+
import { ContentChange, QuillEditorComponent, QuillModules } from "ngx-quill";
|
|
7
|
+
import { Observable, Subject } from "rxjs";
|
|
8
|
+
import { ComponentFactoryService } from "../../../component-factory-service/projects";
|
|
9
|
+
import { UiActionToolbarComponent } from "../../../view-context/smart-ui-action/ui-action-toolbar.component";
|
|
10
|
+
import { SmartFormWidgetType, SmartWidgetHintPositionEnum } from "../../api/model/models";
|
|
11
|
+
import { SmartFormService } from "../../services/smartform.service";
|
|
12
|
+
import { SmartButton, SmartFormWidget, SmartItem, SmartItems } from "../../smartform.form-model";
|
|
13
|
+
import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from "../../smartform.model";
|
|
14
|
+
import { ComponentLibrary } from "../../../view-context/utility/componentLibrary";
|
|
15
|
+
import { EditorTextChangeEvent } from "primeng/editor";
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export declare class SmartWidgetSettings {
|
|
18
18
|
static useUtc: boolean;
|
package/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { SmartSortable } from '../../../smartform.form-model';
|
|
5
5
|
import { ComponentLibrary } from '../../../../view-context/utility/componentLibrary';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SortableWidgetComponent implements ControlValueAccessor, OnChanges {
|
|
7
|
+
export declare class SortableWidgetComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
|
|
8
8
|
compLib: ComponentLibrary;
|
|
9
9
|
widgetInstance: SmartSortable<any>;
|
|
10
10
|
private onChange;
|
|
@@ -12,6 +12,7 @@ export declare class SortableWidgetComponent implements ControlValueAccessor, On
|
|
|
12
12
|
componentLibrary: typeof ComponentLibrary;
|
|
13
13
|
isDisabled: boolean;
|
|
14
14
|
constructor(compLib: ComponentLibrary);
|
|
15
|
+
ngAfterViewInit(): void;
|
|
15
16
|
ngOnChanges(changes: SimpleChanges): void;
|
|
16
17
|
onDrop(event: CdkDragDrop<string[]>): void;
|
|
17
18
|
writeValue(value: any[]): void;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|