@intelligentgrowthsolutions/eco
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -6,2 +6,3 @@ 'use strict'; | ||
const index = require('./index-0c6896d2.js'); | ||
const utils = require('./utils-52a89285.js'); | ||
@@ -46,3 +47,3 @@ const ecoInputDateCss = "div{display:grid;gap:var(--sp-xs)}.inputs{display:grid;column-gap:var(--sp-md);grid-template-columns:repeat(\n auto-fill,\n calc(var(--sp-md) + 3ch + var(--sp-md))\n calc(var(--sp-md) + 3ch + var(--sp-md))\n calc(var(--sp-md) + 6ch + var(--sp-md))\n )}"; | ||
} | ||
return (index.h(index.Host, null, index.h("div", null, this.label && (index.h("eco-text-label", null, this.label, !this.required && (index.h("eco-text-input-optional", null, this.optional)))), this.help && index.h("eco-text-input-help", null, this.help), index.h("span", { class: "inputs" }, index.h("eco-input-number", { label: "Day", value: this.dd, min: this.ddmin, max: this.ddmax, readonly: this.readonly, disabled: this.disabled }), index.h("eco-input-number", { label: "Month", value: this.mm, min: this.mmmin, max: this.mmmax, readonly: this.readonly, disabled: this.disabled }), index.h("eco-input-number", { label: "Year", value: this.yyyy, min: this.yyyymin, max: this.yyyymax, readonly: this.readonly, disabled: this.disabled }), this.withtime && (index.h("eco-input-number", { label: "Hour", value: this.hour, min: this.hourmin, max: this.hourmax, readonly: this.readonly, disabled: this.disabled })), this.withtime && (index.h("eco-input-number", { label: "Min", value: this.minute, min: this.minutemin, max: this.minutemax, readonly: this.readonly, disabled: this.disabled })))))); | ||
return (index.h(index.Host, null, index.h("eco-spacer", { gap: utils.EcoSpacerSizeList.xs }, this.label && (index.h("eco-text-label", null, this.label, !this.required && (index.h("eco-text-input-optional", null, this.optional)))), this.help && index.h("eco-text-input-help", null, this.help), index.h("span", { class: "inputs" }, index.h("eco-input-number", { label: "Day", value: this.dd, min: this.ddmin, max: this.ddmax, readonly: this.readonly, disabled: this.disabled }), index.h("eco-input-number", { label: "Month", value: this.mm, min: this.mmmin, max: this.mmmax, readonly: this.readonly, disabled: this.disabled }), index.h("eco-input-number", { label: "Year", value: this.yyyy, min: this.yyyymin, max: this.yyyymax, readonly: this.readonly, disabled: this.disabled }), this.withtime && (index.h("eco-input-number", { label: "Hour", value: this.hour, min: this.hourmin, max: this.hourmax, readonly: this.readonly, disabled: this.disabled })), this.withtime && (index.h("eco-input-number", { label: "Min", value: this.minute, min: this.minutemin, max: this.minutemax, readonly: this.readonly, disabled: this.disabled })))))); | ||
} | ||
@@ -49,0 +50,0 @@ }; |
@@ -7,2 +7,4 @@ 'use strict'; | ||
const ecoTableCss = "eco-table table{--table-background:hsl(0, 0%, 100%);--table-even-row:hsla(var(--igs-primary-dark-blue-hsl), 0.05);--table-shadow:hsla(var(--igs-primary-dark-blue-h), 0%, 60%, 0.4);width:100%;overflow:auto;border-collapse:collapse;border-spacing:0;background-color:var(--table-background);border-radius:var(--br-sm);box-shadow:0 calc(var(--sp-md) / 8) calc(var(--sp-md) / 6)\n var(--table-shadow)}eco-table table,eco-table thead{background-color:var(--c-cta-background)}eco-table tr:nth-of-type(even){background:var(--table-even-row)}eco-table th,eco-table td{padding:var(--sp-xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;text-align:left}eco-table th{font-size:var(--fs-sm);font-weight:var(--fw-bold);background-color:var(--c-cta-background);box-shadow:0 calc(var(--sp-md) / -12) 0 var(--table-shadow) inset}eco-table td{border:0}eco-table.equalcolumns table{table-layout:fixed}eco-table.sticky table{overflow:unset;position:relative}eco-table.sticky th{height:min-content;position:sticky;top:0}@media (max-width: 660px){eco-table.responsive thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}eco-table.responsive tr{display:grid;grid-template-columns:repeat(\n auto-fill,\n minmax(calc(var(--fs-md) * 12), 1fr)\n );gap:var(--sp-md);margin-bottom:var(--sp-md);border-radius:var(--br-md);overflow:hidden;box-shadow:0 calc(var(--sp-md) / 8) calc(var(--sp-md) / 6)\n hsl(var(--igs-primary-dark-blue-h), 0%, 60%, 0.4);padding:var(--sp-md)}eco-table.responsive td{display:grid;grid-template-columns:1fr;align-content:start;gap:var(--sp-xs);padding:0;white-space:normal}eco-table.responsive tr:nth-of-type(even){background:var(--table-background)}eco-table.responsive td::before{content:attr(data-label);line-height:var(--line-height-tight);font-weight:var(--fw-bold)}eco-table.responsive td:last-child{border-bottom:0}}"; | ||
const EcoTable = class { | ||
@@ -20,3 +22,4 @@ constructor(hostRef) { | ||
}; | ||
EcoTable.style = ecoTableCss; | ||
exports.eco_table = EcoTable; |
@@ -18,3 +18,3 @@ 'use strict'; | ||
patchBrowser().then(options => { | ||
return index.bootstrapLazy([["eco-card.cjs",[[1,"eco-card",{"cardQaId":[1,"card-qa-id"],"sticky":[4],"collapsable":[4],"collapsed":[4]}]]],["eco-button.cjs",[[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}]]],["eco-description.cjs",[[1,"eco-description",{"term":[1],"description":[1],"descQaId":[1,"desc-qa-id"]}]]],["eco-select_3.cjs",[[4,"eco-select",{"label":[1],"help":[1],"name":[1],"optional":[1],"status":[1],"width":[1],"selectQaId":[1,"select-qa-id"],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}],[1,"eco-text-input-help"],[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["eco-input-date.cjs",[[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-input-file.cjs",[[1,"eco-input-file",{"label":[1],"help":[1],"optional":[1],"text":[1],"accept":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["eco-input-text.cjs",[[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.cjs",[[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.cjs",[[1,"eco-radio-group",{"label":[1],"help":[1],"radioData":[16]}]]],["eco-checkbox.cjs",[[1,"eco-checkbox",{"label":[1],"name":[1],"checkboxQaId":[1,"checkbox-qa-id"],"checked":[4],"disabled":[4],"inputId":[1,"input-id"]}]]],["eco-messagebox.cjs",[[1,"eco-messagebox",{"type":[1],"icon":[1],"icontype":[1]}]]],["eco-radio-button.cjs",[[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-group.cjs",[[1,"eco-description-group",{"vertical":[4]}]]],["eco-spacer.cjs",[[1,"eco-spacer",{"gap":[1]}]]],["eco-spinner.cjs",[[1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]]],["eco-table.cjs",[[1,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]]],["eco-input-number.cjs",[[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_3.cjs",[[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"]]],["eco-icon.cjs",[[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]],["eco-text-input-optional.cjs",[[1,"eco-text-input-optional"]]]], options); | ||
return index.bootstrapLazy([["eco-input-date.cjs",[[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-input-time.cjs",[[1,"eco-input-time",{"label":[1],"help":[1],"optional":[1],"readonly":[4],"required":[4],"disabled":[4],"weeks":[8],"days":[8],"hours":[8],"minutes":[8],"weeksmin":[2],"weeksmax":[2],"daysmin":[2],"daysmax":[2],"hoursmin":[2],"hoursmax":[2],"minutesmin":[2],"minutesmax":[2]}]]],["eco-input-file.cjs",[[1,"eco-input-file",{"label":[1],"help":[1],"optional":[1],"text":[1],"accept":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["eco-input-text.cjs",[[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.cjs",[[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.cjs",[[1,"eco-radio-group",{"label":[1],"help":[1],"radioData":[16]}]]],["eco-select.cjs",[[4,"eco-select",{"label":[1],"help":[1],"name":[1],"optional":[1],"status":[1],"width":[1],"selectQaId":[1,"select-qa-id"],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}]]],["eco-checkbox.cjs",[[1,"eco-checkbox",{"label":[1],"name":[1],"checkboxQaId":[1,"checkbox-qa-id"],"checked":[4],"disabled":[4],"inputId":[1,"input-id"]}]]],["eco-messagebox.cjs",[[1,"eco-messagebox",{"type":[1],"icon":[1],"icontype":[1]}]]],["eco-radio-button.cjs",[[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.cjs",[[1,"eco-description",{"term":[1],"description":[1],"descQaId":[1,"desc-qa-id"]}]]],["eco-description-group.cjs",[[1,"eco-description-group",{"vertical":[4]}]]],["eco-spinner.cjs",[[1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]]],["eco-table.cjs",[[4,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]]],["eco-text-input-help_3.cjs",[[1,"eco-text-input-optional"],[1,"eco-text-input-help"],[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["eco-input-number_2.cjs",[[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"]}],[1,"eco-spacer",{"gap":[1]}]]],["eco-button_7.cjs",[[1,"eco-modal",{"modaltitle":[1],"visible":[4]}],[1,"eco-card",{"cardQaId":[1,"card-qa-id"],"sticky":[4],"collapsable":[4],"collapsed":[4]}],[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}],[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"],[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]]], options); | ||
}); |
@@ -17,3 +17,3 @@ 'use strict'; | ||
return patchEsm().then(() => { | ||
return index.bootstrapLazy([["eco-card.cjs",[[1,"eco-card",{"cardQaId":[1,"card-qa-id"],"sticky":[4],"collapsable":[4],"collapsed":[4]}]]],["eco-button.cjs",[[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}]]],["eco-description.cjs",[[1,"eco-description",{"term":[1],"description":[1],"descQaId":[1,"desc-qa-id"]}]]],["eco-select_3.cjs",[[4,"eco-select",{"label":[1],"help":[1],"name":[1],"optional":[1],"status":[1],"width":[1],"selectQaId":[1,"select-qa-id"],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}],[1,"eco-text-input-help"],[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["eco-input-date.cjs",[[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-input-file.cjs",[[1,"eco-input-file",{"label":[1],"help":[1],"optional":[1],"text":[1],"accept":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["eco-input-text.cjs",[[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.cjs",[[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.cjs",[[1,"eco-radio-group",{"label":[1],"help":[1],"radioData":[16]}]]],["eco-checkbox.cjs",[[1,"eco-checkbox",{"label":[1],"name":[1],"checkboxQaId":[1,"checkbox-qa-id"],"checked":[4],"disabled":[4],"inputId":[1,"input-id"]}]]],["eco-messagebox.cjs",[[1,"eco-messagebox",{"type":[1],"icon":[1],"icontype":[1]}]]],["eco-radio-button.cjs",[[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-group.cjs",[[1,"eco-description-group",{"vertical":[4]}]]],["eco-spacer.cjs",[[1,"eco-spacer",{"gap":[1]}]]],["eco-spinner.cjs",[[1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]]],["eco-table.cjs",[[1,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]]],["eco-input-number.cjs",[[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_3.cjs",[[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"]]],["eco-icon.cjs",[[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]],["eco-text-input-optional.cjs",[[1,"eco-text-input-optional"]]]], options); | ||
return index.bootstrapLazy([["eco-input-date.cjs",[[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-input-time.cjs",[[1,"eco-input-time",{"label":[1],"help":[1],"optional":[1],"readonly":[4],"required":[4],"disabled":[4],"weeks":[8],"days":[8],"hours":[8],"minutes":[8],"weeksmin":[2],"weeksmax":[2],"daysmin":[2],"daysmax":[2],"hoursmin":[2],"hoursmax":[2],"minutesmin":[2],"minutesmax":[2]}]]],["eco-input-file.cjs",[[1,"eco-input-file",{"label":[1],"help":[1],"optional":[1],"text":[1],"accept":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["eco-input-text.cjs",[[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.cjs",[[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.cjs",[[1,"eco-radio-group",{"label":[1],"help":[1],"radioData":[16]}]]],["eco-select.cjs",[[4,"eco-select",{"label":[1],"help":[1],"name":[1],"optional":[1],"status":[1],"width":[1],"selectQaId":[1,"select-qa-id"],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}]]],["eco-checkbox.cjs",[[1,"eco-checkbox",{"label":[1],"name":[1],"checkboxQaId":[1,"checkbox-qa-id"],"checked":[4],"disabled":[4],"inputId":[1,"input-id"]}]]],["eco-messagebox.cjs",[[1,"eco-messagebox",{"type":[1],"icon":[1],"icontype":[1]}]]],["eco-radio-button.cjs",[[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.cjs",[[1,"eco-description",{"term":[1],"description":[1],"descQaId":[1,"desc-qa-id"]}]]],["eco-description-group.cjs",[[1,"eco-description-group",{"vertical":[4]}]]],["eco-spinner.cjs",[[1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]]],["eco-table.cjs",[[4,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]]],["eco-text-input-help_3.cjs",[[1,"eco-text-input-optional"],[1,"eco-text-input-help"],[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["eco-input-number_2.cjs",[[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"]}],[1,"eco-spacer",{"gap":[1]}]]],["eco-button_7.cjs",[[1,"eco-modal",{"modaltitle":[1],"visible":[4]}],[1,"eco-card",{"cardQaId":[1,"card-qa-id"],"sticky":[4],"collapsable":[4],"collapsed":[4]}],[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}],[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"],[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]]], options); | ||
}); | ||
@@ -20,0 +20,0 @@ }; |
@@ -17,3 +17,5 @@ { | ||
"./components/eco-input-textarea/eco-input-textarea.js", | ||
"./components/eco-input-time/eco-input-time.js", | ||
"./components/eco-messagebox/eco-messagebox.js", | ||
"./components/eco-modal/eco-modal.js", | ||
"./components/eco-radio-button/eco-radio-button.js", | ||
@@ -20,0 +22,0 @@ "./components/eco-radio-group/eco-radio-group.js", |
import { Component, Host, h, Prop } from "@stencil/core"; | ||
import { EcoSpacerSizeList } from "../../utils/utils"; | ||
export class EcoInputDate { | ||
@@ -38,3 +39,3 @@ constructor() { | ||
return (h(Host, null, | ||
h("div", null, | ||
h("eco-spacer", { gap: EcoSpacerSizeList.xs }, | ||
this.label && (h("eco-text-label", null, | ||
@@ -41,0 +42,0 @@ this.label, |
@@ -12,3 +12,8 @@ import { Component, Host, h, Prop } from "@stencil/core"; | ||
static get is() { return "eco-table"; } | ||
static get encapsulation() { return "shadow"; } | ||
static get originalStyleUrls() { return { | ||
"$": ["eco-table.css"] | ||
}; } | ||
static get styleUrls() { return { | ||
"$": ["eco-table.css"] | ||
}; } | ||
static get properties() { return { | ||
@@ -15,0 +20,0 @@ "responsive": { |
@@ -89,2 +89,8 @@ /* eco custom elements bundle */ | ||
interface EcoInputTime extends Components.EcoInputTime, HTMLElement {} | ||
export const EcoInputTime: { | ||
prototype: EcoInputTime; | ||
new (): EcoInputTime; | ||
}; | ||
interface EcoMessagebox extends Components.EcoMessagebox, HTMLElement {} | ||
@@ -96,2 +102,8 @@ export const EcoMessagebox: { | ||
interface EcoModal extends Components.EcoModal, HTMLElement {} | ||
export const EcoModal: { | ||
prototype: EcoModal; | ||
new (): EcoModal; | ||
}; | ||
interface EcoRadioButton extends Components.EcoRadioButton, HTMLElement {} | ||
@@ -98,0 +110,0 @@ export const EcoRadioButton: { |
@@ -292,3 +292,3 @@ import { attachShadow, h, Host, Fragment, createEvent, proxyCustomElement } from '@stencil/core/internal/client'; | ||
} | ||
return (h(Host, null, h("div", null, this.label && (h("eco-text-label", null, this.label, !this.required && (h("eco-text-input-optional", null, this.optional)))), this.help && h("eco-text-input-help", null, this.help), h("span", { class: "inputs" }, h("eco-input-number", { label: "Day", value: this.dd, min: this.ddmin, max: this.ddmax, readonly: this.readonly, disabled: this.disabled }), h("eco-input-number", { label: "Month", value: this.mm, min: this.mmmin, max: this.mmmax, readonly: this.readonly, disabled: this.disabled }), h("eco-input-number", { label: "Year", value: this.yyyy, min: this.yyyymin, max: this.yyyymax, readonly: this.readonly, disabled: this.disabled }), this.withtime && (h("eco-input-number", { label: "Hour", value: this.hour, min: this.hourmin, max: this.hourmax, readonly: this.readonly, disabled: this.disabled })), this.withtime && (h("eco-input-number", { label: "Min", value: this.minute, min: this.minutemin, max: this.minutemax, readonly: this.readonly, disabled: this.disabled })))))); | ||
return (h(Host, null, h("eco-spacer", { gap: EcoSpacerSizeList.xs }, this.label && (h("eco-text-label", null, this.label, !this.required && (h("eco-text-input-optional", null, this.optional)))), this.help && h("eco-text-input-help", null, this.help), h("span", { class: "inputs" }, h("eco-input-number", { label: "Day", value: this.dd, min: this.ddmin, max: this.ddmax, readonly: this.readonly, disabled: this.disabled }), h("eco-input-number", { label: "Month", value: this.mm, min: this.mmmin, max: this.mmmax, readonly: this.readonly, disabled: this.disabled }), h("eco-input-number", { label: "Year", value: this.yyyy, min: this.yyyymin, max: this.yyyymax, readonly: this.readonly, disabled: this.disabled }), this.withtime && (h("eco-input-number", { label: "Hour", value: this.hour, min: this.hourmin, max: this.hourmax, readonly: this.readonly, disabled: this.disabled })), this.withtime && (h("eco-input-number", { label: "Min", value: this.minute, min: this.minutemin, max: this.minutemax, readonly: this.readonly, disabled: this.disabled })))))); | ||
} | ||
@@ -425,2 +425,25 @@ static get style() { return ecoInputDateCss; } | ||
const ecoInputTimeCss = "div{display:grid;gap:var(--sp-xs)}.inputs{display:grid;gap:var(--sp-xs) var(--sp-md);grid-template-columns:repeat(auto-fill, calc(var(--fs-md) * 5))}"; | ||
const EcoInputTime = class extends HTMLElement { | ||
constructor() { | ||
super(); | ||
this.__registerHost(); | ||
attachShadow(this); | ||
this.label = "Time input"; | ||
this.optional = "Optional"; | ||
this.readonly = false; | ||
this.required = true; | ||
this.disabled = false; | ||
this.weeksmin = 0; | ||
this.daysmin = 0; | ||
this.hoursmin = 0; | ||
this.minutesmin = 0; | ||
} | ||
render() { | ||
return (h(Host, null, h("eco-spacer", { gap: EcoSpacerSizeList.xs }, this.label && (h("eco-text-label", null, this.label, !this.required && (h("eco-text-input-optional", null, this.optional)))), this.help && h("eco-text-input-help", null, this.help), h("span", { class: "inputs" }, this.weeks && (h("eco-input-number", { label: "Weeks", value: this.weeks, min: this.weeksmin, max: this.weeksmax, readonly: this.readonly, disabled: this.disabled })), this.days && (h("eco-input-number", { label: "Days", value: this.days, min: this.daysmin, max: this.daysmax, readonly: this.readonly, disabled: this.disabled })), this.hours && (h("eco-input-number", { label: "Hours", value: this.hours, min: this.hoursmin, max: this.hoursmax, readonly: this.readonly, disabled: this.disabled })), this.minutes && (h("eco-input-number", { label: "Minutes", value: this.minutes, min: this.minutesmin, max: this.minutesmax, readonly: this.readonly, disabled: this.disabled })))))); | ||
} | ||
static get style() { return ecoInputTimeCss; } | ||
}; | ||
const ecoMessageboxCss = ":host{background-color:var(--c-cta-background);display:block;border-radius:var(--br-md)}div{color:var(--c-text);background-color:hsla(var(--color), 0.1);padding:var(--sp-md);position:relative;z-index:2;border-radius:var(--br-md);border-width:calc(var(--sp-sm) / 8);border-style:solid;border-color:hsl(var(--color));display:flex}.default{--color:var(--c-text);border-color:var(--c-text-secondary);background-color:var(--c-cta-background)}.info{--color:var(--c-cta-info-hsl)}.ghost{background-color:var(--c-cta-background);border-color:var(--c-text-secondary)}.success{--color:var(--c-cta-success-hsl)}.danger{--color:var(--c-cta-danger-hsl)}.warning{--color:var(--c-cta-warning-hsl)}eco-icon{margin-right:var(--sp-md)}"; | ||
@@ -448,2 +471,35 @@ | ||
const ecoModalCss = ":host{}.overlay{position:fixed;overflow:hidden;top:0;bottom:0;left:0;right:0;background-color:var(--c-overlay);z-index:99998;display:flex;flex-direction:column;justify-content:center;align-items:center}.wrapper{z-index:99999;opacity:0.5;transform:scale(0.9);animation:wrapper 150ms ease-in-out forwards}@keyframes wrapper{to{opacity:1;transform:scale(1)}}.modal{overflow:hidden;width:clamp(\n calc(var(--fs-md) * 12),\n calc(var(--fs-md) * 48),\n calc(100vw - var(--sp-md) - var(--sp-md))\n )}header{width:100%;display:grid;grid-template-columns:1fr auto;align-items:center;gap:var(--sp-md)}h2{margin:0}footer{display:flex;justify-content:flex-end;gap:var(--sp-md)}"; | ||
const EcoModal = class extends HTMLElement { | ||
constructor() { | ||
super(); | ||
this.__registerHost(); | ||
attachShadow(this); | ||
this.close = createEvent(this, "close", 7); | ||
this.trigger = createEvent(this, "trigger", 7); | ||
this.visible = false; | ||
this.handleClose = () => { | ||
document.body.style.overflow = ""; | ||
this.visible = false; | ||
this.close.emit(); | ||
}; | ||
this.handleTrigger = () => { | ||
document.body.style.overflow = "hidden"; | ||
this.visible = true; | ||
this.trigger.emit(); | ||
}; | ||
this.handleEscape = (e) => { | ||
if (e.key == "Escape" || e.key === "Esc" || e.keyCode === 27) { | ||
this.handleClose(); | ||
} | ||
}; | ||
} | ||
render() { | ||
document.addEventListener("keyup", this.handleEscape); | ||
return (h(Host, null, h("div", { onClick: this.handleTrigger }, h("slot", { name: "trigger" })), this.visible && (h("div", { class: "overlay" }, h("div", { class: "wrapper" }, h("eco-card", { class: "modal" }, h("header", { slot: "header" }, h("h2", null, this.modaltitle), h("eco-icon", { onClick: this.handleClose, icon: EcoIconList.cancel })), h("slot", null), h("footer", { slot: "footer" }, h("eco-button", { onClick: this.handleClose, label: "Cancel", type: EcoTypeList.ghost }), h("slot", { name: "action" })))))))); | ||
} | ||
static get style() { return ecoModalCss; } | ||
}; | ||
const ecoRadioButtonCss = ":host{display:flex;align-items:center;position:relative}input[type=\"radio\"]{appearance:none;background:none;opacity:0;z-index:2}eco-text-label{padding:var(--sp-xs) var(--sp-md) var(--sp-xs) var(--sp-xl);white-space:unset;display:flex;align-items:center}input[type=\"radio\"],eco-text-label:before,eco-text-label:after{height:var(--fs-lg);width:var(--fs-lg);border:none;left:0;position:absolute;border-radius:100%;content:\" \"}eco-text-label:before,input:checked~eco-text-label:before{box-shadow:0 0 0 calc(var(--sp-xs) / 6) var(--c-cta-success) inset}input:focus~eco-text-label:before{box-shadow:0 0 0 calc(var(--sp-xs) / 3) var(--c-cta-success) inset}input:checked~eco-text-label:after{box-shadow:0 0 0 calc(var(--sp-xs) / 6) var(--c-cta-success) inset,\n 0 0 0 calc(var(--sp-xs) / 2) var(--c-cta-background) inset,\n 0 0 0 var(--fs-lg) var(--c-cta-success) inset}input[disabled],input[disabled]~eco-text-label{filter:grayscale(100%) opacity(0.8);cursor:not-allowed;user-select:none}"; | ||
@@ -564,2 +620,4 @@ | ||
const ecoTableCss = "eco-table table{--table-background:hsl(0, 0%, 100%);--table-even-row:hsla(var(--igs-primary-dark-blue-hsl), 0.05);--table-shadow:hsla(var(--igs-primary-dark-blue-h), 0%, 60%, 0.4);width:100%;overflow:auto;border-collapse:collapse;border-spacing:0;background-color:var(--table-background);border-radius:var(--br-sm);box-shadow:0 calc(var(--sp-md) / 8) calc(var(--sp-md) / 6)\n var(--table-shadow)}eco-table table,eco-table thead{background-color:var(--c-cta-background)}eco-table tr:nth-of-type(even){background:var(--table-even-row)}eco-table th,eco-table td{padding:var(--sp-xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;text-align:left}eco-table th{font-size:var(--fs-sm);font-weight:var(--fw-bold);background-color:var(--c-cta-background);box-shadow:0 calc(var(--sp-md) / -12) 0 var(--table-shadow) inset}eco-table td{border:0}eco-table.equalcolumns table{table-layout:fixed}eco-table.sticky table{overflow:unset;position:relative}eco-table.sticky th{height:min-content;position:sticky;top:0}@media (max-width: 660px){eco-table.responsive thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}eco-table.responsive tr{display:grid;grid-template-columns:repeat(\n auto-fill,\n minmax(calc(var(--fs-md) * 12), 1fr)\n );gap:var(--sp-md);margin-bottom:var(--sp-md);border-radius:var(--br-md);overflow:hidden;box-shadow:0 calc(var(--sp-md) / 8) calc(var(--sp-md) / 6)\n hsl(var(--igs-primary-dark-blue-h), 0%, 60%, 0.4);padding:var(--sp-md)}eco-table.responsive td{display:grid;grid-template-columns:1fr;align-content:start;gap:var(--sp-xs);padding:0;white-space:normal}eco-table.responsive tr:nth-of-type(even){background:var(--table-background)}eco-table.responsive td::before{content:attr(data-label);line-height:var(--line-height-tight);font-weight:var(--fw-bold)}eco-table.responsive td:last-child{border-bottom:0}}"; | ||
const EcoTable = class extends HTMLElement { | ||
@@ -569,3 +627,2 @@ constructor() { | ||
this.__registerHost(); | ||
attachShadow(this); | ||
} | ||
@@ -579,2 +636,3 @@ render() { | ||
} | ||
static get style() { return ecoTableCss; } | ||
}; | ||
@@ -634,3 +692,5 @@ | ||
const EcoInputTextarea$1 = /*@__PURE__*/proxyCustomElement(EcoInputTextarea, [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"]}]); | ||
const EcoInputTime$1 = /*@__PURE__*/proxyCustomElement(EcoInputTime, [1,"eco-input-time",{"label":[1],"help":[1],"optional":[1],"readonly":[4],"required":[4],"disabled":[4],"weeks":[8],"days":[8],"hours":[8],"minutes":[8],"weeksmin":[2],"weeksmax":[2],"daysmin":[2],"daysmax":[2],"hoursmin":[2],"hoursmax":[2],"minutesmin":[2],"minutesmax":[2]}]); | ||
const EcoMessagebox$1 = /*@__PURE__*/proxyCustomElement(EcoMessagebox, [1,"eco-messagebox",{"type":[1],"icon":[1],"icontype":[1]}]); | ||
const EcoModal$1 = /*@__PURE__*/proxyCustomElement(EcoModal, [1,"eco-modal",{"modaltitle":[1],"visible":[4]}]); | ||
const EcoRadioButton$1 = /*@__PURE__*/proxyCustomElement(EcoRadioButton, [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"]}]); | ||
@@ -641,3 +701,3 @@ const EcoRadioGroup$1 = /*@__PURE__*/proxyCustomElement(EcoRadioGroup, [1,"eco-radio-group",{"label":[1],"help":[1],"radioData":[16]}]); | ||
const EcoSpinner$1 = /*@__PURE__*/proxyCustomElement(EcoSpinner, [1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]); | ||
const EcoTable$1 = /*@__PURE__*/proxyCustomElement(EcoTable, [1,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]); | ||
const EcoTable$1 = /*@__PURE__*/proxyCustomElement(EcoTable, [4,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]); | ||
const EcoTextInputHelp$1 = /*@__PURE__*/proxyCustomElement(EcoTextInputHelp, [1,"eco-text-input-help"]); | ||
@@ -663,3 +723,5 @@ const EcoTextInputOptional$1 = /*@__PURE__*/proxyCustomElement(EcoTextInputOptional, [1,"eco-text-input-optional"]); | ||
EcoInputTextarea$1, | ||
EcoInputTime$1, | ||
EcoMessagebox$1, | ||
EcoModal$1, | ||
EcoRadioButton$1, | ||
@@ -682,2 +744,2 @@ EcoRadioGroup$1, | ||
export { EcoButton$1 as EcoButton, EcoCard$1 as EcoCard, EcoCardBody$1 as EcoCardBody, EcoCardFooter$1 as EcoCardFooter, EcoCardHeader$1 as EcoCardHeader, EcoCheckbox$1 as EcoCheckbox, EcoDescription$1 as EcoDescription, EcoDescriptionGroup$1 as EcoDescriptionGroup, EcoIcon$1 as EcoIcon, EcoInputDate$1 as EcoInputDate, EcoInputFile$1 as EcoInputFile, EcoInputNumber$1 as EcoInputNumber, EcoInputText$1 as EcoInputText, EcoInputTextarea$1 as EcoInputTextarea, EcoMessagebox$1 as EcoMessagebox, EcoRadioButton$1 as EcoRadioButton, EcoRadioGroup$1 as EcoRadioGroup, EcoSelect$1 as EcoSelect, EcoSpacer$1 as EcoSpacer, EcoSpinner$1 as EcoSpinner, EcoTable$1 as EcoTable, EcoTextInputHelp$1 as EcoTextInputHelp, EcoTextInputOptional$1 as EcoTextInputOptional, EcoTextLabel$1 as EcoTextLabel, defineCustomElements }; | ||
export { EcoButton$1 as EcoButton, EcoCard$1 as EcoCard, EcoCardBody$1 as EcoCardBody, EcoCardFooter$1 as EcoCardFooter, EcoCardHeader$1 as EcoCardHeader, EcoCheckbox$1 as EcoCheckbox, EcoDescription$1 as EcoDescription, EcoDescriptionGroup$1 as EcoDescriptionGroup, EcoIcon$1 as EcoIcon, EcoInputDate$1 as EcoInputDate, EcoInputFile$1 as EcoInputFile, EcoInputNumber$1 as EcoInputNumber, EcoInputText$1 as EcoInputText, EcoInputTextarea$1 as EcoInputTextarea, EcoInputTime$1 as EcoInputTime, EcoMessagebox$1 as EcoMessagebox, EcoModal$1 as EcoModal, EcoRadioButton$1 as EcoRadioButton, EcoRadioGroup$1 as EcoRadioGroup, EcoSelect$1 as EcoSelect, EcoSpacer$1 as EcoSpacer, EcoSpinner$1 as EcoSpinner, EcoTable$1 as EcoTable, EcoTextInputHelp$1 as EcoTextInputHelp, EcoTextInputOptional$1 as EcoTextInputOptional, EcoTextLabel$1 as EcoTextLabel, defineCustomElements }; |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as i}from"./p-8908b1ea.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),e(a)})().then((e=>i([["p-46b2ec2f",[[1,"eco-card",{cardQaId:[1,"card-qa-id"],sticky:[4],collapsable:[4],collapsed:[4]}]]],["p-4505679d",[[1,"eco-button",{label:[1],size:[1],type:[1],disabled:[4],icon:[1],icontype:[1],iconsize:[1]}]]],["p-81e19add",[[1,"eco-description",{term:[1],description:[1],descQaId:[1,"desc-qa-id"]}]]],["p-50782658",[[4,"eco-select",{label:[1],help:[1],name:[1],optional:[1],status:[1],width:[1],selectQaId:[1,"select-qa-id"],disabled:[4],required:[4],inputId:[1,"input-id"]}],[1,"eco-text-input-help"],[1,"eco-text-label",{for:[1],labelQaId:[1,"label-qa-id"],wrap:[4]}]]],["p-bfcf61ab",[[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-3b206e26",[[1,"eco-input-file",{label:[1],help:[1],optional:[1],text:[1],accept:[1],status:[1],width:[1],disabled:[4],readonly:[4],required:[4],inputId:[1,"input-id"]}]]],["p-798ce5f1",[[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-4623321c",[[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-1242c800",[[1,"eco-radio-group",{label:[1],help:[1],radioData:[16]}]]],["p-7c96afeb",[[1,"eco-checkbox",{label:[1],name:[1],checkboxQaId:[1,"checkbox-qa-id"],checked:[4],disabled:[4],inputId:[1,"input-id"]}]]],["p-fc5a91fb",[[1,"eco-messagebox",{type:[1],icon:[1],icontype:[1]}]]],["p-1e6376d0",[[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-178d8da8",[[1,"eco-description-group",{vertical:[4]}]]],["p-63c39c4b",[[1,"eco-spacer",{gap:[1]}]]],["p-f0e801cf",[[1,"eco-spinner",{text:[1],fullscreen:[4],size:[1],theme:[1]}]]],["p-35c67271",[[1,"eco-table",{responsive:[4],equalcolumns:[4],sticky:[4],tableQaId:[1,"table-qa-id"]}]]],["p-9953cb5f",[[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-48661b26",[[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"]]],["p-2aee9316",[[1,"eco-icon",{icon:[1],icontype:[1],iconsize:[1],url:[1]}]]],["p-321d1b6d",[[1,"eco-text-input-optional"]]]],e))); | ||
import{p as e,b as a}from"./p-8908b1ea.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>a([["p-3f69a655",[[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-0a521a1e",[[1,"eco-input-time",{label:[1],help:[1],optional:[1],readonly:[4],required:[4],disabled:[4],weeks:[8],days:[8],hours:[8],minutes:[8],weeksmin:[2],weeksmax:[2],daysmin:[2],daysmax:[2],hoursmin:[2],hoursmax:[2],minutesmin:[2],minutesmax:[2]}]]],["p-9b55a5e6",[[1,"eco-input-file",{label:[1],help:[1],optional:[1],text:[1],accept:[1],status:[1],width:[1],disabled:[4],readonly:[4],required:[4],inputId:[1,"input-id"]}]]],["p-3b787ffe",[[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-2b42748e",[[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-1242c800",[[1,"eco-radio-group",{label:[1],help:[1],radioData:[16]}]]],["p-43101d28",[[4,"eco-select",{label:[1],help:[1],name:[1],optional:[1],status:[1],width:[1],selectQaId:[1,"select-qa-id"],disabled:[4],required:[4],inputId:[1,"input-id"]}]]],["p-7c96afeb",[[1,"eco-checkbox",{label:[1],name:[1],checkboxQaId:[1,"checkbox-qa-id"],checked:[4],disabled:[4],inputId:[1,"input-id"]}]]],["p-85d58379",[[1,"eco-messagebox",{type:[1],icon:[1],icontype:[1]}]]],["p-1e6376d0",[[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-81e19add",[[1,"eco-description",{term:[1],description:[1],descQaId:[1,"desc-qa-id"]}]]],["p-178d8da8",[[1,"eco-description-group",{vertical:[4]}]]],["p-427c7d22",[[1,"eco-spinner",{text:[1],fullscreen:[4],size:[1],theme:[1]}]]],["p-123e70f7",[[4,"eco-table",{responsive:[4],equalcolumns:[4],sticky:[4],tableQaId:[1,"table-qa-id"]}]]],["p-258239ee",[[1,"eco-text-input-optional"],[1,"eco-text-input-help"],[1,"eco-text-label",{for:[1],labelQaId:[1,"label-qa-id"],wrap:[4]}]]],["p-08aa3bbf",[[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"]}],[1,"eco-spacer",{gap:[1]}]]],["p-d1f8aa73",[[1,"eco-modal",{modaltitle:[1],visible:[4]}],[1,"eco-card",{cardQaId:[1,"card-qa-id"],sticky:[4],collapsable:[4],collapsed:[4]}],[1,"eco-button",{label:[1],size:[1],type:[1],disabled:[4],icon:[1],icontype:[1],iconsize:[1]}],[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"],[1,"eco-icon",{icon:[1],icontype:[1],iconsize:[1],url:[1]}]]]],e))); |
import { r as registerInstance, h, H as Host } from './index-4789c778.js'; | ||
import { c as EcoSpacerSizeList } from './utils-bacb8d02.js'; | ||
@@ -41,3 +42,3 @@ const ecoInputDateCss = "div{display:grid;gap:var(--sp-xs)}.inputs{display:grid;column-gap:var(--sp-md);grid-template-columns:repeat(\n auto-fill,\n calc(var(--sp-md) + 3ch + var(--sp-md))\n calc(var(--sp-md) + 3ch + var(--sp-md))\n calc(var(--sp-md) + 6ch + var(--sp-md))\n )}"; | ||
} | ||
return (h(Host, null, h("div", null, this.label && (h("eco-text-label", null, this.label, !this.required && (h("eco-text-input-optional", null, this.optional)))), this.help && h("eco-text-input-help", null, this.help), h("span", { class: "inputs" }, h("eco-input-number", { label: "Day", value: this.dd, min: this.ddmin, max: this.ddmax, readonly: this.readonly, disabled: this.disabled }), h("eco-input-number", { label: "Month", value: this.mm, min: this.mmmin, max: this.mmmax, readonly: this.readonly, disabled: this.disabled }), h("eco-input-number", { label: "Year", value: this.yyyy, min: this.yyyymin, max: this.yyyymax, readonly: this.readonly, disabled: this.disabled }), this.withtime && (h("eco-input-number", { label: "Hour", value: this.hour, min: this.hourmin, max: this.hourmax, readonly: this.readonly, disabled: this.disabled })), this.withtime && (h("eco-input-number", { label: "Min", value: this.minute, min: this.minutemin, max: this.minutemax, readonly: this.readonly, disabled: this.disabled })))))); | ||
return (h(Host, null, h("eco-spacer", { gap: EcoSpacerSizeList.xs }, this.label && (h("eco-text-label", null, this.label, !this.required && (h("eco-text-input-optional", null, this.optional)))), this.help && h("eco-text-input-help", null, this.help), h("span", { class: "inputs" }, h("eco-input-number", { label: "Day", value: this.dd, min: this.ddmin, max: this.ddmax, readonly: this.readonly, disabled: this.disabled }), h("eco-input-number", { label: "Month", value: this.mm, min: this.mmmin, max: this.mmmax, readonly: this.readonly, disabled: this.disabled }), h("eco-input-number", { label: "Year", value: this.yyyy, min: this.yyyymin, max: this.yyyymax, readonly: this.readonly, disabled: this.disabled }), this.withtime && (h("eco-input-number", { label: "Hour", value: this.hour, min: this.hourmin, max: this.hourmax, readonly: this.readonly, disabled: this.disabled })), this.withtime && (h("eco-input-number", { label: "Min", value: this.minute, min: this.minutemin, max: this.minutemax, readonly: this.readonly, disabled: this.disabled })))))); | ||
} | ||
@@ -44,0 +45,0 @@ }; |
import { r as registerInstance, h, H as Host, g as getElement } from './index-4789c778.js'; | ||
import { E as EcoInputStatusList, a as EcoInputWidthList } from './utils-badd7d4d.js'; | ||
import { d as EcoInputStatusList, e as EcoInputWidthList } from './utils-bacb8d02.js'; | ||
@@ -4,0 +4,0 @@ const ecoInputFileCss = "div{--color:var(--c-text);max-width:100%;display:grid;gap:var(--sp-xs);grid-template-columns:100%}input{display:none}label{display:grid;grid-template-columns:1fr auto;gap:var(--sp-md);justify-content:center;align-items:center;box-shadow:0 0 0 var(--bw-thin) var(--color) inset;border-radius:var(--br-md);padding-left:var(--sp-md);user-select:none;cursor:pointer;background-color:var(--c-cta-background)}label:hover,label:focus,label::active{box-shadow:0 0 0 var(--bw-thick) var(--color) inset}.button{position:relative;cursor:pointer;user-select:none;padding:var(--sp-sm);font-family:var(--ff-base);font-weight:var(--fw-bold);line-height:var(--line-height-tight);color:var(--c-text);background-color:var(--c-cta-background);border-radius:var(--br-md)}.button::before{transition:box-shadow 150ms;content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:var(--br-md);box-shadow:0 0 0 transparent inset, 0 0 0 var(--bw-base) var(--c-text) inset,\n 0 0 0 transparent;mix-blend-mode:multiply}.button:hover::before,.button:focus::before{box-shadow:0 0 0 var(--bw-base) transparent inset,\n 0 0 0 var(--bw-thick) var(--c-text) inset,\n 0 0 var(--sp-sm) hsla(var(--igs-primary-dark-blue-hsl), 0.2)}.default{--color:var(--c-text)}.error{--color:var(--c-cta-danger)}.success{--color:var(--c-cta-success)}.sm label{width:15ch}.md label{width:30ch}.lg label{width:45ch}.full label{max-width:100%}eco-text-input-optional{margin-left:var(--sp-xs);margin-right:var(--sp-xs)}.disabled{cursor:not-allowed;user-select:none;background-color:var(--c-input-disabled);color:var(--c-text)}.disabled .button{cursor:not-allowed;filter:grayscale(100%) opacity(0.8);cursor:not-allowed;background-color:var(--c-input-disabled);box-shadow:0 0 0 transparent inset, 0 0 0 var(--bw-base) var(--c-text) inset,\n 0 0 0 transparent}.disabled .button:hover::before,.disabled .button:focus::before,.disabled .button:active::before{box-shadow:0 0 0 transparent inset, 0 0 0 var(--bw-base) var(--c-text) inset,\n 0 0 0 transparent}"; |
import { r as registerInstance, h, H as Host } from './index-4789c778.js'; | ||
import { E as EcoInputStatusList, a as EcoInputWidthList } from './utils-badd7d4d.js'; | ||
import { d as EcoInputStatusList, e as EcoInputWidthList } from './utils-bacb8d02.js'; | ||
@@ -4,0 +4,0 @@ const ecoInputTextCss = ":host{--color:var(--c-text);display:block;max-width:100%}div{display:grid;gap:var(--sp-xs);grid-template-columns:100%;color:var(--color)}input{font-size:var(--fs-md);font-weight:var(--fw-base);background-color:var(--c-cta-background);padding:var(--sp-sm);border-radius:var(--br-md);border:none;outline:none;appearance:none;box-shadow:0 0 0 var(--bw-thin) var(--color) inset;max-width:100%}input:not(:placeholder-shown){box-shadow:0 0 0 var(--bw-thin) var(--c-cta-danger) inset}input:valid{box-shadow:0 0 0 var(--bw-thin) var(--c-cta-success) inset;box-shadow:0 0 0 var(--bw-thin) var(--color) inset}input:focus{box-shadow:0 0 0 var(--bw-thick) var(--color) inset}input[disabled]{cursor:not-allowed;user-select:none;background-color:var(--c-input-disabled);color:var(--c-text)}input:read-only{color:var(--c-text-secondary)}.default{--color:var(--c-text)}.error{--color:var(--c-cta-danger)}.success{--color:var(--c-cta-success)}.sm input{width:15ch}.md input{width:30ch}.lg input{width:45ch}.full input{max-width:100%}eco-text-input-optional{margin-left:var(--sp-xs);margin-right:var(--sp-xs)}"; |
import { r as registerInstance, h, H as Host } from './index-4789c778.js'; | ||
import { E as EcoInputStatusList, a as EcoInputWidthList } from './utils-badd7d4d.js'; | ||
import { d as EcoInputStatusList, e as EcoInputWidthList } from './utils-bacb8d02.js'; | ||
@@ -4,0 +4,0 @@ const ecoInputTextareaCss = ":host{--color:var(--c-text);--height:var(--fs-md);display:block;max-width:100%}div{display:grid;gap:var(--sp-xs);grid-template-columns:100%;color:var(--color)}textarea{background-color:var(--c-cta-background);font-family:var(--ff-base);font-size:var(--fs-md);padding:var(--sp-sm);border-radius:var(--br-md);border:none;outline:none;appearance:none;box-shadow:0 0 0 var(--bw-thin) var(--color) inset;max-width:100%;resize:none}textarea:valid{box-shadow:0 0 0 var(--bw-thin) var(--c-cta-success) inset;box-shadow:0 0 0 var(--bw-thin) var(--color) inset}textarea:focus{box-shadow:0 0 0 var(--bw-thick) var(--color) inset}textarea[disabled]{cursor:not-allowed;user-select:none;background-color:var(--c-input-disabled);color:var(--c-text)}textarea:read-only{color:var(--c-text-secondary)}.default{--color:var(--c-text)}.error{--color:var(--c-cta-danger)}.success{--color:var(--c-cta-success)}.sm textarea{width:15ch}.md textarea{width:30ch}.lg textarea{width:45ch}.full textarea{max-width:100%}.short textarea{height:calc(var(--height) * 4)}.average textarea{height:calc(var(--height) * 6)}.tall textarea{height:calc(var(--height) * 15)}.resize{resize:both}"; |
import { r as registerInstance, h, H as Host } from './index-4789c778.js'; | ||
import { c as EcoTypeList } from './utils-badd7d4d.js'; | ||
import { a as EcoTypeList } from './utils-bacb8d02.js'; | ||
@@ -4,0 +4,0 @@ const ecoMessageboxCss = ":host{background-color:var(--c-cta-background);display:block;border-radius:var(--br-md)}div{color:var(--c-text);background-color:hsla(var(--color), 0.1);padding:var(--sp-md);position:relative;z-index:2;border-radius:var(--br-md);border-width:calc(var(--sp-sm) / 8);border-style:solid;border-color:hsl(var(--color));display:flex}.default{--color:var(--c-text);border-color:var(--c-text-secondary);background-color:var(--c-cta-background)}.info{--color:var(--c-cta-info-hsl)}.ghost{background-color:var(--c-cta-background);border-color:var(--c-text-secondary)}.success{--color:var(--c-cta-success-hsl)}.danger{--color:var(--c-cta-danger-hsl)}.warning{--color:var(--c-cta-warning-hsl)}eco-icon{margin-right:var(--sp-md)}"; |
import { r as registerInstance, h, H as Host } from './index-4789c778.js'; | ||
import { f as EcoSpinnerSizeList, g as EcoSpinnerThemeList } from './utils-badd7d4d.js'; | ||
import { f as EcoSpinnerSizeList, g as EcoSpinnerThemeList } from './utils-bacb8d02.js'; | ||
@@ -4,0 +4,0 @@ const ecoSpinnerCss = ":host{display:block;--center:var(--sp-xl);--petal:calc(var(--center) / 2);--time:3000ms;--color:var(--c-cta-success);--num-petals:8;user-select:none}.fullscreen{position:fixed;overflow:hidden;top:0;bottom:0;left:0;right:0;background-color:var(--c-text);display:flex;flex-direction:column;justify-content:center;align-items:center;user-select:none;cursor:wait;z-index:99998;opacity:0;animation:fullscreen calc(var(--time) / var(--num-petals)) forwards}.sm{--center:var(--sp-xs);--petal:calc(var(--center) / 2)}.md{--center:var(--sp-md);--petal:calc(var(--center) / 2)}.lg{--center:var(--sp-xxl);--petal:calc(var(--center) / 2)}.spinner{animation:loader var(--time) linear infinite;display:grid;grid-template:1fr / 1fr;place-items:center}span{grid-column:1 / 1;grid-row:1 / 1}.center{transform:scale(0);height:var(--center);width:var(--center);border-radius:var(--center);background-color:var(--color);animation:center calc(var(--time) / var(--num-petals)) forwards;z-index:1}.petal{height:calc(var(--center) * 2.4);width:var(--petal);transform-origin:center;animation:petal var(--time) linear infinite;transform:scale(0)}.petal:after{content:\"\";display:block;height:var(--petal);width:var(--petal);border-radius:var(--petal) var(--petal) var(--petal) 0;background-color:var(--color);transform:rotateZ(-0.125turn)}.petal-1{animation-delay:calc(var(--time) / var(--num-petals) * 0)}.petal-2{animation-delay:calc(var(--time) / var(--num-petals) * 1)}.petal-3{animation-delay:calc(var(--time) / var(--num-petals) * 2)}.petal-4{animation-delay:calc(var(--time) / var(--num-petals) * 3)}.petal-5{animation-delay:calc(var(--time) / var(--num-petals) * 4)}.petal-6{animation-delay:calc(var(--time) / var(--num-petals) * 5)}.petal-7{animation-delay:calc(var(--time) / var(--num-petals) * 6)}.petal-8{animation-delay:calc(var(--time) / var(--num-petals) * 7)}.mono{--color:var(--c-text-on-light)}.fullscreen .mono{--color:var(--c-text-on-dark)}.multi{--color:var(--c-text-on-light)}.fullscreen .multi{--color:var(--c-text-on-dark)}.multi .petal-1{--color:hsl(0deg, 80%, 66%)}.multi .petal-2{--color:hsl(45deg, 80%, 66%)}.multi .petal-3{--color:hsl(90deg, 80%, 66%)}.multi .petal-4{--color:hsl(135deg, 80%, 66%)}.multi .petal-5{--color:hsl(180deg, 80%, 66%)}.multi .petal-6{--color:hsl(225deg, 80%, 66%)}.multi .petal-7{--color:hsl(270deg, 80%, 66%)}.multi .petal-8{--color:hsl(315deg, 80%, 66%)}p{padding:var(--sp-md);margin:0;color:var(--c-text-on-dark)}@keyframes fullscreen{from{opacity:0}to{opacity:0.9}}@keyframes loader{from{transform:rotateZ(0turn)}to{transform:rotateZ(1turn)}}@keyframes center{from{transform:scale(0)}to{transform:scale(1)}}@keyframes petal{0%{transform:scale(0) rotateZ(0turn)}20%{transform:scale(1) rotateZ(0.2turn)}90%{transform:scale(1) rotateZ(1turn)}100%{transform:scale(0) rotateZ(1turn)}}"; |
import { r as registerInstance, h, H as Host } from './index-4789c778.js'; | ||
const ecoTableCss = "eco-table table{--table-background:hsl(0, 0%, 100%);--table-even-row:hsla(var(--igs-primary-dark-blue-hsl), 0.05);--table-shadow:hsla(var(--igs-primary-dark-blue-h), 0%, 60%, 0.4);width:100%;overflow:auto;border-collapse:collapse;border-spacing:0;background-color:var(--table-background);border-radius:var(--br-sm);box-shadow:0 calc(var(--sp-md) / 8) calc(var(--sp-md) / 6)\n var(--table-shadow)}eco-table table,eco-table thead{background-color:var(--c-cta-background)}eco-table tr:nth-of-type(even){background:var(--table-even-row)}eco-table th,eco-table td{padding:var(--sp-xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;text-align:left}eco-table th{font-size:var(--fs-sm);font-weight:var(--fw-bold);background-color:var(--c-cta-background);box-shadow:0 calc(var(--sp-md) / -12) 0 var(--table-shadow) inset}eco-table td{border:0}eco-table.equalcolumns table{table-layout:fixed}eco-table.sticky table{overflow:unset;position:relative}eco-table.sticky th{height:min-content;position:sticky;top:0}@media (max-width: 660px){eco-table.responsive thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}eco-table.responsive tr{display:grid;grid-template-columns:repeat(\n auto-fill,\n minmax(calc(var(--fs-md) * 12), 1fr)\n );gap:var(--sp-md);margin-bottom:var(--sp-md);border-radius:var(--br-md);overflow:hidden;box-shadow:0 calc(var(--sp-md) / 8) calc(var(--sp-md) / 6)\n hsl(var(--igs-primary-dark-blue-h), 0%, 60%, 0.4);padding:var(--sp-md)}eco-table.responsive td{display:grid;grid-template-columns:1fr;align-content:start;gap:var(--sp-xs);padding:0;white-space:normal}eco-table.responsive tr:nth-of-type(even){background:var(--table-background)}eco-table.responsive td::before{content:attr(data-label);line-height:var(--line-height-tight);font-weight:var(--fw-bold)}eco-table.responsive td:last-child{border-bottom:0}}"; | ||
const EcoTable = class { | ||
@@ -15,3 +17,4 @@ constructor(hostRef) { | ||
}; | ||
EcoTable.style = ecoTableCss; | ||
export { EcoTable as eco_table }; |
@@ -16,3 +16,3 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-4789c778.js'; | ||
patchBrowser().then(options => { | ||
return bootstrapLazy([["eco-card",[[1,"eco-card",{"cardQaId":[1,"card-qa-id"],"sticky":[4],"collapsable":[4],"collapsed":[4]}]]],["eco-button",[[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}]]],["eco-description",[[1,"eco-description",{"term":[1],"description":[1],"descQaId":[1,"desc-qa-id"]}]]],["eco-select_3",[[4,"eco-select",{"label":[1],"help":[1],"name":[1],"optional":[1],"status":[1],"width":[1],"selectQaId":[1,"select-qa-id"],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}],[1,"eco-text-input-help"],[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["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-input-file",[[1,"eco-input-file",{"label":[1],"help":[1],"optional":[1],"text":[1],"accept":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["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-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-group",[[1,"eco-description-group",{"vertical":[4]}]]],["eco-spacer",[[1,"eco-spacer",{"gap":[1]}]]],["eco-spinner",[[1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]]],["eco-table",[[1,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]]],["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_3",[[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"]]],["eco-icon",[[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]],["eco-text-input-optional",[[1,"eco-text-input-optional"]]]], options); | ||
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-input-time",[[1,"eco-input-time",{"label":[1],"help":[1],"optional":[1],"readonly":[4],"required":[4],"disabled":[4],"weeks":[8],"days":[8],"hours":[8],"minutes":[8],"weeksmin":[2],"weeksmax":[2],"daysmin":[2],"daysmax":[2],"hoursmin":[2],"hoursmax":[2],"minutesmin":[2],"minutesmax":[2]}]]],["eco-input-file",[[1,"eco-input-file",{"label":[1],"help":[1],"optional":[1],"text":[1],"accept":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["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],"selectQaId":[1,"select-qa-id"],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}]]],["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-spinner",[[1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]]],["eco-table",[[4,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]]],["eco-text-input-help_3",[[1,"eco-text-input-optional"],[1,"eco-text-input-help"],[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["eco-input-number_2",[[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"]}],[1,"eco-spacer",{"gap":[1]}]]],["eco-button_7",[[1,"eco-modal",{"modaltitle":[1],"visible":[4]}],[1,"eco-card",{"cardQaId":[1,"card-qa-id"],"sticky":[4],"collapsable":[4],"collapsed":[4]}],[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}],[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"],[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]]], options); | ||
}); |
@@ -13,3 +13,3 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-4789c778.js'; | ||
return patchEsm().then(() => { | ||
return bootstrapLazy([["eco-card",[[1,"eco-card",{"cardQaId":[1,"card-qa-id"],"sticky":[4],"collapsable":[4],"collapsed":[4]}]]],["eco-button",[[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}]]],["eco-description",[[1,"eco-description",{"term":[1],"description":[1],"descQaId":[1,"desc-qa-id"]}]]],["eco-select_3",[[4,"eco-select",{"label":[1],"help":[1],"name":[1],"optional":[1],"status":[1],"width":[1],"selectQaId":[1,"select-qa-id"],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}],[1,"eco-text-input-help"],[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["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-input-file",[[1,"eco-input-file",{"label":[1],"help":[1],"optional":[1],"text":[1],"accept":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["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-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-group",[[1,"eco-description-group",{"vertical":[4]}]]],["eco-spacer",[[1,"eco-spacer",{"gap":[1]}]]],["eco-spinner",[[1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]]],["eco-table",[[1,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]]],["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_3",[[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"]]],["eco-icon",[[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]],["eco-text-input-optional",[[1,"eco-text-input-optional"]]]], options); | ||
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-input-time",[[1,"eco-input-time",{"label":[1],"help":[1],"optional":[1],"readonly":[4],"required":[4],"disabled":[4],"weeks":[8],"days":[8],"hours":[8],"minutes":[8],"weeksmin":[2],"weeksmax":[2],"daysmin":[2],"daysmax":[2],"hoursmin":[2],"hoursmax":[2],"minutesmin":[2],"minutesmax":[2]}]]],["eco-input-file",[[1,"eco-input-file",{"label":[1],"help":[1],"optional":[1],"text":[1],"accept":[1],"status":[1],"width":[1],"disabled":[4],"readonly":[4],"required":[4],"inputId":[1,"input-id"]}]]],["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],"selectQaId":[1,"select-qa-id"],"disabled":[4],"required":[4],"inputId":[1,"input-id"]}]]],["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-spinner",[[1,"eco-spinner",{"text":[1],"fullscreen":[4],"size":[1],"theme":[1]}]]],["eco-table",[[4,"eco-table",{"responsive":[4],"equalcolumns":[4],"sticky":[4],"tableQaId":[1,"table-qa-id"]}]]],["eco-text-input-help_3",[[1,"eco-text-input-optional"],[1,"eco-text-input-help"],[1,"eco-text-label",{"for":[1],"labelQaId":[1,"label-qa-id"],"wrap":[4]}]]],["eco-input-number_2",[[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"]}],[1,"eco-spacer",{"gap":[1]}]]],["eco-button_7",[[1,"eco-modal",{"modaltitle":[1],"visible":[4]}],[1,"eco-card",{"cardQaId":[1,"card-qa-id"],"sticky":[4],"collapsable":[4],"collapsed":[4]}],[1,"eco-button",{"label":[1],"size":[1],"type":[1],"disabled":[4],"icon":[1],"icontype":[1],"iconsize":[1]}],[1,"eco-card-body"],[1,"eco-card-footer"],[1,"eco-card-header"],[1,"eco-icon",{"icon":[1],"icontype":[1],"iconsize":[1],"url":[1]}]]]], options); | ||
}); | ||
@@ -16,0 +16,0 @@ }; |
@@ -131,2 +131,22 @@ /* eslint-disable */ | ||
} | ||
interface EcoInputTime { | ||
"days": any; | ||
"daysmax": number; | ||
"daysmin": number; | ||
"disabled": boolean; | ||
"help": string; | ||
"hours": any; | ||
"hoursmax": number; | ||
"hoursmin": number; | ||
"label": string; | ||
"minutes": any; | ||
"minutesmax": number; | ||
"minutesmin": number; | ||
"optional": string; | ||
"readonly": boolean; | ||
"required": boolean; | ||
"weeks": any; | ||
"weeksmax": number; | ||
"weeksmin": number; | ||
} | ||
interface EcoMessagebox { | ||
@@ -137,2 +157,6 @@ "icon": EcoIcon["icon"]; | ||
} | ||
interface EcoModal { | ||
"modaltitle": string; | ||
"visible": boolean; | ||
} | ||
interface EcoRadioButton { | ||
@@ -274,2 +298,8 @@ "checked": boolean; | ||
}; | ||
interface HTMLEcoInputTimeElement extends Components.EcoInputTime, HTMLStencilElement { | ||
} | ||
var HTMLEcoInputTimeElement: { | ||
prototype: HTMLEcoInputTimeElement; | ||
new (): HTMLEcoInputTimeElement; | ||
}; | ||
interface HTMLEcoMessageboxElement extends Components.EcoMessagebox, HTMLStencilElement { | ||
@@ -281,2 +311,8 @@ } | ||
}; | ||
interface HTMLEcoModalElement extends Components.EcoModal, HTMLStencilElement { | ||
} | ||
var HTMLEcoModalElement: { | ||
prototype: HTMLEcoModalElement; | ||
new (): HTMLEcoModalElement; | ||
}; | ||
interface HTMLEcoRadioButtonElement extends Components.EcoRadioButton, HTMLStencilElement { | ||
@@ -351,3 +387,5 @@ } | ||
"eco-input-textarea": HTMLEcoInputTextareaElement; | ||
"eco-input-time": HTMLEcoInputTimeElement; | ||
"eco-messagebox": HTMLEcoMessageboxElement; | ||
"eco-modal": HTMLEcoModalElement; | ||
"eco-radio-button": HTMLEcoRadioButtonElement; | ||
@@ -484,2 +522,22 @@ "eco-radio-group": HTMLEcoRadioGroupElement; | ||
} | ||
interface EcoInputTime { | ||
"days"?: any; | ||
"daysmax"?: number; | ||
"daysmin"?: number; | ||
"disabled"?: boolean; | ||
"help"?: string; | ||
"hours"?: any; | ||
"hoursmax"?: number; | ||
"hoursmin"?: number; | ||
"label"?: string; | ||
"minutes"?: any; | ||
"minutesmax"?: number; | ||
"minutesmin"?: number; | ||
"optional"?: string; | ||
"readonly"?: boolean; | ||
"required"?: boolean; | ||
"weeks"?: any; | ||
"weeksmax"?: number; | ||
"weeksmin"?: number; | ||
} | ||
interface EcoMessagebox { | ||
@@ -490,2 +548,8 @@ "icon"?: EcoIcon["icon"]; | ||
} | ||
interface EcoModal { | ||
"modaltitle"?: string; | ||
"onClose"?: (event: CustomEvent<any>) => void; | ||
"onTrigger"?: (event: CustomEvent<any>) => void; | ||
"visible"?: boolean; | ||
} | ||
interface EcoRadioButton { | ||
@@ -557,3 +621,5 @@ "checked"?: boolean; | ||
"eco-input-textarea": EcoInputTextarea; | ||
"eco-input-time": EcoInputTime; | ||
"eco-messagebox": EcoMessagebox; | ||
"eco-modal": EcoModal; | ||
"eco-radio-button": EcoRadioButton; | ||
@@ -588,3 +654,5 @@ "eco-radio-group": EcoRadioGroup; | ||
"eco-input-textarea": LocalJSX.EcoInputTextarea & JSXBase.HTMLAttributes<HTMLEcoInputTextareaElement>; | ||
"eco-input-time": LocalJSX.EcoInputTime & JSXBase.HTMLAttributes<HTMLEcoInputTimeElement>; | ||
"eco-messagebox": LocalJSX.EcoMessagebox & JSXBase.HTMLAttributes<HTMLEcoMessageboxElement>; | ||
"eco-modal": LocalJSX.EcoModal & JSXBase.HTMLAttributes<HTMLEcoModalElement>; | ||
"eco-radio-button": LocalJSX.EcoRadioButton & JSXBase.HTMLAttributes<HTMLEcoRadioButtonElement>; | ||
@@ -591,0 +659,0 @@ "eco-radio-group": LocalJSX.EcoRadioGroup & JSXBase.HTMLAttributes<HTMLEcoRadioGroupElement>; |
{ | ||
"name": "@intelligentgrowthsolutions/eco", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "Eco Design System for Intelligent Growth Solutions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
765875
14772
33
269