@vixoniccom/modules 2.26.0-dev.2 → 2.26.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.
@@ -8,7 +8,7 @@ import { TextArea, TextAreaJSON } from './text-area';
8
8
  * only where a field opts in via `"type": "ai-text-area"`.
9
9
  */
10
10
  export declare class AITextArea extends TextArea {
11
- static type: string;
11
+ static readonly type: string;
12
12
  type: string;
13
13
  static fromJSON(value: TextAreaJSON): AITextArea;
14
14
  }
@@ -13,7 +13,8 @@ import { DateInput } from './date-input';
13
13
  import { SelectAssetKna } from './select-asset-kna';
14
14
  import { Slider } from './slider';
15
15
  import { ServiceInput } from './service-input';
16
- export { BitlyInput, TextFormat, TextInput, SelectInput, Switch, TextArea, AITextArea, Autocomplete, NumberInput, ColorPicker, DateInput, SelectAssetKna, Slider, ServiceInput, RedirectButton };
16
+ export { AITextArea } from './ai-text-area';
17
+ export { BitlyInput, TextFormat, TextInput, SelectInput, Switch, TextArea, Autocomplete, NumberInput, ColorPicker, DateInput, SelectAssetKna, Slider, ServiceInput, RedirectButton };
17
18
  export type AnyJson = boolean | number | string | null | JsonArray | JsonMap | undefined;
18
19
  export interface JsonMap {
19
20
  [key: string]: AnyJson | undefined;
@@ -22,6 +23,6 @@ export interface JsonArray extends Array<AnyJson> {
22
23
  }
23
24
  export type InputValue = AnyJson;
24
25
  export type InputComponent = TextInput | TextFormat | BitlyInput | SelectInput<string | number> | TextArea | AITextArea | Switch | Autocomplete<string | number> | NumberInput | ColorPicker | DateInput | SelectAssetKna | Slider | ServiceInput | RedirectButton;
25
- export declare const allInputs: (typeof TextInput | typeof BitlyInput | typeof TextFormat | typeof Autocomplete | typeof Switch | typeof NumberInput | typeof RedirectButton | typeof ColorPicker | typeof DateInput | typeof SelectAssetKna | typeof Slider | typeof ServiceInput)[];
26
+ export declare const allInputs: (typeof TextInput | typeof AITextArea | typeof BitlyInput | typeof TextFormat | typeof Autocomplete | typeof Switch | typeof NumberInput | typeof RedirectButton | typeof ColorPicker | typeof DateInput | typeof SelectAssetKna | typeof Slider | typeof ServiceInput)[];
26
27
  export declare const isInput: (arg: any) => arg is InputComponent;
27
28
  export declare const isInputInstance: <T>(arg: any, type: string | string[]) => arg is T;
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isInputInstance = exports.isInput = exports.allInputs = exports.RedirectButton = exports.ServiceInput = exports.Slider = exports.SelectAssetKna = exports.DateInput = exports.ColorPicker = exports.NumberInput = exports.Autocomplete = exports.AITextArea = exports.TextArea = exports.Switch = exports.SelectInput = exports.TextInput = exports.TextFormat = exports.BitlyInput = void 0;
3
+ exports.isInputInstance = exports.isInput = exports.allInputs = exports.RedirectButton = exports.ServiceInput = exports.Slider = exports.SelectAssetKna = exports.DateInput = exports.ColorPicker = exports.NumberInput = exports.Autocomplete = exports.TextArea = exports.Switch = exports.SelectInput = exports.TextInput = exports.TextFormat = exports.BitlyInput = exports.AITextArea = void 0;
4
4
  var text_area_1 = require("./text-area");
5
5
  Object.defineProperty(exports, "TextArea", { enumerable: true, get: function () { return text_area_1.TextArea; } });
6
6
  var ai_text_area_1 = require("./ai-text-area");
7
- Object.defineProperty(exports, "AITextArea", { enumerable: true, get: function () { return ai_text_area_1.AITextArea; } });
8
7
  var bitly_input_1 = require("./bitly-input");
9
8
  Object.defineProperty(exports, "BitlyInput", { enumerable: true, get: function () { return bitly_input_1.BitlyInput; } });
10
9
  var text_format_1 = require("./text-format");
@@ -31,6 +30,8 @@ var slider_1 = require("./slider");
31
30
  Object.defineProperty(exports, "Slider", { enumerable: true, get: function () { return slider_1.Slider; } });
32
31
  var service_input_1 = require("./service-input");
33
32
  Object.defineProperty(exports, "ServiceInput", { enumerable: true, get: function () { return service_input_1.ServiceInput; } });
33
+ var ai_text_area_2 = require("./ai-text-area");
34
+ Object.defineProperty(exports, "AITextArea", { enumerable: true, get: function () { return ai_text_area_2.AITextArea; } });
34
35
  exports.allInputs = [
35
36
  bitly_input_1.BitlyInput,
36
37
  text_format_1.TextFormat,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixoniccom/modules",
3
- "version": "2.26.0-dev.2",
3
+ "version": "2.26.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",