@nova-design-system/nova-react 3.0.0-beta.45 → 3.0.0-beta.46
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-S09Gr7Tw.js → index-BgDhK4Po.js} +171 -153
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{nv-alert.entry-DH8Qd2s2.js → nv-alert.entry-C9DnCn0Q.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-B3-elLZC.js → nv-avatar.entry-Cj_bK7KY.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-D15EDzX0.js → nv-badge_2.entry-H664ASUM.js} +5 -5
- package/dist/cjs/{nv-base.entry-D-_RUZTX.js → nv-base.entry-DdLnS1hF.js} +2 -2
- package/dist/cjs/{nv-breadcrumb.entry-DG49Nj1L.js → nv-breadcrumb.entry-BOyjRSxM.js} +2 -2
- package/dist/cjs/{nv-breadcrumbs.entry-BqJO5pbN.js → nv-breadcrumbs.entry-DkffTj6Z.js} +2 -2
- package/dist/cjs/{nv-button.entry-CN9kB98T.js → nv-button.entry-Dv4bG9oE.js} +2 -2
- package/dist/cjs/{nv-calendar.entry-CMEgSU64.js → nv-calendar.entry-DSoKDy9Q.js} +2 -2
- package/dist/cjs/{nv-col.entry-wcZ9HHAb.js → nv-col.entry-CGNiCKta.js} +2 -2
- package/dist/cjs/{nv-datagrid.entry-GCLeN2qT.js → nv-datagrid.entry-YSL7aTz5.js} +39 -6
- package/dist/cjs/nv-datagridcolumn.entry-7whgB5iS.js +22 -0
- package/dist/cjs/{nv-dialog.entry-DfY0TaYp.js → nv-dialog.entry-CLANnPw3.js} +2 -2
- package/dist/cjs/{nv-dialogfooter_2.entry-OByWsulH.js → nv-dialogfooter_2.entry-cHevwuGs.js} +3 -3
- package/dist/cjs/{nv-fieldcheckbox.entry-Bqpe9BK3.js → nv-fieldcheckbox.entry-BV8M8SyS.js} +5 -5
- package/dist/cjs/{nv-fielddate.entry-DJePv6tR.js → nv-fielddate.entry--KEcXuio.js} +6 -6
- package/dist/cjs/{nv-fielddaterange.entry--YC750sX.js → nv-fielddaterange.entry-Bctzvr40.js} +5 -5
- package/dist/cjs/{nv-fielddropdown.entry-BPlTlc_S.js → nv-fielddropdown.entry-DJPARQ0F.js} +4 -10
- package/dist/cjs/{nv-fielddropdownitem.entry-zwoGySum.js → nv-fielddropdownitem.entry-DAlnhF7-.js} +2 -2
- package/dist/cjs/{nv-fieldmultiselect.entry-Bg_v0LUF.js → nv-fieldmultiselect.entry-DDKtC-sR.js} +4 -17
- package/dist/cjs/{nv-fieldnumber.entry-BLNaq7yr.js → nv-fieldnumber.entry-FzcOQMWp.js} +4 -4
- package/dist/cjs/{nv-fieldpassword.entry-iSEdS5R8.js → nv-fieldpassword.entry-ZgJKgEWo.js} +10 -8
- package/dist/cjs/{nv-fieldradio.entry-Dov4vZkh.js → nv-fieldradio.entry-B6vwI0oH.js} +4 -4
- package/dist/cjs/{nv-fieldselect.entry-NmpesarX.js → nv-fieldselect.entry-Dpb1RR2D.js} +6 -6
- package/dist/cjs/{nv-fieldtext.entry-r6oQajRS.js → nv-fieldtext.entry-WhMFksEn.js} +4 -4
- package/dist/cjs/{nv-fieldtextarea.entry-CJ2yQkfi.js → nv-fieldtextarea.entry-Cpqi_pE7.js} +4 -4
- package/dist/cjs/{nv-fieldtime.entry-Bxoj6N53.js → nv-fieldtime.entry-BApGHC9K.js} +10 -10
- package/dist/cjs/{nv-icon.entry-CWKRt8F0.js → nv-icon.entry-DTbgrNDQ.js} +2 -2
- package/dist/cjs/{nv-iconbutton_2.entry-CnbscpNn.js → nv-iconbutton_2.entry-D5Wjr6mr.js} +3 -3
- package/dist/cjs/{nv-menu.entry-wC7oSruP.js → nv-menu.entry-4P44Bom1.js} +4 -4
- package/dist/cjs/{nv-menuitem.entry-BVSa1vrS.js → nv-menuitem.entry-pYkLIeY9.js} +2 -2
- package/dist/cjs/{nv-popover.entry-ChP1we3l.js → nv-popover.entry-DJzEjs-d.js} +2 -2
- package/dist/cjs/{nv-row.entry-D6FeFpzG.js → nv-row.entry-AQGhBTGs.js} +2 -2
- package/dist/cjs/{nv-stack.entry-zjJmztkO.js → nv-stack.entry-Bb6k4Yob.js} +2 -2
- package/dist/cjs/{nv-table.entry-CGX0jsR3.js → nv-table.entry-C4DY5CRF.js} +3 -3
- package/dist/cjs/{nv-tablecolumn.entry-Cwdmo_RY.js → nv-tablecolumn.entry-jJAoHJnt.js} +1 -1
- package/dist/cjs/{nv-toggle.entry-BvToMkI2.js → nv-toggle.entry-P76L0fsx.js} +3 -3
- package/dist/cjs/{nv-tooltip.entry-DZ7_lB-p.js → nv-tooltip.entry-DC7XngcD.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/nv-datagridcolumn.entry-lgIz71UU.js +0 -18
|
@@ -4435,7 +4435,7 @@ const NvIcon$2 = /*@__PURE__*/ proxyCustomElement(class NvIcon extends H {
|
|
|
4435
4435
|
/****************************************************************************/
|
|
4436
4436
|
//#region RENDER
|
|
4437
4437
|
render() {
|
|
4438
|
-
return (h$1(Host$1, { key: '
|
|
4438
|
+
return (h$1(Host$1, { key: 'a5d7dbfd9cf1be24ba19e8a8902a5a7adb89cc24', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, h$1("svg", { key: 'b35bc42c038fd288022e13650556086d1dc3604d', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, h$1("use", { key: '41833d3d27433422c859b513f28dc48a202d5919', href: `#${this.name}` }))));
|
|
4439
4439
|
}
|
|
4440
4440
|
static get style() { return NvIconStyle0; }
|
|
4441
4441
|
}, [0, "nv-icon", {
|
|
@@ -4796,7 +4796,6 @@ const NvBadge$2 = /*@__PURE__*/ proxyCustomElement(class NvBadge extends H {
|
|
|
4796
4796
|
* Controls the visibility of the badge. Will animate with fade and collapse.
|
|
4797
4797
|
*/
|
|
4798
4798
|
this.hidden = false; // eslint-disable-line @stencil-community/reserved-member-names
|
|
4799
|
-
this._isHidden = this.hidden;
|
|
4800
4799
|
/**
|
|
4801
4800
|
* When true, the alert does not automatically close upon dismissing.
|
|
4802
4801
|
* Useful for externally controlled component behavior.
|
|
@@ -4865,6 +4864,7 @@ const NvBadge$2 = /*@__PURE__*/ proxyCustomElement(class NvBadge extends H {
|
|
|
4865
4864
|
this.leadIcon = this.icon;
|
|
4866
4865
|
}
|
|
4867
4866
|
if (this.hidden) {
|
|
4867
|
+
this._isHidden = true;
|
|
4868
4868
|
const { setCollapsed } = useCollapse(this.ref);
|
|
4869
4869
|
const { setFadeOut } = useFade(this.ref);
|
|
4870
4870
|
setCollapsed();
|
|
@@ -4875,11 +4875,11 @@ const NvBadge$2 = /*@__PURE__*/ proxyCustomElement(class NvBadge extends H {
|
|
|
4875
4875
|
/****************************************************************************/
|
|
4876
4876
|
//#region RENDER
|
|
4877
4877
|
render() {
|
|
4878
|
-
return (h$1(Host$1, { key: '
|
|
4878
|
+
return (h$1(Host$1, { key: '8d97eed4a84f2f913e4f8cd64d08c806d9724f33', class: clsx(`badge-${this.color}`, {
|
|
4879
4879
|
'has-close': this.dismissible,
|
|
4880
4880
|
'with-gap': this.dismissible || this.label,
|
|
4881
4881
|
'visually-hidden': this._isHidden,
|
|
4882
|
-
}) }, h$1("slot", { key: '
|
|
4882
|
+
}) }, h$1("slot", { key: '34c2c387727e6b68d37fe2b2ac68c82799356e3d', name: "leading-icon" }, this.leadIcon && h$1("nv-icon", { key: '0c23dd58e48fce39d7935549c6289f87f1fb66af', name: this.leadIcon, size: "sm" })), h$1("slot", { key: '7485f570aa3cf519b030bedfa8ccf6a6d37d2c1b' }, this.label && h$1("span", { key: 'eb7afa0eb52582c6d782d2383dfe2eeb41a9649b' }, this.label)), this.dismissible && (h$1("button", { key: 'bc07eed3e1328a8009cb2c8add026a7f8a5335da', onClick: this.handleClose, class: "close", type: "button" }, h$1("nv-icon", { key: 'ab0b2c6224f4b8b147e8158856acbf1ab987b392', name: "x", size: "sm" })))));
|
|
4883
4883
|
}
|
|
4884
4884
|
get ref() { return this; }
|
|
4885
4885
|
static get watchers() { return {
|
|
@@ -4988,7 +4988,7 @@ const NvBaseComponent = /*@__PURE__*/ proxyCustomElement(class NvBaseComponent e
|
|
|
4988
4988
|
/****************************************************************************/
|
|
4989
4989
|
//#region RENDER
|
|
4990
4990
|
render() {
|
|
4991
|
-
return (h$1(Host$1, { key: '
|
|
4991
|
+
return (h$1(Host$1, { key: 'ba3d284241a61fa30bd434f563b7e4962ea3f238', style: { display: 'block' } }, h$1("slot", { key: '44a0f1bc5267cf7e7bd0c1d258e8d9b8020a59f3' })));
|
|
4992
4992
|
}
|
|
4993
4993
|
get el() { return this; }
|
|
4994
4994
|
}, [4, "nv-base"]);
|
|
@@ -6975,7 +6975,7 @@ const NvPopover$2 = /*@__PURE__*/ proxyCustomElement(class NvPopover extends H {
|
|
|
6975
6975
|
/****************************************************************************/
|
|
6976
6976
|
//#region RENDER
|
|
6977
6977
|
render() {
|
|
6978
|
-
return (h$1(Host$1, { key: '
|
|
6978
|
+
return (h$1(Host$1, { key: 'efab8d78e1163d23e197ca04786b9f99f248ce05' }, h$1("slot", { key: 'b8197a385e5d9cda08d6b3e0232c052fb7238d01', name: "trigger" }), h$1("div", { key: '480c3cc8352bc833216cd64c8bfcf75ba9c79130', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h$1("div", { key: '8b1b10a15427ef05bc267460161e4a53be4cc3d1', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h$1("slot", { key: '8c9a8708a36fae6cac5e533b5c1a3128d7375195', name: "content" }))));
|
|
6979
6979
|
}
|
|
6980
6980
|
get el() { return this; }
|
|
6981
6981
|
static get watchers() { return {
|
|
@@ -7048,7 +7048,7 @@ const NvTooltip$2 = /*@__PURE__*/ proxyCustomElement(class NvTooltip extends H {
|
|
|
7048
7048
|
/****************************************************************************/
|
|
7049
7049
|
//#region RENDER
|
|
7050
7050
|
render() {
|
|
7051
|
-
return (h$1(Host$1, { key: '
|
|
7051
|
+
return (h$1(Host$1, { key: '42d55bd749a31fc808d6685b75b5002b10575b63' }, h$1("slot", { key: '7ccb801774290a4e47c9bf6e61994936f0cb793e' }), h$1("nv-popover", { key: '6c67ddae0787dbc9e24d239e3b34218dfa997747', triggerMode: "hover", hasArrow: true, placement: this.placement, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, h$1("p", { key: '900d3a61fc7adb7aee3f9982d932c6e2f9889ab3', slot: "content" }, this.message), h$1("slot", { key: '3f5e490d760e723271acef897cf4e0247ca7cd44', name: "content" }))));
|
|
7052
7052
|
}
|
|
7053
7053
|
get el() { return this; }
|
|
7054
7054
|
static get style() { return NvTooltipStyle0; }
|
|
@@ -7111,7 +7111,7 @@ const NvBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class NvBreadcrumb exten
|
|
|
7111
7111
|
/****************************************************************************/
|
|
7112
7112
|
//#region RENDER
|
|
7113
7113
|
render() {
|
|
7114
|
-
return (h$1(Host$1, { key: '
|
|
7114
|
+
return (h$1(Host$1, { key: '8ffa46d8714261924aaab55940c7dc6b36f2a9f9', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (h$1("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (h$1("slot", null)), this.tooltip && (h$1("nv-tooltip", { key: 'a2beda9f4b9a5eb71962a1cc060f5467fd2b0134', message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (h$1("nv-popover", { key: 'd4a837d21c07697d6ef01506169474bd5cf5a304', triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, h$1("ul", { key: 'bf089278cfe03ed3ae4beeac57ad67dc029b91cf', slot: "content" }, h$1("slot", { key: '23f21367fc803a5f176947720e55dba4201f64c4' })))), h$1("span", { key: 'e1a9414f3be1fd6ef3450f3e7b99d7ff091ec2f0', "data-scope": "separator" }, "/")));
|
|
7115
7115
|
}
|
|
7116
7116
|
get el() { return this; }
|
|
7117
7117
|
static get style() { return NvBreadcrumbStyle0; }
|
|
@@ -7158,7 +7158,7 @@ const NvBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class NvBreadcrumbs ext
|
|
|
7158
7158
|
}
|
|
7159
7159
|
//#region RENDER
|
|
7160
7160
|
render() {
|
|
7161
|
-
return (h$1(Host$1, { key: '
|
|
7161
|
+
return (h$1(Host$1, { key: '5ab0f09cb86a92464ffcd06d8129543539bdcddf', role: "navigation", "aria-label": "breadcrumbs" }, h$1("ol", { key: 'a7624a2400d9a91ec477694bbd3600960e198981' }, h$1("slot", { key: '7c4102ceebe110377bf212e0695bdec6b455ea74' }))));
|
|
7162
7162
|
}
|
|
7163
7163
|
static get style() { return NvBreadcrumbsStyle0; }
|
|
7164
7164
|
}, [4, "nv-breadcrumbs"]);
|
|
@@ -7201,7 +7201,7 @@ const NvLoader$2 = /*@__PURE__*/ proxyCustomElement(class NvLoader extends H {
|
|
|
7201
7201
|
//#region RENDER
|
|
7202
7202
|
/* <slot> empty to force rendering change */
|
|
7203
7203
|
render() {
|
|
7204
|
-
return (h$1(Host$1, { key: '
|
|
7204
|
+
return (h$1(Host$1, { key: '701552c6cf9126e60d81f844648ec1d29079fdd3', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
|
|
7205
7205
|
}
|
|
7206
7206
|
static get style() { return NvLoaderStyle0; }
|
|
7207
7207
|
}, [0, "nv-loader", {
|
|
@@ -7364,7 +7364,7 @@ const NvButton$2 = /*@__PURE__*/ proxyCustomElement(class NvButton extends H {
|
|
|
7364
7364
|
/****************************************************************************/
|
|
7365
7365
|
//#region RENDER
|
|
7366
7366
|
render() {
|
|
7367
|
-
return (h$1(Host$1, { key: '
|
|
7367
|
+
return (h$1(Host$1, { key: '751fa0a552eaf13a193a15f9c9d6fe0c257b93e8', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (h$1("nv-loader", { key: 'ae8b39b13bfd6cd8a33f7a30afea19e426d0064d', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), h$1("slot", { key: 'e1a213305895c9b35d517bedce3a61f49e39642a', name: "leading-icon" }), h$1("slot", { key: '2e9e5ed4381790f3c1c06f1a4bf5f60bda79bd1c' }), h$1("slot", { key: 'e960ec4f4eca0a2a941ca7f3b96a4e31603fa633', name: "trailing-icon" })));
|
|
7368
7368
|
}
|
|
7369
7369
|
static get formAssociated() { return true; }
|
|
7370
7370
|
get el() { return this; }
|
|
@@ -7524,7 +7524,7 @@ const NvIconbutton$2 = /*@__PURE__*/ proxyCustomElement(class NvIconbutton exten
|
|
|
7524
7524
|
/****************************************************************************/
|
|
7525
7525
|
//#region RENDER
|
|
7526
7526
|
render() {
|
|
7527
|
-
return (h$1(Host$1, { key: '
|
|
7527
|
+
return (h$1(Host$1, { key: 'e67f2cfb172fc315ea4d12290000cd92ff683e88', role: "button", type: this.type, tabindex: "0", disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && h$1("nv-loader", { key: '6477c82dcaa79147d03ae730d9ab2835959bcde6', size: this.size }), !this.loading && h$1("nv-icon", { key: '8ffecf3db1d721ff88ba3c7b4e08543e48adedd5', name: this.name, size: this.size }), h$1("slot", { key: 'c03cccb5aff47a9f758fc23b4e2226301d2d2fcc' })));
|
|
7528
7528
|
}
|
|
7529
7529
|
static get formAssociated() { return true; }
|
|
7530
7530
|
get el() { return this; }
|
|
@@ -8594,7 +8594,7 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8594
8594
|
* @slot default - Child content of the component.
|
|
8595
8595
|
*/
|
|
8596
8596
|
render() {
|
|
8597
|
-
return (h$1(Host$1, { key: '
|
|
8597
|
+
return (h$1(Host$1, { key: '49bdf5cc44f9e8f13b0fd61936d3b015e6105d18' }, h$1("div", { key: 'e1a0fcc20c7c12930df31c36751824a64fae053f', class: "datepicker-root" }, h$1("div", { key: '48cd6f6d92c41c748fdd05a6d932cbb634e3dfd6', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, h$1("div", { key: 'f5d5ca631e448067cbfb04f0bcc74695b5c6fb5e', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), (this.hasShortcuts || this.hasActions) && (h$1("div", { key: 'cb1ebc42e3616b9c35d147c227a53924fd2c73c8', class: "datepicker-controls" }, this.hasShortcuts && this.renderShortcuts(), this.hasActions && this.renderActions())))), h$1("slot", { key: 'e9bec2dd219502e8855c6195ebe69bff8fff0da5' })));
|
|
8598
8598
|
}
|
|
8599
8599
|
get el() { return this; }
|
|
8600
8600
|
static get watchers() { return {
|
|
@@ -8694,7 +8694,7 @@ const NvCol$1 = /*@__PURE__*/ proxyCustomElement(class NvCol extends H {
|
|
|
8694
8694
|
/****************************************************************************/
|
|
8695
8695
|
//#region RENDER
|
|
8696
8696
|
render() {
|
|
8697
|
-
return (h$1(Host$1, { key: '
|
|
8697
|
+
return (h$1(Host$1, { key: '8c6efe159aa3b9d853d07897e17045adabf5716c', class: clsx(this.getColSize()) }, h$1("slot", { key: '5438e2dd941088fde68b17495a4d231cc56fba3c' })));
|
|
8698
8698
|
}
|
|
8699
8699
|
static get style() { return NvColStyle0; }
|
|
8700
8700
|
}, [4, "nv-col", {
|
|
@@ -12057,6 +12057,7 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
12057
12057
|
this.parsedColumns = []; // Parsed array
|
|
12058
12058
|
this.parsedData = []; // Parsed array
|
|
12059
12059
|
this.globalFilter = '';
|
|
12060
|
+
this.columnData = [];
|
|
12060
12061
|
//#endregion STATES
|
|
12061
12062
|
/****************************************************************************/
|
|
12062
12063
|
//#region PROPERTIES
|
|
@@ -12132,6 +12133,7 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
12132
12133
|
*/
|
|
12133
12134
|
cacheTemplates() {
|
|
12134
12135
|
const columns = Array.from(this.el.querySelectorAll('nv-datagridcolumn'));
|
|
12136
|
+
this.columnData = [];
|
|
12135
12137
|
columns.forEach((col) => {
|
|
12136
12138
|
const key = col.accessor;
|
|
12137
12139
|
const cellSlot = col.querySelector('[slot="cell"]');
|
|
@@ -12152,6 +12154,12 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
12152
12154
|
this.headerTemplateCache.set(key, headerDiv);
|
|
12153
12155
|
}
|
|
12154
12156
|
}
|
|
12157
|
+
const colData = {
|
|
12158
|
+
header: col.header,
|
|
12159
|
+
accessor: col.accessor,
|
|
12160
|
+
repeatTemplate: col.hasAttribute('repeat-template'),
|
|
12161
|
+
};
|
|
12162
|
+
this.columnData.push(colData);
|
|
12155
12163
|
});
|
|
12156
12164
|
}
|
|
12157
12165
|
parseDataAndColumns() {
|
|
@@ -12433,7 +12441,25 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
12433
12441
|
}
|
|
12434
12442
|
}
|
|
12435
12443
|
// Handle single-level key lookup
|
|
12436
|
-
|
|
12444
|
+
if (key in cellValue) {
|
|
12445
|
+
return String(cellValue[key]);
|
|
12446
|
+
}
|
|
12447
|
+
else if (Array.isArray(cellValue)) {
|
|
12448
|
+
// Handle array of objects
|
|
12449
|
+
const response = cellValue.map((item) => {
|
|
12450
|
+
if (typeof item !== 'object') {
|
|
12451
|
+
return item.toString();
|
|
12452
|
+
}
|
|
12453
|
+
else if (key in item) {
|
|
12454
|
+
return item[key];
|
|
12455
|
+
}
|
|
12456
|
+
else {
|
|
12457
|
+
return item.toString();
|
|
12458
|
+
}
|
|
12459
|
+
});
|
|
12460
|
+
return response.join(', ');
|
|
12461
|
+
}
|
|
12462
|
+
return this.fallbackValue;
|
|
12437
12463
|
}
|
|
12438
12464
|
// If cellValue is a primitive (string, number, boolean, etc.), return it as a string
|
|
12439
12465
|
return (_a = cellValue === null || cellValue === void 0 ? void 0 : cellValue.toString()) !== null && _a !== void 0 ? _a : this.fallbackValue;
|
|
@@ -12544,7 +12570,7 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
12544
12570
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
12545
12571
|
? []
|
|
12546
12572
|
: (_c = (_b = this.table) === null || _b === void 0 ? void 0 : _b.getRowModel()) === null || _c === void 0 ? void 0 : _c.rows;
|
|
12547
|
-
return (h$1(Host$1, { key: '
|
|
12573
|
+
return (h$1(Host$1, { key: '94163c2c73d03dca35795bfb536c5743cb3aa0dc' }, h$1("div", { key: '022776844872a4a6fcf9d7bdc71651e946e83724', class: "hidden" }, h$1("slot", { key: 'a479cfc2b5ee53aa83450ec784451625e1ae7667' })), h$1("slot", { key: '9beeb16975a685d8ce05981923c999ab2ffa004e', name: "before" }), this.enableGlobalFilter && this.table && (h$1("div", { key: '57efcd1ee55fae941a0071000dc665ee76615f32', class: "search-container" }, h$1("input", { key: 'd7352618ce123a7c14d8ebcc0b228136ae2df66a', type: "text", value: (_d = this.globalFilter) !== null && _d !== void 0 ? _d : '', onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns...", class: "search-input", "aria-label": "Search all columns" }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (h$1("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (h$1("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (h$1("thead", null, this.parsedColumns.length > 0 && headerGroups
|
|
12548
12574
|
? headerGroups === null || headerGroups === void 0 ? void 0 : headerGroups.map(headerGroup => (h$1("tr", { key: headerGroup.id }, headerGroup.headers.map(header => {
|
|
12549
12575
|
return (h$1("th", { key: header.id }, header.isPlaceholder
|
|
12550
12576
|
? null
|
|
@@ -12554,12 +12580,19 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
12554
12580
|
const rowId = row.id;
|
|
12555
12581
|
const visibleCells = row === null || row === void 0 ? void 0 : row.getVisibleCells();
|
|
12556
12582
|
return (h$1("tr", { key: rowId }, visibleCells.map(cell => {
|
|
12583
|
+
var _a, _b;
|
|
12557
12584
|
const cellAccessors = cell.column.id;
|
|
12558
12585
|
const cellValue = cell.getValue();
|
|
12559
|
-
return (h$1("td", { key: cell.id, "data-row-id": rowId },
|
|
12560
|
-
|
|
12586
|
+
return (h$1("td", { key: cell.id, "data-row-id": rowId }, ((_a = this.columnData.find(x => x.accessor === cellAccessors)) === null || _a === void 0 ? void 0 : _a.repeatTemplate) && Array.isArray(cellValue)
|
|
12587
|
+
? cellValue.map((item) => {
|
|
12588
|
+
var _a;
|
|
12589
|
+
return (_a = (this.renderTemplate(this.templateCache.get(cellAccessors), item, row) ||
|
|
12590
|
+
item)) !== null && _a !== void 0 ? _a : this.fallbackValue;
|
|
12591
|
+
})
|
|
12592
|
+
: (_b = (this.renderTemplate(this.templateCache.get(cellAccessors), cellValue, row) ||
|
|
12593
|
+
cellValue)) !== null && _b !== void 0 ? _b : this.fallbackValue));
|
|
12561
12594
|
})));
|
|
12562
|
-
}))))), h$1("slot", { key: '
|
|
12595
|
+
}))))), h$1("slot", { key: '15815f259d3936559c89ff943dc349f99fda34fa', name: "after" })));
|
|
12563
12596
|
}
|
|
12564
12597
|
get el() { return this; }
|
|
12565
12598
|
static get watchers() { return {
|
|
@@ -12585,7 +12618,8 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
12585
12618
|
"table": [32],
|
|
12586
12619
|
"parsedColumns": [32],
|
|
12587
12620
|
"parsedData": [32],
|
|
12588
|
-
"globalFilter": [32]
|
|
12621
|
+
"globalFilter": [32],
|
|
12622
|
+
"columnData": [32]
|
|
12589
12623
|
}, undefined, {
|
|
12590
12624
|
"columns": ["parseColumns"],
|
|
12591
12625
|
"columnsJson": ["parseJsonColumns"],
|
|
@@ -12617,16 +12651,21 @@ const NvDatagridcolumn$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagridcolu
|
|
|
12617
12651
|
constructor() {
|
|
12618
12652
|
super();
|
|
12619
12653
|
this.__registerHost();
|
|
12654
|
+
/**
|
|
12655
|
+
* Whether the column need to be repeated with the template.
|
|
12656
|
+
*/
|
|
12657
|
+
this.repeatTemplate = false;
|
|
12620
12658
|
}
|
|
12621
12659
|
//#endregion PROPERTIES
|
|
12622
12660
|
/****************************************************************************/
|
|
12623
12661
|
//#region RENDER
|
|
12624
12662
|
render() {
|
|
12625
|
-
return (h$1(Host$1, { key: '
|
|
12663
|
+
return (h$1(Host$1, { key: '462144dc8ea401f4f3e3683bdafba983c7147737' }, h$1("slot", { key: '9af4055567f5199f6b4393e37a8a77b884ce82b9', name: "header" }), h$1("slot", { key: '36b8cfd9bc974ed9d2a249418ababa504b66091d', name: "cell" })));
|
|
12626
12664
|
}
|
|
12627
12665
|
}, [4, "nv-datagridcolumn", {
|
|
12628
12666
|
"header": [513],
|
|
12629
|
-
"accessor": [513]
|
|
12667
|
+
"accessor": [513],
|
|
12668
|
+
"repeatTemplate": [516, "repeat-template"]
|
|
12630
12669
|
}]);
|
|
12631
12670
|
function defineCustomElement$1$i() {
|
|
12632
12671
|
if (typeof customElements === "undefined") {
|
|
@@ -12726,7 +12765,7 @@ const NvDialogfooter$2 = /*@__PURE__*/ proxyCustomElement(class NvDialogfooter e
|
|
|
12726
12765
|
/****************************************************************************/
|
|
12727
12766
|
//#region RENDER
|
|
12728
12767
|
render() {
|
|
12729
|
-
return (h$1(Host$1, { key: '
|
|
12768
|
+
return (h$1(Host$1, { key: '11bfb772cb942d91363b9636f0baf10d33ce6bbd' }, !this.hasSlot ? (h$1(Fragment$1, null, !this.undismissable && (h$1("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h$1("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h$1("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h$1("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (h$1("slot", null))));
|
|
12730
12769
|
}
|
|
12731
12770
|
static get formAssociated() { return true; }
|
|
12732
12771
|
get el() { return this; }
|
|
@@ -12801,7 +12840,7 @@ const NvDialogheader$2 = /*@__PURE__*/ proxyCustomElement(class NvDialogheader e
|
|
|
12801
12840
|
/****************************************************************************/
|
|
12802
12841
|
//#region RENDER
|
|
12803
12842
|
render() {
|
|
12804
|
-
return (h$1(Host$1, { key: '
|
|
12843
|
+
return (h$1(Host$1, { key: '7658d8f0517e63b3688b938108e8c3a6df788a77' }, !this.hasSlot ? (h$1(Fragment$1, null, h$1("div", { class: "heading" }, this.heading), h$1("div", { class: "subheading" }, this.subheading))) : (h$1("slot", null))));
|
|
12805
12844
|
}
|
|
12806
12845
|
get el() { return this; }
|
|
12807
12846
|
static get style() { return NvDialogheaderStyle0; }
|
|
@@ -13647,7 +13686,7 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
13647
13686
|
//#region RENDER
|
|
13648
13687
|
render() {
|
|
13649
13688
|
const hasForm = this.form || this.el.querySelector('form');
|
|
13650
|
-
return (h$1(Host$1, { key: '
|
|
13689
|
+
return (h$1(Host$1, { key: '61eba0f85db952b244052a3ee2ef7b7f87fd326c' }, h$1("slot", { key: '44c72cba8610442c45386055285fcc81b9fccc4f', name: "trigger" }), h$1("dialog", { key: 'db3983ac428f7e537037884f5556d97330928238', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, h$1("div", { key: '9ec2a2df306d68ac4cea2c5b2c303d3b491d5e34', class: "content" }, !this.undismissable && (h$1("nv-button", { key: 'a586462512605de60726b912897fa16c39f8f68f', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleCloseButton, "aria-label": "Close dialog" }, h$1("nv-icon", { key: '95eb4b492442aa0eb43dcab3f9111d9961421322', name: "x", size: "sm" }))), this.headerElement ? (h$1("slot", { name: "header" })) : (h$1("nv-dialogheader", { id: "dialog-header" })), h$1("div", { key: 'f9c1cf75b545166afc4dbb3d650e90042a83ea7a', class: "content-body", id: "dialog-content" }, h$1("slot", { key: '7716af492453f1a9f142aaf2a8af06689e4ded82' })), this.footerElement ? (h$1("slot", { name: "footer" })) : (h$1("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleCancelButton, undismissable: this.undismissable }))))));
|
|
13651
13690
|
}
|
|
13652
13691
|
get el() { return this; }
|
|
13653
13692
|
static get watchers() { return {
|
|
@@ -13831,13 +13870,13 @@ const NvFieldcheckbox$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldcheckbox
|
|
|
13831
13870
|
/****************************************************************************/
|
|
13832
13871
|
//#region RENDER
|
|
13833
13872
|
render() {
|
|
13834
|
-
return (h$1(Host$1, { key: '
|
|
13873
|
+
return (h$1(Host$1, { key: '1d627199f94d133d82bbef8f20de86590d9a3813', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("div", { key: 'bca54e59576da2ec632a7ef7c5f8adb6fb3c77fb', class: "input-container" }, h$1("input", { key: '4f27772a35e74cc945fc4de202099866fbd8a317', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !this.required, required: this.required, indeterminate: this.indeterminate, ref: el => {
|
|
13835
13874
|
if (el) {
|
|
13836
13875
|
el.indeterminate = this.indeterminate;
|
|
13837
13876
|
}
|
|
13838
|
-
} }), h$1("span", { key: '
|
|
13839
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
13840
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
13877
|
+
} }), h$1("span", { key: 'd575209c82fe0cbb4f3136a50eb78a9db12cacc0', class: "icon" }, this.checked && !this.indeterminate && (h$1("slot", { key: 'c265cb54bc4d76962203e8ee0298508e9f96bc58', name: "checked-icon" }, h$1("svg", { key: '03d326e69ac11bf22bc3ce43a80023f8c2ff8401', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: 'ae602d5613c82569f89f97d9e1b6994940f03f9c', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h$1("slot", { key: '9f90d9b9a63a50bd0ecd4433b390d4c03604e124', name: "indeterminate-icon" }, h$1("svg", { key: '7681c9b1203240f419fb7cf93644cef77f8438f6', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: 'c28a5d22adace616ede31baa3a4edbc8cb899f01', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h$1("div", { key: '9213ad654a4c4f9576160c80195aec378559f2a0', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '73f6c22fe57659b0618216e69289a5704ac231eb', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: 'fd70342006329609c2b0f9b501d0e2e7ad311f07', name: "label" }, this.label))), (this.description ||
|
|
13878
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '17fb2ed0060b24b1ef797efe34b53c94a755a1ac', class: "description" }, h$1("slot", { key: '96d6c1b135f716de40c1223f35a479d3c8cc6c0d', name: "description" }, this.description))), (this.errorDescription ||
|
|
13879
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'c63392b6d315d5104087561ca2abf166e190f0f7', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '154010b1ec725f95d88bbf18a9e5d309b73affdd', name: "error-description" }, this.errorDescription))))));
|
|
13841
13880
|
}
|
|
13842
13881
|
static get formAssociated() { return true; }
|
|
13843
13882
|
get el() { return this; }
|
|
@@ -17885,12 +17924,12 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
17885
17924
|
/****************************************************************************/
|
|
17886
17925
|
//#region RENDER
|
|
17887
17926
|
render() {
|
|
17888
|
-
return (h$1(Host$1, { key: '
|
|
17889
|
-
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '
|
|
17927
|
+
return (h$1(Host$1, { key: 'c7df11a97881887a55ebcedcb2b92aa1ac24097e' }, ((this.label && this.label.length > 0) ||
|
|
17928
|
+
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'a1b973f2de3b2510e7ed9c4a02d38ebc96cf5261', htmlFor: this.inputId }, h$1("slot", { key: '8a236ef847c3c65994fa47fad12f7c1a84820859', name: "label" }, this.label))), h$1("nv-popover", { key: '76448ee54d85eeed56bc700b6cf5c92bfbad75b3', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '1e3610ab28f294d1075aa78a971ee80a2c5f67bc', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '1ddf6042b74ba760238a92a4bd76e1385ed5b964', name: "before-input" }), h$1("div", { key: 'ed60189f121928bc42fdf6f419a92fe2733ad2a3', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '27d9c9302a8cb2d9d803020e2bc7b86b8c2c673b', name: "leading-input" }), h$1("input", { key: 'c8edffba97c6c51ef545c218459a8ce80698b3c4', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus }), h$1("nv-iconbutton", { key: 'e69bf0edb9726c201659f5a4aa7453eb3f5067ac', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
|
|
17890
17929
|
,
|
|
17891
|
-
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: '
|
|
17892
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
17893
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
17930
|
+
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: 'd8231b608d9d08abb88e261118f9dd02cf8f5c2c', name: "after-input" })), h$1("div", { key: 'c8bb3d4a753e8ad311db1947717f1dad109999c1', slot: "content" }, h$1("nv-calendar", { key: 'bd73bc48c48e708f3655c112b874135003f1a16f', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates }))), ((this.description && this.description.length > 0) ||
|
|
17931
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'dee7ad7eaa2854756e616ef033264c4a2cf8f96c', class: "description" }, h$1("slot", { key: '5556239ae6ed962cd2d51944d2f394f8d7741fb0', name: "description" }, this.description))), (this.errorDescription ||
|
|
17932
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '82ba5366e053563fe5fc9471493fb99c78bf078f', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: '1fda22554d69a5998b99d3f8c95362a926b44fb3' })));
|
|
17894
17933
|
}
|
|
17895
17934
|
get el() { return this; }
|
|
17896
17935
|
static get watchers() { return {
|
|
@@ -18305,15 +18344,15 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
|
|
|
18305
18344
|
/****************************************************************************/
|
|
18306
18345
|
//#region RENDER
|
|
18307
18346
|
render() {
|
|
18308
|
-
return (h$1(Host$1, { key: '
|
|
18309
|
-
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '
|
|
18347
|
+
return (h$1(Host$1, { key: '357f98b39d7cade75f24caaba007eec4279cd24e' }, ((this.label && this.label.length > 0) ||
|
|
18348
|
+
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '0731f0d5ad79d323dade2f023f5a9c3088c744b2', htmlFor: this.startInputId }, h$1("slot", { key: '75309cb4161e1652f0445ba924c6d7a58de140c3', name: "label" }, this.label))), h$1("nv-popover", { key: 'f66e2544956ea3dedd249719a4b436077bdc85c0', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: 'c1a3b117056a521f6f778a978b4bc8edac32a111', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '5fbe2aff9687456dd299792016904470386dfb94', name: "before-input" }), h$1("div", { key: '46726768e9724e983063479e0f301c3d09169669', class: "input-container" }, h$1("slot", { key: 'f4a405be4a98566bd40dc9d19087d2c5c0ac798f', name: "leading-input" }), h$1("div", { key: 'd1abc5e239272e57f0fdbf4c0e9e76ca86230996', class: "range-inputs" }, h$1("input", { key: 'd13584d024b50162d47a74e68592c05206484876', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.shouldAutoFocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus }), h$1("svg", { key: '641dda60614637939d8ffaa25052e8f2bcb234d8', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "icon icon-tabler icons-tabler-outline icon-tabler-arrows-move-horizontal" }, h$1("path", { key: 'c6245bd4ffa2bb12df3a295a6a10ce8386b5f54b', stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), h$1("path", { key: 'c1b3400148e367dae092eecec9da410cfa2e7547', d: "M18 9l3 3l-3 3" }), h$1("path", { key: '08bc414df54afe457775aec97897ed0acf2dca38', d: "M15 12h6" }), h$1("path", { key: 'd9136526597df7a8193f71414caba9481248ebf2', d: "M6 9l-3 3l3 3" }), h$1("path", { key: '1d194b3449c53be3f05458ade789e99998861371', d: "M3 12h6" })), h$1("input", { key: '5ed58df2a2680b1fa66916f65c2dc48dc648e461', id: this.endInputId, type: "text", placeholder: this.endPlaceholder, name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus })), h$1("nv-iconbutton", { key: 'e06b3a9326245e581998a60627634560be7124f0', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: 'bf0ea3f63a5476e7ff4a6954fb200c15a493d6ac', name: "after-input" })), h$1("div", { key: '32fcfbafe86ce08d87d597d40ad25702dd059ed6', slot: "content" }, h$1("nv-calendar", { key: 'ef670618ecca933d976adefaec9996f172f95d7a', dateFormat: this.dateFormat, rangeValue: this.startValue && this.endValue
|
|
18310
18349
|
? JSON.stringify({
|
|
18311
18350
|
start: this.startValue,
|
|
18312
18351
|
end: this.endValue,
|
|
18313
18352
|
})
|
|
18314
18353
|
: '', firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range" }))), ((this.description && this.description.length > 0) ||
|
|
18315
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
18316
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
18354
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '15dbab39d7ceaf406246462812d8a1307dad40bb', class: "description" }, h$1("slot", { key: '1c5f74676b312a6bbca659a783473da7c3936829', name: "description" }, this.description))), (this.errorDescription ||
|
|
18355
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '8f48ac666968cddfdd2c282366ed2f6dccd3013c', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: '92dc673a2d62a34d3830cf6644b84103b73b695b' })));
|
|
18317
18356
|
}
|
|
18318
18357
|
get el() { return this; }
|
|
18319
18358
|
static get watchers() { return {
|
|
@@ -18459,7 +18498,7 @@ const NvFielddropdownitem$2 = /*@__PURE__*/ proxyCustomElement(class NvFielddrop
|
|
|
18459
18498
|
/****************************************************************************/
|
|
18460
18499
|
//#region RENDER
|
|
18461
18500
|
render() {
|
|
18462
|
-
return (h$1(Host$1, { key: '
|
|
18501
|
+
return (h$1(Host$1, { key: '228a213b0a8acb108676e412ed2aa8bcd3f2e88d', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h$1("slot", { key: '4578676f2a58e9a3a3a5173ff4659ca8e65755df' }), !this.composed && (h$1("div", { key: 'a4f670296e56319007852726fd5fa3dca1ea3d04', class: "text-wrapper" }, h$1("span", { key: '2b69bca3ee6e1d7e8db57befdfb57bd27c096658', "data-scope": "text" }, this.label))), this.selected && (h$1("nv-icon", { key: '869900dc55ef7e35550d9de1aea06478e90ba890', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
|
|
18463
18502
|
}
|
|
18464
18503
|
get el() { return this; }
|
|
18465
18504
|
static get style() { return NvFielddropdownitemStyle0; }
|
|
@@ -18560,7 +18599,6 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
18560
18599
|
//#region STATE
|
|
18561
18600
|
/** The text entered by the user for filtering dropdown items. */
|
|
18562
18601
|
this.filterText = '';
|
|
18563
|
-
this.isFilterable = this.filterable;
|
|
18564
18602
|
this.selectedValues = new Set();
|
|
18565
18603
|
/**
|
|
18566
18604
|
* Options configuration for the dropdown items.
|
|
@@ -18650,10 +18688,6 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
18650
18688
|
handleOpenChanged(event) {
|
|
18651
18689
|
this.open = event.detail; // Update `open` based on the popover state
|
|
18652
18690
|
}
|
|
18653
|
-
watchFilterableHandler(newValue) {
|
|
18654
|
-
this.isFilterable = newValue;
|
|
18655
|
-
this.filterable = newValue;
|
|
18656
|
-
}
|
|
18657
18691
|
watchValueHandler(newValue) {
|
|
18658
18692
|
this.valueChanged.emit(newValue);
|
|
18659
18693
|
}
|
|
@@ -18830,14 +18864,13 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
18830
18864
|
/****************************************************************************/
|
|
18831
18865
|
//#region RENDER
|
|
18832
18866
|
render() {
|
|
18833
|
-
return (h$1(Host$1, { key: '
|
|
18834
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
18835
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
18867
|
+
return (h$1(Host$1, { key: '9624c909eb35f0e6d9a9875cbeaec8ffb8122d40', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '27389b0b422af6b7714cea6654ac243d1e9c242f', htmlFor: this.inputId }, h$1("slot", { key: 'd77573395386ba0c0afa2233f420fa250b86ac9f', name: "label" }, this.label))), h$1("nv-popover", { key: '0b1dda746e71b810ab6050cd8ef6a6bb9a44866e', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '437a94f2230891674dd9c820595fcecfcea48e77', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: 'e01c2e4bda2806b21c0016bfe710969044994dfc', name: "before-input" }), h$1("div", { key: '310d387f5cc22ad85232c0f491763a810833befc', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: 'c16096b15be3fe16ad8f5fb4a730050f6f797342', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (h$1("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.getSelectedLabel(), required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput, onFocus: this.handleInputFocus, onClick: this.handleInputFocus, onKeyDown: this.handleKeyDown })) : (h$1("p", { "data-scope": "focusable", id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClick, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && this.open && (h$1("nv-iconbutton", { key: '208c945944cddcb1c67a3b560428f21ca056b17b', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (h$1("nv-icon", { key: 'e3797d5e47e54fd328c0bcd86d14e80ee5e21e17', name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: '1ccb8f3bb1ad086339b9888bf89e929164576910', "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopover, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: '92a66b2da4f7ada21fdb8199d2b047840050be13', name: "after-input" })), h$1("div", { key: '51ba49500cb0e03531c5b4b939e76817f432be57', slot: "content" }, this.parsedOptions.length > 0 ? (h$1("ul", null, this.parsedOptions.map(option => (h$1("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (h$1("slot", { name: "content" })))), (this.description ||
|
|
18868
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '3cb31c8bfb17db1862af12e817f6646480cd697c', class: "description" }, h$1("slot", { key: '830538f4e63f9de6a613fcce23a80370d941e9da', name: "description" }, this.description))), (this.errorDescription ||
|
|
18869
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '8ffee4c7d2c9a93bc4de344f812ff568e3d6a23e', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '8f534be6233f54e6b43e2271d0a151a02148d5d8', name: "error-description" }, this.errorDescription)))));
|
|
18836
18870
|
}
|
|
18837
18871
|
static get formAssociated() { return true; }
|
|
18838
18872
|
get el() { return this; }
|
|
18839
18873
|
static get watchers() { return {
|
|
18840
|
-
"filterable": ["watchFilterableHandler"],
|
|
18841
18874
|
"value": ["watchValueHandler"],
|
|
18842
18875
|
"options": ["handleOptionsChange"]
|
|
18843
18876
|
}; }
|
|
@@ -18857,16 +18890,14 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
18857
18890
|
"readonly": [516],
|
|
18858
18891
|
"disabled": [516],
|
|
18859
18892
|
"emptyResult": [513, "empty-result"],
|
|
18860
|
-
"filterable": [
|
|
18893
|
+
"filterable": [516],
|
|
18861
18894
|
"options": [513],
|
|
18862
18895
|
"autofocus": [516],
|
|
18863
18896
|
"filterText": [32],
|
|
18864
|
-
"isFilterable": [32],
|
|
18865
18897
|
"selectedValues": [32],
|
|
18866
18898
|
"parsedOptions": [32],
|
|
18867
18899
|
"getFilterText": [64]
|
|
18868
18900
|
}, [[0, "dropdownItemSelected", "handleDropdownItemSelected"], [0, "openChanged", "handleOpenChanged"], [2, "blur", "handleBlur"], [0, "keydown", "handleKeyDown"]], {
|
|
18869
|
-
"filterable": ["watchFilterableHandler"],
|
|
18870
18901
|
"value": ["watchValueHandler"],
|
|
18871
18902
|
"options": ["handleOptionsChange"]
|
|
18872
18903
|
}]);
|
|
@@ -18963,7 +18994,7 @@ const NvFielddropdownitemcheck$2 = /*@__PURE__*/ proxyCustomElement(class NvFiel
|
|
|
18963
18994
|
};
|
|
18964
18995
|
}
|
|
18965
18996
|
render() {
|
|
18966
|
-
return (h$1(Host$1, { key: '
|
|
18997
|
+
return (h$1(Host$1, { key: '69e403031200efea98b211ed6d69d3a21338bea0', onClick: this.handleClick }, h$1("nv-fieldcheckbox", { key: '0d12dbeef8532087d950bfc4e14994821b1cd3f1', checked: this.checked, name: this.label || this.value, label: this.label || this.value, "label-placement": "after", description: this.description, disabled: this.disabled, tabindex: "-1", role: "option", onCheckedChanged: this.onFieldcheckboxChanged })));
|
|
18967
18998
|
}
|
|
18968
18999
|
get el() { return this; }
|
|
18969
19000
|
static get style() { return NvFielddropdownitemcheckStyle0; }
|
|
@@ -19074,10 +19105,6 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
19074
19105
|
* The text entered by the user for filtering multiselect items.
|
|
19075
19106
|
*/
|
|
19076
19107
|
this.filterText = '';
|
|
19077
|
-
/**
|
|
19078
|
-
* Determines whether the multiselect is filterable.
|
|
19079
|
-
*/
|
|
19080
|
-
this.isFilterable = this.filterable;
|
|
19081
19108
|
/**
|
|
19082
19109
|
* Delay in milliseconds before the search is triggered when typing in the filter input.
|
|
19083
19110
|
* @default 300
|
|
@@ -19312,14 +19339,14 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
19312
19339
|
* @returns {any} The JSX for options mode
|
|
19313
19340
|
*/
|
|
19314
19341
|
this.renderOptionsMode = () => {
|
|
19315
|
-
return (h$1(Host$1, null, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { htmlFor: this.inputId }, h$1("slot", { name: "label" }, this.label))), h$1("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h$1("slot", { name: "before-input" }), h$1("div", { class: "input-container-multiselect" }, h$1("slot", { name: "leading-input" }), h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
19342
|
+
return (h$1(Host$1, null, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { htmlFor: this.inputId }, h$1("slot", { name: "label" }, this.label))), h$1("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h$1("slot", { name: "before-input" }), h$1("div", { class: "input-container-multiselect" }, h$1("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseOptions })), this.filterable || this.disabled || this.readonly ? (h$1("input", { type: "text", id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown })) : (h$1("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, role: "combobox", "aria-expanded": this.open }, h$1("span", null, this.value || this.placeholder))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopoverOptions })), h$1("slot", { name: "after-input" })), h$1("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, h$1("ul", { role: "content" }, this.parsedOptions.map(option => (h$1("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), h$1("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
|
|
19316
19343
|
};
|
|
19317
19344
|
/**
|
|
19318
19345
|
* Renders the component in slots mode
|
|
19319
19346
|
* @returns {any} The JSX for slots mode
|
|
19320
19347
|
*/
|
|
19321
19348
|
this.renderSlotsMode = () => {
|
|
19322
|
-
return (h$1(Host$1, null, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { htmlFor: this.inputId }, h$1("slot", { name: "label" }, this.label))), h$1("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h$1("slot", { name: "before-input" }), h$1("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, h$1("slot", { name: "leading-input" }), h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
19349
|
+
return (h$1(Host$1, null, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { htmlFor: this.inputId }, h$1("slot", { name: "label" }, this.label))), h$1("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h$1("slot", { name: "before-input" }), h$1("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, h$1("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseSlots })), this.filterable || this.disabled || this.readonly ? (h$1("input", { id: this.inputId, ref: e => (this.inputElement = e), autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown })) : (h$1("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, role: "combobox", "aria-expanded": this.open }, h$1("span", null, this.value || this.placeholder))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopoverSlots })), h$1("slot", { name: "after-input" })), h$1("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, h$1("slot", { name: "content" }))), this.renderDescriptions()));
|
|
19323
19350
|
};
|
|
19324
19351
|
}
|
|
19325
19352
|
//#endregion PROPERTIES
|
|
@@ -19476,14 +19503,6 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
19476
19503
|
// Handle value change and update the corresponding multiselect item if it exists
|
|
19477
19504
|
this.setInitialSelection();
|
|
19478
19505
|
}
|
|
19479
|
-
/**
|
|
19480
|
-
* Emitted when the filterable property changes.
|
|
19481
|
-
* @param {boolean} newValue - The new value of the filterable property.
|
|
19482
|
-
*/
|
|
19483
|
-
watchFilterableHandler(newValue) {
|
|
19484
|
-
this.isFilterable = newValue;
|
|
19485
|
-
this.filterable = newValue;
|
|
19486
|
-
}
|
|
19487
19506
|
// Add a listener for the slot content
|
|
19488
19507
|
handleSlotChange(event) {
|
|
19489
19508
|
// Check: we only want to reorder if it's the "content" slot
|
|
@@ -20004,8 +20023,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20004
20023
|
get el() { return this; }
|
|
20005
20024
|
static get watchers() { return {
|
|
20006
20025
|
"options": ["handleOptionsChange"],
|
|
20007
|
-
"value": ["watchValueHandler"]
|
|
20008
|
-
"filterable": ["watchFilterableHandler"]
|
|
20026
|
+
"value": ["watchValueHandler"]
|
|
20009
20027
|
}; }
|
|
20010
20028
|
static get style() { return NvFieldmultiselectStyle0; }
|
|
20011
20029
|
}, [68, "nv-fieldmultiselect", {
|
|
@@ -20023,7 +20041,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20023
20041
|
"readonly": [516],
|
|
20024
20042
|
"disabled": [516],
|
|
20025
20043
|
"autocomplete": [513],
|
|
20026
|
-
"filterable": [
|
|
20044
|
+
"filterable": [516],
|
|
20027
20045
|
"value": [1537],
|
|
20028
20046
|
"open": [1540],
|
|
20029
20047
|
"options": [513],
|
|
@@ -20033,7 +20051,6 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20033
20051
|
"selectedValues": [32],
|
|
20034
20052
|
"sortedOptions": [32],
|
|
20035
20053
|
"filterText": [32],
|
|
20036
|
-
"isFilterable": [32],
|
|
20037
20054
|
"modeState": [32],
|
|
20038
20055
|
"isHandlingEscape": [32],
|
|
20039
20056
|
"getFilterText": [64],
|
|
@@ -20041,8 +20058,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20041
20058
|
"getSelectedValues": [64]
|
|
20042
20059
|
}, [[0, "openChanged", "handleOpenChanged"], [0, "itemChecked", "handleItemChecked"], [0, "slotchange", "handleSlotChange"], [0, "keydown", "handleKeyDown"]], {
|
|
20043
20060
|
"options": ["handleOptionsChange"],
|
|
20044
|
-
"value": ["watchValueHandler"]
|
|
20045
|
-
"filterable": ["watchFilterableHandler"]
|
|
20061
|
+
"value": ["watchValueHandler"]
|
|
20046
20062
|
}]);
|
|
20047
20063
|
function defineCustomElement$1$d() {
|
|
20048
20064
|
if (typeof customElements === "undefined") {
|
|
@@ -20205,9 +20221,9 @@ const NvFieldnumber$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldnumber ext
|
|
|
20205
20221
|
/****************************************************************************/
|
|
20206
20222
|
//#region RENDER
|
|
20207
20223
|
render() {
|
|
20208
|
-
return (h$1(Host$1, { key: '
|
|
20209
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
20210
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
20224
|
+
return (h$1(Host$1, { key: '99076502efb577ad65e43827f4d4959fb1f84055' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '365821e9e3cb25367591680279f05d951f6a5fd9', htmlFor: this.inputId }, h$1("slot", { key: '92273b991f6c6bd34fe6a302dedb808d46abb71d', name: "label" }, this.label))), h$1("div", { key: 'ab849355fa1719ed40b5379a8aeee160f98ea798', class: "input-wrapper" }, h$1("slot", { key: '71e4de7753f3880756cd763a7a8955832066d0e7', name: "before-input" }), h$1("div", { key: '6da56e990c4ad0329c5d974868e9520cb5ac7a99', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: 'd09eb9350067116d5236142951f0e7ed81d9aa5c', name: "leading-input" }), h$1("input", { key: '6df1d2f3acb880000b57e5be990f6d843c7d3b2c', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: this.required, max: this.max, min: this.min, step: this.step, value: this.value, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), this.error && (h$1("nv-icon", { key: '85deaf9197825370d0bc7d81bd82cf9fd86b7a05', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '68ed66eb7a9af38f974e515d554eed6e3d28a915', name: "circle-check", class: "validation", size: "md" })), h$1("div", { key: '16b0e4b303cce4ee7df29ea411e8fee808e5ddb0', class: "stepper" }, h$1("nv-iconbutton", { key: '6dec84d7c05b467b5178177351e6fa769d2a9433', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }), h$1("nv-iconbutton", { key: '66391588b961555aa20a1974098c114aadceadd1', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }))), h$1("slot", { key: '4549e591971e83d5d14f08b56a8d5357c5d6aaf0', name: "after-input" })), (this.description ||
|
|
20225
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'cef21ffaf75f976708d0c8b51f928daea26f1221', class: "description" }, h$1("slot", { key: 'be36b7c3c6a606847805dc1a50f762a80155d695', name: "description" }, this.description))), (this.errorDescription ||
|
|
20226
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '91b5b8c969520bb10bccd59066ddea32d6fa58f3', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '7e0729d42390a1fc62d320841de4e016e01e2485', name: "error-description" }, this.errorDescription)))));
|
|
20211
20227
|
}
|
|
20212
20228
|
static get formAssociated() { return true; }
|
|
20213
20229
|
get el() { return this; }
|
|
@@ -20335,10 +20351,6 @@ const NvFieldpassword$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldpassword
|
|
|
20335
20351
|
* Show/hide the password programmatically.
|
|
20336
20352
|
*/
|
|
20337
20353
|
this.showPassword = false;
|
|
20338
|
-
/**
|
|
20339
|
-
* Defines whether the password is visible or not.
|
|
20340
|
-
*/
|
|
20341
|
-
this.showPasswordState = this.showPassword;
|
|
20342
20354
|
/**
|
|
20343
20355
|
* Applies focus to the input field as soon as the component is mounted. This
|
|
20344
20356
|
* is equivalent to setting the native autofocus attribute on an <input>
|
|
@@ -20365,11 +20377,17 @@ const NvFieldpassword$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldpassword
|
|
|
20365
20377
|
}
|
|
20366
20378
|
//#endregion METHODS
|
|
20367
20379
|
/****************************************************************************/
|
|
20380
|
+
//#region LIFECYCLE
|
|
20381
|
+
componentWillLoad() {
|
|
20382
|
+
this.showPasswordState = this.showPassword;
|
|
20383
|
+
}
|
|
20384
|
+
//#endregion LIFECYCLE
|
|
20385
|
+
/****************************************************************************/
|
|
20368
20386
|
//#region RENDER
|
|
20369
20387
|
render() {
|
|
20370
|
-
return (h$1(Host$1, { key: '
|
|
20371
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
20372
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
20388
|
+
return (h$1(Host$1, { key: '79c87deb52017b4500b695a513dc4100e7359d97' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'bd4785278a21ea61de41ed694e429228286f853b', htmlFor: this.inputId }, h$1("slot", { key: '7c3cd8188e35aa00c0377ffdefb1d5e9c380ac59', name: "label" }, this.label))), h$1("div", { key: '61f0e04b056ba1b08e9e3ede89d5975b4549705f', class: "input-wrapper" }, h$1("slot", { key: '96070a1d584277de90962700a9e6764f0bd36a38', name: "before-input" }), h$1("div", { key: 'ea04afadccfb828f5d081b1f30ef3d4619659b80', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: 'cfd54cbdf3d9d03c31cdd781491097cc6db405bd', name: "leading-input" }), h$1("input", { key: '04bf191014aef621d314973d531533ffa50d8b2f', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (h$1("nv-icon", { key: 'b2e57a5f496bda92dbb877850e67ffb921a288df', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h$1("nv-iconbutton", { key: '2664cbcbfd7aa04a5292a6821fa79a1cb12e1578', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), h$1("slot", { key: '959a8d098548c85db4b1a8f9c0d2d8a8cdc5e386', name: "after-input" })), (this.description ||
|
|
20389
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'c7b85cb8d2f1f42d133e9937bccb8d3edd9d1cf8', class: "description" }, h$1("slot", { key: 'fd41c7389e871ad4d57df283f9872c6964176bb3', name: "description" }, this.description))), (this.errorDescription ||
|
|
20390
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '014db98dbf132a493b8842ffcc45ced808e9f52c', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '3909a8e0ac73dae4731e23806875f26bfb2185ff', name: "error-description" }, this.errorDescription)))));
|
|
20373
20391
|
}
|
|
20374
20392
|
static get formAssociated() { return true; }
|
|
20375
20393
|
get el() { return this; }
|
|
@@ -20518,9 +20536,9 @@ const NvFieldradio$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldradio exten
|
|
|
20518
20536
|
/****************************************************************************/
|
|
20519
20537
|
//#region RENDER
|
|
20520
20538
|
render() {
|
|
20521
|
-
return (h$1(Host$1, { key: '
|
|
20522
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
20523
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
20539
|
+
return (h$1(Host$1, { key: 'fd326df67c5617156ef00d50d789d3328584788e', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("input", { key: 'fae44c510d1f43c508a837b94cc16f8094617813', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), h$1("div", { key: 'd4e9378e300691439bf57a580e8381a8142d8c78', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '56cdbda0feb823825f5ba5e125a478db23321379', htmlFor: this.inputId }, h$1("slot", { key: '83e67f52228b7d6313fd35cd4a46edeeabc83a1b', name: "label" }, this.label))), (this.description ||
|
|
20540
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '8bb15a57d23f2826dfff31a7a3101ed263618e5f', class: "description" }, h$1("slot", { key: '6d339430073e1eada1557ea762d9abeda7f338e1', name: "description" }, this.description))), (this.errorDescription ||
|
|
20541
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'd4b3c8ef17c70442839c61cf19bc0d9598be57c2', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'ca609be33a5253f85ed5101786c1981101f83743', name: "error-description" }, this.errorDescription))))));
|
|
20524
20542
|
}
|
|
20525
20543
|
static get formAssociated() { return true; }
|
|
20526
20544
|
get el() { return this; }
|
|
@@ -20903,13 +20921,13 @@ const NvFieldselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldselect ext
|
|
|
20903
20921
|
* @returns {HTMLStencilElement} The HTML element to render.
|
|
20904
20922
|
*/
|
|
20905
20923
|
render() {
|
|
20906
|
-
return (h$1(Host$1, { key: '
|
|
20924
|
+
return (h$1(Host$1, { key: '017364e5a5df156be42741e3acc4457414f8e6ee' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '2e4b247018a759307ea5e3920a4066a2c1c14e92', htmlFor: this.inputId }, h$1("slot", { key: '1bbad9d0b4be9fc35c0cc63859ba6dcdb4375377', name: "label" }, this.label))), h$1("div", { key: '572073518f738014fd27d8de84fc856a01889636', class: "select-wrapper" }, h$1("slot", { key: '490730d4fc16f78284a8ca40ab952870eb01b503', name: "before-input" }), h$1("div", { key: 'a92ea3295f64ce1c6d8da5cf439d7c796493fdf5', class: "select-container", onClick: this.handleSelectContainerClick }, h$1("slot", { key: 'f80e732415ec42a4c7b02922f1b50d2cf3950e88', name: "leading-input" }), this.internalReadonly && (h$1("input", { key: 'b1ee7e799434d0e36d1f98031338137347bcedea', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
|
|
20907
20925
|
? `${this.inputId}-error`
|
|
20908
|
-
: `${this.inputId}-description` })), h$1("select", { key: '
|
|
20926
|
+
: `${this.inputId}-description` })), h$1("select", { key: '9a8b48a7a41522b09b65a5c76b7e861b5d6eef49', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
|
|
20909
20927
|
? `${this.inputId}-error`
|
|
20910
|
-
: `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (h$1("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (h$1("slot", null))), h$1("div", { key: '
|
|
20911
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
20912
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
20928
|
+
: `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (h$1("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (h$1("slot", null))), h$1("div", { key: '7ecac0a159ca2b4925b8a940c80f8aef94a2ca1d', class: "select-icons" }, this.error && (h$1("nv-icon", { key: 'fd3d75a5c621a49f45550d9596f4910ef01a56b2', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '45b3e11a48f5f700ac9c21ba276ee9c93640d0d9', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (h$1("nv-iconbutton", { key: '07171fbe1fc88f4c7af0513ed718376ce1a1aeb3', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), h$1("slot", { key: '096bf49c55359062fc790d31660b331a5988ad22', name: "after-input" })), (this.description ||
|
|
20929
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '7b292eeb3a1ca29b7cb1b631926b591183ab50fc', class: "description", id: `${this.inputId}-description` }, h$1("slot", { key: 'a2fdc1929f7aa2571cd11d01e2c1ed165afb856c', name: "description" }, this.description))), (this.errorDescription ||
|
|
20930
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '3d189e87ff7cee9a43ccad85c6e84fcdb3343f1f', class: "error-description", id: `${this.inputId}-error` }, h$1("slot", { key: '515059b75c8e2c1e600a28124135cbd7af87ccbf', name: "error-description" }, this.errorDescription)))));
|
|
20913
20931
|
}
|
|
20914
20932
|
static get formAssociated() { return true; }
|
|
20915
20933
|
get el() { return this; }
|
|
@@ -21084,9 +21102,9 @@ const NvFieldtext$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtext extends
|
|
|
21084
21102
|
/****************************************************************************/
|
|
21085
21103
|
//#region RENDER
|
|
21086
21104
|
render() {
|
|
21087
|
-
return (h$1(Host$1, { key: '
|
|
21088
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
21089
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
21105
|
+
return (h$1(Host$1, { key: 'ffcbe1c8f14257f6380d28f2c50fe8b77ae73027' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '3b84598a05eedc7625312def01ca726dc68fa247', htmlFor: this.inputId }, h$1("slot", { key: '8c8f0d2f86742dd0699b8b309cbea0dca1d294ce', name: "label" }, this.label))), h$1("div", { key: 'c2adf3acc7780a7eba5d4762b7275d1c63304bf5', class: "input-wrapper" }, h$1("slot", { key: 'c49756d1daaba476222ebda2df4854b1094655b3', name: "before-input" }), h$1("div", { key: '723c34f09e6c073bdef2db799246da72ffd52703', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '4e94bcac72ac2e5147a8d5e33396a13359820009', name: "leading-input" }), h$1("input", { key: '96cbf022912735445467320600e372fba03de4e4', 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 }), this.error && (h$1("nv-icon", { key: '39a55c42a49006d316e5dcc5389793c6264d2b09', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: 'bf1b6040dbb392b5c46b3b9af665d7cdc7389d29', name: "circle-check", class: "validation", size: "md" }))), h$1("slot", { key: 'bb2256bf3fc5165e61f162fe89dd7be564a989c0', name: "after-input" })), (this.description ||
|
|
21106
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '3d2c5a89247042184b3a110ca7982b793b0bd86a', class: "description" }, h$1("slot", { key: '2358cc5217d6ba65b4d4baa927b397dbe62982e8', name: "description" }, this.description))), (this.errorDescription ||
|
|
21107
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'cdef4117d71b8a6bdde19fea1a0f4070ba02ab2e', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '66a2b100ab641aa9c2e22fdfc9a987bb86cd44a0', name: "error-description" }, this.errorDescription)))));
|
|
21090
21108
|
}
|
|
21091
21109
|
static get formAssociated() { return true; }
|
|
21092
21110
|
get el() { return this; }
|
|
@@ -21311,9 +21329,9 @@ const NvFieldtextarea$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtextarea
|
|
|
21311
21329
|
/****************************************************************************/
|
|
21312
21330
|
//#region RENDER
|
|
21313
21331
|
render() {
|
|
21314
|
-
return (h$1(Host$1, { key: '
|
|
21315
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
21316
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
21332
|
+
return (h$1(Host$1, { key: 'b5d6707fa7ebbd64f3b1616c9f61746f394e347d' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '6fd76411b08da2d22d86d0a4ef81ce99534d0112', htmlFor: this.inputId }, h$1("slot", { key: '634339fa1bd5ccb2627dab03117535b2bc09b9cc', name: "label" }, this.label))), h$1("div", { key: '6a521f191ebae60a874c4d48a1872b7a61181c54', class: "textarea-wrapper" }, h$1("div", { key: 'ecca606c8775282c5b21b8f8e12a9c98df7aa410', class: "textarea-container", onClick: this.handleTextareaContainerClick }, h$1("textarea", { key: '7547d01134c155c9f76e1978f08075d1e8ff50fd', 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(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
|
|
21333
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'fc436e3cc4dbdf8730920173a74f4da249678e39', class: "description" }, h$1("slot", { key: '27aa71e73818742bc92f3860dd0071eef182474a', name: "description" }, this.description))), (this.errorDescription ||
|
|
21334
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'cc3733783b2f5985358d1c21e502845f7bab8406', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '1db584479ed23d616d88dc9fc28fe1e0acd7a463', name: "error-description" }, this.errorDescription)))));
|
|
21317
21335
|
}
|
|
21318
21336
|
static get formAssociated() { return true; }
|
|
21319
21337
|
get el() { return this; }
|
|
@@ -22342,26 +22360,26 @@ const NvFieldtime$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtime extends
|
|
|
22342
22360
|
}, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
22343
22361
|
}
|
|
22344
22362
|
render() {
|
|
22345
|
-
return (h$1(Host$1, { key: '
|
|
22346
|
-
h$1("input", { key: '
|
|
22363
|
+
return (h$1(Host$1, { key: 'd9b980ce6cf9d4c00da007608b03261983ae49b7', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'ff69b45e9b30ee4b0dd2034c1e29b698796f8796', htmlFor: this.inputId }, h$1("slot", { key: '6cfd62e39f69451c326b5266a3c8b33520366ac7', name: "label" }, this.label))), h$1("nv-popover", { key: 'f2c68b4286769203b9f4af8cc61375dc60795589', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: 'eb45e4d83e5d9754336bc7d03a2937931fa56378', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: '644faecac37927eae57da8eb039a79154ebf5787', name: "before-input" }), h$1("div", { key: '10b656c08d991100a5ef0fe87299af7a3d0a7831', class: "input-container" }, h$1("slot", { key: '3908fc76c97f4a362974199f30bdc2535172e4dc', name: "leading-input" }), startsWithIgnoreCase(this.format, 'HH') && [
|
|
22364
|
+
h$1("input", { key: 'b68e32193ab056a230138dfbb2d14240fa700b1d', ref: el => (this.inputElements[TimeType.Hours] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.hours, onInput: e => this.handleInputChange(e, TimeType.Hours), placeholder: this.format.includes('hh') ? 'hh' : 'HH', inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Hours), name: this.name
|
|
22347
22365
|
? `${TimeType.Hours}-${this.name}`
|
|
22348
22366
|
: TimeType.Hours, id: this.inputId, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
22349
22367
|
], this.format.includes('mm') && [
|
|
22350
|
-
h$1("span", { key: '
|
|
22351
|
-
h$1("input", { key: '
|
|
22368
|
+
h$1("span", { key: 'ebef6f727c34aa8f9348c65c02ab970a409cce2e' }, ":"),
|
|
22369
|
+
h$1("input", { key: 'd4aa6001b2f462d64eae1bdda7f46d97a926802e', ref: el => (this.inputElements[TimeType.Minutes] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.minutes, onInput: e => this.handleInputChange(e, TimeType.Minutes), placeholder: "mm", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Minutes), name: this.name
|
|
22352
22370
|
? `${TimeType.Minutes}-${this.name}`
|
|
22353
22371
|
: TimeType.Minutes, id: `${this.inputId}-minutes`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
22354
22372
|
], this.format.includes('ss') && [
|
|
22355
|
-
h$1("span", { key: '
|
|
22356
|
-
h$1("input", { key: '
|
|
22373
|
+
h$1("span", { key: '9ce4067c241aae590f4cd4383b1ece3a7510a2c7' }, ":"),
|
|
22374
|
+
h$1("input", { key: 'f42706c6e606c59e739b0460b9c9016c796542da', ref: el => (this.inputElements[TimeType.Seconds] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.seconds, onInput: e => this.handleInputChange(e, TimeType.Seconds), placeholder: "ss", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Seconds), name: this.name
|
|
22357
22375
|
? `${TimeType.Seconds}-${this.name}`
|
|
22358
22376
|
: TimeType.Seconds, id: `${this.inputId}-seconds`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
22359
|
-
], h$1("nv-iconbutton", { key: '
|
|
22377
|
+
], h$1("nv-iconbutton", { key: '4c233506c36553289c0e21d889e6c77c46e2862a', 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 && (h$1("nv-icon", { key: '9dcf992cc15a5462269208daecec4dbfc7fc9183', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h$1("nv-icon", { key: '3614bfd444d8243c110bf2b458e0d2d5f296566f', name: "circle-check", class: "validation", size: "sm" }))), h$1("slot", { key: 'e703a923e7c98e2d9fd5d69a5741f1f67c9710b4', name: "after-input" })), h$1("div", { key: '6a56bd36fac3051ae1a40cbb450a51a415c00db2', class: "time-dropdown", slot: "content" }, h$1("div", { key: 'c001e4f3afa3fadf49df9186ef38ac10ca3c1f70', class: "time-columns" }, startsWithIgnoreCase(this.format, 'HH') &&
|
|
22360
22378
|
this.RenderTimeOptionsColumn(TimeType.Hours), this.format.includes('mm') &&
|
|
22361
22379
|
this.RenderTimeOptionsColumn(TimeType.Minutes), this.format.includes('ss') &&
|
|
22362
22380
|
this.RenderTimeOptionsColumn(TimeType.Seconds)))), (this.description ||
|
|
22363
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
22364
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
22381
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '62782d291c7e065b79c91a51ebd61afcef60c058', class: "description" }, h$1("slot", { key: '70d29b36d481bfc5ec8a9435e2eadf0007aa95c3', name: "description" }, this.description))), (this.errorDescription ||
|
|
22382
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '71818050156b31a39daf70e4cf8cb1a03f809458', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'cb7fb776375e7afaaa22ae90f8e6eb533e066e53', name: "error-description" }, this.errorDescription)))));
|
|
22365
22383
|
}
|
|
22366
22384
|
static get formAssociated() { return true; }
|
|
22367
22385
|
get el() { return this; }
|
|
@@ -22487,7 +22505,7 @@ const NvMenuitem$2 = /*@__PURE__*/ proxyCustomElement(class NvMenuitem extends H
|
|
|
22487
22505
|
/****************************************************************************/
|
|
22488
22506
|
//#region RENDER
|
|
22489
22507
|
render() {
|
|
22490
|
-
return (h$1(Host$1, { key: '
|
|
22508
|
+
return (h$1(Host$1, { key: 'd1d9969a8e812f22d2097dca29b8e46b54115709', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h$1("nv-icon", { key: '4dd5c1c2fdd741cec06ca112788d8d00863b0ac7', name: this.icon }), h$1("slot", { key: '6030b5a030b46281d54ca139e55163e8ede064fe' }), this.label && h$1("span", { key: 'f253f5eb0fed0853a46ed08c211a42bace1784f6', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h$1("kbd", { key: 'b7c445db91af3ae3e2a845a839fee7c77a768045' }, this.shortcut), this.hasSubmenu && h$1("nv-icon", { key: '54bcd0bc879136d542b5e2c4241949f623258ad0', name: "chevron-right" })));
|
|
22491
22509
|
}
|
|
22492
22510
|
get el() { return this; }
|
|
22493
22511
|
static get style() { return NvMenuitemStyle0; }
|
|
@@ -22546,8 +22564,8 @@ const NvMenu$1 = /*@__PURE__*/ proxyCustomElement(class NvMenu extends H {
|
|
|
22546
22564
|
*/
|
|
22547
22565
|
this.disableCloseOnSelect = false;
|
|
22548
22566
|
/**
|
|
22549
|
-
* Decides where the menu shows up next to the button it
|
|
22550
|
-
* below, to the sides). If there isn
|
|
22567
|
+
* Decides where the menu shows up next to the button it's linked to (above,
|
|
22568
|
+
* below, to the sides). If there isn't enough room, it will adjust its
|
|
22551
22569
|
* position on the axis to fit on the screen, so users can always see it.
|
|
22552
22570
|
*/
|
|
22553
22571
|
this.placement = 'bottom-end';
|
|
@@ -22732,7 +22750,7 @@ const NvMenu$1 = /*@__PURE__*/ proxyCustomElement(class NvMenu extends H {
|
|
|
22732
22750
|
});
|
|
22733
22751
|
}
|
|
22734
22752
|
render() {
|
|
22735
|
-
return (h$1(Host$1, { key: '
|
|
22753
|
+
return (h$1(Host$1, { key: '8334eee36cadee43d5d78d227841b43da86a46c6' }, h$1("slot", { key: 'a4f260a9161dc239eabfc9c43178b1394721f37d', name: "trigger" }), h$1("nv-popover", { key: '6f163bc5c02afba3af1e9bb43cf3b6bfec1e9374', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.parsedItems.length > 0 ? (h$1("ul", { slot: "content" }, this.renderMenuItems(this.parsedItems))) : (h$1("slot", { name: "content" })))));
|
|
22736
22754
|
}
|
|
22737
22755
|
get el() { return this; }
|
|
22738
22756
|
static get watchers() { return {
|
|
@@ -22806,7 +22824,7 @@ const NvRow$1 = /*@__PURE__*/ proxyCustomElement(class NvRow extends H {
|
|
|
22806
22824
|
/****************************************************************************/
|
|
22807
22825
|
//#region RENDER
|
|
22808
22826
|
render() {
|
|
22809
|
-
return (h$1(Host$1, { key: '
|
|
22827
|
+
return (h$1(Host$1, { key: '0b27560267e6f5186ca4237658ad35f3a436b70d' }, h$1("slot", { key: 'b2805eb6abe9d02b57f030c91344ecf4927136d8' })));
|
|
22810
22828
|
}
|
|
22811
22829
|
static get style() { return NvRowStyle0; }
|
|
22812
22830
|
}, [4, "nv-row"]);
|
|
@@ -22847,7 +22865,7 @@ const NvStack$1 = /*@__PURE__*/ proxyCustomElement(class NvStack extends H {
|
|
|
22847
22865
|
/****************************************************************************/
|
|
22848
22866
|
//#region RENDER
|
|
22849
22867
|
render() {
|
|
22850
|
-
return (h$1(Host$1, { key: '
|
|
22868
|
+
return (h$1(Host$1, { key: '9869c0eaa423e363482bd4685dbd082dfba017f5', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gutter-x-${this.gutter}`, this.gutter && this.vertical && `gutter-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h$1("slot", { key: 'd4b597ec95f71c47edf99d58d22c95a5540e904c' })));
|
|
22851
22869
|
}
|
|
22852
22870
|
static get style() { return NvStackStyle0; }
|
|
22853
22871
|
}, [4, "nv-stack", {
|
|
@@ -23186,14 +23204,14 @@ const NvTable$1 = /*@__PURE__*/ proxyCustomElement(class NvTable extends H {
|
|
|
23186
23204
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
23187
23205
|
? []
|
|
23188
23206
|
: this.table.data;
|
|
23189
|
-
return (h$1(Host$1, { key: '
|
|
23207
|
+
return (h$1(Host$1, { key: '89d230b38e5f853a9d8246b3634d25f3add88bb0' }, h$1("div", { key: '130f44d0833635aec8eb1ff5db6f92f5342e39b4', class: "hidden" }, h$1("slot", { key: 'e68523ead80fd187bfb0fc6710aaea42e1d9c4e7' })), h$1("slot", { key: '087164f8a817d99091d54ed841b4faa5f01b215e', name: "before" }), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (h$1("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (h$1("table", { class: "table" }, this.parsedColumns.length > 0 && headerGroups.length > 0 && (h$1("thead", { class: "table-header" }, h$1("tr", null, headerGroups &&
|
|
23190
23208
|
headerGroups.map(col => {
|
|
23191
23209
|
return (h$1("th", { key: col.name }, this.renderTemplate(this.headerTemplateCache.get(col.name), {}) || col.header));
|
|
23192
23210
|
})))), h$1("tbody", { class: "table-body" }, !rows || rows.length === 0 ? (h$1("tr", null, h$1("td", { colSpan: headerGroups.length || 12, class: "no-data" }, this.noDataMessage))) : (rows.map(row => (h$1("tr", { key: JSON.stringify(row) }, headerGroups.map(col => {
|
|
23193
23211
|
var _a;
|
|
23194
23212
|
return (h$1("td", null, this.renderTemplate(this.templateCache.get(col.name), row) ||
|
|
23195
23213
|
((_a = row[col.name]) !== null && _a !== void 0 ? _a : this.fallbackValue)));
|
|
23196
|
-
})))))))), h$1("slot", { key: '
|
|
23214
|
+
})))))))), h$1("slot", { key: '046b1b705c5885eb2685a0e8780e6eec2f1ca50e', name: "after" })));
|
|
23197
23215
|
}
|
|
23198
23216
|
get el() { return this; }
|
|
23199
23217
|
static get watchers() { return {
|
|
@@ -23336,8 +23354,8 @@ const NvToggle$1 = /*@__PURE__*/ proxyCustomElement(class NvToggle extends H {
|
|
|
23336
23354
|
/****************************************************************************/
|
|
23337
23355
|
//#region RENDER
|
|
23338
23356
|
render() {
|
|
23339
|
-
return (h$1(Host$1, { key: '
|
|
23340
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
23357
|
+
return (h$1(Host$1, { key: '6e18c6145fccdf7926bcc64a2414e6b41d364487', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h$1("div", { key: 'fda6ce7b087d1acef0f2afb24edbdc2566ca6cbf', class: "input-container" }, h$1("input", { key: '53569ce97f75b7a2ac0c94a702096d3f9215432a', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), h$1("div", { key: '26f0a6f570b8ef4150d53a7733c832f1c5f4343d', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '5ff30cca4abfd0c2f4283eab6c7ae678653748d3', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: 'c6cc3536fa741fb89ebb24dfe455957b66edd77b', name: "label" }, this.label))), (this.description ||
|
|
23358
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '0b1804f9e5407f15037fb6e5c80d7b8dafee5599', class: "description" }, h$1("slot", { key: '8f1b272158ffebb03992ed8c3b115e52504ff8ce', name: "description" }, this.description))))));
|
|
23341
23359
|
}
|
|
23342
23360
|
static get formAssociated() { return true; }
|
|
23343
23361
|
get el() { return this; }
|
|
@@ -23789,151 +23807,151 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
23789
23807
|
case 'nv-alert':
|
|
23790
23808
|
return Promise.resolve().then(function () { return require(
|
|
23791
23809
|
/* webpackMode: "lazy" */
|
|
23792
|
-
'./nv-alert.entry-
|
|
23810
|
+
'./nv-alert.entry-C9DnCn0Q.js'); }).then(processMod, consoleError);
|
|
23793
23811
|
case 'nv-avatar':
|
|
23794
23812
|
return Promise.resolve().then(function () { return require(
|
|
23795
23813
|
/* webpackMode: "lazy" */
|
|
23796
|
-
'./nv-avatar.entry-
|
|
23814
|
+
'./nv-avatar.entry-Cj_bK7KY.js'); }).then(processMod, consoleError);
|
|
23797
23815
|
case 'nv-base':
|
|
23798
23816
|
return Promise.resolve().then(function () { return require(
|
|
23799
23817
|
/* webpackMode: "lazy" */
|
|
23800
|
-
'./nv-base.entry-
|
|
23818
|
+
'./nv-base.entry-DdLnS1hF.js'); }).then(processMod, consoleError);
|
|
23801
23819
|
case 'nv-breadcrumb':
|
|
23802
23820
|
return Promise.resolve().then(function () { return require(
|
|
23803
23821
|
/* webpackMode: "lazy" */
|
|
23804
|
-
'./nv-breadcrumb.entry-
|
|
23822
|
+
'./nv-breadcrumb.entry-BOyjRSxM.js'); }).then(processMod, consoleError);
|
|
23805
23823
|
case 'nv-breadcrumbs':
|
|
23806
23824
|
return Promise.resolve().then(function () { return require(
|
|
23807
23825
|
/* webpackMode: "lazy" */
|
|
23808
|
-
'./nv-breadcrumbs.entry-
|
|
23826
|
+
'./nv-breadcrumbs.entry-DkffTj6Z.js'); }).then(processMod, consoleError);
|
|
23809
23827
|
case 'nv-col':
|
|
23810
23828
|
return Promise.resolve().then(function () { return require(
|
|
23811
23829
|
/* webpackMode: "lazy" */
|
|
23812
|
-
'./nv-col.entry-
|
|
23830
|
+
'./nv-col.entry-CGNiCKta.js'); }).then(processMod, consoleError);
|
|
23813
23831
|
case 'nv-datagrid':
|
|
23814
23832
|
return Promise.resolve().then(function () { return require(
|
|
23815
23833
|
/* webpackMode: "lazy" */
|
|
23816
|
-
'./nv-datagrid.entry-
|
|
23834
|
+
'./nv-datagrid.entry-YSL7aTz5.js'); }).then(processMod, consoleError);
|
|
23817
23835
|
case 'nv-datagridcolumn':
|
|
23818
23836
|
return Promise.resolve().then(function () { return require(
|
|
23819
23837
|
/* webpackMode: "lazy" */
|
|
23820
|
-
'./nv-datagridcolumn.entry-
|
|
23838
|
+
'./nv-datagridcolumn.entry-7whgB5iS.js'); }).then(processMod, consoleError);
|
|
23821
23839
|
case 'nv-dialog':
|
|
23822
23840
|
return Promise.resolve().then(function () { return require(
|
|
23823
23841
|
/* webpackMode: "lazy" */
|
|
23824
|
-
'./nv-dialog.entry-
|
|
23842
|
+
'./nv-dialog.entry-CLANnPw3.js'); }).then(processMod, consoleError);
|
|
23825
23843
|
case 'nv-fielddate':
|
|
23826
23844
|
return Promise.resolve().then(function () { return require(
|
|
23827
23845
|
/* webpackMode: "lazy" */
|
|
23828
|
-
'./nv-fielddate.entry
|
|
23846
|
+
'./nv-fielddate.entry--KEcXuio.js'); }).then(processMod, consoleError);
|
|
23829
23847
|
case 'nv-fielddaterange':
|
|
23830
23848
|
return Promise.resolve().then(function () { return require(
|
|
23831
23849
|
/* webpackMode: "lazy" */
|
|
23832
|
-
'./nv-fielddaterange.entry
|
|
23850
|
+
'./nv-fielddaterange.entry-Bctzvr40.js'); }).then(processMod, consoleError);
|
|
23833
23851
|
case 'nv-fielddropdown':
|
|
23834
23852
|
return Promise.resolve().then(function () { return require(
|
|
23835
23853
|
/* webpackMode: "lazy" */
|
|
23836
|
-
'./nv-fielddropdown.entry-
|
|
23854
|
+
'./nv-fielddropdown.entry-DJPARQ0F.js'); }).then(processMod, consoleError);
|
|
23837
23855
|
case 'nv-fieldmultiselect':
|
|
23838
23856
|
return Promise.resolve().then(function () { return require(
|
|
23839
23857
|
/* webpackMode: "lazy" */
|
|
23840
|
-
'./nv-fieldmultiselect.entry-
|
|
23858
|
+
'./nv-fieldmultiselect.entry-DDKtC-sR.js'); }).then(processMod, consoleError);
|
|
23841
23859
|
case 'nv-fieldnumber':
|
|
23842
23860
|
return Promise.resolve().then(function () { return require(
|
|
23843
23861
|
/* webpackMode: "lazy" */
|
|
23844
|
-
'./nv-fieldnumber.entry-
|
|
23862
|
+
'./nv-fieldnumber.entry-FzcOQMWp.js'); }).then(processMod, consoleError);
|
|
23845
23863
|
case 'nv-fieldpassword':
|
|
23846
23864
|
return Promise.resolve().then(function () { return require(
|
|
23847
23865
|
/* webpackMode: "lazy" */
|
|
23848
|
-
'./nv-fieldpassword.entry-
|
|
23866
|
+
'./nv-fieldpassword.entry-ZgJKgEWo.js'); }).then(processMod, consoleError);
|
|
23849
23867
|
case 'nv-fieldradio':
|
|
23850
23868
|
return Promise.resolve().then(function () { return require(
|
|
23851
23869
|
/* webpackMode: "lazy" */
|
|
23852
|
-
'./nv-fieldradio.entry-
|
|
23870
|
+
'./nv-fieldradio.entry-B6vwI0oH.js'); }).then(processMod, consoleError);
|
|
23853
23871
|
case 'nv-fieldselect':
|
|
23854
23872
|
return Promise.resolve().then(function () { return require(
|
|
23855
23873
|
/* webpackMode: "lazy" */
|
|
23856
|
-
'./nv-fieldselect.entry-
|
|
23874
|
+
'./nv-fieldselect.entry-Dpb1RR2D.js'); }).then(processMod, consoleError);
|
|
23857
23875
|
case 'nv-fieldtext':
|
|
23858
23876
|
return Promise.resolve().then(function () { return require(
|
|
23859
23877
|
/* webpackMode: "lazy" */
|
|
23860
|
-
'./nv-fieldtext.entry-
|
|
23878
|
+
'./nv-fieldtext.entry-WhMFksEn.js'); }).then(processMod, consoleError);
|
|
23861
23879
|
case 'nv-fieldtextarea':
|
|
23862
23880
|
return Promise.resolve().then(function () { return require(
|
|
23863
23881
|
/* webpackMode: "lazy" */
|
|
23864
|
-
'./nv-fieldtextarea.entry-
|
|
23882
|
+
'./nv-fieldtextarea.entry-Cpqi_pE7.js'); }).then(processMod, consoleError);
|
|
23865
23883
|
case 'nv-fieldtime':
|
|
23866
23884
|
return Promise.resolve().then(function () { return require(
|
|
23867
23885
|
/* webpackMode: "lazy" */
|
|
23868
|
-
'./nv-fieldtime.entry-
|
|
23886
|
+
'./nv-fieldtime.entry-BApGHC9K.js'); }).then(processMod, consoleError);
|
|
23869
23887
|
case 'nv-row':
|
|
23870
23888
|
return Promise.resolve().then(function () { return require(
|
|
23871
23889
|
/* webpackMode: "lazy" */
|
|
23872
|
-
'./nv-row.entry-
|
|
23890
|
+
'./nv-row.entry-AQGhBTGs.js'); }).then(processMod, consoleError);
|
|
23873
23891
|
case 'nv-stack':
|
|
23874
23892
|
return Promise.resolve().then(function () { return require(
|
|
23875
23893
|
/* webpackMode: "lazy" */
|
|
23876
|
-
'./nv-stack.entry-
|
|
23894
|
+
'./nv-stack.entry-Bb6k4Yob.js'); }).then(processMod, consoleError);
|
|
23877
23895
|
case 'nv-table':
|
|
23878
23896
|
return Promise.resolve().then(function () { return require(
|
|
23879
23897
|
/* webpackMode: "lazy" */
|
|
23880
|
-
'./nv-table.entry-
|
|
23898
|
+
'./nv-table.entry-C4DY5CRF.js'); }).then(processMod, consoleError);
|
|
23881
23899
|
case 'nv-tablecolumn':
|
|
23882
23900
|
return Promise.resolve().then(function () { return require(
|
|
23883
23901
|
/* webpackMode: "lazy" */
|
|
23884
|
-
'./nv-tablecolumn.entry-
|
|
23902
|
+
'./nv-tablecolumn.entry-jJAoHJnt.js'); }).then(processMod, consoleError);
|
|
23885
23903
|
case 'nv-toggle':
|
|
23886
23904
|
return Promise.resolve().then(function () { return require(
|
|
23887
23905
|
/* webpackMode: "lazy" */
|
|
23888
|
-
'./nv-toggle.entry-
|
|
23906
|
+
'./nv-toggle.entry-P76L0fsx.js'); }).then(processMod, consoleError);
|
|
23889
23907
|
case 'nv-badge_2':
|
|
23890
23908
|
return Promise.resolve().then(function () { return require(
|
|
23891
23909
|
/* webpackMode: "lazy" */
|
|
23892
|
-
'./nv-badge_2.entry-
|
|
23910
|
+
'./nv-badge_2.entry-H664ASUM.js'); }).then(processMod, consoleError);
|
|
23893
23911
|
case 'nv-dialogfooter_2':
|
|
23894
23912
|
return Promise.resolve().then(function () { return require(
|
|
23895
23913
|
/* webpackMode: "lazy" */
|
|
23896
|
-
'./nv-dialogfooter_2.entry-
|
|
23914
|
+
'./nv-dialogfooter_2.entry-cHevwuGs.js'); }).then(processMod, consoleError);
|
|
23897
23915
|
case 'nv-fielddropdownitem':
|
|
23898
23916
|
return Promise.resolve().then(function () { return require(
|
|
23899
23917
|
/* webpackMode: "lazy" */
|
|
23900
|
-
'./nv-fielddropdownitem.entry-
|
|
23918
|
+
'./nv-fielddropdownitem.entry-DAlnhF7-.js'); }).then(processMod, consoleError);
|
|
23901
23919
|
case 'nv-menu':
|
|
23902
23920
|
return Promise.resolve().then(function () { return require(
|
|
23903
23921
|
/* webpackMode: "lazy" */
|
|
23904
|
-
'./nv-menu.entry-
|
|
23922
|
+
'./nv-menu.entry-4P44Bom1.js'); }).then(processMod, consoleError);
|
|
23905
23923
|
case 'nv-menuitem':
|
|
23906
23924
|
return Promise.resolve().then(function () { return require(
|
|
23907
23925
|
/* webpackMode: "lazy" */
|
|
23908
|
-
'./nv-menuitem.entry-
|
|
23926
|
+
'./nv-menuitem.entry-pYkLIeY9.js'); }).then(processMod, consoleError);
|
|
23909
23927
|
case 'nv-tooltip':
|
|
23910
23928
|
return Promise.resolve().then(function () { return require(
|
|
23911
23929
|
/* webpackMode: "lazy" */
|
|
23912
|
-
'./nv-tooltip.entry-
|
|
23930
|
+
'./nv-tooltip.entry-DC7XngcD.js'); }).then(processMod, consoleError);
|
|
23913
23931
|
case 'nv-calendar':
|
|
23914
23932
|
return Promise.resolve().then(function () { return require(
|
|
23915
23933
|
/* webpackMode: "lazy" */
|
|
23916
|
-
'./nv-calendar.entry-
|
|
23934
|
+
'./nv-calendar.entry-DSoKDy9Q.js'); }).then(processMod, consoleError);
|
|
23917
23935
|
case 'nv-fieldcheckbox':
|
|
23918
23936
|
return Promise.resolve().then(function () { return require(
|
|
23919
23937
|
/* webpackMode: "lazy" */
|
|
23920
|
-
'./nv-fieldcheckbox.entry-
|
|
23938
|
+
'./nv-fieldcheckbox.entry-BV8M8SyS.js'); }).then(processMod, consoleError);
|
|
23921
23939
|
case 'nv-button':
|
|
23922
23940
|
return Promise.resolve().then(function () { return require(
|
|
23923
23941
|
/* webpackMode: "lazy" */
|
|
23924
|
-
'./nv-button.entry-
|
|
23942
|
+
'./nv-button.entry-Dv4bG9oE.js'); }).then(processMod, consoleError);
|
|
23925
23943
|
case 'nv-popover':
|
|
23926
23944
|
return Promise.resolve().then(function () { return require(
|
|
23927
23945
|
/* webpackMode: "lazy" */
|
|
23928
|
-
'./nv-popover.entry-
|
|
23946
|
+
'./nv-popover.entry-DJzEjs-d.js'); }).then(processMod, consoleError);
|
|
23929
23947
|
case 'nv-iconbutton_2':
|
|
23930
23948
|
return Promise.resolve().then(function () { return require(
|
|
23931
23949
|
/* webpackMode: "lazy" */
|
|
23932
|
-
'./nv-iconbutton_2.entry-
|
|
23950
|
+
'./nv-iconbutton_2.entry-D5Wjr6mr.js'); }).then(processMod, consoleError);
|
|
23933
23951
|
case 'nv-icon':
|
|
23934
23952
|
return Promise.resolve().then(function () { return require(
|
|
23935
23953
|
/* webpackMode: "lazy" */
|
|
23936
|
-
'./nv-icon.entry-
|
|
23954
|
+
'./nv-icon.entry-DTbgrNDQ.js'); }).then(processMod, consoleError);
|
|
23937
23955
|
}
|
|
23938
23956
|
}
|
|
23939
23957
|
return import(
|
|
@@ -26311,7 +26329,7 @@ const globalScripts = () => {};
|
|
|
26311
26329
|
const defineCustomElements = async (win, options) => {
|
|
26312
26330
|
if (typeof window === 'undefined') return undefined;
|
|
26313
26331
|
await globalScripts();
|
|
26314
|
-
return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"maxHeight\":[513,\"max-height\"],\"badgeLabel\":[513,\"badge-label\"],\"emptyResult\":[513,\"empty-result\"],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"readonly\":[516],\"disabled\":[516],\"autocomplete\":[513],\"filterable\":[1540],\"value\":[1537],\"open\":[1540],\"options\":[513],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"parsedOptions\":[32],\"selectedValues\":[32],\"sortedOptions\":[32],\"filterText\":[32],\"isFilterable\":[32],\"modeState\":[32],\"isHandlingEscape\":[32],\"getFilterText\":[64],\"resetFilter\":[64],\"getSelectedValues\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"itemChecked\",\"handleItemChecked\"],[0,\"slotchange\",\"handleSlotChange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"],\"filterable\":[\"watchFilterableHandler\"]}]]],[\"nv-fielddate\",[[4,\"nv-fielddate\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"autofocus\":[516],\"value\":[513],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[513,\"disabled-dates\"],\"singleValue\":[32],\"open\":[32]},[[0,\"singleDateChange\",\"handleSingleDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-fielddaterange\",[[4,\"nv-fielddaterange\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"description\":[513],\"startPlaceholder\":[513,\"start-placeholder\"],\"endPlaceholder\":[513,\"end-placeholder\"],\"startName\":[513,\"start-name\"],\"endName\":[513,\"end-name\"],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"shouldAutoFocus\":[516,\"should-auto-focus\"],\"value\":[513],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[513,\"disabled-dates\"],\"startValue\":[32],\"endValue\":[32],\"open\":[32]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"],[5,\"touchstart\",\"handleDocumentTouch\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"open\":[1540],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"readonly\":[516],\"disabled\":[516],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[1540],\"options\":[513],\"autofocus\":[516],\"filterText\":[32],\"isFilterable\":[32],\"selectedValues\":[32],\"parsedOptions\":[32],\"getFilterText\":[64]},[[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[0,\"openChanged\",\"handleOpenChanged\"],[2,\"blur\",\"handleBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"filterable\":[\"watchFilterableHandler\"],\"value\":[\"watchValueHandler\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-fieldtime\",[[68,\"nv-fieldtime\",{\"value\":[1537],\"label\":[513],\"inputId\":[513,\"input-id\"],\"readonly\":[516],\"disabled\":[516],\"required\":[516],\"name\":[513],\"success\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"format\":[513],\"description\":[513],\"open\":[1540],\"step\":[514],\"max\":[513],\"min\":[513],\"autofocus\":[516],\"hours\":[32],\"minutes\":[32],\"seconds\":[32]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-fieldnumber\",[[68,\"nv-fieldnumber\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"max\":[514],\"min\":[514],\"step\":[514],\"value\":[1538],\"autofocus\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fieldpassword\",[[68,\"nv-fieldpassword\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"mode\":[513],\"autocomplete\":[513],\"hidePasswordIcon\":[516,\"hide-password-icon\"],\"showPassword\":[516,\"show-password\"],\"autofocus\":[516],\"showPasswordState\":[32]},null,{\"showPassword\":[\"handleShowPasswordChange\"]}]]],[\"nv-fieldselect\",[[68,\"nv-fieldselect\",{\"message\":[513],\"validation\":[513],\"options\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"multiple\":[516],\"value\":[1537],\"displayValue\":[516,\"display-value\"],\"autofocus\":[516],\"computedDisplayValue\":[32],\"internalReadonly\":[32],\"parsedOptions\":[32]},null,{\"value\":[\"updateDisplayValueWatcher\"],\"displayValue\":[\"handleDisplayValueChange\"],\"readonly\":[\"handleReadonlyChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-breadcrumb\",[[4,\"nv-breadcrumb\",{\"type\":[513],\"tooltip\":[513],\"current\":[516]}]]],[\"nv-alert\",[[4,\"nv-alert\",{\"color\":[513],\"feedback\":[1537],\"message\":[513],\"heading\":[513],\"icon\":[513],\"dismissible\":[516],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"hidden\":[1540],\"hasNoAnimations\":[516,\"has-no-animations\"]},null,{\"hidden\":[\"handleHiddenChange\"]}]]],[\"nv-avatar\",[[4,\"nv-avatar\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"text\":[513],\"url\":[513],\"alt\":[513],\"src\":[1537],\"initials\":[1537],\"size\":[1537],\"color\":[513]}]]],[\"nv-fieldtext\",[[68,\"nv-fieldtext\",{\"message\":[513],\"validation\":[513],\"textInputType\":[513,\"text-input-type\"],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"type\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"autocomplete\":[513],\"multiple\":[516],\"autofocus\":[516]}]]],[\"nv-base\",[[4,\"nv-base\"]]],[\"nv-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"dataJson\":[513,\"data-json\"],\"columnsJson\":[513,\"columns-json\"],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilter\":[32]},null,{\"columns\":[\"parseColumns\"],\"columnsJson\":[\"parseJsonColumns\"],\"data\":[\"parseData\"],\"dataJson\":[\"parseJsonData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilter\":[\"handleGlobalFilter\"]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513]}]]],[\"nv-fieldradio\",[[68,\"nv-fieldradio\",{\"message\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"description\":[1537],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"checked\":[1540],\"disabled\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"handleCheckedChange\"]}]]],[\"nv-fieldtextarea\",[[68,\"nv-fieldtextarea\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"rows\":[514],\"resize\":[513],\"autosize\":[516],\"autofocus\":[516]},null,{\"rows\":[\"rowsChanged\"],\"autosize\":[\"autosizeChanged\"],\"value\":[\"handleValueChange\"]}]]],[\"nv-row\",[[4,\"nv-row\"]]],[\"nv-stack\",[[4,\"nv-stack\",{\"gutter\":[514],\"fill\":[516],\"flex\":[516],\"full\":[516],\"vertical\":[516]}]]],[\"nv-table\",[[4,\"nv-table\",{\"data\":[16],\"columnsConfig\":[16],\"dataJson\":[513,\"data-json\"],\"columnsConfigJson\":[513,\"columns-config-json\"],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"parsedColumns\":[32],\"parsedData\":[32],\"table\":[32]},null,{\"columnsConfig\":[\"parseColumns\"],\"columnsConfigJson\":[\"parseJsonColumns\"],\"data\":[\"parseData\"],\"dataJson\":[\"parseJsonData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"]}]]],[\"nv-tablecolumn\",[[0,\"nv-tablecolumn\",{\"name\":[513],\"header\":[513]}]]],[\"nv-toggle\",[[68,\"nv-toggle\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[513,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"checked\":[1540],\"disabled\":[516],\"readonly\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-icon\",[[0,\"nv-icon\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"color\":[513],\"name\":[513],\"size\":[1537]}]]],[\"nv-menu\",[[4,\"nv-menu\",{\"open\":[1540],\"nested\":[516],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"placement\":[513],\"items\":[513],\"parsedItems\":[32],\"show\":[64],\"close\":[64]},[[0,\"menuitemSelected\",\"handleMenuItemSelect\"],[0,\"keydown\",\"handleKeydown\"],[0,\"openChanged\",\"handleOpenChanged\"]],{\"items\":[\"handleItemsChange\"]}]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-menuitem\",[[4,\"nv-menuitem\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"shortcut\":[513],\"hasSubmenu\":[516,\"has-submenu\"],\"name\":[513]},[[2,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-tooltip\",[[4,\"nv-tooltip\",{\"triggerElement\":[1040],\"message\":[513],\"placement\":[513],\"enterDelay\":[514,\"enter-delay\"]}]]],[\"nv-iconbutton_2\",[[68,\"nv-iconbutton\",{\"size\":[513],\"emphasis\":[513],\"loading\":[1540],\"disabled\":[1540],\"active\":[516],\"name\":[513],\"type\":[513],\"shape\":[513]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}],[0,\"nv-loader\",{\"size\":[513],\"color\":[513]}]]],[\"nv-button\",[[68,\"nv-button\",{\"size\":[513],\"emphasis\":[513],\"active\":[516],\"danger\":[516],\"loading\":[1540],\"disabled\":[1540],\"fluid\":[516],\"type\":[513],\"form\":[513]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"nv-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1537,\"range-value\"],\"min\":[513],\"max\":[513],\"disabledDates\":[513,\"disabled-dates\"],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"months\":[32]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"]}]]],[\"nv-dialogfooter_2\",[[68,\"nv-dialogfooter\",{\"disabled\":[516],\"undismissable\":[516],\"leadingIcon\":[513,\"leading-icon\"],\"trailingIcon\":[513,\"trailing-icon\"],\"danger\":[516],\"cancelLabel\":[513,\"cancel-label\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryButtonType\":[513,\"primary-button-type\"],\"form\":[513]}],[4,\"nv-dialogheader\",{\"heading\":[513],\"subheading\":[513]}]]],[\"nv-fieldcheckbox\",[[68,\"nv-fieldcheckbox\",{\"message\":[513],\"validation\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[1537],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-badge_2\",[[4,\"nv-badge\",{\"dismissal\":[516],\"icon\":[513],\"iconLocation\":[513,\"icon-location\"],\"color\":[513],\"label\":[513],\"leadIcon\":[1537,\"lead-icon\"],\"dismissible\":[1540],\"hidden\":[1540],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"_isHidden\":[32]},null,{\"dismissal\":[\"handleDismissalChange\"],\"icon\":[\"handleIconChange\"],\"hidden\":[\"handleHiddenChange\"]}],[0,\"nv-fielddropdownitemcheck\",{\"checked\":[1540],\"value\":[513],\"label\":[513],\"description\":[513],\"group\":[513],\"disabled\":[516]}]]],[\"nv-popover\",[[4,\"nv-popover\",{\"triggerElement\":[1040],\"open\":[1540],\"triggerMode\":[513,\"trigger-mode\"],\"placement\":[513],\"groupName\":[513,\"group-name\"],\"offset\":[514],\"hasArrow\":[516,\"has-arrow\"],\"disableFlip\":[516,\"disable-flip\"],\"shiftPadding\":[514,\"shift-padding\"],\"enterDelay\":[514,\"enter-delay\"],\"nested\":[516],\"show\":[64],\"hide\":[64],\"toggle\":[64]},[[4,\"openChanged\",\"handleOpenChanged\"]],{\"open\":[\"handleOpenChange\"]}]]]]"), options);
|
|
26332
|
+
return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"maxHeight\":[513,\"max-height\"],\"badgeLabel\":[513,\"badge-label\"],\"emptyResult\":[513,\"empty-result\"],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"readonly\":[516],\"disabled\":[516],\"autocomplete\":[513],\"filterable\":[516],\"value\":[1537],\"open\":[1540],\"options\":[513],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"parsedOptions\":[32],\"selectedValues\":[32],\"sortedOptions\":[32],\"filterText\":[32],\"modeState\":[32],\"isHandlingEscape\":[32],\"getFilterText\":[64],\"resetFilter\":[64],\"getSelectedValues\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"itemChecked\",\"handleItemChecked\"],[0,\"slotchange\",\"handleSlotChange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"]}]]],[\"nv-fielddate\",[[4,\"nv-fielddate\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"autofocus\":[516],\"value\":[513],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[513,\"disabled-dates\"],\"singleValue\":[32],\"open\":[32]},[[0,\"singleDateChange\",\"handleSingleDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-fielddaterange\",[[4,\"nv-fielddaterange\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"description\":[513],\"startPlaceholder\":[513,\"start-placeholder\"],\"endPlaceholder\":[513,\"end-placeholder\"],\"startName\":[513,\"start-name\"],\"endName\":[513,\"end-name\"],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"shouldAutoFocus\":[516,\"should-auto-focus\"],\"value\":[513],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[513,\"disabled-dates\"],\"startValue\":[32],\"endValue\":[32],\"open\":[32]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"],[5,\"touchstart\",\"handleDocumentTouch\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"open\":[1540],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"readonly\":[516],\"disabled\":[516],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"options\":[513],\"autofocus\":[516],\"filterText\":[32],\"selectedValues\":[32],\"parsedOptions\":[32],\"getFilterText\":[64]},[[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[0,\"openChanged\",\"handleOpenChanged\"],[2,\"blur\",\"handleBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"watchValueHandler\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-fieldtime\",[[68,\"nv-fieldtime\",{\"value\":[1537],\"label\":[513],\"inputId\":[513,\"input-id\"],\"readonly\":[516],\"disabled\":[516],\"required\":[516],\"name\":[513],\"success\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"format\":[513],\"description\":[513],\"open\":[1540],\"step\":[514],\"max\":[513],\"min\":[513],\"autofocus\":[516],\"hours\":[32],\"minutes\":[32],\"seconds\":[32]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-fieldnumber\",[[68,\"nv-fieldnumber\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"max\":[514],\"min\":[514],\"step\":[514],\"value\":[1538],\"autofocus\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fieldpassword\",[[68,\"nv-fieldpassword\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"mode\":[513],\"autocomplete\":[513],\"hidePasswordIcon\":[516,\"hide-password-icon\"],\"showPassword\":[516,\"show-password\"],\"autofocus\":[516],\"showPasswordState\":[32]},null,{\"showPassword\":[\"handleShowPasswordChange\"]}]]],[\"nv-fieldselect\",[[68,\"nv-fieldselect\",{\"message\":[513],\"validation\":[513],\"options\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"multiple\":[516],\"value\":[1537],\"displayValue\":[516,\"display-value\"],\"autofocus\":[516],\"computedDisplayValue\":[32],\"internalReadonly\":[32],\"parsedOptions\":[32]},null,{\"value\":[\"updateDisplayValueWatcher\"],\"displayValue\":[\"handleDisplayValueChange\"],\"readonly\":[\"handleReadonlyChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-breadcrumb\",[[4,\"nv-breadcrumb\",{\"type\":[513],\"tooltip\":[513],\"current\":[516]}]]],[\"nv-alert\",[[4,\"nv-alert\",{\"color\":[513],\"feedback\":[1537],\"message\":[513],\"heading\":[513],\"icon\":[513],\"dismissible\":[516],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"hidden\":[1540],\"hasNoAnimations\":[516,\"has-no-animations\"]},null,{\"hidden\":[\"handleHiddenChange\"]}]]],[\"nv-avatar\",[[4,\"nv-avatar\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"text\":[513],\"url\":[513],\"alt\":[513],\"src\":[1537],\"initials\":[1537],\"size\":[1537],\"color\":[513]}]]],[\"nv-fieldtext\",[[68,\"nv-fieldtext\",{\"message\":[513],\"validation\":[513],\"textInputType\":[513,\"text-input-type\"],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"type\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"autocomplete\":[513],\"multiple\":[516],\"autofocus\":[516]}]]],[\"nv-base\",[[4,\"nv-base\"]]],[\"nv-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"dataJson\":[513,\"data-json\"],\"columnsJson\":[513,\"columns-json\"],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilter\":[32],\"columnData\":[32]},null,{\"columns\":[\"parseColumns\"],\"columnsJson\":[\"parseJsonColumns\"],\"data\":[\"parseData\"],\"dataJson\":[\"parseJsonData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilter\":[\"handleGlobalFilter\"]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513],\"repeatTemplate\":[516,\"repeat-template\"]}]]],[\"nv-fieldradio\",[[68,\"nv-fieldradio\",{\"message\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"description\":[1537],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"checked\":[1540],\"disabled\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"handleCheckedChange\"]}]]],[\"nv-fieldtextarea\",[[68,\"nv-fieldtextarea\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"rows\":[514],\"resize\":[513],\"autosize\":[516],\"autofocus\":[516]},null,{\"rows\":[\"rowsChanged\"],\"autosize\":[\"autosizeChanged\"],\"value\":[\"handleValueChange\"]}]]],[\"nv-row\",[[4,\"nv-row\"]]],[\"nv-stack\",[[4,\"nv-stack\",{\"gutter\":[514],\"fill\":[516],\"flex\":[516],\"full\":[516],\"vertical\":[516]}]]],[\"nv-table\",[[4,\"nv-table\",{\"data\":[16],\"columnsConfig\":[16],\"dataJson\":[513,\"data-json\"],\"columnsConfigJson\":[513,\"columns-config-json\"],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"parsedColumns\":[32],\"parsedData\":[32],\"table\":[32]},null,{\"columnsConfig\":[\"parseColumns\"],\"columnsConfigJson\":[\"parseJsonColumns\"],\"data\":[\"parseData\"],\"dataJson\":[\"parseJsonData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"]}]]],[\"nv-tablecolumn\",[[0,\"nv-tablecolumn\",{\"name\":[513],\"header\":[513]}]]],[\"nv-toggle\",[[68,\"nv-toggle\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[513,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"checked\":[1540],\"disabled\":[516],\"readonly\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-icon\",[[0,\"nv-icon\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"color\":[513],\"name\":[513],\"size\":[1537]}]]],[\"nv-menu\",[[4,\"nv-menu\",{\"open\":[1540],\"nested\":[516],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"placement\":[513],\"items\":[513],\"parsedItems\":[32],\"show\":[64],\"close\":[64]},[[0,\"menuitemSelected\",\"handleMenuItemSelect\"],[0,\"keydown\",\"handleKeydown\"],[0,\"openChanged\",\"handleOpenChanged\"]],{\"items\":[\"handleItemsChange\"]}]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-menuitem\",[[4,\"nv-menuitem\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"shortcut\":[513],\"hasSubmenu\":[516,\"has-submenu\"],\"name\":[513]},[[2,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-tooltip\",[[4,\"nv-tooltip\",{\"triggerElement\":[1040],\"message\":[513],\"placement\":[513],\"enterDelay\":[514,\"enter-delay\"]}]]],[\"nv-iconbutton_2\",[[68,\"nv-iconbutton\",{\"size\":[513],\"emphasis\":[513],\"loading\":[1540],\"disabled\":[1540],\"active\":[516],\"name\":[513],\"type\":[513],\"shape\":[513]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}],[0,\"nv-loader\",{\"size\":[513],\"color\":[513]}]]],[\"nv-button\",[[68,\"nv-button\",{\"size\":[513],\"emphasis\":[513],\"active\":[516],\"danger\":[516],\"loading\":[1540],\"disabled\":[1540],\"fluid\":[516],\"type\":[513],\"form\":[513]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"nv-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1537,\"range-value\"],\"min\":[513],\"max\":[513],\"disabledDates\":[513,\"disabled-dates\"],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"months\":[32]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"]}]]],[\"nv-dialogfooter_2\",[[68,\"nv-dialogfooter\",{\"disabled\":[516],\"undismissable\":[516],\"leadingIcon\":[513,\"leading-icon\"],\"trailingIcon\":[513,\"trailing-icon\"],\"danger\":[516],\"cancelLabel\":[513,\"cancel-label\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryButtonType\":[513,\"primary-button-type\"],\"form\":[513]}],[4,\"nv-dialogheader\",{\"heading\":[513],\"subheading\":[513]}]]],[\"nv-fieldcheckbox\",[[68,\"nv-fieldcheckbox\",{\"message\":[513],\"validation\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[1537],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-badge_2\",[[4,\"nv-badge\",{\"dismissal\":[516],\"icon\":[513],\"iconLocation\":[513,\"icon-location\"],\"color\":[513],\"label\":[513],\"leadIcon\":[1537,\"lead-icon\"],\"dismissible\":[1540],\"hidden\":[1540],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"_isHidden\":[32]},null,{\"dismissal\":[\"handleDismissalChange\"],\"icon\":[\"handleIconChange\"],\"hidden\":[\"handleHiddenChange\"]}],[0,\"nv-fielddropdownitemcheck\",{\"checked\":[1540],\"value\":[513],\"label\":[513],\"description\":[513],\"group\":[513],\"disabled\":[516]}]]],[\"nv-popover\",[[4,\"nv-popover\",{\"triggerElement\":[1040],\"open\":[1540],\"triggerMode\":[513,\"trigger-mode\"],\"placement\":[513],\"groupName\":[513,\"group-name\"],\"offset\":[514],\"hasArrow\":[516,\"has-arrow\"],\"disableFlip\":[516,\"disable-flip\"],\"shiftPadding\":[514,\"shift-padding\"],\"enterDelay\":[514,\"enter-delay\"],\"nested\":[516],\"show\":[64],\"hide\":[64],\"toggle\":[64]},[[4,\"openChanged\",\"handleOpenChanged\"]],{\"open\":[\"handleOpenChange\"]}]]]]"), options);
|
|
26315
26333
|
};
|
|
26316
26334
|
|
|
26317
26335
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a);}})();
|