plmt-constructor-sdk 0.13.10 → 0.13.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.
@@ -12,6 +12,7 @@ export interface ViewSettingsItemValue {
12
12
  type: ViewSettingsItemType;
13
13
  key: string;
14
14
  label: Text;
15
+ placeholder?: Text;
15
16
  defaultValue?: any;
16
17
  options?: {
17
18
  label: Text;
@@ -19,6 +19,7 @@ function viewSettingsExtract(viewSettings) {
19
19
  type: item.type,
20
20
  key: item.key,
21
21
  label: item.label,
22
+ placeholder: item.placeholder,
22
23
  defaultValue: valueConversion(item.type, item.defaultValue),
23
24
  options: item.options || [],
24
25
  span: getSpan(item.span),
package/config.d.ts CHANGED
@@ -107,12 +107,14 @@ export declare function input(params: {
107
107
  key: string;
108
108
  label: Text;
109
109
  span?: number;
110
+ placeholder?: Text;
110
111
  defaultValue?: string;
111
112
  }): ViewSettingsItem;
112
113
  export declare function textArea(params: {
113
114
  key: string;
114
115
  label: Text;
115
116
  span?: number;
117
+ placeholder?: Text;
116
118
  defaultValue?: string;
117
119
  }): ViewSettingsItem;
118
120
  export declare function checkbox(params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plmt-constructor-sdk",
3
- "version": "0.13.10",
3
+ "version": "0.13.12",
4
4
  "description": "Набор инструментов для создания виджетов.",
5
5
  "dependencies": {
6
6
  "logical-not": "^1.0.9"