@smartbit4all/ng-client 4.2.75 → 4.2.77
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-component-layout/api/api/api.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/api/default.service.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/api.module.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/index.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/componentType.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/param.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/variables.mjs +1 -1
- package/esm2022/lib/smart-component-layout/smart-component-layout.module.mjs +11 -3
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +6 -3
- 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 +1 -1
- package/esm2022/lib/smart-form/api/model/textFieldProperties.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 +22 -22
- package/esm2022/lib/smart-form/services/smartform.service.mjs +1 -1
- package/esm2022/lib/smart-form/smartform.component.mjs +3 -3
- package/esm2022/lib/smart-form/smartform.form-model.mjs +1 -1
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +25 -7
- package/esm2022/lib/smart-map/api/api/api.mjs +1 -1
- package/esm2022/lib/smart-map/api/api/geoMap.service.mjs +1 -1
- package/esm2022/lib/smart-map/api/api.module.mjs +1 -1
- package/esm2022/lib/smart-map/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-map/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-map/api/index.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/gPSPosition.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/gPSRoute.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapChange.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapDataLoadingMode.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/api/model/geoMapEditingSession.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapInteraction.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapItem.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapItemKind.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapLayer.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapLayerChange.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapLayerDescriptor.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapModel.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapOperationMode.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapSelectionMode.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapServerModel.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapTextType.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapViewState.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/geoMapViewport.mjs +1 -1
- package/esm2022/lib/smart-map/api/model/models.mjs +1 -1
- package/esm2022/lib/smart-map/api/param.mjs +1 -1
- package/esm2022/lib/smart-map/api/variables.mjs +1 -1
- package/fesm2022/smartbit4all-ng-client.mjs +66 -27
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-component-layout/smart-component-layout.module.d.ts +3 -1
- package/lib/smart-form/api/model/models.d.ts +1 -0
- package/lib/smart-form/api/model/textFieldProperties.d.ts +14 -0
- package/lib/smart-form/services/smartform.layout-definition.service.d.ts +2 -2
- package/lib/smart-form/services/smartform.service.d.ts +1 -1
- package/lib/smart-form/smartform.form-model.d.ts +6 -5
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +9 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.77.tgz +0 -0
- package/smartbit4all-ng-client-4.2.75.tgz +0 -0
|
@@ -8,8 +8,10 @@ import * as i6 from "../smart-tree/smarttree.module";
|
|
|
8
8
|
import * as i7 from "../view-context/smart-view-context.module";
|
|
9
9
|
import * as i8 from "../smart-map/smart-map.module";
|
|
10
10
|
import * as i9 from "../smart-diagram/component/smart-diagram.module";
|
|
11
|
+
import * as i10 from "primeng/inputgroup";
|
|
12
|
+
import * as i11 from "primeng/inputgroupaddon";
|
|
11
13
|
export declare class SmartComponentLayoutModule {
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartGridModule, typeof i5.SmartExpandableSectionModule, typeof i6.SmarttreeModule, typeof i7.SmartViewContextModule, typeof i8.SmartMapModule, typeof i9.SmartDiagramModule], [typeof i1.SmartComponentLayoutComponent]>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartGridModule, typeof i5.SmartExpandableSectionModule, typeof i6.SmarttreeModule, typeof i7.SmartViewContextModule, typeof i8.SmartMapModule, typeof i9.SmartDiagramModule, typeof i10.InputGroupModule, typeof i11.InputGroupAddonModule], [typeof i1.SmartComponentLayoutComponent]>;
|
|
14
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartComponentLayoutModule>;
|
|
15
17
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 TextFieldProperties {
|
|
13
|
+
clearable?: boolean;
|
|
14
|
+
}
|
|
@@ -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[];
|
|
@@ -16,7 +16,7 @@ export declare class SmartFormService {
|
|
|
16
16
|
private collectKeysFromSmartForm;
|
|
17
17
|
private findSmartFormWidgetByKey;
|
|
18
18
|
private getValueDeeply;
|
|
19
|
-
|
|
19
|
+
setValueDeeply(model: any, key: string, value: any): void;
|
|
20
20
|
getPropertyNamesDeeply(element: any): string[];
|
|
21
21
|
setValuesFromModel(widgets?: SmartFormWidget<any>[], compLib?: ComponentLibrary): void;
|
|
22
22
|
private copyFromValueSetToValuesList;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { QuillModules } from
|
|
2
|
-
import { SelectionDefinition, SmartFormInputMode, SmartFormWidgetDirection, SmartFormWidgetType, SmartWidgetHint, SortDefinition, 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, TextFieldProperties, 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;
|
|
@@ -46,6 +46,7 @@ export interface SmartTextField<T> {
|
|
|
46
46
|
showCharacterLimitSuffix?: boolean;
|
|
47
47
|
toolbarId?: string;
|
|
48
48
|
inputMode?: SmartFormInputMode;
|
|
49
|
+
textFieldProperties?: TextFieldProperties;
|
|
49
50
|
}
|
|
50
51
|
export interface SmartTextFieldNumber<T> {
|
|
51
52
|
type: SmartFormWidgetType.TEXT_FIELD_NUMBER;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ComponentRef, ElementRef, OnDestroy, OnInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentRef, ElementRef, OnDestroy, EventEmitter, OnInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
4
4
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
@@ -13,6 +13,7 @@ import { SmartButton, SmartFormWidget, SmartItem, SmartItems } from '../../smart
|
|
|
13
13
|
import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from '../../smartform.model';
|
|
14
14
|
import { ComponentLibrary } from '../../../view-context/utility/componentLibrary';
|
|
15
15
|
import { EditorTextChangeEvent } from 'primeng/editor';
|
|
16
|
+
import { UiActionDescriptor } from '../../../view-context/api';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
export declare class SmartWidgetSettings {
|
|
18
19
|
static useUtc: boolean;
|
|
@@ -31,6 +32,10 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
31
32
|
onValueChange?: Subject<any>;
|
|
32
33
|
labelColor?: string;
|
|
33
34
|
sophisticatedValueChange: Subject<SophisticatedValueChange>;
|
|
35
|
+
valueCleared: EventEmitter<{
|
|
36
|
+
event?: any;
|
|
37
|
+
key: any;
|
|
38
|
+
}>;
|
|
34
39
|
smartFormWidgetType: typeof SmartFormWidgetType;
|
|
35
40
|
capsOn: any;
|
|
36
41
|
chipInputChild?: ElementRef<HTMLInputElement>;
|
|
@@ -136,6 +141,8 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
136
141
|
isToolbarPresent(): boolean;
|
|
137
142
|
getChipsValue(value: any): any;
|
|
138
143
|
getOptions(items: SmartItems<any>[]): any[];
|
|
144
|
+
get clearButtonDescriptor(): UiActionDescriptor;
|
|
145
|
+
clearField(key: string): void;
|
|
139
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartformwidgetComponent, never>;
|
|
140
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartformwidgetComponent, "smartformwidget", never, { "form": { "alias": "form"; "required": false; }; "widgetInstance": { "alias": "widgetInstance"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "onValueChange": { "alias": "onValueChange"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "sophisticatedValueChange": { "alias": "sophisticatedValueChange"; "required": false; }; }, {}, never, never, false, never>;
|
|
147
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartformwidgetComponent, "smartformwidget", never, { "form": { "alias": "form"; "required": false; }; "widgetInstance": { "alias": "widgetInstance"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "onValueChange": { "alias": "onValueChange"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "sophisticatedValueChange": { "alias": "sophisticatedValueChange"; "required": false; }; }, { "valueCleared": "valueCleared"; }, never, never, false, never>;
|
|
141
148
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|