@vixoniccom/modules 2.20.0-4dev.0 → 2.20.0-dev.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.
package/CHANGELOG.md CHANGED
@@ -2,34 +2,6 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ## [2.20.0-4dev.0](https://github.com/Vixonic/store-modules/compare/v2.20.0...v2.20.0-4dev.0) (2025-05-15)
6
-
7
-
8
- ### Features
9
-
10
- * BirthdayAppService added on ServiceType ([5442410](https://github.com/Vixonic/store-modules/commit/54424102bce82f16e70781ace23501d49af51342))
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * new script for dev version prerelease ([e4b0452](https://github.com/Vixonic/store-modules/commit/e4b0452a8ff5e29faf9b39066c4cec0388e523c7))
16
-
17
- ## [2.20.0](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.2...v2.20.0) (2025-02-17)
18
-
19
- ## [2.20.0-dev.2](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.1...v2.20.0-dev.2) (2025-02-11)
20
-
21
-
22
- ### Bug Fixes
23
-
24
- * eval functions were removed and also a lot to imports no used were removed too ([f00db84](https://bitbucket.org/vixonic_dev/modules/commit/f00db8441836236756fc3a5517c3b4268f788a20))
25
-
26
- ## [2.20.0-dev.1](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.0...v2.20.0-dev.1) (2025-01-29)
27
-
28
-
29
- ### Features
30
-
31
- * add description prop to RedirectButton component ([9d7dbce](https://bitbucket.org/vixonic_dev/modules/commit/9d7dbce06324c03320283984af28a8b991fbc23d))
32
-
33
5
  ## [2.20.0-dev.0](https://bitbucket.org/vixonic_dev/modules/compare/v2.17.0...v2.20.0-dev.0) (2025-01-29)
34
6
 
35
7
 
@@ -1,6 +1,6 @@
1
- import { InputValue } from './inputs';
2
- import { ValueError } from './errors';
3
- import { Configuration } from '.';
1
+ import { InputValue } from "./inputs";
2
+ import { ValueError } from "./errors";
3
+ import { Configuration } from ".";
4
4
  export interface IBaseElement {
5
5
  readonly id: string;
6
6
  readonly label: string;
@@ -1,8 +1,5 @@
1
1
  import { Input, IInput } from '../base';
2
2
  import { ValueError } from '../errors';
3
- export interface IRedirectButton extends IInput {
4
- description?: string;
5
- }
6
3
  export declare namespace RedirectButton {
7
4
  type Error = ValueError.InvalidValue;
8
5
  type Value = string;
@@ -10,10 +7,9 @@ export declare namespace RedirectButton {
10
7
  export declare class RedirectButton extends Input<RedirectButton.Value> {
11
8
  static type: string;
12
9
  type: string;
13
- readonly description?: string;
14
- constructor(options: IRedirectButton);
10
+ constructor(options: IInput);
15
11
  validateInput(value: RedirectButton.Value): ValueError.InvalidValue[];
16
12
  isValidValue(v: any): v is RedirectButton.Value;
17
- static fromJSON: (value: IRedirectButton) => RedirectButton;
13
+ static fromJSON: (value: IInput) => RedirectButton;
18
14
  valueTypeDef: () => string;
19
15
  }
@@ -26,7 +26,6 @@ var RedirectButton = /** @class */ (function (_super) {
26
26
  _this.valueTypeDef = function () {
27
27
  return 'string';
28
28
  };
29
- _this.description = options.description;
30
29
  return _this;
31
30
  }
32
31
  RedirectButton.prototype.validateInput = function (value) {
@@ -1,6 +1,6 @@
1
1
  import { Input, IInput } from '../base';
2
2
  import { ValueError } from '../errors';
3
- export type ServiceType = 'RSSService' | 'InstagramMediaService' | 'LinkedInCompanyMediaService' | 'FacebookPageService' | 'WeatherService' | 'VixonicStoriesService' | 'TwitterService' | 'TimezoneService' | 'ColabraService' | 'RexmasBirthdayService' | 'RexmasAnniversarieService' | 'RexmasNewEmployeesService' | 'TikTokService' | 'BukBirthdayService' | 'BirthdayAppService';
3
+ export type ServiceType = 'RSSService' | 'InstagramMediaService' | 'LinkedInCompanyMediaService' | 'FacebookPageService' | 'WeatherService' | 'VixonicStoriesService' | 'TwitterService' | 'TimezoneService' | 'ColabraService' | 'RexmasBirthdayService' | 'RexmasAnniversarieService' | 'RexmasNewEmployeesService' | 'TikTokService' | 'BukBirthdayService';
4
4
  export interface IServiceInput extends IInput {
5
5
  serviceType: ServiceType;
6
6
  required?: boolean;
@@ -1,4 +1,4 @@
1
- import { InputComponent } from '../index';
1
+ import { InputComponent } from "../index";
2
2
  export type TypeDefMap = {
3
3
  id: string;
4
4
  typeDef: string;
@@ -1,4 +1,4 @@
1
- import { ValueError } from '../errors';
1
+ import { ValueError } from "../errors";
2
2
  export declare namespace Validator {
3
3
  const required: (value: any, required: boolean | undefined, onlyUndefined?: boolean) => Array<ValueError.Required>;
4
4
  const min: (value: number, min: number | undefined) => Array<ValueError.Min>;
@@ -9,8 +9,8 @@ function shouldBeVisible(item, _values) {
9
9
  var regexp = new RegExp('{{(.*?)}}', 'ig');
10
10
  jsEval = jsEval.replace(regexp, "_values.$1");
11
11
  // tslint:disable-next-line
12
- var show = new Function('_values', "return ".concat(jsEval, ";"))(_values);
13
- return !!show;
12
+ var show = eval(jsEval);
13
+ return show === true;
14
14
  }
15
15
  catch (e) {
16
16
  console.warn('Unable to parse expression:', jsEval);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixoniccom/modules",
3
- "version": "2.20.0-4dev.0",
3
+ "version": "2.20.0-dev.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,6 @@
9
9
  "build": "tsc",
10
10
  "release": "standard-version",
11
11
  "prerelease-dev": "standard-version --prerelease dev",
12
- "prerelease-4dev": "standard-version --prerelease 4dev",
13
12
  "prerelease-rc": "standard-version --prerelease rc",
14
13
  "test": "ts-node ./test/index.ts"
15
14
  },