plmt-constructor-sdk 0.15.0 → 0.16.0

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.
@@ -67,6 +67,7 @@ export interface ViewSettingsItemValue {
67
67
  value: string;
68
68
  }[];
69
69
  span?: number;
70
+ invalidChars?: string[];
70
71
  }
71
72
  export declare const viewSettingsItemValue = "418d9556-a046-4623-be0b-4f4f69ccb783";
72
73
  export declare function viewSettingsExtract(viewSettings: ViewSettingsItem[]): ViewSettingsItemValue[];
@@ -58,6 +58,7 @@ function viewSettingsExtract(viewSettings) {
58
58
  tooltip: item.tooltip,
59
59
  options: item.options || [],
60
60
  span: getSpan(item.span),
61
+ invalidChars: item.invalidChars,
61
62
  }));
62
63
  }
63
64
  exports.viewSettingsExtract = viewSettingsExtract;
@@ -1,5 +1,10 @@
1
- import { ColumnType, FilterMethod } from '../data';
2
- export { ColumnType };
1
+ import { FilterMethod } from '../data';
2
+ export declare enum ColumnType {
3
+ String = 0,
4
+ Number = 1,
5
+ Date = 2,
6
+ Boolean = 3
7
+ }
3
8
  export declare const COLOR_STEPS = 128;
4
9
  export interface Condition {
5
10
  column_id: number;
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.COLOR_STEPS = exports.ColumnType = void 0;
4
- const data_1 = require("../data");
5
- Object.defineProperty(exports, "ColumnType", { enumerable: true, get: function () { return data_1.ColumnType; } });
4
+ var ColumnType;
5
+ (function (ColumnType) {
6
+ ColumnType[ColumnType["String"] = 0] = "String";
7
+ ColumnType[ColumnType["Number"] = 1] = "Number";
8
+ ColumnType[ColumnType["Date"] = 2] = "Date";
9
+ ColumnType[ColumnType["Boolean"] = 3] = "Boolean";
10
+ })(ColumnType = exports.ColumnType || (exports.ColumnType = {}));
6
11
  exports.COLOR_STEPS = 128;
package/config.d.ts CHANGED
@@ -156,6 +156,7 @@ export declare function input(params: {
156
156
  flex?: true;
157
157
  id?: number;
158
158
  typeInput?: InputType;
159
+ invalidChars?: string[];
159
160
  }): ViewSettingsItem;
160
161
  export declare function textArea(params: {
161
162
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plmt-constructor-sdk",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Набор инструментов для создания виджетов.",
5
5
  "dependencies": {
6
6
  "logical-not": "^1.0.9"