@bruit/component
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -1,1 +0,1 @@ | ||
import{p as o,g as r,b as i}from"./p-040e9bdb.js";o().then(o=>(r(),i([["p-rcolrsov",[[1,"bruit-core",{config:[1,"brt-config"],_bruitCoreConfig:[32],modalOpened:[32],modalBrtField:[32],modalError:[32],_bruitIoConfig:[32],newFeedback:[64],sendFeedback:[64]}],[1,"bruit-io",{config:[1,"brt-config"],data:[16],dataFn:[16],_config:[32]}],[0,"bruit-rating",{value:[1538],max:[1538],color:[1],offColor:[1,"off-color"],onBorderColor:[32]}],[0,"bruit-select",{id:[1],options:[16],value:[1],required:[4]}]]]],o))); | ||
import{p as o,g as r,b as i}from"./p-040e9bdb.js";o().then(o=>(r(),i([["p-54wrhpj3",[[1,"bruit-core",{config:[1,"brt-config"],_bruitCoreConfig:[32],modalOpened:[32],modalBrtField:[32],modalError:[32],_bruitIoConfig:[32],newFeedback:[64],sendFeedback:[64]}],[1,"bruit-io",{config:[1,"brt-config"],data:[16],dataFn:[16],_config:[32]}],[0,"bruit-rating",{value:[1538],max:[1538],color:[1],offColor:[1,"off-color"],onBorderColor:[32]}],[0,"bruit-select",{id:[1],options:[16],value:[1],required:[4]}]]]],o))); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-71cb4dd5.system.js"],(function(){"use strict";var e,o,r;return{setters:[function(t){e=t.p;o=t.g;r=t.b}],execute:function(){e().then((function(e){o();return r([["p-gmbetfek.system",[[1,"bruit-core",{config:[1,"brt-config"],_bruitCoreConfig:[32],modalOpened:[32],modalBrtField:[32],modalError:[32],_bruitIoConfig:[32],newFeedback:[64],sendFeedback:[64]}],[1,"bruit-io",{config:[1,"brt-config"],data:[16],dataFn:[16],_config:[32]}],[0,"bruit-rating",{value:[1538],max:[1538],color:[1],offColor:[1,"off-color"],onBorderColor:[32]}],[0,"bruit-select",{id:[1],options:[16],value:[1],required:[4]}]]]],e)}))}}})); | ||
System.register(["./p-71cb4dd5.system.js"],(function(){"use strict";var e,o,r;return{setters:[function(t){e=t.p;o=t.g;r=t.b}],execute:function(){e().then((function(e){o();return r([["p-ecjet8zz.system",[[1,"bruit-core",{config:[1,"brt-config"],_bruitCoreConfig:[32],modalOpened:[32],modalBrtField:[32],modalError:[32],_bruitIoConfig:[32],newFeedback:[64],sendFeedback:[64]}],[1,"bruit-io",{config:[1,"brt-config"],data:[16],dataFn:[16],_config:[32]}],[0,"bruit-rating",{value:[1538],max:[1538],color:[1],offColor:[1,"off-color"],onBorderColor:[32]}],[0,"bruit-select",{id:[1],options:[16],value:[1],required:[4]}]]]],e)}))}}})); |
@@ -10,3 +10,3 @@ { | ||
"name": "@stencil/core", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"typescriptVersion": "3.7.2" | ||
@@ -13,0 +13,0 @@ }, |
@@ -0,8 +1,8 @@ | ||
import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type'; | ||
import { h } from "@stencil/core"; | ||
import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type'; | ||
import { BruitCoreConfig } from '../../models/bruit-core-config.class'; | ||
import { Feedback } from '../../api/feedback'; | ||
import { ConsoleTool } from '../../bruit-tools/console'; | ||
import { Feedback } from '../../api/feedback'; | ||
import { NavigatorTool } from '../../bruit-tools/navigator'; | ||
import { SubmitButtonState } from '../../enums/submitButtonState.enum'; | ||
import { BruitCoreConfig } from '../../models/bruit-core-config.class'; | ||
export class BruitCore { | ||
@@ -9,0 +9,0 @@ constructor() { |
@@ -66,11 +66,9 @@ import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type'; | ||
} | ||
// if ( | ||
// !config.apiKey && | ||
// (!config.apiUrl || config.apiUrl === Config['BRUIT_IO_API_URL']) | ||
// ) { | ||
// return { | ||
// code: 101, | ||
// text: 'apiKey is missing' | ||
// }; | ||
// } | ||
if (!config.apiKey && | ||
(!config.apiUrl || config.apiUrl === Config['BRUIT_IO_API_URL'])) { | ||
return { | ||
code: 101, | ||
text: 'apiKey is missing' | ||
}; | ||
} | ||
if (!config.form) { | ||
@@ -77,0 +75,0 @@ return { |
@@ -0,6 +1,6 @@ | ||
import { BrtCoreConfig, BrtData, BrtError, BrtField } from '@bruit/types'; | ||
import { EventEmitter } from '../../stencil.core'; | ||
import { BrtCoreConfig, BrtError, BrtField, BrtData } from '@bruit/types'; | ||
import { SubmitButtonState } from '../../enums/submitButtonState.enum'; | ||
import { BruitCoreConfig } from '../../models/bruit-core-config.class'; | ||
import { BruitIoConfig } from '../../models/bruit-io-config.class'; | ||
import { SubmitButtonState } from '../../enums/submitButtonState.enum'; | ||
export declare class BruitCore { | ||
@@ -7,0 +7,0 @@ config: BrtCoreConfig | string; |
{ | ||
"name": "@bruit/component", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "send your feedbacks with bruit.io", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@stencil/core": "^1.8.0", | ||
"@stencil/core": "^1.8.1", | ||
"@stencil/sass": "^1.1.1", | ||
@@ -43,0 +43,0 @@ "chalk": "^3.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20
3050541
46059