Socket
Socket
Sign inDemoInstall

@intelligentgrowthsolutions/eco

Package Overview
Dependencies
Maintainers
1
Versions
1048
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intelligentgrowthsolutions/eco - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

dist/eco/app-globals-0f993ce5.js

6

dist/custom-elements/index.d.ts

@@ -35,2 +35,8 @@ /* eco custom elements bundle */

interface EcoCheckbox extends Components.EcoCheckbox, HTMLElement {}
export const EcoCheckbox: {
prototype: EcoCheckbox;
new (): EcoCheckbox;
};
interface EcoDescription extends Components.EcoDescription, HTMLElement {}

@@ -37,0 +43,0 @@ export const EcoDescription: {

123

dist/eco/eco.esm.js

@@ -1,1 +0,122 @@

import{p as e,b as i}from"./p-262d7ecf.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),e(a)})().then((e=>i([["p-aad14810",[[1,"eco-input-date",{label:[1],help:[1],optional:[1],readonly:[4],required:[4],disabled:[4],withnow:[4],withtime:[4],ddmin:[2],ddmax:[2],mmmin:[2],mmmax:[2],yyyymin:[2],yyyymax:[2],minutemin:[2],minutemax:[2],hourmin:[2],hourmax:[2]}]]],["p-34b27625",[[1,"eco-card"]]],["p-957a6656",[[1,"eco-input-text",{type:[1],label:[1],help:[1],optional:[1],value:[1],status:[1],width:[1],disabled:[4],readonly:[4],required:[4],inputId:[1,"input-id"]}]]],["p-23c58f2e",[[1,"eco-input-textarea",{label:[1],value:[1],help:[1],optional:[1],status:[1],width:[1],height:[1],disabled:[4],readonly:[4],required:[4],resize:[4],inputId:[1,"input-id"]}]]],["p-2a9a82c5",[[1,"eco-radio-group",{label:[1],help:[1],radioData:[16]}]]],["p-1f1e14af",[[4,"eco-select",{label:[1],help:[1],name:[1],optional:[1],status:[1],width:[1],disabled:[4],required:[4],inputId:[1,"input-id"]}]]],["p-dbc94859",[[1,"eco-icon",{icon:[1],icontype:[1],iconsize:[1],url:[1]}]]],["p-5581f241",[[1,"eco-button",{label:[1],size:[1],type:[1],disabled:[4],icon:[1],icontype:[1],iconsize:[1]}]]],["p-9c388cb2",[[1,"eco-messagebox",{type:[1],icon:[1],icontype:[1]}]]],["p-f1819637",[[1,"eco-radio-button",{name:[1],label:[1],radioQaId:[1,"radio-qa-id"],checked:[4],disabled:[4],controlValue:[1,"control-value"],inputId:[1,"input-id"]}]]],["p-3899221e",[[1,"eco-description",{term:[1],description:[1],descQaId:[1,"desc-qa-id"]}]]],["p-93fabdbd",[[1,"eco-description-group",{vertical:[4]}]]],["p-fa0979db",[[1,"eco-table"]]],["p-15a8045f",[[1,"eco-text-label",{for:[1],labelQaId:[1,"label-qa-id"],wrap:[4]}]]],["p-e6704036",[[1,"eco-text-input-optional"],[1,"eco-text-input-help"]]],["p-694c2b9c",[[1,"eco-input-number",{type:[1],label:[1],help:[1],optional:[1],value:[2],status:[1],width:[1],disabled:[4],readonly:[4],required:[4],min:[2],max:[2],step:[2],inputId:[1,"input-id"]}]]],["p-db319a0a",[[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"]]]],e)));
import { B as BUILD, c as consoleDevInfo, p as plt, w as win, H, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-e5730bdc.js';
import { g as globalScripts } from './app-globals-0f993ce5.js';
/*
Stencil Client Patch Browser v2.3.0 | MIT Licensed | https://stenciljs.com
*/
const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
const patchBrowser = () => {
// NOTE!! This fn cannot use async/await!
if (BUILD.isDev && !BUILD.isTesting) {
consoleDevInfo('Running in development mode.');
}
if (BUILD.cssVarShim) {
// shim css vars
plt.$cssShim$ = win.__cssshim;
}
if (BUILD.cloneNodeFix) {
// opted-in to polyfill cloneNode() for slot polyfilled components
patchCloneNodeFix(H.prototype);
}
if (BUILD.profile && !performance.mark) {
// not all browsers support performance.mark/measure (Safari 10)
performance.mark = performance.measure = () => {
/*noop*/
};
performance.getEntriesByName = () => [];
}
// @ts-ignore
const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim
? Array.from(doc.querySelectorAll('script')).find(s => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || s.getAttribute('data-stencil-namespace') === NAMESPACE)
: null;
const importMeta = import.meta.url;
const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};
if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
// Safari < v11 support: This IF is true if it's Safari below v11.
// This fn cannot use async/await since Safari didn't support it until v11,
// however, Safari 10 did support modules. Safari 10 also didn't support "nomodule",
// so both the ESM file and nomodule file would get downloaded. Only Safari
// has 'onbeforeload' in the script, and "history.scrollRestoration" was added
// to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.
// IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.
return {
then() {
/* promise noop */
},
};
}
if (!BUILD.safari10 && importMeta !== '') {
opts.resourcesUrl = new URL('.', importMeta).href;
}
else if (BUILD.dynamicImportShim || BUILD.safari10) {
opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;
if (BUILD.dynamicImportShim) {
patchDynamicImport(opts.resourcesUrl, scriptElm);
}
if (BUILD.dynamicImportShim && !win.customElements) {
// module support, but no custom elements support (Old Edge)
// @ts-ignore
return import(/* webpackChunkName: "polyfills-dom" */ './dom-424264d0.js').then(() => opts);
}
}
return promiseResolve(opts);
};
const patchDynamicImport = (base, orgScriptElm) => {
const importFunctionName = getDynamicImportFunction(NAMESPACE);
try {
// test if this browser supports dynamic imports
// There is a caching issue in V8, that breaks using import() in Function
// By generating a random string, we can workaround it
// Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info
win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);
}
catch (e) {
// this shim is specifically for browsers that do support "esm" imports
// however, they do NOT support "dynamic" imports
// basically this code is for old Edge, v18 and below
const moduleMap = new Map();
win[importFunctionName] = (src) => {
const url = new URL(src, base).href;
let mod = moduleMap.get(url);
if (!mod) {
const script = doc.createElement('script');
script.type = 'module';
script.crossOrigin = orgScriptElm.crossOrigin;
script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], { type: 'application/javascript' }));
mod = new Promise(resolve => {
script.onload = () => {
resolve(win[importFunctionName].m);
script.remove();
};
});
moduleMap.set(url, mod);
doc.head.appendChild(script);
}
return mod;
};
}
};
const patchCloneNodeFix = (HTMLElementPrototype) => {
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
HTMLElementPrototype.cloneNode = function (deep) {
if (this.nodeName === 'TEMPLATE') {
return nativeCloneNodeFn.call(this, deep);
}
const clonedNode = nativeCloneNodeFn.call(this, false);
const srcChildNodes = this.childNodes;
if (deep) {
for (let i = 0; i < srcChildNodes.length; i++) {
// Node.ATTRIBUTE_NODE === 2, and checking because IE11
if (srcChildNodes[i].nodeType !== 2) {
clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
}
}
}
return clonedNode;
};
};
patchBrowser().then(options => {
globalScripts();
return bootstrapLazy([["eco-input-date",[[1,"eco-input-date",{"label":[1],"help":[1],"optional":[1],"readonly":[4],"required":[4],"disabled":[4],"withnow":[4],"withtime":[4],"ddmin":[2],"ddmax":[2],"mmmin":[2],"mmmax":[2],"yyyymin":[2],"yyyymax":[2],"minutemin":[2],"minutemax":[2],"hourmin":[2],"hourmax":[2]}]]],["eco-card",[[1,"eco-card"]]],["eco-text-label",[[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["eco-input-text",[[1,"eco-input-text",{"type":[1],"label":[1],"help":[1],"optional":[1],"value":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["eco-input-textarea",[[1,"eco-input-textarea",{"label":[1],"value":[1],"help":[1],"optional":[1],"status":[1],"width":[1],"height":[1],"disabled":[4],"readonly":[4],"required":[4],"resize":[4],"inputId":[1,"input-id"]}]]],["eco-radio-group",[[1,"eco-radio-group",{"label":[1],"help":[1],"radioData":[16]}]]],["eco-select",[[4,"eco-select",{"label":[1],"help":[1],"name":[1],"optional":[1],"status":[1],"width":[1],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}]]],["eco-icon",[[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]],["eco-button",[[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}]]],["eco-checkbox",[[1,"eco-checkbox",{"label":[1],"name":[1],"checkboxQaId":[1,"checkbox-qa-id"],"checked":[4],"disabled":[4],"inputId":[1,"input-id"]}]]],["eco-messagebox",[[1,"eco-messagebox",{"type":[1],"icon":[1],"icontype":[1]}]]],["eco-radio-button",[[1,"eco-radio-button",{"name":[1],"label":[1],"radioQaId":[1,"radio-qa-id"],"checked":[4],"disabled":[4],"controlValue":[1,"control-value"],"inputId":[1,"input-id"]}]]],["eco-description",[[1,"eco-description",{"term":[1],"description":[1],"descQaId":[1,"desc-qa-id"]}]]],["eco-description-group",[[1,"eco-description-group",{"vertical":[4]}]]],["eco-table",[[1,"eco-table"]]],["eco-text-input-optional",[[1,"eco-text-input-optional"]]],["eco-input-number",[[1,"eco-input-number",{"type":[1],"label":[1],"help":[1],"optional":[1],"value":[2],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"min":[2],"max":[2],"step":[2],"inputId":[1,"input-id"]}]]],["eco-card-body",[[1,"eco-card-body"]]],["eco-card-footer",[[1,"eco-card-footer"]]],["eco-card-header",[[1,"eco-card-header"]]],["eco-text-input-help",[[1,"eco-text-input-help"]]]], options);
});

@@ -33,2 +33,10 @@ /* eslint-disable */

}
interface EcoCheckbox {
"checkboxQaId": string;
"checked": boolean;
"disabled": boolean;
"inputId": string;
"label": string;
"name": string;
}
interface EcoDescription {

@@ -46,2 +54,3 @@ "descQaId": string;

| "camera"
| "check"
| "content-collapse"

@@ -214,2 +223,8 @@ | "delete"

};
interface HTMLEcoCheckboxElement extends Components.EcoCheckbox, HTMLStencilElement {
}
var HTMLEcoCheckboxElement: {
prototype: HTMLEcoCheckboxElement;
new (): HTMLEcoCheckboxElement;
};
interface HTMLEcoDescriptionElement extends Components.EcoDescription, HTMLStencilElement {

@@ -311,2 +326,3 @@ }

"eco-card-header": HTMLEcoCardHeaderElement;
"eco-checkbox": HTMLEcoCheckboxElement;
"eco-description": HTMLEcoDescriptionElement;

@@ -352,2 +368,10 @@ "eco-description-group": HTMLEcoDescriptionGroupElement;

}
interface EcoCheckbox {
"checkboxQaId"?: string;
"checked"?: boolean;
"disabled"?: boolean;
"inputId"?: string;
"label"?: string;
"name"?: string;
}
interface EcoDescription {

@@ -365,2 +389,3 @@ "descQaId"?: string;

| "camera"
| "check"
| "content-collapse"

@@ -508,2 +533,3 @@ | "delete"

"eco-card-header": EcoCardHeader;
"eco-checkbox": EcoCheckbox;
"eco-description": EcoDescription;

@@ -535,2 +561,3 @@ "eco-description-group": EcoDescriptionGroup;

"eco-card-header": LocalJSX.EcoCardHeader & JSXBase.HTMLAttributes<HTMLEcoCardHeaderElement>;
"eco-checkbox": LocalJSX.EcoCheckbox & JSXBase.HTMLAttributes<HTMLEcoCheckboxElement>;
"eco-description": LocalJSX.EcoDescription & JSXBase.HTMLAttributes<HTMLEcoDescriptionElement>;

@@ -537,0 +564,0 @@ "eco-description-group": LocalJSX.EcoDescriptionGroup & JSXBase.HTMLAttributes<HTMLEcoDescriptionGroupElement>;

2

dist/types/components/eco-icon/eco-icon.d.ts
export declare class EcoIcon {
icon: "add" | "alert" | "camera" | "content-collapse" | "delete" | "gtl-add" | "gtl-fetch" | "harvest" | "nav-show" | "view" | "added-by-user" | "back" | "cancel" | "content-expand" | "download" | "gtl-extract" | "gtl-move" | "nav-hide" | "schedule" | "water";
icon: "add" | "alert" | "camera" | "check" | "content-collapse" | "delete" | "gtl-add" | "gtl-fetch" | "harvest" | "nav-show" | "view" | "added-by-user" | "back" | "cancel" | "content-expand" | "download" | "gtl-extract" | "gtl-move" | "nav-hide" | "schedule" | "water";
icontype: "default" | "info" | "ghost" | "success" | "danger" | "warning";

@@ -4,0 +4,0 @@ iconsize: "sm" | "md" | "lg" | "xl";

{
"name": "@intelligentgrowthsolutions/eco",
"version": "0.0.3",
"version": "0.0.4",
"description": "Eco Design System for Intelligent Growth Solutions",

@@ -40,9 +40,9 @@ "main": "dist/index.cjs.js",

"@babel/core": "^7.12.3",
"@storybook/addon-a11y": "^6.0.28",
"@storybook/addon-actions": "^6.0.28",
"@storybook/addon-docs": "^6.0.28",
"@storybook/addon-essentials": "^6.0.28",
"@storybook/addon-links": "^6.0.28",
"@storybook/addon-storysource": "^6.0.28",
"@storybook/web-components": "^6.0.28",
"@storybook/addon-a11y": "^6.1.2",
"@storybook/addon-actions": "^6.1.2",
"@storybook/addon-docs": "^6.1.2",
"@storybook/addon-essentials": "^6.1.2",
"@storybook/addon-links": "^6.1.2",
"@storybook/addon-storysource": "^6.1.2",
"@storybook/web-components": "^6.1.2",
"@types/jest": "^26.0.15",

@@ -49,0 +49,0 @@ "@types/puppeteer": "^5.4.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc