@smartbit4all/ng-client 7.2.3 → 7.2.5
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/HTML-WIDGET.md +110 -4
- package/MIGRATION-7.0.md +23 -0
- package/WIDGETS.md +3 -1
- package/fesm2022/smartbit4all-ng-client.mjs +184 -43
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-7.2.5.tgz +0 -0
- package/types/smartbit4all-ng-client.d.ts +685 -677
- package/smartbit4all-ng-client-7.2.3.tgz +0 -0
|
@@ -1861,8 +1861,8 @@ interface FileUploaderProperties {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
|
|
1863
1863
|
/**
|
|
1864
|
-
*
|
|
1865
|
-
*
|
|
1864
|
+
* View API
|
|
1865
|
+
* View API
|
|
1866
1866
|
*
|
|
1867
1867
|
* The version of the OpenAPI document: 1.0.0
|
|
1868
1868
|
* Contact: info@it4all.hu
|
|
@@ -1871,31 +1871,56 @@ interface FileUploaderProperties {
|
|
|
1871
1871
|
* https://openapi-generator.tech
|
|
1872
1872
|
* Do not edit the class manually.
|
|
1873
1873
|
*/
|
|
1874
|
+
interface NamedValidator {
|
|
1875
|
+
name: string;
|
|
1876
|
+
params: {
|
|
1877
|
+
[key: string]: object;
|
|
1878
|
+
};
|
|
1879
|
+
/**
|
|
1880
|
+
* ADD: REMOVE: ALTER: Do not explicitly add, but alter preexisting matching validator\'s parameters
|
|
1881
|
+
*/
|
|
1882
|
+
operation: NamedValidatorOperationEnum;
|
|
1883
|
+
errorMessage?: string;
|
|
1884
|
+
}
|
|
1885
|
+
declare enum NamedValidatorOperationEnum {
|
|
1886
|
+
ADD = "ADD",
|
|
1887
|
+
REMOVE = "REMOVE",
|
|
1888
|
+
ALTER = "ALTER"
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1874
1891
|
/**
|
|
1875
|
-
*
|
|
1892
|
+
* value api
|
|
1893
|
+
* value api
|
|
1894
|
+
*
|
|
1895
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1896
|
+
* Contact: info@it4all.hu
|
|
1897
|
+
*
|
|
1898
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1899
|
+
* https://openapi-generator.tech
|
|
1900
|
+
* Do not edit the class manually.
|
|
1876
1901
|
*/
|
|
1877
|
-
interface
|
|
1902
|
+
interface Value$2 {
|
|
1878
1903
|
/**
|
|
1879
|
-
* The
|
|
1904
|
+
* The uri the object of the value can be accessed.
|
|
1880
1905
|
*/
|
|
1881
|
-
|
|
1906
|
+
objectUri?: string;
|
|
1882
1907
|
/**
|
|
1883
|
-
* The
|
|
1908
|
+
* The logical code of the selectable value.
|
|
1884
1909
|
*/
|
|
1885
|
-
|
|
1910
|
+
code?: string;
|
|
1886
1911
|
/**
|
|
1887
|
-
* The
|
|
1912
|
+
* The string value that can be shown on ui. It might be a label code or the exact label.
|
|
1888
1913
|
*/
|
|
1889
|
-
|
|
1914
|
+
displayValue?: string;
|
|
1890
1915
|
/**
|
|
1891
|
-
* The
|
|
1916
|
+
* The code of icon that can be associatied with the value. It may be a uri.
|
|
1892
1917
|
*/
|
|
1893
|
-
|
|
1918
|
+
iconCode?: string;
|
|
1894
1919
|
}
|
|
1895
1920
|
|
|
1896
1921
|
/**
|
|
1897
|
-
*
|
|
1898
|
-
*
|
|
1922
|
+
* Filter API 2
|
|
1923
|
+
* Filter API 2
|
|
1899
1924
|
*
|
|
1900
1925
|
* The version of the OpenAPI document: 1.0.0
|
|
1901
1926
|
* Contact: info@it4all.hu
|
|
@@ -1904,14 +1929,17 @@ interface HtmlProperties {
|
|
|
1904
1929
|
* https://openapi-generator.tech
|
|
1905
1930
|
* Do not edit the class manually.
|
|
1906
1931
|
*/
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1932
|
+
declare enum FilterExpressionDataType {
|
|
1933
|
+
STRING = "STRING",
|
|
1934
|
+
NUMBER = "NUMBER",
|
|
1935
|
+
DATE = "DATE",
|
|
1936
|
+
DATE_TIME = "DATE_TIME",
|
|
1937
|
+
BOOLEAN = "BOOLEAN"
|
|
1910
1938
|
}
|
|
1911
1939
|
|
|
1912
1940
|
/**
|
|
1913
|
-
*
|
|
1914
|
-
*
|
|
1941
|
+
* Filter API 2
|
|
1942
|
+
* Filter API 2
|
|
1915
1943
|
*
|
|
1916
1944
|
* The version of the OpenAPI document: 1.0.0
|
|
1917
1945
|
* Contact: info@it4all.hu
|
|
@@ -1920,17 +1948,41 @@ interface ImageProperties {
|
|
|
1920
1948
|
* https://openapi-generator.tech
|
|
1921
1949
|
* Do not edit the class manually.
|
|
1922
1950
|
*/
|
|
1951
|
+
declare enum FilterExpressionFieldWidgetType$1 {
|
|
1952
|
+
TEXT_FIELD = "TEXT_FIELD",
|
|
1953
|
+
TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
|
|
1954
|
+
TEXT_FIELD_NUMBER = "TEXT_FIELD_NUMBER",
|
|
1955
|
+
TEXT_FIELD_LOOKUP = "TEXT_FIELD_LOOKUP",
|
|
1956
|
+
TEXT_BOX = "TEXT_BOX",
|
|
1957
|
+
SELECT = "SELECT",
|
|
1958
|
+
SELECT_MULTIPLE = "SELECT_MULTIPLE",
|
|
1959
|
+
DATE = "DATE",
|
|
1960
|
+
TIME = "TIME",
|
|
1961
|
+
DATE_TIME = "DATE_TIME",
|
|
1962
|
+
CHECK_BOX = "CHECK_BOX",
|
|
1963
|
+
RADIO_BUTTON = "RADIO_BUTTON",
|
|
1964
|
+
RANGE = "RANGE"
|
|
1965
|
+
}
|
|
1923
1966
|
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1967
|
+
/**
|
|
1968
|
+
* Filter API 2
|
|
1969
|
+
* Filter API 2
|
|
1970
|
+
*
|
|
1971
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1972
|
+
* Contact: info@it4all.hu
|
|
1973
|
+
*
|
|
1974
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1975
|
+
* https://openapi-generator.tech
|
|
1976
|
+
* Do not edit the class manually.
|
|
1977
|
+
*/
|
|
1978
|
+
declare enum FilterExpressionBoolOperator {
|
|
1979
|
+
AND = "AND",
|
|
1980
|
+
OR = "OR"
|
|
1929
1981
|
}
|
|
1930
1982
|
|
|
1931
1983
|
/**
|
|
1932
|
-
*
|
|
1933
|
-
*
|
|
1984
|
+
* Filter API 2
|
|
1985
|
+
* Filter API 2
|
|
1934
1986
|
*
|
|
1935
1987
|
* The version of the OpenAPI document: 1.0.0
|
|
1936
1988
|
* Contact: info@it4all.hu
|
|
@@ -1939,23 +1991,17 @@ interface MultiFileUploaderProperties {
|
|
|
1939
1991
|
* https://openapi-generator.tech
|
|
1940
1992
|
* Do not edit the class manually.
|
|
1941
1993
|
*/
|
|
1994
|
+
|
|
1942
1995
|
/**
|
|
1943
|
-
*
|
|
1996
|
+
* The filter expressions can be gathered into a list. In case of a plain filter expression this is the root object of the expression list.
|
|
1944
1997
|
*/
|
|
1945
|
-
interface
|
|
1946
|
-
|
|
1947
|
-
* Property name in the data model. This will be saved.
|
|
1948
|
-
*/
|
|
1949
|
-
data?: string;
|
|
1950
|
-
/**
|
|
1951
|
-
* Property name in the selection model. This will won\'t be saved here, we use it for selection.
|
|
1952
|
-
*/
|
|
1953
|
-
selection?: string;
|
|
1998
|
+
interface FilterExpressionList {
|
|
1999
|
+
expressions: Array<FilterExpressionData>;
|
|
1954
2000
|
}
|
|
1955
2001
|
|
|
1956
2002
|
/**
|
|
1957
|
-
*
|
|
1958
|
-
*
|
|
2003
|
+
* Filter API 2
|
|
2004
|
+
* Filter API 2
|
|
1959
2005
|
*
|
|
1960
2006
|
* The version of the OpenAPI document: 1.0.0
|
|
1961
2007
|
* Contact: info@it4all.hu
|
|
@@ -1964,19 +2010,29 @@ interface PropertyMapping {
|
|
|
1964
2010
|
* https://openapi-generator.tech
|
|
1965
2011
|
* Do not edit the class manually.
|
|
1966
2012
|
*/
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
2013
|
+
declare enum FilterExpressionOperation {
|
|
2014
|
+
EXPRESSION = "EXPRESSION",
|
|
2015
|
+
EQUAL = "EQUAL",
|
|
2016
|
+
NOT_EQUAL = "NOT_EQUAL",
|
|
2017
|
+
LESS = "LESS",
|
|
2018
|
+
LESS_OR_EQUAL = "LESS_OR_EQUAL",
|
|
2019
|
+
GREATER = "GREATER",
|
|
2020
|
+
GREATER_OR_EQUAL = "GREATER_OR_EQUAL",
|
|
2021
|
+
LIKE = "LIKE",
|
|
2022
|
+
NOT_LIKE = "NOT_LIKE",
|
|
2023
|
+
BETWEEN = "BETWEEN",
|
|
2024
|
+
NOT_BETWEEN = "NOT_BETWEEN",
|
|
2025
|
+
IS_EMPTY = "IS_EMPTY",
|
|
2026
|
+
IS_NOT_EMPTY = "IS_NOT_EMPTY",
|
|
2027
|
+
EXISTS = "EXISTS",
|
|
2028
|
+
NOT_EXISTS = "NOT_EXISTS",
|
|
2029
|
+
IN = "IN",
|
|
2030
|
+
NOT_IN = "NOT_IN"
|
|
1975
2031
|
}
|
|
1976
2032
|
|
|
1977
2033
|
/**
|
|
1978
|
-
*
|
|
1979
|
-
*
|
|
2034
|
+
* Filter API 2
|
|
2035
|
+
* Filter API 2
|
|
1980
2036
|
*
|
|
1981
2037
|
* The version of the OpenAPI document: 1.0.0
|
|
1982
2038
|
* Contact: info@it4all.hu
|
|
@@ -1987,55 +2043,22 @@ declare enum RecordingUploaderPropertiesOpenDirectionEnum {
|
|
|
1987
2043
|
*/
|
|
1988
2044
|
|
|
1989
2045
|
/**
|
|
1990
|
-
* The
|
|
2046
|
+
* The value of an expression operand. The type is named and the value itself is string formatted by the definition of the type.
|
|
1991
2047
|
*/
|
|
1992
|
-
interface
|
|
1993
|
-
/**
|
|
1994
|
-
* Namespace of the ValueSet used for this selection.
|
|
1995
|
-
*/
|
|
1996
|
-
valueSetNamespace?: string;
|
|
1997
|
-
/**
|
|
1998
|
-
* Name of the ValueSet used for this selection.
|
|
1999
|
-
*/
|
|
2000
|
-
valueSetName: string;
|
|
2001
|
-
/**
|
|
2002
|
-
* Defines how the selection should work: for properties or the whole selected Object.
|
|
2003
|
-
*/
|
|
2004
|
-
type: SelectionDefinitionTypeEnum;
|
|
2005
|
-
/**
|
|
2006
|
-
* Specifies which property from ValueSetData.values as Object should be used in selection widget.
|
|
2007
|
-
*/
|
|
2008
|
-
displayProperty?: string;
|
|
2009
|
-
/**
|
|
2010
|
-
* Specifies which property from ValueSetData.values as Object should be used in selection widget as the key.
|
|
2011
|
-
*/
|
|
2012
|
-
keyProperty?: string;
|
|
2013
|
-
/**
|
|
2014
|
-
* Mapping between data and selection model. It may be possible to omit mapping, in this case the default mapping is: data = widget.key, selection = valueSetData.keyProperty
|
|
2015
|
-
*/
|
|
2016
|
-
mapping: Array<PropertyMapping>;
|
|
2017
|
-
/**
|
|
2018
|
-
* Optional value, used for empty valueList entry, this will be the label.
|
|
2019
|
-
*/
|
|
2020
|
-
emptyLabel?: string;
|
|
2048
|
+
interface FilterExpressionOperandData {
|
|
2021
2049
|
/**
|
|
2022
|
-
*
|
|
2050
|
+
* True if the given operand refers to property at the moment. The value as string is a property name.
|
|
2023
2051
|
*/
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
}
|
|
2030
|
-
declare enum SelectionDefinitionValueSetValueTypeEnum {
|
|
2031
|
-
VALUE = "VALUE",
|
|
2032
|
-
OBJECT = "OBJECT",
|
|
2033
|
-
MAP = "MAP"
|
|
2052
|
+
isDataName?: boolean;
|
|
2053
|
+
valueAsString?: string;
|
|
2054
|
+
selectedValues: Array<string>;
|
|
2055
|
+
selectedObjects?: Array<object>;
|
|
2056
|
+
type?: FilterExpressionDataType;
|
|
2034
2057
|
}
|
|
2035
2058
|
|
|
2036
2059
|
/**
|
|
2037
|
-
*
|
|
2038
|
-
*
|
|
2060
|
+
* Filter API 2
|
|
2061
|
+
* Filter API 2
|
|
2039
2062
|
*
|
|
2040
2063
|
* The version of the OpenAPI document: 1.0.0
|
|
2041
2064
|
* Contact: info@it4all.hu
|
|
@@ -2044,19 +2067,23 @@ declare enum SelectionDefinitionValueSetValueTypeEnum {
|
|
|
2044
2067
|
* https://openapi-generator.tech
|
|
2045
2068
|
* Do not edit the class manually.
|
|
2046
2069
|
*/
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2070
|
+
|
|
2071
|
+
/**
|
|
2072
|
+
* The expression data is the decriptor of an expression stands for an equal, like etc. and also can be a bracket where we have embedded expressions.
|
|
2073
|
+
*/
|
|
2074
|
+
interface FilterExpressionData {
|
|
2075
|
+
operand1?: FilterExpressionOperandData;
|
|
2076
|
+
operand2?: FilterExpressionOperandData;
|
|
2077
|
+
operand3?: FilterExpressionOperandData;
|
|
2078
|
+
currentOperation?: FilterExpressionOperation;
|
|
2079
|
+
modifier?: string;
|
|
2080
|
+
boolOperator?: FilterExpressionBoolOperator;
|
|
2081
|
+
subExpression?: FilterExpressionList;
|
|
2055
2082
|
}
|
|
2056
2083
|
|
|
2057
2084
|
/**
|
|
2058
|
-
*
|
|
2059
|
-
*
|
|
2085
|
+
* Filter API 2
|
|
2086
|
+
* Filter API 2
|
|
2060
2087
|
*
|
|
2061
2088
|
* The version of the OpenAPI document: 1.0.0
|
|
2062
2089
|
* Contact: info@it4all.hu
|
|
@@ -2065,14 +2092,21 @@ declare enum SmartFormInputMode {
|
|
|
2065
2092
|
* https://openapi-generator.tech
|
|
2066
2093
|
* Do not edit the class manually.
|
|
2067
2094
|
*/
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2095
|
+
|
|
2096
|
+
interface FilterExpressionFieldList$1 {
|
|
2097
|
+
/**
|
|
2098
|
+
* If the field list is included into builder model then this identifier is unique inside the model.
|
|
2099
|
+
*/
|
|
2100
|
+
id?: string;
|
|
2101
|
+
label?: string;
|
|
2102
|
+
icon?: string;
|
|
2103
|
+
filters: Array<FilterExpressionField$1>;
|
|
2104
|
+
defaultOperation?: FilterExpressionBoolOperator;
|
|
2071
2105
|
}
|
|
2072
2106
|
|
|
2073
2107
|
/**
|
|
2074
|
-
*
|
|
2075
|
-
*
|
|
2108
|
+
* Filter API 2
|
|
2109
|
+
* Filter API 2
|
|
2076
2110
|
*
|
|
2077
2111
|
* The version of the OpenAPI document: 1.0.0
|
|
2078
2112
|
* Contact: info@it4all.hu
|
|
@@ -2081,349 +2115,33 @@ declare enum SmartFormWidgetDirection {
|
|
|
2081
2115
|
* https://openapi-generator.tech
|
|
2082
2116
|
* Do not edit the class manually.
|
|
2083
2117
|
*/
|
|
2084
|
-
declare enum SmartFormWidgetType {
|
|
2085
|
-
CHECK_BOX = "CHECK_BOX",
|
|
2086
|
-
CHECK_BOX_2 = "CHECK_BOX_2",
|
|
2087
|
-
CONTAINER = "CONTAINER",
|
|
2088
|
-
DATE_PICKER = "DATE_PICKER",
|
|
2089
|
-
DATE_TIME_PICKER = "DATE_TIME_PICKER",
|
|
2090
|
-
INDICATOR = "INDICATOR",
|
|
2091
|
-
ITEM = "ITEM",
|
|
2092
|
-
ITEM_GROUP = "ITEM_GROUP",
|
|
2093
|
-
LABEL = "LABEL",
|
|
2094
|
-
RADIO_BUTTON = "RADIO_BUTTON",
|
|
2095
|
-
SELECT = "SELECT",
|
|
2096
|
-
SELECT_MULTIPLE = "SELECT_MULTIPLE",
|
|
2097
|
-
TEXT_BOX = "TEXT_BOX",
|
|
2098
|
-
TEXT_FIELD = "TEXT_FIELD",
|
|
2099
|
-
TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
|
|
2100
|
-
TEXT_FIELD_NUMBER = "TEXT_FIELD_NUMBER",
|
|
2101
|
-
TEXT_FIELD_LOOKUP = "TEXT_FIELD_LOOKUP",
|
|
2102
|
-
TIME = "TIME",
|
|
2103
|
-
TOGGLE = "TOGGLE",
|
|
2104
|
-
IMAGE = "IMAGE",
|
|
2105
|
-
FILE_UPLOADER = "FILE_UPLOADER",
|
|
2106
|
-
MULTI_FILE_UPLOADER = "MULTI_FILE_UPLOADER",
|
|
2107
|
-
MEDIA = "MEDIA",
|
|
2108
|
-
BUTTON = "BUTTON",
|
|
2109
|
-
DIVIDER = "DIVIDER",
|
|
2110
|
-
COMPONENT = "COMPONENT",
|
|
2111
|
-
RICH_TEXT = "RICH_TEXT",
|
|
2112
|
-
SORTABLE = "SORTABLE",
|
|
2113
|
-
MATRIX = "MATRIX",
|
|
2114
|
-
MONTH_PICKER = "MONTH_PICKER",
|
|
2115
|
-
YOUTUBE_PLAYER = "YOUTUBE_PLAYER",
|
|
2116
|
-
SVG = "SVG",
|
|
2117
|
-
DIV = "DIV",
|
|
2118
|
-
RECORDING_UPLOADER = "RECORDING_UPLOADER",
|
|
2119
|
-
HTML = "HTML"
|
|
2120
|
-
}
|
|
2121
|
-
|
|
2122
|
-
/**
|
|
2123
|
-
* Form layout definition
|
|
2124
|
-
* Contains form layout definition objects.
|
|
2125
|
-
*
|
|
2126
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2127
|
-
* Contact: info@it4all.hu
|
|
2128
|
-
*
|
|
2129
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2130
|
-
* https://openapi-generator.tech
|
|
2131
|
-
* Do not edit the class manually.
|
|
2132
|
-
*/
|
|
2133
|
-
interface SmartWidgetHint {
|
|
2134
|
-
text?: string;
|
|
2135
|
-
position?: SmartWidgetHintPositionEnum;
|
|
2136
|
-
}
|
|
2137
|
-
declare enum SmartWidgetHintPositionEnum {
|
|
2138
|
-
LABEL = "UNDER_LABEL",
|
|
2139
|
-
INPUT = "UNDER_INPUT"
|
|
2140
|
-
}
|
|
2141
|
-
|
|
2142
|
-
/**
|
|
2143
|
-
* Form layout definition
|
|
2144
|
-
* Contains form layout definition objects.
|
|
2145
|
-
*
|
|
2146
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2147
|
-
* Contact: info@it4all.hu
|
|
2148
|
-
*
|
|
2149
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2150
|
-
* https://openapi-generator.tech
|
|
2151
|
-
* Do not edit the class manually.
|
|
2152
|
-
*/
|
|
2153
|
-
/**
|
|
2154
|
-
* This enum defines the value change handling strategy. IMMEDIATE_ACTION will trigger an executeUiAction when the value is changed. BLUR which will trigger an executeUiAction when the focus is losted from the html element.
|
|
2155
|
-
*/
|
|
2156
|
-
declare enum ValueChangeMode {
|
|
2157
|
-
NONE = "NONE",
|
|
2158
|
-
IMMEDIATE_ACTION = "IMMEDIATE_ACTION",
|
|
2159
|
-
BLUR = "BLUR"
|
|
2160
|
-
}
|
|
2161
2118
|
|
|
2162
|
-
|
|
2163
|
-
* Form layout definition
|
|
2164
|
-
* Contains form layout definition objects.
|
|
2165
|
-
*
|
|
2166
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2167
|
-
* Contact: info@it4all.hu
|
|
2168
|
-
*
|
|
2169
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2170
|
-
* https://openapi-generator.tech
|
|
2171
|
-
* Do not edit the class manually.
|
|
2172
|
-
*/
|
|
2173
|
-
|
|
2174
|
-
interface SmartMatrixModel {
|
|
2175
|
-
/**
|
|
2176
|
-
* The keys
|
|
2177
|
-
*/
|
|
2178
|
-
rows?: Array<Value$1>;
|
|
2179
|
-
/**
|
|
2180
|
-
* The possible values
|
|
2181
|
-
*/
|
|
2182
|
-
columns?: Array<Value$1>;
|
|
2183
|
-
/**
|
|
2184
|
-
* A map for key - values
|
|
2185
|
-
*/
|
|
2186
|
-
data?: {
|
|
2187
|
-
[key: string]: any;
|
|
2188
|
-
};
|
|
2189
|
-
multiSelect?: boolean;
|
|
2190
|
-
}
|
|
2191
|
-
|
|
2192
|
-
/**
|
|
2193
|
-
* Form layout definition
|
|
2194
|
-
* Contains form layout definition objects.
|
|
2195
|
-
*
|
|
2196
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2197
|
-
* Contact: info@it4all.hu
|
|
2198
|
-
*
|
|
2199
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2200
|
-
* https://openapi-generator.tech
|
|
2201
|
-
* Do not edit the class manually.
|
|
2202
|
-
*/
|
|
2203
|
-
interface SortDefinition {
|
|
2204
|
-
key?: string;
|
|
2205
|
-
displayValue?: string;
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
/**
|
|
2209
|
-
* Form layout definition
|
|
2210
|
-
* Contains form layout definition objects.
|
|
2211
|
-
*
|
|
2212
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2213
|
-
* Contact: info@it4all.hu
|
|
2214
|
-
*
|
|
2215
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2216
|
-
* https://openapi-generator.tech
|
|
2217
|
-
* Do not edit the class manually.
|
|
2218
|
-
*/
|
|
2219
|
-
|
|
2220
|
-
/**
|
|
2221
|
-
* The layout definition of the SmartTextField widget.
|
|
2222
|
-
*/
|
|
2223
|
-
interface SmartWidgetDefinition {
|
|
2224
|
-
type: SmartFormWidgetType;
|
|
2225
|
-
inputMode?: SmartFormInputMode;
|
|
2226
|
-
/**
|
|
2227
|
-
* The path of the desired parameter in the object.
|
|
2228
|
-
*/
|
|
2229
|
-
key: string;
|
|
2230
|
-
/**
|
|
2231
|
-
* The label of the text field
|
|
2232
|
-
*/
|
|
2233
|
-
label: string;
|
|
2234
|
-
/**
|
|
2235
|
-
* The placeholder of the text field
|
|
2236
|
-
*/
|
|
2237
|
-
placeholder?: string;
|
|
2238
|
-
/**
|
|
2239
|
-
* Text that appears as a prefix
|
|
2240
|
-
*/
|
|
2241
|
-
prefix?: string;
|
|
2242
|
-
/**
|
|
2243
|
-
* Text that appears as a suffix
|
|
2244
|
-
*/
|
|
2245
|
-
suffix?: string;
|
|
2119
|
+
interface FilterExpressionField$1 {
|
|
2246
2120
|
/**
|
|
2247
|
-
*
|
|
2121
|
+
* The display name of the whole field. Tipically the label of the property we are filtering
|
|
2248
2122
|
*/
|
|
2249
|
-
|
|
2123
|
+
label?: string;
|
|
2250
2124
|
/**
|
|
2251
|
-
*
|
|
2125
|
+
* This identifier is unique inside the model let it be a builder model or a normal model object.
|
|
2252
2126
|
*/
|
|
2127
|
+
id?: string;
|
|
2128
|
+
label1: string;
|
|
2129
|
+
label2?: string;
|
|
2130
|
+
label3?: string;
|
|
2131
|
+
placeholder1?: string;
|
|
2132
|
+
placeholder2?: string;
|
|
2133
|
+
placeholder3?: string;
|
|
2253
2134
|
icon?: string;
|
|
2135
|
+
expressionData?: FilterExpressionData;
|
|
2136
|
+
possibleOperations?: Array<FilterExpressionOperation>;
|
|
2137
|
+
filterFieldType?: FilterExpressionDataType;
|
|
2138
|
+
possibleValues: Array<Value$2>;
|
|
2139
|
+
widgetType?: FilterExpressionFieldWidgetType$1;
|
|
2140
|
+
subFieldList?: FilterExpressionFieldList$1;
|
|
2254
2141
|
/**
|
|
2255
|
-
*
|
|
2256
|
-
*/
|
|
2257
|
-
iconColor?: string;
|
|
2258
|
-
/**
|
|
2259
|
-
* Position of the icon (pre/post)
|
|
2260
|
-
*/
|
|
2261
|
-
iconPosition?: IconPosition;
|
|
2262
|
-
/**
|
|
2263
|
-
* Defines if the label appears above the widget or not
|
|
2264
|
-
*/
|
|
2265
|
-
showLabel?: boolean;
|
|
2266
|
-
/**
|
|
2267
|
-
* Optional css class of the widget
|
|
2268
|
-
*/
|
|
2269
|
-
cssClass?: string;
|
|
2270
|
-
/**
|
|
2271
|
-
* Optional css class of the label of the widget
|
|
2272
|
-
*/
|
|
2273
|
-
cssLabelClass?: string;
|
|
2274
|
-
isFloatLabel?: boolean;
|
|
2275
|
-
/**
|
|
2276
|
-
* Optional css class of the label direction
|
|
2277
|
-
*/
|
|
2278
|
-
labelPositionClass?: string;
|
|
2279
|
-
style?: Style;
|
|
2280
|
-
labelStyle?: Style;
|
|
2281
|
-
/**
|
|
2282
|
-
* Defines if the widget is a password input
|
|
2283
|
-
*/
|
|
2284
|
-
isPassword?: boolean;
|
|
2285
|
-
values?: Array<Value$1>;
|
|
2286
|
-
childrenComponents?: Array<SmartWidgetDefinition>;
|
|
2287
|
-
selection?: SelectionDefinition;
|
|
2288
|
-
direction?: SmartFormWidgetDirection;
|
|
2289
|
-
matrix?: SmartMatrixModel;
|
|
2290
|
-
hint?: SmartWidgetHint;
|
|
2291
|
-
widgetDescription?: string;
|
|
2292
|
-
maxLength?: number;
|
|
2293
|
-
valueChangeMode?: ValueChangeMode;
|
|
2294
|
-
showCharacterLimitSuffix?: boolean;
|
|
2295
|
-
/**
|
|
2296
|
-
* The default error message to show if the widget features an autocompletion filter operation, which returns no elements.
|
|
2297
|
-
*/
|
|
2298
|
-
filterErrorMessage?: string;
|
|
2299
|
-
/**
|
|
2300
|
-
* Identifier of the toolbar associated with this widget.
|
|
2301
|
-
*/
|
|
2302
|
-
toolbarId?: string;
|
|
2303
|
-
/**
|
|
2304
|
-
* Additional properties the client may use to customise the appearance or behaviour of the widget.
|
|
2305
|
-
*/
|
|
2306
|
-
properties?: {
|
|
2307
|
-
[key: string]: object;
|
|
2308
|
-
};
|
|
2309
|
-
/**
|
|
2310
|
-
* The error message to show for the widget.
|
|
2311
|
-
*/
|
|
2312
|
-
errorMessage?: string;
|
|
2313
|
-
/**
|
|
2314
|
-
* The error message to show for the widget.
|
|
2315
|
-
*/
|
|
2316
|
-
errorIcon?: string;
|
|
2317
|
-
/**
|
|
2318
|
-
* The error message to show for the widget.
|
|
2319
|
-
*/
|
|
2320
|
-
errorColor?: string;
|
|
2321
|
-
sortDefinition?: SortDefinition;
|
|
2322
|
-
}
|
|
2323
|
-
|
|
2324
|
-
/**
|
|
2325
|
-
* Form layout definition
|
|
2326
|
-
* Contains form layout definition objects.
|
|
2327
|
-
*
|
|
2328
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2329
|
-
* Contact: info@it4all.hu
|
|
2330
|
-
*
|
|
2331
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2332
|
-
* https://openapi-generator.tech
|
|
2333
|
-
* Do not edit the class manually.
|
|
2334
|
-
*/
|
|
2335
|
-
|
|
2336
|
-
interface SmartLayoutDefinition {
|
|
2337
|
-
widgets: Array<SmartWidgetDefinition>;
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
|
-
/**
|
|
2341
|
-
* Form layout definition
|
|
2342
|
-
* Contains form layout definition objects.
|
|
2343
|
-
*
|
|
2344
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2345
|
-
* Contact: info@it4all.hu
|
|
2346
|
-
*
|
|
2347
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2348
|
-
* https://openapi-generator.tech
|
|
2349
|
-
* Do not edit the class manually.
|
|
2350
|
-
*/
|
|
2351
|
-
interface TextBoxProperties {
|
|
2352
|
-
minRows?: number;
|
|
2353
|
-
maxRows?: number;
|
|
2354
|
-
}
|
|
2355
|
-
|
|
2356
|
-
/**
|
|
2357
|
-
* Form layout definition
|
|
2358
|
-
* Contains form layout definition objects.
|
|
2359
|
-
*
|
|
2360
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2361
|
-
* Contact: info@it4all.hu
|
|
2362
|
-
*
|
|
2363
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2364
|
-
* https://openapi-generator.tech
|
|
2365
|
-
* Do not edit the class manually.
|
|
2366
|
-
*/
|
|
2367
|
-
interface TextFieldProperties {
|
|
2368
|
-
clearable?: boolean;
|
|
2369
|
-
}
|
|
2370
|
-
|
|
2371
|
-
/**
|
|
2372
|
-
* View API
|
|
2373
|
-
* View API
|
|
2374
|
-
*
|
|
2375
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2376
|
-
* Contact: info@it4all.hu
|
|
2377
|
-
*
|
|
2378
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2379
|
-
* https://openapi-generator.tech
|
|
2380
|
-
* Do not edit the class manually.
|
|
2381
|
-
*/
|
|
2382
|
-
interface NamedValidator {
|
|
2383
|
-
name: string;
|
|
2384
|
-
params: {
|
|
2385
|
-
[key: string]: object;
|
|
2386
|
-
};
|
|
2387
|
-
/**
|
|
2388
|
-
* ADD: REMOVE: ALTER: Do not explicitly add, but alter preexisting matching validator\'s parameters
|
|
2389
|
-
*/
|
|
2390
|
-
operation: NamedValidatorOperationEnum;
|
|
2391
|
-
errorMessage?: string;
|
|
2392
|
-
}
|
|
2393
|
-
declare enum NamedValidatorOperationEnum {
|
|
2394
|
-
ADD = "ADD",
|
|
2395
|
-
REMOVE = "REMOVE",
|
|
2396
|
-
ALTER = "ALTER"
|
|
2397
|
-
}
|
|
2398
|
-
|
|
2399
|
-
/**
|
|
2400
|
-
* value api
|
|
2401
|
-
* value api
|
|
2402
|
-
*
|
|
2403
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2404
|
-
* Contact: info@it4all.hu
|
|
2405
|
-
*
|
|
2406
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2407
|
-
* https://openapi-generator.tech
|
|
2408
|
-
* Do not edit the class manually.
|
|
2409
|
-
*/
|
|
2410
|
-
interface Value$2 {
|
|
2411
|
-
/**
|
|
2412
|
-
* The uri the object of the value can be accessed.
|
|
2413
|
-
*/
|
|
2414
|
-
objectUri?: string;
|
|
2415
|
-
/**
|
|
2416
|
-
* The logical code of the selectable value.
|
|
2417
|
-
*/
|
|
2418
|
-
code?: string;
|
|
2419
|
-
/**
|
|
2420
|
-
* The string value that can be shown on ui. It might be a label code or the exact label.
|
|
2421
|
-
*/
|
|
2422
|
-
displayValue?: string;
|
|
2423
|
-
/**
|
|
2424
|
-
* The code of icon that can be associatied with the value. It may be a uri.
|
|
2142
|
+
* Identifier of the toolbar associated with this widget.
|
|
2425
2143
|
*/
|
|
2426
|
-
|
|
2144
|
+
toolbarId?: string;
|
|
2427
2145
|
}
|
|
2428
2146
|
|
|
2429
2147
|
/**
|
|
@@ -2437,39 +2155,21 @@ interface Value$2 {
|
|
|
2437
2155
|
* https://openapi-generator.tech
|
|
2438
2156
|
* Do not edit the class manually.
|
|
2439
2157
|
*/
|
|
2440
|
-
declare enum FilterExpressionDataType {
|
|
2441
|
-
STRING = "STRING",
|
|
2442
|
-
NUMBER = "NUMBER",
|
|
2443
|
-
DATE = "DATE",
|
|
2444
|
-
DATE_TIME = "DATE_TIME",
|
|
2445
|
-
BOOLEAN = "BOOLEAN"
|
|
2446
|
-
}
|
|
2447
2158
|
|
|
2448
2159
|
/**
|
|
2449
|
-
*
|
|
2450
|
-
* Filter API 2
|
|
2451
|
-
*
|
|
2452
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2453
|
-
* Contact: info@it4all.hu
|
|
2454
|
-
*
|
|
2455
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2456
|
-
* https://openapi-generator.tech
|
|
2457
|
-
* Do not edit the class manually.
|
|
2160
|
+
* The available filter fields contains the pre setup filter field as a template. It can be easily copied and added to the filter field list.
|
|
2458
2161
|
*/
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
CHECK_BOX = "CHECK_BOX",
|
|
2471
|
-
RADIO_BUTTON = "RADIO_BUTTON",
|
|
2472
|
-
RANGE = "RANGE"
|
|
2162
|
+
interface FilterExpressionBuilderField$1 {
|
|
2163
|
+
label?: string;
|
|
2164
|
+
fieldTemplate?: FilterExpressionField$1;
|
|
2165
|
+
/**
|
|
2166
|
+
* If less or equal zero then there is no limit how many time we can use the given filter. Else it is the limit where the typical value is 1 becase we can use the given filter field only once.
|
|
2167
|
+
*/
|
|
2168
|
+
limitOfUsage?: number;
|
|
2169
|
+
/**
|
|
2170
|
+
* The unique identifiers of fields initiated from this builder field in the workplace.
|
|
2171
|
+
*/
|
|
2172
|
+
instanceIds?: Array<string>;
|
|
2473
2173
|
}
|
|
2474
2174
|
|
|
2475
2175
|
/**
|
|
@@ -2483,9 +2183,30 @@ declare enum FilterExpressionFieldWidgetType$1 {
|
|
|
2483
2183
|
* https://openapi-generator.tech
|
|
2484
2184
|
* Do not edit the class manually.
|
|
2485
2185
|
*/
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* The group is just a UI structure to define a tree structure for the available filter fields. In a group there is an ordered list of filter fields. The group can imply a parenthesis in the xpression or an exist node. Theoreticaly the groups are hierarchical but the pratcticaly it is not. The kind of the group defines what operation is available for the filter fields in the group. DISPLAY: means thet we can choose an available filter field from the group and place it into the field list related with the current group or in any sub list except under an exist. BRACKET: The given groups defines a bracket. If we choose any of the fiels to add to a filter list then this imlicitely create a bracket node. It can not be added under an exist node. EXIST: The same as the BRACKET but with an exist node.
|
|
2189
|
+
*/
|
|
2190
|
+
interface FilterExpressionBuilderGroup$1 {
|
|
2191
|
+
/**
|
|
2192
|
+
* The visual display name fo the group.
|
|
2193
|
+
*/
|
|
2194
|
+
label?: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* Defines if the given groups is just a visual sugar to group somehow the available filter fields or it is definetely a bracket or exists.
|
|
2197
|
+
*/
|
|
2198
|
+
builderGroupKind?: FilterExpressionBuilderGroupBuilderGroupKindEnum$1;
|
|
2199
|
+
fields?: Array<FilterExpressionBuilderField$1>;
|
|
2200
|
+
/**
|
|
2201
|
+
* The unique identifier of the root list in the workplace.
|
|
2202
|
+
*/
|
|
2203
|
+
rootListId?: string;
|
|
2204
|
+
subGroups?: Array<FilterExpressionBuilderGroup$1>;
|
|
2205
|
+
}
|
|
2206
|
+
declare enum FilterExpressionBuilderGroupBuilderGroupKindEnum$1 {
|
|
2207
|
+
DIPLAY = "DIPLAY",
|
|
2208
|
+
BRACKET = "BRACKET",
|
|
2209
|
+
EXIST = "EXIST"
|
|
2489
2210
|
}
|
|
2490
2211
|
|
|
2491
2212
|
/**
|
|
@@ -2501,15 +2222,28 @@ declare enum FilterExpressionBoolOperator {
|
|
|
2501
2222
|
*/
|
|
2502
2223
|
|
|
2503
2224
|
/**
|
|
2504
|
-
* The filter
|
|
2225
|
+
* The filter field model data contains a list of groups that form a tree structure for the available filter fields. It contains the groups of available fields and the workplace root list that conatins the already added filters. On the builder side we refer the unique identifiers of the field lists and fields.
|
|
2505
2226
|
*/
|
|
2506
|
-
interface
|
|
2507
|
-
|
|
2227
|
+
interface FilterExpressionBuilderModel$1 {
|
|
2228
|
+
label?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* This is the group of filter expressions that can be involved to the workplace. This is a tree structure.
|
|
2231
|
+
*/
|
|
2232
|
+
groups?: Array<FilterExpressionBuilderGroup$1>;
|
|
2233
|
+
exceptionalGroup?: FilterExpressionBuilderGroup$1;
|
|
2234
|
+
workplaceList?: FilterExpressionFieldList$1;
|
|
2235
|
+
defaultFilters?: FilterExpressionList;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
interface PropertyDefinitionData {
|
|
2239
|
+
uri: string;
|
|
2240
|
+
name: string;
|
|
2241
|
+
typeClass: string;
|
|
2508
2242
|
}
|
|
2509
2243
|
|
|
2510
2244
|
/**
|
|
2511
|
-
*
|
|
2512
|
-
*
|
|
2245
|
+
* value api
|
|
2246
|
+
* value api
|
|
2513
2247
|
*
|
|
2514
2248
|
* The version of the OpenAPI document: 1.0.0
|
|
2515
2249
|
* Contact: info@it4all.hu
|
|
@@ -2518,29 +2252,39 @@ interface FilterExpressionList {
|
|
|
2518
2252
|
* https://openapi-generator.tech
|
|
2519
2253
|
* Do not edit the class manually.
|
|
2520
2254
|
*/
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2255
|
+
|
|
2256
|
+
/**
|
|
2257
|
+
* The instance of the ValueSetDefintion that conatins every information inline.
|
|
2258
|
+
*/
|
|
2259
|
+
interface ValueSetData {
|
|
2260
|
+
qualifiedName: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* The name of the key property in the value. It will be the value that copied into the reference when a given item is selected from the value set.
|
|
2263
|
+
*/
|
|
2264
|
+
keyProperty?: string;
|
|
2265
|
+
properties: Array<PropertyDefinitionData>;
|
|
2266
|
+
/**
|
|
2267
|
+
* Optional icon code for the given value set.
|
|
2268
|
+
*/
|
|
2269
|
+
iconCode?: string;
|
|
2270
|
+
/**
|
|
2271
|
+
* If true then the value set is not defined and not accessible.
|
|
2272
|
+
*/
|
|
2273
|
+
undefined?: boolean;
|
|
2274
|
+
/**
|
|
2275
|
+
* If true then the values doesn\'t contains the the whole values set or it migth be empty and we have to ask for filtered set of values using the filter fields available.
|
|
2276
|
+
*/
|
|
2277
|
+
lazy?: boolean;
|
|
2278
|
+
values: Array<object>;
|
|
2279
|
+
/**
|
|
2280
|
+
* The filter expression model for the search from values.
|
|
2281
|
+
*/
|
|
2282
|
+
filterModel?: FilterExpressionBuilderModel$1;
|
|
2539
2283
|
}
|
|
2540
2284
|
|
|
2541
2285
|
/**
|
|
2542
|
-
*
|
|
2543
|
-
*
|
|
2286
|
+
* View API
|
|
2287
|
+
* View API
|
|
2544
2288
|
*
|
|
2545
2289
|
* The version of the OpenAPI document: 1.0.0
|
|
2546
2290
|
* Contact: info@it4all.hu
|
|
@@ -2551,22 +2295,27 @@ declare enum FilterExpressionOperation {
|
|
|
2551
2295
|
*/
|
|
2552
2296
|
|
|
2553
2297
|
/**
|
|
2554
|
-
* The
|
|
2298
|
+
* The component constraint is responsible for the constraints belong to a given component (textfield, combobox etc.) on the view. The UI must identify the component by the dataName that is a path of the data name separated by dot like dataSheet.field.
|
|
2555
2299
|
*/
|
|
2556
|
-
interface
|
|
2300
|
+
interface ComponentConstraint {
|
|
2557
2301
|
/**
|
|
2558
|
-
*
|
|
2302
|
+
* The data name to identify the related component or componenets. If it is a path the format is the following - dataSheet.field.
|
|
2559
2303
|
*/
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2304
|
+
dataName?: string;
|
|
2305
|
+
visible?: boolean;
|
|
2306
|
+
mandatory?: boolean;
|
|
2307
|
+
enabled?: boolean;
|
|
2308
|
+
valueSet?: ValueSetData;
|
|
2309
|
+
min?: number;
|
|
2310
|
+
max?: number;
|
|
2311
|
+
minLength?: number;
|
|
2312
|
+
maxLength?: number;
|
|
2313
|
+
namedValidators: Array<NamedValidator>;
|
|
2565
2314
|
}
|
|
2566
2315
|
|
|
2567
2316
|
/**
|
|
2568
|
-
*
|
|
2569
|
-
*
|
|
2317
|
+
* Form layout definition
|
|
2318
|
+
* Contains form layout definition objects.
|
|
2570
2319
|
*
|
|
2571
2320
|
* The version of the OpenAPI document: 1.0.0
|
|
2572
2321
|
* Contact: info@it4all.hu
|
|
@@ -2575,23 +2324,36 @@ interface FilterExpressionOperandData {
|
|
|
2575
2324
|
* https://openapi-generator.tech
|
|
2576
2325
|
* Do not edit the class manually.
|
|
2577
2326
|
*/
|
|
2327
|
+
declare enum ComponentType {
|
|
2328
|
+
CONTAINER = "container",
|
|
2329
|
+
FORM = "form",
|
|
2330
|
+
WIDGET = "widget"
|
|
2331
|
+
}
|
|
2578
2332
|
|
|
2579
2333
|
/**
|
|
2580
|
-
*
|
|
2334
|
+
* Form layout definition
|
|
2335
|
+
* Contains form layout definition objects.
|
|
2336
|
+
*
|
|
2337
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2338
|
+
* Contact: info@it4all.hu
|
|
2339
|
+
*
|
|
2340
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2341
|
+
* https://openapi-generator.tech
|
|
2342
|
+
* Do not edit the class manually.
|
|
2581
2343
|
*/
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2344
|
+
declare enum ComponentWidgetType {
|
|
2345
|
+
GRID = "grid",
|
|
2346
|
+
FILTER = "filter",
|
|
2347
|
+
TREE = "tree",
|
|
2348
|
+
TOOLBAR = "toolbar",
|
|
2349
|
+
MAP = "map",
|
|
2350
|
+
DIAGRAM = "diagram",
|
|
2351
|
+
EMBEDDED_SLOT = "embedded_slot"
|
|
2590
2352
|
}
|
|
2591
2353
|
|
|
2592
2354
|
/**
|
|
2593
|
-
*
|
|
2594
|
-
*
|
|
2355
|
+
* Form layout definition
|
|
2356
|
+
* Contains form layout definition objects.
|
|
2595
2357
|
*
|
|
2596
2358
|
* The version of the OpenAPI document: 1.0.0
|
|
2597
2359
|
* Contact: info@it4all.hu
|
|
@@ -2600,16 +2362,9 @@ interface FilterExpressionData {
|
|
|
2600
2362
|
* https://openapi-generator.tech
|
|
2601
2363
|
* Do not edit the class manually.
|
|
2602
2364
|
*/
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
* If the field list is included into builder model then this identifier is unique inside the model.
|
|
2607
|
-
*/
|
|
2608
|
-
id?: string;
|
|
2609
|
-
label?: string;
|
|
2610
|
-
icon?: string;
|
|
2611
|
-
filters: Array<FilterExpressionField$1>;
|
|
2612
|
-
defaultOperation?: FilterExpressionBoolOperator;
|
|
2365
|
+
declare enum LayoutDirection {
|
|
2366
|
+
HORIZONTAL = "horizontal",
|
|
2367
|
+
VERTICAL = "vertical"
|
|
2613
2368
|
}
|
|
2614
2369
|
|
|
2615
2370
|
/**
|
|
@@ -2623,38 +2378,39 @@ interface FilterExpressionFieldList$1 {
|
|
|
2623
2378
|
* https://openapi-generator.tech
|
|
2624
2379
|
* Do not edit the class manually.
|
|
2625
2380
|
*/
|
|
2381
|
+
declare enum SmartFilterType$1 {
|
|
2382
|
+
SIMPLE = "SIMPLE",
|
|
2383
|
+
ADVANCED = "ADVANCED"
|
|
2384
|
+
}
|
|
2626
2385
|
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
possibleOperations?: Array<FilterExpressionOperation>;
|
|
2645
|
-
filterFieldType?: FilterExpressionDataType;
|
|
2646
|
-
possibleValues: Array<Value$2>;
|
|
2647
|
-
widgetType?: FilterExpressionFieldWidgetType$1;
|
|
2648
|
-
subFieldList?: FilterExpressionFieldList$1;
|
|
2386
|
+
/**
|
|
2387
|
+
* Form layout definition
|
|
2388
|
+
* Contains form layout definition objects.
|
|
2389
|
+
*
|
|
2390
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2391
|
+
* Contact: info@it4all.hu
|
|
2392
|
+
*
|
|
2393
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2394
|
+
* https://openapi-generator.tech
|
|
2395
|
+
* Do not edit the class manually.
|
|
2396
|
+
*/
|
|
2397
|
+
|
|
2398
|
+
interface SmartComponentWidgetDefinition {
|
|
2399
|
+
type: ComponentWidgetType;
|
|
2400
|
+
identifier?: string;
|
|
2401
|
+
filterExpressionFieldList?: FilterExpressionFieldList$1;
|
|
2402
|
+
filterType?: SmartFilterType$1;
|
|
2649
2403
|
/**
|
|
2650
|
-
*
|
|
2404
|
+
* Additional properties the client may use to customise the appearance or behaviour of the widget.
|
|
2651
2405
|
*/
|
|
2652
|
-
|
|
2406
|
+
properties?: {
|
|
2407
|
+
[key: string]: object;
|
|
2408
|
+
};
|
|
2653
2409
|
}
|
|
2654
2410
|
|
|
2655
2411
|
/**
|
|
2656
|
-
*
|
|
2657
|
-
*
|
|
2412
|
+
* Form layout definition
|
|
2413
|
+
* Contains form layout definition objects.
|
|
2658
2414
|
*
|
|
2659
2415
|
* The version of the OpenAPI document: 1.0.0
|
|
2660
2416
|
* Contact: info@it4all.hu
|
|
@@ -2663,26 +2419,23 @@ interface FilterExpressionField$1 {
|
|
|
2663
2419
|
* https://openapi-generator.tech
|
|
2664
2420
|
* Do not edit the class manually.
|
|
2665
2421
|
*/
|
|
2666
|
-
|
|
2667
2422
|
/**
|
|
2668
|
-
*
|
|
2423
|
+
* Mapping of two properties.
|
|
2669
2424
|
*/
|
|
2670
|
-
interface
|
|
2671
|
-
label?: string;
|
|
2672
|
-
fieldTemplate?: FilterExpressionField$1;
|
|
2425
|
+
interface PropertyMapping {
|
|
2673
2426
|
/**
|
|
2674
|
-
*
|
|
2427
|
+
* Property name in the data model. This will be saved.
|
|
2675
2428
|
*/
|
|
2676
|
-
|
|
2429
|
+
data?: string;
|
|
2677
2430
|
/**
|
|
2678
|
-
*
|
|
2431
|
+
* Property name in the selection model. This will won\'t be saved here, we use it for selection.
|
|
2679
2432
|
*/
|
|
2680
|
-
|
|
2433
|
+
selection?: string;
|
|
2681
2434
|
}
|
|
2682
2435
|
|
|
2683
2436
|
/**
|
|
2684
|
-
*
|
|
2685
|
-
*
|
|
2437
|
+
* Form layout definition
|
|
2438
|
+
* Contains form layout definition objects.
|
|
2686
2439
|
*
|
|
2687
2440
|
* The version of the OpenAPI document: 1.0.0
|
|
2688
2441
|
* Contact: info@it4all.hu
|
|
@@ -2693,33 +2446,55 @@ interface FilterExpressionBuilderField$1 {
|
|
|
2693
2446
|
*/
|
|
2694
2447
|
|
|
2695
2448
|
/**
|
|
2696
|
-
* The
|
|
2449
|
+
* The definition of an arbitrary selection.
|
|
2697
2450
|
*/
|
|
2698
|
-
interface
|
|
2451
|
+
interface SelectionDefinition {
|
|
2699
2452
|
/**
|
|
2700
|
-
*
|
|
2453
|
+
* Namespace of the ValueSet used for this selection.
|
|
2701
2454
|
*/
|
|
2702
|
-
|
|
2455
|
+
valueSetNamespace?: string;
|
|
2703
2456
|
/**
|
|
2704
|
-
*
|
|
2457
|
+
* Name of the ValueSet used for this selection.
|
|
2705
2458
|
*/
|
|
2706
|
-
|
|
2707
|
-
fields?: Array<FilterExpressionBuilderField$1>;
|
|
2459
|
+
valueSetName: string;
|
|
2708
2460
|
/**
|
|
2709
|
-
*
|
|
2461
|
+
* Defines how the selection should work: for properties or the whole selected Object.
|
|
2710
2462
|
*/
|
|
2711
|
-
|
|
2712
|
-
|
|
2463
|
+
type: SelectionDefinitionTypeEnum;
|
|
2464
|
+
/**
|
|
2465
|
+
* Specifies which property from ValueSetData.values as Object should be used in selection widget.
|
|
2466
|
+
*/
|
|
2467
|
+
displayProperty?: string;
|
|
2468
|
+
/**
|
|
2469
|
+
* Specifies which property from ValueSetData.values as Object should be used in selection widget as the key.
|
|
2470
|
+
*/
|
|
2471
|
+
keyProperty?: string;
|
|
2472
|
+
/**
|
|
2473
|
+
* Mapping between data and selection model. It may be possible to omit mapping, in this case the default mapping is: data = widget.key, selection = valueSetData.keyProperty
|
|
2474
|
+
*/
|
|
2475
|
+
mapping: Array<PropertyMapping>;
|
|
2476
|
+
/**
|
|
2477
|
+
* Optional value, used for empty valueList entry, this will be the label.
|
|
2478
|
+
*/
|
|
2479
|
+
emptyLabel?: string;
|
|
2480
|
+
/**
|
|
2481
|
+
* Defines how the values should be loaded.
|
|
2482
|
+
*/
|
|
2483
|
+
valueSetValueType?: SelectionDefinitionValueSetValueTypeEnum;
|
|
2713
2484
|
}
|
|
2714
|
-
declare enum
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2485
|
+
declare enum SelectionDefinitionTypeEnum {
|
|
2486
|
+
PROPERTY = "PROPERTY",
|
|
2487
|
+
OBJECT = "OBJECT"
|
|
2488
|
+
}
|
|
2489
|
+
declare enum SelectionDefinitionValueSetValueTypeEnum {
|
|
2490
|
+
VALUE = "VALUE",
|
|
2491
|
+
OBJECT = "OBJECT",
|
|
2492
|
+
MAP = "MAP"
|
|
2718
2493
|
}
|
|
2719
2494
|
|
|
2720
2495
|
/**
|
|
2721
|
-
*
|
|
2722
|
-
*
|
|
2496
|
+
* Form layout definition
|
|
2497
|
+
* Contains form layout definition objects.
|
|
2723
2498
|
*
|
|
2724
2499
|
* The version of the OpenAPI document: 1.0.0
|
|
2725
2500
|
* Contact: info@it4all.hu
|
|
@@ -2728,30 +2503,14 @@ declare enum FilterExpressionBuilderGroupBuilderGroupKindEnum$1 {
|
|
|
2728
2503
|
* https://openapi-generator.tech
|
|
2729
2504
|
* Do not edit the class manually.
|
|
2730
2505
|
*/
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
*/
|
|
2735
|
-
interface FilterExpressionBuilderModel$1 {
|
|
2736
|
-
label?: string;
|
|
2737
|
-
/**
|
|
2738
|
-
* This is the group of filter expressions that can be involved to the workplace. This is a tree structure.
|
|
2739
|
-
*/
|
|
2740
|
-
groups?: Array<FilterExpressionBuilderGroup$1>;
|
|
2741
|
-
exceptionalGroup?: FilterExpressionBuilderGroup$1;
|
|
2742
|
-
workplaceList?: FilterExpressionFieldList$1;
|
|
2743
|
-
defaultFilters?: FilterExpressionList;
|
|
2744
|
-
}
|
|
2745
|
-
|
|
2746
|
-
interface PropertyDefinitionData {
|
|
2747
|
-
uri: string;
|
|
2748
|
-
name: string;
|
|
2749
|
-
typeClass: string;
|
|
2506
|
+
declare enum SmartFormWidgetDirection {
|
|
2507
|
+
COL = "COL",
|
|
2508
|
+
ROW = "ROW"
|
|
2750
2509
|
}
|
|
2751
2510
|
|
|
2752
2511
|
/**
|
|
2753
|
-
*
|
|
2754
|
-
*
|
|
2512
|
+
* Form layout definition
|
|
2513
|
+
* Contains form layout definition objects.
|
|
2755
2514
|
*
|
|
2756
2515
|
* The version of the OpenAPI document: 1.0.0
|
|
2757
2516
|
* Contact: info@it4all.hu
|
|
@@ -2760,39 +2519,18 @@ interface PropertyDefinitionData {
|
|
|
2760
2519
|
* https://openapi-generator.tech
|
|
2761
2520
|
* Do not edit the class manually.
|
|
2762
2521
|
*/
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
* The name of the key property in the value. It will be the value that copied into the reference when a given item is selected from the value set.
|
|
2771
|
-
*/
|
|
2772
|
-
keyProperty?: string;
|
|
2773
|
-
properties: Array<PropertyDefinitionData>;
|
|
2774
|
-
/**
|
|
2775
|
-
* Optional icon code for the given value set.
|
|
2776
|
-
*/
|
|
2777
|
-
iconCode?: string;
|
|
2778
|
-
/**
|
|
2779
|
-
* If true then the value set is not defined and not accessible.
|
|
2780
|
-
*/
|
|
2781
|
-
undefined?: boolean;
|
|
2782
|
-
/**
|
|
2783
|
-
* If true then the values doesn\'t contains the the whole values set or it migth be empty and we have to ask for filtered set of values using the filter fields available.
|
|
2784
|
-
*/
|
|
2785
|
-
lazy?: boolean;
|
|
2786
|
-
values: Array<object>;
|
|
2787
|
-
/**
|
|
2788
|
-
* The filter expression model for the search from values.
|
|
2789
|
-
*/
|
|
2790
|
-
filterModel?: FilterExpressionBuilderModel$1;
|
|
2522
|
+
interface SmartWidgetHint {
|
|
2523
|
+
text?: string;
|
|
2524
|
+
position?: SmartWidgetHintPositionEnum;
|
|
2525
|
+
}
|
|
2526
|
+
declare enum SmartWidgetHintPositionEnum {
|
|
2527
|
+
LABEL = "UNDER_LABEL",
|
|
2528
|
+
INPUT = "UNDER_INPUT"
|
|
2791
2529
|
}
|
|
2792
2530
|
|
|
2793
2531
|
/**
|
|
2794
|
-
*
|
|
2795
|
-
*
|
|
2532
|
+
* Form layout definition
|
|
2533
|
+
* Contains form layout definition objects.
|
|
2796
2534
|
*
|
|
2797
2535
|
* The version of the OpenAPI document: 1.0.0
|
|
2798
2536
|
* Contact: info@it4all.hu
|
|
@@ -2801,24 +2539,42 @@ interface ValueSetData {
|
|
|
2801
2539
|
* https://openapi-generator.tech
|
|
2802
2540
|
* Do not edit the class manually.
|
|
2803
2541
|
*/
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2542
|
+
declare enum SmartFormWidgetType {
|
|
2543
|
+
CHECK_BOX = "CHECK_BOX",
|
|
2544
|
+
CHECK_BOX_2 = "CHECK_BOX_2",
|
|
2545
|
+
CONTAINER = "CONTAINER",
|
|
2546
|
+
DATE_PICKER = "DATE_PICKER",
|
|
2547
|
+
DATE_TIME_PICKER = "DATE_TIME_PICKER",
|
|
2548
|
+
INDICATOR = "INDICATOR",
|
|
2549
|
+
ITEM = "ITEM",
|
|
2550
|
+
ITEM_GROUP = "ITEM_GROUP",
|
|
2551
|
+
LABEL = "LABEL",
|
|
2552
|
+
RADIO_BUTTON = "RADIO_BUTTON",
|
|
2553
|
+
SELECT = "SELECT",
|
|
2554
|
+
SELECT_MULTIPLE = "SELECT_MULTIPLE",
|
|
2555
|
+
TEXT_BOX = "TEXT_BOX",
|
|
2556
|
+
TEXT_FIELD = "TEXT_FIELD",
|
|
2557
|
+
TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
|
|
2558
|
+
TEXT_FIELD_NUMBER = "TEXT_FIELD_NUMBER",
|
|
2559
|
+
TEXT_FIELD_LOOKUP = "TEXT_FIELD_LOOKUP",
|
|
2560
|
+
TIME = "TIME",
|
|
2561
|
+
TOGGLE = "TOGGLE",
|
|
2562
|
+
IMAGE = "IMAGE",
|
|
2563
|
+
FILE_UPLOADER = "FILE_UPLOADER",
|
|
2564
|
+
MULTI_FILE_UPLOADER = "MULTI_FILE_UPLOADER",
|
|
2565
|
+
MEDIA = "MEDIA",
|
|
2566
|
+
BUTTON = "BUTTON",
|
|
2567
|
+
DIVIDER = "DIVIDER",
|
|
2568
|
+
COMPONENT = "COMPONENT",
|
|
2569
|
+
RICH_TEXT = "RICH_TEXT",
|
|
2570
|
+
SORTABLE = "SORTABLE",
|
|
2571
|
+
MATRIX = "MATRIX",
|
|
2572
|
+
MONTH_PICKER = "MONTH_PICKER",
|
|
2573
|
+
YOUTUBE_PLAYER = "YOUTUBE_PLAYER",
|
|
2574
|
+
SVG = "SVG",
|
|
2575
|
+
DIV = "DIV",
|
|
2576
|
+
RECORDING_UPLOADER = "RECORDING_UPLOADER",
|
|
2577
|
+
HTML = "HTML"
|
|
2822
2578
|
}
|
|
2823
2579
|
|
|
2824
2580
|
/**
|
|
@@ -2832,10 +2588,13 @@ interface ComponentConstraint {
|
|
|
2832
2588
|
* https://openapi-generator.tech
|
|
2833
2589
|
* Do not edit the class manually.
|
|
2834
2590
|
*/
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2591
|
+
/**
|
|
2592
|
+
* This enum defines the value change handling strategy. IMMEDIATE_ACTION will trigger an executeUiAction when the value is changed. BLUR which will trigger an executeUiAction when the focus is losted from the html element.
|
|
2593
|
+
*/
|
|
2594
|
+
declare enum ValueChangeMode {
|
|
2595
|
+
NONE = "NONE",
|
|
2596
|
+
IMMEDIATE_ACTION = "IMMEDIATE_ACTION",
|
|
2597
|
+
BLUR = "BLUR"
|
|
2839
2598
|
}
|
|
2840
2599
|
|
|
2841
2600
|
/**
|
|
@@ -2849,14 +2608,23 @@ declare enum ComponentType {
|
|
|
2849
2608
|
* https://openapi-generator.tech
|
|
2850
2609
|
* Do not edit the class manually.
|
|
2851
2610
|
*/
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2611
|
+
|
|
2612
|
+
interface SmartMatrixModel {
|
|
2613
|
+
/**
|
|
2614
|
+
* The keys
|
|
2615
|
+
*/
|
|
2616
|
+
rows?: Array<Value$1>;
|
|
2617
|
+
/**
|
|
2618
|
+
* The possible values
|
|
2619
|
+
*/
|
|
2620
|
+
columns?: Array<Value$1>;
|
|
2621
|
+
/**
|
|
2622
|
+
* A map for key - values
|
|
2623
|
+
*/
|
|
2624
|
+
data?: {
|
|
2625
|
+
[key: string]: any;
|
|
2626
|
+
};
|
|
2627
|
+
multiSelect?: boolean;
|
|
2860
2628
|
}
|
|
2861
2629
|
|
|
2862
2630
|
/**
|
|
@@ -2870,14 +2638,19 @@ declare enum ComponentWidgetType {
|
|
|
2870
2638
|
* https://openapi-generator.tech
|
|
2871
2639
|
* Do not edit the class manually.
|
|
2872
2640
|
*/
|
|
2873
|
-
declare enum
|
|
2874
|
-
|
|
2875
|
-
|
|
2641
|
+
declare enum SmartFormInputMode {
|
|
2642
|
+
NONE = "NONE",
|
|
2643
|
+
URL = "URL",
|
|
2644
|
+
SEARCH = "SEARCH",
|
|
2645
|
+
NUMERIC = "NUMERIC",
|
|
2646
|
+
TEL = "TEL",
|
|
2647
|
+
DECIMAL = "DECIMAL",
|
|
2648
|
+
EMAIL = "EMAIL"
|
|
2876
2649
|
}
|
|
2877
2650
|
|
|
2878
2651
|
/**
|
|
2879
|
-
*
|
|
2880
|
-
*
|
|
2652
|
+
* Form layout definition
|
|
2653
|
+
* Contains form layout definition objects.
|
|
2881
2654
|
*
|
|
2882
2655
|
* The version of the OpenAPI document: 1.0.0
|
|
2883
2656
|
* Contact: info@it4all.hu
|
|
@@ -2886,9 +2659,9 @@ declare enum LayoutDirection {
|
|
|
2886
2659
|
* https://openapi-generator.tech
|
|
2887
2660
|
* Do not edit the class manually.
|
|
2888
2661
|
*/
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2662
|
+
interface SortDefinition {
|
|
2663
|
+
key?: string;
|
|
2664
|
+
displayValue?: string;
|
|
2892
2665
|
}
|
|
2893
2666
|
|
|
2894
2667
|
/**
|
|
@@ -2903,17 +2676,108 @@ declare enum SmartFilterType$1 {
|
|
|
2903
2676
|
* Do not edit the class manually.
|
|
2904
2677
|
*/
|
|
2905
2678
|
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2679
|
+
/**
|
|
2680
|
+
* The layout definition of the SmartTextField widget.
|
|
2681
|
+
*/
|
|
2682
|
+
interface SmartWidgetDefinition {
|
|
2683
|
+
type: SmartFormWidgetType;
|
|
2684
|
+
inputMode?: SmartFormInputMode;
|
|
2685
|
+
/**
|
|
2686
|
+
* The path of the desired parameter in the object.
|
|
2687
|
+
*/
|
|
2688
|
+
key: string;
|
|
2689
|
+
/**
|
|
2690
|
+
* The label of the text field
|
|
2691
|
+
*/
|
|
2692
|
+
label: string;
|
|
2693
|
+
/**
|
|
2694
|
+
* The placeholder of the text field
|
|
2695
|
+
*/
|
|
2696
|
+
placeholder?: string;
|
|
2697
|
+
/**
|
|
2698
|
+
* Text that appears as a prefix
|
|
2699
|
+
*/
|
|
2700
|
+
prefix?: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* Text that appears as a suffix
|
|
2703
|
+
*/
|
|
2704
|
+
suffix?: string;
|
|
2705
|
+
/**
|
|
2706
|
+
* A descriptor that masks the input
|
|
2707
|
+
*/
|
|
2708
|
+
mask?: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* An icon which appears as a suffix
|
|
2711
|
+
*/
|
|
2712
|
+
icon?: string;
|
|
2713
|
+
/**
|
|
2714
|
+
* Material theme class of the icon
|
|
2715
|
+
*/
|
|
2716
|
+
iconColor?: string;
|
|
2717
|
+
/**
|
|
2718
|
+
* Position of the icon (pre/post)
|
|
2719
|
+
*/
|
|
2720
|
+
iconPosition?: IconPosition;
|
|
2721
|
+
/**
|
|
2722
|
+
* Defines if the label appears above the widget or not
|
|
2723
|
+
*/
|
|
2724
|
+
showLabel?: boolean;
|
|
2725
|
+
/**
|
|
2726
|
+
* Optional css class of the widget
|
|
2727
|
+
*/
|
|
2728
|
+
cssClass?: string;
|
|
2729
|
+
/**
|
|
2730
|
+
* Optional css class of the label of the widget
|
|
2731
|
+
*/
|
|
2732
|
+
cssLabelClass?: string;
|
|
2733
|
+
isFloatLabel?: boolean;
|
|
2734
|
+
/**
|
|
2735
|
+
* Optional css class of the label direction
|
|
2736
|
+
*/
|
|
2737
|
+
labelPositionClass?: string;
|
|
2738
|
+
style?: Style;
|
|
2739
|
+
labelStyle?: Style;
|
|
2740
|
+
/**
|
|
2741
|
+
* Defines if the widget is a password input
|
|
2742
|
+
*/
|
|
2743
|
+
isPassword?: boolean;
|
|
2744
|
+
values?: Array<Value$1>;
|
|
2745
|
+
childrenComponents?: Array<SmartWidgetDefinition>;
|
|
2746
|
+
selection?: SelectionDefinition;
|
|
2747
|
+
direction?: SmartFormWidgetDirection;
|
|
2748
|
+
matrix?: SmartMatrixModel;
|
|
2749
|
+
hint?: SmartWidgetHint;
|
|
2750
|
+
widgetDescription?: string;
|
|
2751
|
+
maxLength?: number;
|
|
2752
|
+
valueChangeMode?: ValueChangeMode;
|
|
2753
|
+
showCharacterLimitSuffix?: boolean;
|
|
2754
|
+
/**
|
|
2755
|
+
* The default error message to show if the widget features an autocompletion filter operation, which returns no elements.
|
|
2756
|
+
*/
|
|
2757
|
+
filterErrorMessage?: string;
|
|
2758
|
+
/**
|
|
2759
|
+
* Identifier of the toolbar associated with this widget.
|
|
2760
|
+
*/
|
|
2761
|
+
toolbarId?: string;
|
|
2911
2762
|
/**
|
|
2912
2763
|
* Additional properties the client may use to customise the appearance or behaviour of the widget.
|
|
2913
2764
|
*/
|
|
2914
2765
|
properties?: {
|
|
2915
2766
|
[key: string]: object;
|
|
2916
2767
|
};
|
|
2768
|
+
/**
|
|
2769
|
+
* The error message to show for the widget.
|
|
2770
|
+
*/
|
|
2771
|
+
errorMessage?: string;
|
|
2772
|
+
/**
|
|
2773
|
+
* The error message to show for the widget.
|
|
2774
|
+
*/
|
|
2775
|
+
errorIcon?: string;
|
|
2776
|
+
/**
|
|
2777
|
+
* The error message to show for the widget.
|
|
2778
|
+
*/
|
|
2779
|
+
errorColor?: string;
|
|
2780
|
+
sortDefinition?: SortDefinition;
|
|
2917
2781
|
}
|
|
2918
2782
|
|
|
2919
2783
|
/**
|
|
@@ -2934,6 +2798,7 @@ interface SmartComponentLayoutDefinition {
|
|
|
2934
2798
|
*/
|
|
2935
2799
|
identifier?: string;
|
|
2936
2800
|
type: ComponentType;
|
|
2801
|
+
expanded?: boolean;
|
|
2937
2802
|
expandable?: boolean;
|
|
2938
2803
|
expandableSectionLabel?: string;
|
|
2939
2804
|
expandableSectionSubtitle?: string;
|
|
@@ -4577,6 +4442,149 @@ declare const COLLECTION_FORMATS: {
|
|
|
4577
4442
|
pipes: string;
|
|
4578
4443
|
};
|
|
4579
4444
|
|
|
4445
|
+
/**
|
|
4446
|
+
* Form layout definition
|
|
4447
|
+
* Contains form layout definition objects.
|
|
4448
|
+
*
|
|
4449
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4450
|
+
* Contact: info@it4all.hu
|
|
4451
|
+
*
|
|
4452
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4453
|
+
* https://openapi-generator.tech
|
|
4454
|
+
* Do not edit the class manually.
|
|
4455
|
+
*/
|
|
4456
|
+
|
|
4457
|
+
/**
|
|
4458
|
+
* The properties of the HTML widget: a form widget whose content is a piece of HTML the backend authored, rendered as-is by the client. See HTML-WIDGET.md (ships with @smartbit4all/ng-client) for the client placeholder dialect.
|
|
4459
|
+
*/
|
|
4460
|
+
interface HtmlProperties {
|
|
4461
|
+
/**
|
|
4462
|
+
* The widget\'s HTML. Every server placeholder (${...}) is already resolved by the backend before the HTML leaves it; the client placeholders ({{...}}) are left in place for the client to resolve against the widget\'s resolution context. Author exactly one root element and an explicit <tbody> in tables. See HTML-WIDGET.md.
|
|
4463
|
+
*/
|
|
4464
|
+
html?: string;
|
|
4465
|
+
/**
|
|
4466
|
+
* The root of the widget\'s resolution context: a dot-path relative to the context\'s data (on a view ComponentModel.data, on a grid card GridRow.data) that every client placeholder is relative to. It names an object; empty or missing means the data itself. A root that names a list, a single value or nothing at all leaves every placeholder empty, with a single client-side warning, rather than failing.
|
|
4467
|
+
*/
|
|
4468
|
+
root?: string;
|
|
4469
|
+
/**
|
|
4470
|
+
* The field list: the absolute dot-paths (root prepended) the widget reads, derived by the builder from the client placeholders under the root. When the page supplies the list it replaces the derived one entirely, there is no merge. The client never reads it; it resolves from the placeholders themselves.
|
|
4471
|
+
*/
|
|
4472
|
+
fields?: Array<string>;
|
|
4473
|
+
/**
|
|
4474
|
+
* The widget\'s style sheet: CSS text the client adds to the document once, however many widgets, cards or cells carry the same text, and removes when the last of them is gone. It is global, not scoped to the widget: prefix every selector with a class of the html\'s root element. It is not resolved, client placeholders have no meaning in it. See HTML-WIDGET.md.
|
|
4475
|
+
*/
|
|
4476
|
+
css?: string;
|
|
4477
|
+
/**
|
|
4478
|
+
* The icon dictionary: the image resources the html\'s icon slots address by key with the data-sb4-icon-key attribute, sent once with the template however many rows or renders use them. Unrelated to GridRow.icons, which draws icons beside a cell\'s value. See HTML-WIDGET.md.
|
|
4479
|
+
*/
|
|
4480
|
+
icons?: {
|
|
4481
|
+
[key: string]: ImageResource;
|
|
4482
|
+
};
|
|
4483
|
+
}
|
|
4484
|
+
|
|
4485
|
+
/**
|
|
4486
|
+
* Form layout definition
|
|
4487
|
+
* Contains form layout definition objects.
|
|
4488
|
+
*
|
|
4489
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4490
|
+
* Contact: info@it4all.hu
|
|
4491
|
+
*
|
|
4492
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4493
|
+
* https://openapi-generator.tech
|
|
4494
|
+
* Do not edit the class manually.
|
|
4495
|
+
*/
|
|
4496
|
+
|
|
4497
|
+
interface ImageProperties {
|
|
4498
|
+
image?: ImageResource;
|
|
4499
|
+
}
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* Form layout definition
|
|
4503
|
+
* Contains form layout definition objects.
|
|
4504
|
+
*
|
|
4505
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4506
|
+
* Contact: info@it4all.hu
|
|
4507
|
+
*
|
|
4508
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4509
|
+
* https://openapi-generator.tech
|
|
4510
|
+
* Do not edit the class manually.
|
|
4511
|
+
*/
|
|
4512
|
+
|
|
4513
|
+
interface MultiFileUploaderProperties {
|
|
4514
|
+
uploadAction?: UiAction;
|
|
4515
|
+
removeActionCode?: string;
|
|
4516
|
+
downloadActionCode?: string;
|
|
4517
|
+
uploadDescriptor?: UiActionUploadDescriptor;
|
|
4518
|
+
}
|
|
4519
|
+
|
|
4520
|
+
/**
|
|
4521
|
+
* Form layout definition
|
|
4522
|
+
* Contains form layout definition objects.
|
|
4523
|
+
*
|
|
4524
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4525
|
+
* Contact: info@it4all.hu
|
|
4526
|
+
*
|
|
4527
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4528
|
+
* https://openapi-generator.tech
|
|
4529
|
+
* Do not edit the class manually.
|
|
4530
|
+
*/
|
|
4531
|
+
|
|
4532
|
+
interface RecordingUploaderProperties {
|
|
4533
|
+
uploadAction?: UiAction;
|
|
4534
|
+
openDirection?: RecordingUploaderPropertiesOpenDirectionEnum;
|
|
4535
|
+
}
|
|
4536
|
+
declare enum RecordingUploaderPropertiesOpenDirectionEnum {
|
|
4537
|
+
RIGHT = "RIGHT",
|
|
4538
|
+
LEFT = "LEFT"
|
|
4539
|
+
}
|
|
4540
|
+
|
|
4541
|
+
/**
|
|
4542
|
+
* Form layout definition
|
|
4543
|
+
* Contains form layout definition objects.
|
|
4544
|
+
*
|
|
4545
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4546
|
+
* Contact: info@it4all.hu
|
|
4547
|
+
*
|
|
4548
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4549
|
+
* https://openapi-generator.tech
|
|
4550
|
+
* Do not edit the class manually.
|
|
4551
|
+
*/
|
|
4552
|
+
|
|
4553
|
+
interface SmartLayoutDefinition {
|
|
4554
|
+
widgets: Array<SmartWidgetDefinition>;
|
|
4555
|
+
}
|
|
4556
|
+
|
|
4557
|
+
/**
|
|
4558
|
+
* Form layout definition
|
|
4559
|
+
* Contains form layout definition objects.
|
|
4560
|
+
*
|
|
4561
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4562
|
+
* Contact: info@it4all.hu
|
|
4563
|
+
*
|
|
4564
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4565
|
+
* https://openapi-generator.tech
|
|
4566
|
+
* Do not edit the class manually.
|
|
4567
|
+
*/
|
|
4568
|
+
interface TextBoxProperties {
|
|
4569
|
+
minRows?: number;
|
|
4570
|
+
maxRows?: number;
|
|
4571
|
+
}
|
|
4572
|
+
|
|
4573
|
+
/**
|
|
4574
|
+
* Form layout definition
|
|
4575
|
+
* Contains form layout definition objects.
|
|
4576
|
+
*
|
|
4577
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4578
|
+
* Contact: info@it4all.hu
|
|
4579
|
+
*
|
|
4580
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4581
|
+
* https://openapi-generator.tech
|
|
4582
|
+
* Do not edit the class manually.
|
|
4583
|
+
*/
|
|
4584
|
+
interface TextFieldProperties {
|
|
4585
|
+
clearable?: boolean;
|
|
4586
|
+
}
|
|
4587
|
+
|
|
4580
4588
|
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 | SmartMultiFileUploader | SmartRecordingUploader | SmartImage | SmartDivider | SmartButton | SmartFormInlineComponent | SmartRichText | SmartSortable<T> | SmartMatrix | SmartYoutubePlayer | SmartMonthPicker | SmartSvg | SmartDiv | SmartHtml;
|
|
4581
4589
|
interface SmartTextField<T> {
|
|
4582
4590
|
type: SmartFormWidgetType.TEXT_FIELD;
|