@nova-design-system/nova-webcomponents 3.4.0 → 3.5.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/dist/cjs/index.cjs.js +3 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +1 -1
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +6 -6
- package/dist/cjs/nv-fielddaterange.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +3 -3
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtext.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtime.cjs.entry.js +9 -9
- package/dist/cjs/nv-icon.cjs.entry.js +2 -2
- package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-menu.cjs.entry.js +1 -1
- package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +2 -2
- package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +5 -5
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js.map +1 -1
- package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +18 -2
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +3 -3
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +9 -9
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-icon/nv-icons.js +3 -0
- package/dist/collection/components/nv-icon/nv-icons.js.map +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.js +2 -2
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/nv-alert.js +1 -1
- package/dist/components/nv-avatar.js +1 -1
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-breadcrumb.js +2 -2
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-datagrid.js +2 -2
- package/dist/components/nv-dialog.js +4 -4
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-fielddate.js +4 -4
- package/dist/components/nv-fielddaterange.js +10 -10
- package/dist/components/nv-fielddaterange.js.map +1 -1
- package/dist/components/nv-fielddropdown.js +8 -8
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +6 -6
- package/dist/components/nv-fieldnumber.js +1 -1
- package/dist/components/nv-fieldpassword.js +6 -6
- package/dist/components/nv-fieldradio.js +3 -3
- package/dist/components/nv-fieldselect.js +8 -8
- package/dist/components/nv-fieldslider.js +7 -7
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +3 -3
- package/dist/components/nv-fieldtime.js +13 -13
- package/dist/components/nv-icon.js +1 -1
- package/dist/components/nv-iconbutton.js +1 -1
- package/dist/components/nv-loader.js +1 -1
- package/dist/components/nv-menu.js +4 -4
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +2 -2
- package/dist/components/nv-toggle.js +2 -2
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-131e5140.js → p-001c888b.js} +2 -2
- package/dist/components/{p-131e5140.js.map → p-001c888b.js.map} +1 -1
- package/dist/components/{p-953d8b4d.js → p-00ac701f.js} +2 -2
- package/dist/components/{p-953d8b4d.js.map → p-00ac701f.js.map} +1 -1
- package/dist/components/{p-a189d074.js → p-05c19c9a.js} +4 -4
- package/dist/components/{p-a189d074.js.map → p-05c19c9a.js.map} +1 -1
- package/dist/components/{p-c07c32d2.js → p-44f0039b.js} +2 -2
- package/dist/components/{p-c07c32d2.js.map → p-44f0039b.js.map} +1 -1
- package/dist/components/{p-a29a9396.js → p-4badc1d2.js} +7 -7
- package/dist/components/{p-a29a9396.js.map → p-4badc1d2.js.map} +1 -1
- package/dist/components/{p-f7c7a406.js → p-5bee0141.js} +3 -3
- package/dist/components/{p-f7c7a406.js.map → p-5bee0141.js.map} +1 -1
- package/dist/components/{p-dec6fc68.js → p-918bb719.js} +2 -2
- package/dist/components/{p-dec6fc68.js.map → p-918bb719.js.map} +1 -1
- package/dist/components/{p-3f58525b.js → p-919b5237.js} +5 -5
- package/dist/components/{p-3f58525b.js.map → p-919b5237.js.map} +1 -1
- package/dist/components/{p-3f567fde.js → p-970cd9b1.js} +4 -4
- package/dist/components/{p-3f567fde.js.map → p-970cd9b1.js.map} +1 -1
- package/dist/components/{p-dcaf9010.js → p-cebdbb40.js} +2 -2
- package/dist/components/{p-dcaf9010.js.map → p-cebdbb40.js.map} +1 -1
- package/dist/components/{p-df465ef2.js → p-d56b30ab.js} +3 -3
- package/dist/components/{p-df465ef2.js.map → p-d56b30ab.js.map} +1 -1
- package/dist/components/p-e072f051.js +88 -0
- package/dist/components/p-e072f051.js.map +1 -0
- package/dist/components/{p-a1438b39.js → p-e8c083e3.js} +3 -3
- package/dist/components/{p-a1438b39.js.map → p-e8c083e3.js.map} +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/nv-badge_2.entry.js +1 -1
- package/dist/esm/nv-fielddaterange.entry.js +6 -6
- package/dist/esm/nv-fielddaterange.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdown.entry.js +3 -3
- package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +3 -3
- package/dist/esm/nv-fieldpassword.entry.js +3 -3
- package/dist/esm/nv-fieldradio.entry.js +3 -3
- package/dist/esm/nv-fieldselect.entry.js +5 -5
- package/dist/esm/nv-fieldslider.entry.js +3 -3
- package/dist/esm/nv-fieldtext.entry.js +3 -3
- package/dist/esm/nv-fieldtextarea.entry.js +3 -3
- package/dist/esm/nv-fieldtime.entry.js +9 -9
- package/dist/esm/nv-icon.entry.js +2 -2
- package/dist/esm/nv-icon.entry.js.map +1 -1
- package/dist/esm/nv-iconbutton_2.entry.js +2 -2
- package/dist/esm/nv-menu.entry.js +1 -1
- package/dist/esm/nv-menuitem.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-table.entry.js +2 -2
- package/dist/esm/nv-toggle.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +1 -1
- package/dist/native/index.esm.js +1 -1
- package/dist/native/index.esm.js.map +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/{p-0410facd.entry.js → p-003b6377.entry.js} +2 -2
- package/dist/native/{p-cbca9326.entry.js → p-0493c51a.entry.js} +2 -2
- package/dist/native/{p-2bc7d66a.entry.js → p-19f484a0.entry.js} +2 -2
- package/dist/native/{p-7ba03c5d.entry.js → p-1e0df2d3.entry.js} +2 -2
- package/dist/native/{p-ec87200a.entry.js → p-2d98d4f0.entry.js} +2 -2
- package/dist/native/{p-a30206c1.entry.js → p-54198779.entry.js} +2 -2
- package/dist/native/{p-14895e84.entry.js → p-58f4dc0e.entry.js} +2 -2
- package/dist/native/{p-f377b285.entry.js → p-5b06f4b5.entry.js} +2 -2
- package/dist/native/{p-01164e86.entry.js → p-6ea1c78b.entry.js} +2 -2
- package/dist/native/{p-2006f5d4.entry.js → p-82568ec7.entry.js} +2 -2
- package/dist/native/{p-24659a85.entry.js → p-a5c72bd3.entry.js} +2 -2
- package/dist/native/{p-9850c1d7.entry.js → p-a983e6a0.entry.js} +2 -2
- package/dist/native/{p-abbe5d69.entry.js → p-af1e6035.entry.js} +2 -2
- package/dist/native/{p-ff0f3794.entry.js → p-b9c7b644.entry.js} +2 -2
- package/dist/native/p-be9aeed4.entry.js +2 -0
- package/dist/native/p-be9aeed4.entry.js.map +1 -0
- package/dist/native/p-bee972c7.entry.js +2 -0
- package/dist/native/{p-0ec2d430.entry.js → p-d4bf2587.entry.js} +2 -2
- package/dist/native/p-dd256ea3.entry.js +2 -0
- package/dist/native/p-dd256ea3.entry.js.map +1 -0
- package/dist/native/{p-c7b8b7ba.entry.js → p-dd6b1d79.entry.js} +2 -2
- package/dist/native/{p-55df8bf9.entry.js → p-e293b3fe.entry.js} +2 -2
- package/dist/native/{p-1c1ecd38.entry.js → p-e9962dac.entry.js} +2 -2
- package/dist/native/{p-2b1e7675.entry.js → p-eaf51f2c.entry.js} +2 -2
- package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
- package/dist/vscode-data.json +9 -0
- package/hydrate/index.js +57 -57
- package/hydrate/index.mjs +57 -57
- package/package.json +7 -3
- package/dist/components/p-b207be02.js +0 -88
- package/dist/components/p-b207be02.js.map +0 -1
- package/dist/native/p-2c3fb8cc.entry.js +0 -2
- package/dist/native/p-2c3fb8cc.entry.js.map +0 -1
- package/dist/native/p-c92d55f9.entry.js +0 -2
- package/dist/native/p-c9d3de9c.entry.js +0 -2
- package/dist/native/p-c9d3de9c.entry.js.map +0 -1
- /package/dist/native/{p-0410facd.entry.js.map → p-003b6377.entry.js.map} +0 -0
- /package/dist/native/{p-cbca9326.entry.js.map → p-0493c51a.entry.js.map} +0 -0
- /package/dist/native/{p-2bc7d66a.entry.js.map → p-19f484a0.entry.js.map} +0 -0
- /package/dist/native/{p-7ba03c5d.entry.js.map → p-1e0df2d3.entry.js.map} +0 -0
- /package/dist/native/{p-ec87200a.entry.js.map → p-2d98d4f0.entry.js.map} +0 -0
- /package/dist/native/{p-a30206c1.entry.js.map → p-54198779.entry.js.map} +0 -0
- /package/dist/native/{p-14895e84.entry.js.map → p-58f4dc0e.entry.js.map} +0 -0
- /package/dist/native/{p-f377b285.entry.js.map → p-5b06f4b5.entry.js.map} +0 -0
- /package/dist/native/{p-01164e86.entry.js.map → p-6ea1c78b.entry.js.map} +0 -0
- /package/dist/native/{p-2006f5d4.entry.js.map → p-82568ec7.entry.js.map} +0 -0
- /package/dist/native/{p-24659a85.entry.js.map → p-a5c72bd3.entry.js.map} +0 -0
- /package/dist/native/{p-9850c1d7.entry.js.map → p-a983e6a0.entry.js.map} +0 -0
- /package/dist/native/{p-abbe5d69.entry.js.map → p-af1e6035.entry.js.map} +0 -0
- /package/dist/native/{p-ff0f3794.entry.js.map → p-b9c7b644.entry.js.map} +0 -0
- /package/dist/native/{p-c92d55f9.entry.js.map → p-bee972c7.entry.js.map} +0 -0
- /package/dist/native/{p-0ec2d430.entry.js.map → p-d4bf2587.entry.js.map} +0 -0
- /package/dist/native/{p-c7b8b7ba.entry.js.map → p-dd6b1d79.entry.js.map} +0 -0
- /package/dist/native/{p-55df8bf9.entry.js.map → p-e293b3fe.entry.js.map} +0 -0
- /package/dist/native/{p-1c1ecd38.entry.js.map → p-e9962dac.entry.js.map} +0 -0
- /package/dist/native/{p-2b1e7675.entry.js.map → p-eaf51f2c.entry.js.map} +0 -0
|
@@ -641,11 +641,11 @@ const NvFieldslider = class {
|
|
|
641
641
|
/****************************************************************************/
|
|
642
642
|
//#region RENDER
|
|
643
643
|
render() {
|
|
644
|
-
return (index.h(index.Host, { key: '
|
|
644
|
+
return (index.h(index.Host, { key: 'b6d4fb8acbdeecc38af8cedc10b57bc051d16306' }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: '5ca9f08e3f0d4640aad7433c0ec861dcc2044936', htmlFor: this.startInputId }, index.h("slot", { key: 'c31ba9e87a5fd0f6c5d28f0bfa6e42895d6ce6e9', name: "label" }, this.label))), index.h("div", { key: 'd6942e4dba60e5b58eb16c8631466743ea0590dd', class: "slider-container" }, this.range ? (index.h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 0, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : null, index.h("div", { key: '7404f2d26e96220f9c1c615487b837855694d335', class: "track-container" }, index.h("div", { key: '353747e80e3af3ec203b527648f7eca0d47c837b', class: "track", onPointerDown: this.onTrackInteraction }, this.range ? (index.h(RangeThumb, { rangeValue: this.rangeValueInternal, rawRangePosition: this.rawRangePosition, activeDragThumb: this.activeDragThumb, isDragging: this.isDragging, snap: this.snap, min: this.min, max: this.max, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue })) : (index.h(SingleThumb, { value: this.valueInternal, min: this.min, max: this.max, rawPosition: this.rawPosition, isDragging: this.isDragging, snap: this.snap, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue }))), index.h(TickMarks, { key: '08e3ed7962b8ca6b15c4c592993c79adcb4622ee', ticks: this.internalTicks, min: this.min, max: this.max })), this.range ? (index.h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 1, inputId: this.endInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : (index.h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name }))), (this.success ||
|
|
645
645
|
this.description ||
|
|
646
|
-
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '
|
|
646
|
+
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '0860c3cdee38cc112e8e29d61a6ea357c2a146d6', class: "description" }, this.success && (index.h("nv-icon", { key: '2ad1463f9e868d6b9757a5d5d657111595d711cb', name: "circle-check", class: "validation", size: "md" })), index.h("slot", { key: '7559546a6067060db4f20d6f65786c868a4638a4', name: "description" }, this.description))), (this.error ||
|
|
647
647
|
this.errorDescription ||
|
|
648
|
-
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '
|
|
648
|
+
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'cb3c997c250f9ebe3d46bd869bb7c4c9e81e9738', class: "error-description", hidden: !this.error }, this.error && (index.h("nv-icon", { key: '3644d3f766a30872eaadbad89c87fdfd893a2a1b', name: "alert-circle", class: "validation", size: "md" })), index.h("slot", { key: '162a532c42328f0aee7309af5544b4d92230ce86', name: "error-description" }, this.errorDescription)))));
|
|
649
649
|
}
|
|
650
650
|
static get formAssociated() { return true; }
|
|
651
651
|
get el() { return index.getElement(this); }
|
|
@@ -112,9 +112,9 @@ const NvFieldtext = class {
|
|
|
112
112
|
/****************************************************************************/
|
|
113
113
|
//#region RENDER
|
|
114
114
|
render() {
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
116
|
-
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '
|
|
117
|
-
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '
|
|
115
|
+
return (index.h(index.Host, { key: '1619b7f63a882e953e0153cc2b70de086eeeeb56' }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'd7eb27295ab541c523ada7a85faa9c1b03144447', htmlFor: this.inputId }, index.h("slot", { key: 'a2e0942edc5435cf9f712e98ec74c1162bdd7a9f', name: "label" }, this.label))), index.h("div", { key: 'acbb7cc279abe926cfd4778c6b244227bf8f1545', class: "input-wrapper" }, index.h("slot", { key: 'c5e7d37de44dc3948bbebea67d78dc36d9af3106', name: "before-input" }), index.h("div", { key: '174bc5b0fe2d89c2a6622d924490e57e079c4033', class: "input-container", onClick: this.handleInputContainerClick }, index.h("slot", { key: 'e2af299a1f2e0f576405d2bb3176e6759faeafda', name: "leading-input" }), index.h("input", { key: '4e00aa5a7f8bd52e7080be30c8438ca01d151e6d', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), index.h("slot", { key: '035e7478da88e9d944ee192f5af345eab44782d9', name: "trailing-input" }), this.error && (index.h("nv-icon", { key: '21cc0d22e9e1e355c522985fd15c9a1b5aa40464', name: "alert-circle", class: "validation", size: "md" })), this.success && (index.h("nv-icon", { key: '229b732174f1b464c240cec94a77725bcf1c7e96', name: "circle-check", class: "validation", size: "md" }))), index.h("slot", { key: '6522e7106f888f39415e853df131a2a5bb85d5fd', name: "after-input" })), (this.description ||
|
|
116
|
+
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '77c4b156e39216f5122b7d5cc9cf4db89171f7f3', class: "description" }, index.h("slot", { key: '59b732c941ea2ab6fcda2fe87d856b5f7bd6edff', name: "description" }, this.description))), (this.errorDescription ||
|
|
117
|
+
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'ba3a666fe48b90369f3c58d1e8a9e14d0d9726f4', hidden: !this.error, class: "error-description" }, index.h("slot", { key: '686143748e2a9c2d079c383e48d02d40beae1ec6', name: "error-description" }, this.errorDescription)))));
|
|
118
118
|
}
|
|
119
119
|
static get formAssociated() { return true; }
|
|
120
120
|
get el() { return index.getElement(this); }
|
|
@@ -182,9 +182,9 @@ const NvFieldtextarea = class {
|
|
|
182
182
|
/****************************************************************************/
|
|
183
183
|
//#region RENDER
|
|
184
184
|
render() {
|
|
185
|
-
return (index.h(index.Host, { key: '
|
|
186
|
-
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '
|
|
187
|
-
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '
|
|
185
|
+
return (index.h(index.Host, { key: 'f5ac973e97efc7bb3d2c3ce59507a56b2605ecb0' }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'e36602ae0fe5eb0684611c100502152dd85cfc5e', htmlFor: this.inputId }, index.h("slot", { key: 'd6a35797136c52201a67bfbcf06c9ba1826a6594', name: "label" }, this.label))), index.h("div", { key: 'fdab36db53b550a8ce9c88bb0f52aeb40d724a34', class: "textarea-wrapper" }, index.h("div", { key: '447355abb8874e1f8b6a958e026bb4b9a955ad4e', class: "textarea-container", onClick: this.handleTextareaContainerClick }, index.h("textarea", { key: '4a2151f726b1335ab78f895e8ce85f7a17fc62d3', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx.clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
|
|
186
|
+
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '2e66d3bd367d812f9f94110e094716adb489a600', class: "description" }, index.h("slot", { key: 'bbc7983f3c6884766e8d14322d1a803243e0b6df', name: "description" }, this.description))), (this.errorDescription ||
|
|
187
|
+
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'e62612c112e89ba2c3309869ac15670ac36d90d7', hidden: !this.error, class: "error-description" }, index.h("slot", { key: '1d53e6c9f6abd5f026c47e3fbad331bb8614eea2', name: "error-description" }, this.errorDescription)))));
|
|
188
188
|
}
|
|
189
189
|
static get formAssociated() { return true; }
|
|
190
190
|
get el() { return index.getElement(this); }
|
|
@@ -971,26 +971,26 @@ const NvFieldtime = class {
|
|
|
971
971
|
}, key: `${option}-${index$1}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
972
972
|
}
|
|
973
973
|
render() {
|
|
974
|
-
return (index.h(index.Host, { key: '
|
|
975
|
-
index.h("input", { key: '
|
|
974
|
+
return (index.h(index.Host, { key: '757fd8e7217562805cc463fcc62a29b150e07746', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: '50bc85aea3f5191e8629ff5f8dee2386513d01f2', htmlFor: this.inputId }, index.h("slot", { key: '61a751dee3629e470168ec75fbb66ded1ad3c5bc', name: "label" }, this.label))), index.h("nv-popover", { key: 'fd96b7e7bc80c873442d01c13998b718c71a0434', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { key: '65c075a139cb62092e1cbddbab2ac50a4dd6eb0b', class: "input-wrapper", slot: "trigger" }, index.h("slot", { key: 'b7adb1b1cb3d02715e9c9b5099ce750850998bd9', name: "before-input" }), index.h("div", { key: '61e8f2283bf0c1e56d37904532002753055957c4', class: "input-container" }, index.h("slot", { key: 'cd0f10bac015e720a7bb9ce195f0bbd15c989f72', name: "leading-input" }), string_utils.startsWithIgnoreCase(this.format, 'HH') && [
|
|
975
|
+
index.h("input", { key: '4609d5071d4436d3bd59fa57017348ad2e1b34ae', ref: el => (this.inputElements[constants.TimeType.Hours] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.hours, onInput: e => this.handleInputChange(e, constants.TimeType.Hours), placeholder: this.format.includes('hh') ? 'hh' : 'HH', inputMode: "numeric", onFocus: () => this.handleFocus(constants.TimeType.Hours), name: this.name
|
|
976
976
|
? `${constants.TimeType.Hours}-${this.name}`
|
|
977
977
|
: constants.TimeType.Hours, id: this.inputId, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
978
978
|
], this.format.includes('mm') && [
|
|
979
|
-
index.h("span", { key: '
|
|
980
|
-
index.h("input", { key: '
|
|
979
|
+
index.h("span", { key: 'a92d1f6762397cf19fb9b66650ece033a34090fa' }, ":"),
|
|
980
|
+
index.h("input", { key: '88f8e9e3a1dfcbee2b1ea1a5aa9e698b6ad455e5', ref: el => (this.inputElements[constants.TimeType.Minutes] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.minutes, onInput: e => this.handleInputChange(e, constants.TimeType.Minutes), placeholder: "mm", inputMode: "numeric", onFocus: () => this.handleFocus(constants.TimeType.Minutes), name: this.name
|
|
981
981
|
? `${constants.TimeType.Minutes}-${this.name}`
|
|
982
982
|
: constants.TimeType.Minutes, id: `${this.inputId}-minutes`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
983
983
|
], this.format.includes('ss') && [
|
|
984
|
-
index.h("span", { key: '
|
|
985
|
-
index.h("input", { key: '
|
|
984
|
+
index.h("span", { key: '80f7b55263f287a136a0d75965ca2aeebb9286a4' }, ":"),
|
|
985
|
+
index.h("input", { key: '71cf4d20ed7c85f535092c29116849982dfcfa54', ref: el => (this.inputElements[constants.TimeType.Seconds] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.seconds, onInput: e => this.handleInputChange(e, constants.TimeType.Seconds), placeholder: "ss", inputMode: "numeric", onFocus: () => this.handleFocus(constants.TimeType.Seconds), name: this.name
|
|
986
986
|
? `${constants.TimeType.Seconds}-${this.name}`
|
|
987
987
|
: constants.TimeType.Seconds, id: `${this.inputId}-seconds`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
988
|
-
], index.h("nv-iconbutton", { key: '
|
|
988
|
+
], index.h("nv-iconbutton", { key: 'd7dd4eeec66097b1b28843a2b152de3a54264d86', name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', "aria-pressed": this.open.toString(), onClick: () => this.HandleDropdownIconClick() }), this.error && (index.h("nv-icon", { key: 'a4d970f47e77340f0d979018f82d63fe16e330ac', name: "alert-circle", class: "validation", size: "sm" })), this.success && (index.h("nv-icon", { key: '09a48f8cddcbc7ebd68e824cd3b6b98d4bdb05bc', name: "circle-check", class: "validation", size: "sm" }))), index.h("slot", { key: 'd0f36a492944565d4abaf110ba5852c32c9aa17f', name: "after-input" })), index.h("div", { key: 'edf9e7b894f55b2ba8075a26a24dad36034baba3', class: "time-dropdown", slot: "content" }, index.h("div", { key: '3119fd1f881fbc06e1b00c687aa5e2e719959455', class: "time-columns" }, string_utils.startsWithIgnoreCase(this.format, 'HH') &&
|
|
989
989
|
this.RenderTimeOptionsColumn(constants.TimeType.Hours), this.format.includes('mm') &&
|
|
990
990
|
this.RenderTimeOptionsColumn(constants.TimeType.Minutes), this.format.includes('ss') &&
|
|
991
991
|
this.RenderTimeOptionsColumn(constants.TimeType.Seconds)))), (this.description ||
|
|
992
|
-
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '
|
|
993
|
-
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '
|
|
992
|
+
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: 'fdce7e05e292bf00dcec4ff8f00e8d014d4e35d8', class: "description" }, index.h("slot", { key: '8f0a4f0a8128d49eeb6910f5fc77b7518dee60d4', name: "description" }, this.description))), (this.errorDescription ||
|
|
993
|
+
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'c54ffb42c2cb4ffb002f6786f8ffe17b2c33cbd3', hidden: !this.error, class: "error-description" }, index.h("slot", { key: '902f6adc01ec02ecbbb1a8f524e14e3f3ad9c707', name: "error-description" }, this.errorDescription)))));
|
|
994
994
|
}
|
|
995
995
|
static get formAssociated() { return true; }
|
|
996
996
|
get el() { return index.getElement(this); }
|