@nova-design-system/nova-react 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/cjs/{index-E_eTmclZ.js → index-Cv7U-U85.js} +292 -241
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{nv-accordion-item.entry-B9iMQoRk.js → nv-accordion-item.entry-BgDBJjHO.js} +3 -3
- package/dist/cjs/{nv-accordion.entry-2oOEkDVq.js → nv-accordion.entry-1dHBq_qo.js} +17 -44
- package/dist/cjs/{nv-alert.entry-CJcHACkm.js → nv-alert.entry-6J-BEBxl.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-COkIaFDp.js → nv-avatar.entry-Lav6aVEw.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-CQHT-nck.js → nv-badge_2.entry-DaAOJgy_.js} +2 -2
- package/dist/cjs/{nv-breadcrumb.entry-DElOQJUD.js → nv-breadcrumb.entry-BKoLlkWC.js} +1 -1
- package/dist/cjs/{nv-breadcrumbs.entry-CDfxiMbp.js → nv-breadcrumbs.entry-BdGgzdxC.js} +1 -1
- package/dist/cjs/{nv-button.entry-CTJT4SzB.js → nv-button.entry-Pe2qJFy0.js} +1 -1
- package/dist/cjs/{nv-calendar.entry-BU2OBf6g.js → nv-calendar.entry-WRFrbZtz.js} +97 -76
- package/dist/cjs/{nv-col.entry-Bsz14pxY.js → nv-col.entry-C3IgKfxS.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-2DyB7G5f.js → nv-datagrid.entry-Bh1mgk8D.js} +1 -1
- package/dist/cjs/{nv-datagridcolumn.entry-DquF2Cc1.js → nv-datagridcolumn.entry-DopvtY6C.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-QzImh4AV.js → nv-dialog.entry-D8oF5B-9.js} +1 -1
- package/dist/cjs/{nv-dialogfooter_2.entry-MikGtnGi.js → nv-dialogfooter_2.entry-QE1dFuOh.js} +1 -1
- package/dist/cjs/{nv-fieldcheckbox.entry-DKhH58rn.js → nv-fieldcheckbox.entry-BbC0JUWc.js} +5 -5
- package/dist/cjs/{nv-fielddate.entry-Dj_oMJ2a.js → nv-fielddate.entry-BIuQgdYW.js} +27 -6
- package/dist/cjs/{nv-fielddaterange.entry-CWwH83ug.js → nv-fielddaterange.entry-C82h1WUR.js} +33 -5
- package/dist/cjs/{nv-fielddropdown.entry-CPD-1tGj.js → nv-fielddropdown.entry-CWqg8M3_.js} +4 -4
- package/dist/cjs/{nv-fielddropdownitem.entry-CM5Fogll.js → nv-fielddropdownitem.entry-KuL1iVS4.js} +2 -2
- package/dist/cjs/{nv-fieldmultiselect.entry-DodoLrhv.js → nv-fieldmultiselect.entry-CAdWlUw2.js} +15 -7
- package/dist/cjs/{nv-fieldnumber.entry-063nS6p_.js → nv-fieldnumber.entry-Bbk2wO5k.js} +4 -4
- package/dist/cjs/{nv-fieldpassword.entry-CreA_Yx8.js → nv-fieldpassword.entry-BOtLqrGx.js} +4 -4
- package/dist/cjs/{nv-fieldradio.entry-Y8YSlQbK.js → nv-fieldradio.entry-CY4txacC.js} +4 -4
- package/dist/cjs/{nv-fieldselect.entry-B1X8kT8-.js → nv-fieldselect.entry-CRP6e7uq.js} +6 -6
- package/dist/cjs/{nv-fieldslider.entry-CJlQWgFy.js → nv-fieldslider.entry-BLO9yOcu.js} +4 -4
- package/dist/cjs/{nv-fieldtext.entry-Cib7Q9Wi.js → nv-fieldtext.entry-BqgV8SxD.js} +4 -4
- package/dist/cjs/{nv-fieldtextarea.entry-QYIEAbAM.js → nv-fieldtextarea.entry-dDaXddme.js} +4 -4
- package/dist/cjs/{nv-fieldtime.entry-D6jX_bbE.js → nv-fieldtime.entry-DAIYFHO7.js} +11 -11
- package/dist/cjs/{nv-icon.entry-DyYPxO1l.js → nv-icon.entry-CxE0uTUN.js} +2 -2
- package/dist/cjs/{nv-iconbutton_2.entry-BDpYysUa.js → nv-iconbutton_2.entry-DAWQjqvb.js} +3 -3
- package/dist/cjs/{nv-menu.entry-EY6i9-lW.js → nv-menu.entry-Fg1jfAeH.js} +2 -2
- package/dist/cjs/{nv-menuitem.entry-D3_V7wz6.js → nv-menuitem.entry-CGg4iJrd.js} +2 -2
- package/dist/cjs/{nv-popover.entry-VI0JSWEK.js → nv-popover.entry-DsKxPxfa.js} +2 -2
- package/dist/cjs/{nv-row.entry-Da5sYAGY.js → nv-row.entry-BsPFwLLA.js} +2 -2
- package/dist/cjs/{nv-stack.entry-CQ8A3wKB.js → nv-stack.entry-4Ec3nJml.js} +2 -2
- package/dist/cjs/{nv-table.entry-DkALs4J_.js → nv-table.entry-Bv0iDqou.js} +3 -3
- package/dist/cjs/{nv-tablecolumn.entry-C_9y9_Tk.js → nv-tablecolumn.entry-XJJCmUC2.js} +1 -1
- package/dist/cjs/{nv-toggle.entry-CPvuKc2f.js → nv-toggle.entry-C72c_569.js} +3 -3
- package/dist/cjs/{nv-tooltip.entry-dvTSw6dq.js → nv-tooltip.entry-BNvm30iV.js} +2 -2
- package/dist/generated/components.js +1 -1
- package/dist/generated/components.server.js +2 -5
- package/dist/types/generated/components.d.ts +1 -1
- package/dist/types/generated/components.server.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4202,7 +4202,7 @@ const NvIcon$2 = /*@__PURE__*/ proxyCustomElement(class NvIcon extends H {
|
|
|
4202
4202
|
/****************************************************************************/
|
|
4203
4203
|
//#region RENDER
|
|
4204
4204
|
render() {
|
|
4205
|
-
return (h$1(Host$1, { key: '
|
|
4205
|
+
return (h$1(Host$1, { key: '8cb4ada2454c7e9676cd088397eb4416ccab2d82', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, h$1("svg", { key: '4934c79fa096935be509ff6a641361dac44a4a9f', 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: '54e429910d5f9916f98e4cdef0be5f2f620df51e', href: `#${this.name}` }))));
|
|
4206
4206
|
}
|
|
4207
4207
|
static get style() { return NvIconStyle0; }
|
|
4208
4208
|
}, [0, "nv-icon", {
|
|
@@ -4251,7 +4251,7 @@ const NvLoader$2 = /*@__PURE__*/ proxyCustomElement(class NvLoader extends H {
|
|
|
4251
4251
|
//#region RENDER
|
|
4252
4252
|
/* <slot> empty to force rendering change */
|
|
4253
4253
|
render() {
|
|
4254
|
-
return (h$1(Host$1, { key: '
|
|
4254
|
+
return (h$1(Host$1, { key: '049afa243c1ce99643408d86afa99e69c5468b8b', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
|
|
4255
4255
|
}
|
|
4256
4256
|
static get style() { return NvLoaderStyle0; }
|
|
4257
4257
|
}, [0, "nv-loader", {
|
|
@@ -4387,7 +4387,7 @@ const NvIconbutton$2 = /*@__PURE__*/ proxyCustomElement(class NvIconbutton exten
|
|
|
4387
4387
|
/****************************************************************************/
|
|
4388
4388
|
//#region RENDER
|
|
4389
4389
|
render() {
|
|
4390
|
-
return (h$1(Host$1, { key: '
|
|
4390
|
+
return (h$1(Host$1, { key: 'a59a26804e97dfbacf40fae6678b3b3ba66440a9', 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: '7cbe3502ff1c6fd76f7a9ab68128f5d5a0bbf7fa', size: this.size }), !this.loading && h$1("nv-icon", { key: '46cbb9c609991ea27316b8909551d303559652fc', name: this.name, size: this.size }), h$1("slot", { key: 'd2ca8959b7be7600e56fe23437e5da07d58985c2' })));
|
|
4391
4391
|
}
|
|
4392
4392
|
static get formAssociated() { return true; }
|
|
4393
4393
|
get el() { return this; }
|
|
@@ -4591,12 +4591,12 @@ const NvAccordionItem$2 = /*@__PURE__*/ proxyCustomElement(class NvAccordionItem
|
|
|
4591
4591
|
/****************************************************************************/
|
|
4592
4592
|
//#region RENDER
|
|
4593
4593
|
render() {
|
|
4594
|
-
return (h$1(Host$1, { key: '
|
|
4594
|
+
return (h$1(Host$1, { key: 'dfb8ca76f8ac40c938323be1ccba4353ea33a616', class: {
|
|
4595
4595
|
'nv-accordion-item': true,
|
|
4596
4596
|
'is-open': this.open,
|
|
4597
4597
|
'is-disabled': this.disabled,
|
|
4598
4598
|
'is-animating': this.isAnimating,
|
|
4599
|
-
}, role: "listitem", "aria-expanded": this.open ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h$1("div", { key: '
|
|
4599
|
+
}, role: "listitem", "aria-expanded": this.open ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h$1("div", { key: '258efe0502a39d963a9e75c16285ee9cbc65cb9f', class: "nv-accordion-item__header", onClick: this.handleHeaderClick, "aria-controls": "content" }, h$1("slot", { key: 'bb4dae743f06e3d41d1f7b8c17793b668df9347b', name: "header" }, h$1("div", { key: 'f3142a81c6be776d95ab9292101b889db6e35805', class: "nv-accordion-item__header-content" }, this.itemTitle && (h$1("span", { key: 'e897d8b4d414ba4e93b2853c152059579063335e', class: "nv-accordion-item__title" }, this.itemTitle)), this.subtitle && (h$1("span", { key: 'b8e03ceb1ca0e4c0b0fe24398f0e1c592ac077ab', class: "nv-accordion-item__subtitle" }, this.subtitle)))), h$1("nv-iconbutton", { key: '8d90711a96f5ce2e7d6f5ebcf3922cd0fedd69bd', emphasis: "low", size: "sm", shape: "square", name: this.chevronIconName, tabindex: this.disabled ? -1 : 0, onClick: this.handleIconClick, onKeyDown: this.handleHeaderKeyDown, "aria-expanded": this.open ? 'true' : 'false', "aria-controls": "content", "aria-label": this.open ? 'Fermer la section' : 'Ouvrir la section' })), h$1("div", { key: '171b5165f3663fa5f0fa28ef84145dfc998e9f10', id: "content", class: "nv-accordion-item__content", "aria-hidden": !this.open ? 'true' : 'false', ref: el => (this.contentRef = el) }, h$1("div", { key: 'dcf753f23cec073a036d8137f1299dcf4ca4af78', class: "nv-accordion-item__content-inner" }, h$1("slot", { key: '3dc85def21aace19f3d211262b6cf66ccb9438fa', name: "content" })))));
|
|
4600
4600
|
}
|
|
4601
4601
|
get el() { return this; }
|
|
4602
4602
|
static get watchers() { return {
|
|
@@ -4604,7 +4604,7 @@ const NvAccordionItem$2 = /*@__PURE__*/ proxyCustomElement(class NvAccordionItem
|
|
|
4604
4604
|
}; }
|
|
4605
4605
|
static get style() { return NvAccordionItemStyle0; }
|
|
4606
4606
|
}, [4, "nv-accordion-item", {
|
|
4607
|
-
"
|
|
4607
|
+
"itemTitle": [513, "item-title"],
|
|
4608
4608
|
"subtitle": [513],
|
|
4609
4609
|
"open": [1540],
|
|
4610
4610
|
"disabled": [516],
|
|
@@ -4657,7 +4657,13 @@ const NvAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NvAccordion extends
|
|
|
4657
4657
|
constructor() {
|
|
4658
4658
|
super();
|
|
4659
4659
|
this.__registerHost();
|
|
4660
|
-
this.
|
|
4660
|
+
this.openChanged = createEvent$1(this, "openChanged");
|
|
4661
|
+
/****************************************************************************/
|
|
4662
|
+
//#region PROPERTIES
|
|
4663
|
+
/**
|
|
4664
|
+
* Data to display as a list of items (title, subtitle, content).
|
|
4665
|
+
*/
|
|
4666
|
+
this.data = [];
|
|
4661
4667
|
/**
|
|
4662
4668
|
* Expansion mode: 'accordion' (single open) or 'multi' (multiple open)
|
|
4663
4669
|
*/
|
|
@@ -4669,12 +4675,6 @@ const NvAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NvAccordion extends
|
|
|
4669
4675
|
* Internal index of open items (not exposed)
|
|
4670
4676
|
*/
|
|
4671
4677
|
this.internalOpenIndexes = [];
|
|
4672
|
-
/**
|
|
4673
|
-
* Parsed data from data prop
|
|
4674
|
-
*/
|
|
4675
|
-
this.parsedData = [];
|
|
4676
|
-
// Synchronization openIndexes <-> internalOpenIndexes
|
|
4677
|
-
this.itemToggleHandlers = [];
|
|
4678
4678
|
}
|
|
4679
4679
|
//#endregion EVENTS
|
|
4680
4680
|
/****************************************************************************/
|
|
@@ -4715,7 +4715,7 @@ const NvAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NvAccordion extends
|
|
|
4715
4715
|
}
|
|
4716
4716
|
}
|
|
4717
4717
|
this.internalOpenIndexes = openIndexes;
|
|
4718
|
-
this.
|
|
4718
|
+
this.openChanged.emit({ openIndexes });
|
|
4719
4719
|
if (this.openIndexes !== undefined) {
|
|
4720
4720
|
this.openIndexes =
|
|
4721
4721
|
this.mode === 'accordion'
|
|
@@ -4737,9 +4737,6 @@ const NvAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NvAccordion extends
|
|
|
4737
4737
|
* @param {CustomEvent<boolean>} event Event emitted by nv-accordion-item
|
|
4738
4738
|
*/
|
|
4739
4739
|
onItemToggle(event) {
|
|
4740
|
-
// Ignore if using data (handled by itemToggleHandlers)
|
|
4741
|
-
if (this.parsedData && this.parsedData.length > 0)
|
|
4742
|
-
return;
|
|
4743
4740
|
// Find the index of the item that emitted the event
|
|
4744
4741
|
const items = Array.from(this.el.querySelectorAll('nv-accordion-item'));
|
|
4745
4742
|
const targetItem = event.target;
|
|
@@ -4767,8 +4764,8 @@ const NvAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NvAccordion extends
|
|
|
4767
4764
|
// If the item is closing, remove it from internalOpenIndexes
|
|
4768
4765
|
this.internalOpenIndexes = this.internalOpenIndexes.filter(i => i !== index);
|
|
4769
4766
|
}
|
|
4770
|
-
// Emit
|
|
4771
|
-
this.
|
|
4767
|
+
// Emit openChanged event
|
|
4768
|
+
this.openChanged.emit({ openIndexes: this.internalOpenIndexes });
|
|
4772
4769
|
if (this.openIndexes !== undefined) {
|
|
4773
4770
|
this.openIndexes =
|
|
4774
4771
|
this.mode === 'accordion'
|
|
@@ -4780,35 +4777,17 @@ const NvAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NvAccordion extends
|
|
|
4780
4777
|
//#endregion METHODS
|
|
4781
4778
|
/****************************************************************************/
|
|
4782
4779
|
//#region WATCHERS
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
parseData() {
|
|
4787
|
-
if (typeof this.data === 'string') {
|
|
4788
|
-
try {
|
|
4789
|
-
this.parsedData = JSON.parse(this.data);
|
|
4790
|
-
}
|
|
4791
|
-
catch (e) {
|
|
4792
|
-
console.error('nv-accordion: Failed to parse data prop.', e);
|
|
4793
|
-
this.parsedData = [];
|
|
4794
|
-
}
|
|
4795
|
-
}
|
|
4796
|
-
else {
|
|
4797
|
-
this.parsedData = this.data || [];
|
|
4798
|
-
}
|
|
4799
|
-
if (this.parsedData) {
|
|
4800
|
-
this.itemToggleHandlers = this.parsedData.map((_, i) => () => this.toggleItem(i));
|
|
4801
|
-
}
|
|
4802
|
-
}
|
|
4780
|
+
//#endregion WATCHERS
|
|
4781
|
+
/****************************************************************************/
|
|
4782
|
+
//#region LIFECYCLE
|
|
4803
4783
|
componentWillLoad() {
|
|
4804
|
-
this.parseData();
|
|
4805
4784
|
if (this.openIndexes !== undefined) {
|
|
4806
4785
|
this.internalOpenIndexes = [...this.openIndexes];
|
|
4807
4786
|
}
|
|
4808
4787
|
}
|
|
4809
4788
|
componentDidLoad() {
|
|
4810
4789
|
// If using direct child elements, initialize their state
|
|
4811
|
-
if (!this.
|
|
4790
|
+
if (!this.data || this.data.length === 0) {
|
|
4812
4791
|
this.updateChildrenState();
|
|
4813
4792
|
}
|
|
4814
4793
|
}
|
|
@@ -4817,34 +4796,25 @@ const NvAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NvAccordion extends
|
|
|
4817
4796
|
this.internalOpenIndexes = [...this.openIndexes];
|
|
4818
4797
|
}
|
|
4819
4798
|
}
|
|
4820
|
-
//#endregion WATCHERS
|
|
4821
|
-
/****************************************************************************/
|
|
4822
|
-
//#region LIFECYCLE
|
|
4823
4799
|
//#endregion LIFECYCLE
|
|
4824
4800
|
/****************************************************************************/
|
|
4825
4801
|
//#region RENDER
|
|
4826
4802
|
render() {
|
|
4827
|
-
return (h$1(Host$1, { key: '
|
|
4803
|
+
return (h$1(Host$1, { key: 'a6cb21b274024a00e60e0d0db780f25fab6e5bc2', role: "list", class: "nv-accordion" }, this.data && this.data.length > 0 ? (this.data.map((item, i) => {
|
|
4828
4804
|
var _a;
|
|
4829
|
-
return (h$1("nv-accordion-item", { key: (_a = item.id) !== null && _a !== void 0 ? _a : i,
|
|
4805
|
+
return (h$1("nv-accordion-item", { key: (_a = item.id) !== null && _a !== void 0 ? _a : i, itemTitle: item.title, disabled: item.disabled, open: (this.internalOpenIndexes || []).includes(i) }, item.subtitle ? (h$1("div", { slot: "header" }, h$1("div", { class: "nv-accordion-item__header-content" }, h$1("span", { class: "nv-accordion-item__title" }, item.title), h$1("span", { class: "nv-accordion-item__subtitle" }, item.subtitle)))) : null, h$1("div", { slot: "content" }, item.content), item.footer && h$1("div", { slot: "footer" }, item.footer)));
|
|
4830
4806
|
})) : (h$1("slot", null))));
|
|
4831
4807
|
}
|
|
4832
4808
|
get el() { return this; }
|
|
4833
|
-
static get watchers() { return {
|
|
4834
|
-
"data": ["dataChanged"]
|
|
4835
|
-
}; }
|
|
4836
4809
|
static get style() { return NvAccordionStyle0; }
|
|
4837
4810
|
}, [4, "nv-accordion", {
|
|
4838
|
-
"data": [
|
|
4811
|
+
"data": [16],
|
|
4839
4812
|
"mode": [513],
|
|
4840
4813
|
"openIndexes": [1040],
|
|
4841
4814
|
"internalOpenIndexes": [32],
|
|
4842
|
-
"parsedData": [32],
|
|
4843
4815
|
"open": [64],
|
|
4844
4816
|
"close": [64]
|
|
4845
|
-
}, [[0, "itemToggle", "onItemToggle"]]
|
|
4846
|
-
"data": ["dataChanged"]
|
|
4847
|
-
}]);
|
|
4817
|
+
}, [[0, "itemToggle", "onItemToggle"]]]);
|
|
4848
4818
|
function defineCustomElement$1$o() {
|
|
4849
4819
|
if (typeof customElements === "undefined") {
|
|
4850
4820
|
return;
|
|
@@ -7405,7 +7375,7 @@ const NvPopover$2 = /*@__PURE__*/ proxyCustomElement(class NvPopover extends H {
|
|
|
7405
7375
|
/****************************************************************************/
|
|
7406
7376
|
//#region RENDER
|
|
7407
7377
|
render() {
|
|
7408
|
-
return (h$1(Host$1, { key: '
|
|
7378
|
+
return (h$1(Host$1, { key: '27f6f8acc148b3dc2b16a391c54a4a1de0637a57' }, h$1("slot", { key: 'd25614b3bfc5565d3729da11f6f83b4d92e83e19', name: "trigger" }), h$1("div", { key: '3b777862573405b2bb2a377750d9bb859a4bb20b', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h$1("div", { key: 'dda88155630bca69ec06a766e2999ed369d5d6c6', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h$1("slot", { key: '51eaf873fe239d3c4106e997f6cdd37b1bb29074', name: "content" }))));
|
|
7409
7379
|
}
|
|
7410
7380
|
get el() { return this; }
|
|
7411
7381
|
static get watchers() { return {
|
|
@@ -7479,7 +7449,7 @@ const NvTooltip$2 = /*@__PURE__*/ proxyCustomElement(class NvTooltip extends H {
|
|
|
7479
7449
|
/****************************************************************************/
|
|
7480
7450
|
//#region RENDER
|
|
7481
7451
|
render() {
|
|
7482
|
-
return (h$1(Host$1, { key: '
|
|
7452
|
+
return (h$1(Host$1, { key: 'ced39f0ebd3ee8eba520e6d6241728e95031dafc' }, h$1("slot", { key: '2b65cb626604a29e1924e7eb2bbb4e937c1a9e9c' }), h$1("nv-popover", { key: 'd4c91e52da651c1545b6d7af98c740e08eeaffbf', triggerMode: "hover", hasArrow: true, placement: this.placement, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, h$1("p", { key: '45805ecf6ffee80f4f81acce2d921ad66585bf2b', slot: "content" }, this.message), h$1("slot", { key: 'e6a7e80c35c3a87627a50b271c86783fab791338', name: "content" }))));
|
|
7483
7453
|
}
|
|
7484
7454
|
get el() { return this; }
|
|
7485
7455
|
static get style() { return NvTooltipStyle0; }
|
|
@@ -8195,6 +8165,9 @@ const CalendarGrid = props => {
|
|
|
8195
8165
|
return (h$1("div", { class: "days-container" },
|
|
8196
8166
|
h$1("div", { class: "days-header" }, dayNames.map((day, index) => (h$1("div", { class: "day-header", key: `day-header-${index}` }, day)))),
|
|
8197
8167
|
h$1("div", { class: "days-grid" }, days.map(day => {
|
|
8168
|
+
if (day.isBlank) {
|
|
8169
|
+
return h$1("div", { class: "day day-blank" });
|
|
8170
|
+
}
|
|
8198
8171
|
const date = day.date;
|
|
8199
8172
|
if (!date || !day.dayOfMonth) {
|
|
8200
8173
|
return h$1("div", { class: "day-cell is-disabled is-empty" });
|
|
@@ -8209,7 +8182,7 @@ const CalendarGrid = props => {
|
|
|
8209
8182
|
}))));
|
|
8210
8183
|
};
|
|
8211
8184
|
|
|
8212
|
-
const nvCalendarCss = "nv-calendar{display:block}.datepicker-root{display:flex;justify-content:center;align-items:flex-start;width:auto}.datepicker-container{font-family:system-ui, sans-serif;display:flex;flex-direction:column;align-items:stretch;background:var(--components-calendar-background);border-radius:var(--calendar-radius);padding:var(--calendar-padding);box-shadow:0px var(--shadow-y-axis-md-1) var(--shadow-blur-md-1) var(--shadow-spread-md, 0) var(--shadow-color-opacity-0), 0px var(--shadow-y-axis-md-2) var(--shadow-blur-md-2) var(--shadow-spread-md, 0) var(--shadow-color-opacity-2);border:1px solid var(--components-calendar-border);width:auto;max-width:100%}.datepicker-container-single{max-width:300px}.datepicker-container-single .datepicker-wrapper:has(.shortcuts-placement-left),.datepicker-container-single .datepicker-wrapper:has(.shortcuts-placement-right){max-width:410px !important}.datepicker-container-single:has(.shortcuts-placement-left),.datepicker-container-single:has(.shortcuts-placement-right){max-width:410px !important}.datepicker-wrapper{display:flex;justify-content:center;align-items:flex-start;gap:var(--calendar-gap-x);width:auto;overflow-x:hidden}.datepicker-wrapper::-webkit-scrollbar{width:6px;height:6px}.datepicker-wrapper::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}.datepicker-wrapper::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}.datepicker-wrapper.single{justify-content:center}.calendar-container{display:flex;flex-direction:column;align-items:center;padding:var(--calendar-padding);width:auto;position:relative}.calendar-separator{width:1px;background:var(--components-calendar-border);height:auto;min-height:100%;margin:0 10px}.header{display:flex;justify-content:start;align-items:center;margin-bottom:var(--calendar-header-margin-bottom);width:100%}.header nv-iconbutton{width:var(--calendar-header-button-size);height:var(--calendar-header-button-size)}.nav-buttons{display:flex;gap:var(--spacing-0);margin-left:auto}.nav-left{order:-1}.date-controls{display:flex;gap:var(--spacing-1);align-items:center;min-height:34px;justify-content:center}.datepicker-container-single .date-controls{justify-content:flex-start}.datepicker-container:not(.datepicker-container-single) .date-controls{justify-content:start;flex-grow:1}.date-controls .month-select,.date-controls .year-input{background:transparent !important}.calendar-wrapper:nth-child(n+2) .datepicker-container{margin-left:42px}.calendar-grid{display:grid;grid-template-columns:auto 1fr;column-gap:var(--calendar-weeks-calendar-gap-x);position:relative}.calendar-grid.slide-left{animation:slideLeft 0.3s ease-out}.calendar-grid.slide-right{animation:slideRight 0.3s ease-out}.week-numbers{display:grid;grid-template-rows:var(--calendar-cell-size) repeat(6, var(--calendar-cell-size));background:var(--components-calendar-weeks-background);color:var(--components-calendar-weeks-text);border-radius:var(--calendar-weeks-radius);width:var(--calendar-weeks-size);row-gap:var(--calendar-grid-gap-y)}.week-numbers .clickable{cursor:pointer}.week-numbers .clickable:hover{background-color:var(--components-calendar-weeks-background-hover);color:var(--components-calendar-weeks-text-hover);border-radius:var(--calendar-radius)}.week-header,.week-number{display:grid;place-items:center;font-size:var(--calendar-cell-font-size)}.week-header{font-weight:700;color:var(--components-calendar-weeks-text)}.week-number{color:var(--components-calendar-cell-text)}.days-container{display:grid;grid-template-rows:auto 1fr;row-gap:var(--calendar-grid-gap-y)}.days-header{display:grid;grid-template-columns:repeat(7, var(--calendar-cell-size));height:var(--calendar-cell-size)}.day-header{display:grid;place-items:center;font-size:var(--calendar-cell-font-size);color:var(--components-calendar-cell-text)}.days-grid{display:grid;grid-template-columns:repeat(7, var(--calendar-cell-size));grid-template-rows:repeat(6, var(--calendar-cell-size));animation:fadeIn 0.2s ease-in;row-gap:var(--calendar-grid-gap-y);z-index:0}.day{display:grid;place-items:center;width:var(--calendar-cell-size);height:var(--calendar-cell-size);font-size:var(--calendar-cell-font-size);border-radius:var(--calendar-cell-radius);cursor:pointer;border:none;background:transparent;transition:all 0.2s ease;text-align:center;animation:scaleIn 0.2s ease-out}.day:hover:not(.disabled,.empty,.selected){background:var(--components-calendar-cell-background-hover);color:var(--components-calendar-cell-text-hover)}.day.selected,.day.selected:hover .day.is-today.selected,.day.is-today.selected:hover{background:var(--components-calendar-cell-background-selected);color:var(--components-calendar-cell-text-selected) !important}.day.disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.day.is-empty{pointer-events:none;background-color:transparent;border-color:transparent}.day.outside-month{color:var(--components-calendar-cell-text);opacity:var(--opacity-disabled)}.day.outside-month.selected{opacity:1 !important;color:var(--components-calendar-cell-text-selected)}.day.outside-month.in-range{opacity:0.5 !important;background-color:var(--components-calendar-cell-background-in-range);color:var(--components-calendar-cell-text-in-range)}.day.outside-month.in-range:hover{opacity:0.7 !important;background-color:var(--components-calendar-cell-background-in-range)}.day.in-range{background:var(--components-calendar-cell-background-in-range);color:var(--components-calendar-cell-text-in-range);border-radius:0;position:relative}.day.range-start,.day.range-start:focus,.day.range-start:hover,.day.range-end,.day.range-end:focus,.day.range-end:hover{background-color:var(--components-calendar-cell-background-selected) !important;color:var(--components-calendar-cell-text-selected) !important}.day.range-start,.day.range-end,.day.range-start.is-today,.day.range-end.is-today{background:var(--components-calendar-cell-background-selected);color:var(--components-calendar-cell-text-selected);position:relative;border-radius:var(--radius-rounded-full)}.day.range-start:hover,.day.range-end:hover,.day.range-start.is-today:hover,.day.range-end.is-today:hover{color:var(--components-calendar-cell-text-today)}.day.range-start:before,.day.range-end:before,.day.range-start.is-today:before,.day.range-end.is-today:before{content:\"\";position:absolute;bottom:0;left:0;right:0;top:0;z-index:-1;background-color:var(--components-calendar-cell-background-in-range);border-radius:var(--radius-rounded-full);width:auto;height:auto}.day.range-start:has(~.range-end):before,.day.range-start:has(+.in-range):before{border-top-right-radius:0;border-bottom-right-radius:0}.day.range-end:before{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.day.outside-month.range-start,.day.outside-month.range-end{opacity:1 !important;background:var(--components-calendar-cell-background-selected) !important;color:var(--components-calendar-cell-text-selected)}.day.is-today{font-weight:700;position:relative;color:var(--components-calendar-cell-text-today)}.day.is-today.range-start,.day.is-today.range-end{color:var(--components-calendar-cell-text-selected)}.day.is-today.range-start:hover,.day.is-today.range-end:hover{color:var(--components-calendar-cell-text-today)}.day.is-today::after{content:\"\";position:absolute;bottom:var(--spacing-1);left:50%;transform:translateX(-50%);width:var(--calendar-cell-dot-size);height:var(--calendar-cell-dot-size);background-color:currentColor;border-radius:50%}.day.is-today.selected::after{color:var(--components-calendar-cell-text-selected)}.day.is-today.selected::after::after{background-color:var(--components-calendar-cell-dot-selected)}.calendar-footer{display:flex;gap:var(--spacing-1);justify-content:flex-start;width:100%;flex-wrap:wrap}.footer-placement-left{justify-content:flex-start}.footer-placement-right{justify-content:flex-end}.footer-placement-center{justify-content:center}.datepicker-controls{display:flex;flex-direction:column;border-top:1px solid var(--components-calendar-border);padding:var(--calendar-controls-padding-top) var(--calendar-padding) var(--calendar-padding);gap:var(--calendar-grid-gap-y);margin-top:var(--calendar-controls-margin-top)}.datepicker-actions{display:flex;justify-content:flex-end;gap:var(--spacing-1);width:100%}.datepicker-actions slot-fb{display:contents !important}.calendar-footer+.datepicker-actions{margin-top:0}.shortcuts-placement-left,.shortcuts-placement-right{display:flex;flex-direction:column;gap:var(--spacing-1);margin-top:var(--spacing-4)}.shortcuts-placement-left{align-items:flex-end}.shortcuts-placement-right{align-items:flex-start}@keyframes slideLeft{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}@keyframes slideRight{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}";
|
|
8185
|
+
const nvCalendarCss = "nv-calendar{display:block}.datepicker-root{display:flex;justify-content:center;align-items:flex-start;width:auto}.datepicker-container{font-family:system-ui, sans-serif;display:flex;flex-direction:column;align-items:stretch;background:var(--components-calendar-background);border-radius:var(--calendar-radius);padding:var(--calendar-padding);box-shadow:0px var(--shadow-y-axis-md-1) var(--shadow-blur-md-1) var(--shadow-spread-md, 0) var(--shadow-color-opacity-0), 0px var(--shadow-y-axis-md-2) var(--shadow-blur-md-2) var(--shadow-spread-md, 0) var(--shadow-color-opacity-2);border:1px solid var(--components-calendar-border);width:auto;max-width:100%}.datepicker-container-single{max-width:300px}.datepicker-container-single .datepicker-wrapper:has(.shortcuts-placement-left),.datepicker-container-single .datepicker-wrapper:has(.shortcuts-placement-right){max-width:410px !important}.datepicker-container-single:has(.shortcuts-placement-left),.datepicker-container-single:has(.shortcuts-placement-right){max-width:410px !important}.datepicker-wrapper{display:flex;justify-content:center;align-items:flex-start;gap:var(--calendar-gap-x);width:auto;overflow-x:hidden}.datepicker-wrapper::-webkit-scrollbar{width:6px;height:6px}.datepicker-wrapper::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}.datepicker-wrapper::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}.datepicker-wrapper.single{justify-content:center}.calendar-container{display:flex;flex-direction:column;align-items:center;padding:var(--calendar-padding);width:auto;position:relative}.calendar-separator{width:1px;background:var(--components-calendar-border);height:auto;min-height:100%;margin:0 10px}.header{display:flex;justify-content:start;align-items:center;margin-bottom:var(--calendar-header-margin-bottom);width:100%}.header nv-iconbutton{width:var(--calendar-header-button-size);height:var(--calendar-header-button-size)}.nav-buttons{display:flex;gap:var(--spacing-0);margin-left:auto}.nav-left{order:-1}.date-controls{display:flex;gap:var(--spacing-1);align-items:center;min-height:34px;justify-content:center}.datepicker-container-single .date-controls{justify-content:flex-start}.datepicker-container:not(.datepicker-container-single) .date-controls{justify-content:start;flex-grow:1}.date-controls .month-select,.date-controls .year-input{background:transparent !important}.calendar-wrapper:nth-child(n+2) .datepicker-container{margin-left:42px}.calendar-grid{display:grid;grid-template-columns:auto 1fr;column-gap:var(--calendar-weeks-calendar-gap-x);position:relative}.calendar-grid.slide-left{animation:slideLeft 0.3s ease-out}.calendar-grid.slide-right{animation:slideRight 0.3s ease-out}.week-numbers{display:grid;grid-template-rows:var(--calendar-cell-size) repeat(6, var(--calendar-cell-size));background:var(--components-calendar-weeks-background);color:var(--components-calendar-weeks-text);border-radius:var(--calendar-weeks-radius);width:var(--calendar-weeks-size);row-gap:var(--calendar-grid-gap-y)}.week-numbers .clickable{cursor:pointer}.week-numbers .clickable:hover{background-color:var(--components-calendar-weeks-background-hover);color:var(--components-calendar-weeks-text-hover);border-radius:var(--calendar-radius)}.week-header,.week-number{display:grid;place-items:center;font-size:var(--calendar-cell-font-size)}.week-header{font-weight:700;color:var(--components-calendar-weeks-text)}.week-number{color:var(--components-calendar-cell-text)}.days-container{display:grid;grid-template-rows:auto 1fr;row-gap:var(--calendar-grid-gap-y)}.days-header{display:grid;grid-template-columns:repeat(7, var(--calendar-cell-size));height:var(--calendar-cell-size)}.day-header{display:grid;place-items:center;font-size:var(--calendar-cell-font-size);color:var(--components-calendar-cell-text)}.days-grid{display:grid;grid-template-columns:repeat(7, var(--calendar-cell-size));grid-template-rows:repeat(6, var(--calendar-cell-size));animation:fadeIn 0.2s ease-in;row-gap:var(--calendar-grid-gap-y);z-index:0}.day{display:grid;place-items:center;width:var(--calendar-cell-size);height:var(--calendar-cell-size);font-size:var(--calendar-cell-font-size);border-radius:var(--calendar-cell-radius);cursor:pointer;border:none;background:transparent;transition:all 0.2s ease;text-align:center;animation:scaleIn 0.2s ease-out}.day:hover:not(.disabled,.empty,.selected){background:var(--components-calendar-cell-background-hover);color:var(--components-calendar-cell-text-hover)}.day.selected,.day.selected:hover .day.is-today.selected,.day.is-today.selected:hover{background:var(--components-calendar-cell-background-selected);color:var(--components-calendar-cell-text-selected) !important}.day.disabled{opacity:var(--opacity-disabled);cursor:not-allowed}.day.is-empty{pointer-events:none;background-color:transparent;border-color:transparent}.day.day-blank{pointer-events:none;background-color:transparent;border-color:transparent}.day.outside-month{color:var(--components-calendar-cell-text);opacity:var(--opacity-disabled)}.day.outside-month.selected{opacity:1 !important;color:var(--components-calendar-cell-text-selected)}.day.outside-month.in-range{opacity:0.5 !important;background-color:var(--components-calendar-cell-background-in-range);color:var(--components-calendar-cell-text-in-range)}.day.outside-month.in-range:hover{opacity:0.7 !important;background-color:var(--components-calendar-cell-background-in-range)}.day.in-range{background:var(--components-calendar-cell-background-in-range);color:var(--components-calendar-cell-text-in-range);border-radius:0;position:relative}.day.range-start,.day.range-start:focus,.day.range-start:hover,.day.range-end,.day.range-end:focus,.day.range-end:hover{background-color:var(--components-calendar-cell-background-selected) !important;color:var(--components-calendar-cell-text-selected) !important}.day.range-start,.day.range-end,.day.range-start.is-today,.day.range-end.is-today{background:var(--components-calendar-cell-background-selected);color:var(--components-calendar-cell-text-selected);position:relative;border-radius:var(--radius-rounded-full)}.day.range-start:hover,.day.range-end:hover,.day.range-start.is-today:hover,.day.range-end.is-today:hover{color:var(--components-calendar-cell-text-today)}.day.range-start:before,.day.range-end:before,.day.range-start.is-today:before,.day.range-end.is-today:before{content:\"\";position:absolute;bottom:0;left:0;right:0;top:0;z-index:-1;background-color:var(--components-calendar-cell-background-in-range);border-radius:var(--radius-rounded-full);width:auto;height:auto}.day.range-start:has(~.range-end):before,.day.range-start:has(+.in-range):before{border-top-right-radius:0;border-bottom-right-radius:0}.day.range-end:before{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.day.outside-month.range-start,.day.outside-month.range-end{opacity:1 !important;background:var(--components-calendar-cell-background-selected) !important;color:var(--components-calendar-cell-text-selected)}.day.is-today{font-weight:700;position:relative;color:var(--components-calendar-cell-text-today)}.day.is-today.range-start,.day.is-today.range-end{color:var(--components-calendar-cell-text-selected)}.day.is-today.range-start:hover,.day.is-today.range-end:hover{color:var(--components-calendar-cell-text-today)}.day.is-today::after{content:\"\";position:absolute;bottom:var(--spacing-1);left:50%;transform:translateX(-50%);width:var(--calendar-cell-dot-size);height:var(--calendar-cell-dot-size);background-color:currentColor;border-radius:50%}.day.is-today.selected::after{color:var(--components-calendar-cell-text-selected)}.day.is-today.selected::after::after{background-color:var(--components-calendar-cell-dot-selected)}.calendar-footer{display:flex;gap:var(--spacing-1);justify-content:flex-start;width:100%;flex-wrap:wrap}.footer-placement-left{justify-content:flex-start}.footer-placement-right{justify-content:flex-end}.footer-placement-center{justify-content:center}.datepicker-controls{display:flex;flex-direction:column;border-top:1px solid var(--components-calendar-border);padding:var(--calendar-controls-padding-top) var(--calendar-padding) var(--calendar-padding);gap:var(--calendar-grid-gap-y);margin-top:var(--calendar-controls-margin-top)}.datepicker-actions{display:flex;justify-content:flex-end;gap:var(--spacing-1);width:100%}.datepicker-actions slot-fb{display:contents !important}.calendar-footer+.datepicker-actions{margin-top:0}.shortcuts-placement-left,.shortcuts-placement-right{display:flex;flex-direction:column;gap:var(--spacing-1);margin-top:var(--spacing-4)}.shortcuts-placement-left{align-items:flex-end}.shortcuts-placement-right{align-items:flex-start}@keyframes slideLeft{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}@keyframes slideRight{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}";
|
|
8213
8186
|
const NvCalendarStyle0 = nvCalendarCss;
|
|
8214
8187
|
|
|
8215
8188
|
const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H {
|
|
@@ -8268,6 +8241,8 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8268
8241
|
this.showActions = false;
|
|
8269
8242
|
/** Cache for parsed disabled dates */
|
|
8270
8243
|
this.parsedDisabledDates = [];
|
|
8244
|
+
/** Flag to indicate a user click for selection */
|
|
8245
|
+
this.isUserClick = false;
|
|
8271
8246
|
//#endregion PROPERTIES
|
|
8272
8247
|
/****************************************************************************/
|
|
8273
8248
|
//#region STATE
|
|
@@ -8303,7 +8278,7 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8303
8278
|
}
|
|
8304
8279
|
// Navigate to the date if not prevented
|
|
8305
8280
|
const preventNavigation = this.el.getAttribute('data-prevent-navigation') === 'true';
|
|
8306
|
-
if (!preventNavigation) {
|
|
8281
|
+
if (!preventNavigation && !this.isUserClick) {
|
|
8307
8282
|
this.currentDate = parsedDate;
|
|
8308
8283
|
}
|
|
8309
8284
|
}
|
|
@@ -8331,7 +8306,7 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8331
8306
|
}
|
|
8332
8307
|
// Navigate to start date if not prevented
|
|
8333
8308
|
const preventNavigation = this.el.getAttribute('data-prevent-navigation') === 'true';
|
|
8334
|
-
if (!preventNavigation) {
|
|
8309
|
+
if (!preventNavigation && !this.isUserClick) {
|
|
8335
8310
|
this.currentDate = startDate;
|
|
8336
8311
|
}
|
|
8337
8312
|
}
|
|
@@ -8352,20 +8327,14 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8352
8327
|
*/
|
|
8353
8328
|
this.changeMonth = (offset) => {
|
|
8354
8329
|
const newDate = new Date(this.currentDate);
|
|
8355
|
-
//
|
|
8330
|
+
newDate.setUTCDate(1); // Set to the first of the month to avoid day-of-month issues
|
|
8356
8331
|
newDate.setUTCMonth(newDate.getUTCMonth() + offset);
|
|
8357
|
-
// Add the appropriate animation class
|
|
8358
8332
|
const containers = this.el.querySelectorAll('.calendar-grid');
|
|
8359
8333
|
containers.forEach(container => {
|
|
8360
|
-
// Remove existing animation classes
|
|
8361
8334
|
container.classList.remove('slide-left', 'slide-right');
|
|
8362
|
-
// Add the new animation class
|
|
8363
8335
|
const animationClass = offset > 0 ? 'slide-left' : 'slide-right';
|
|
8364
8336
|
container.classList.add(animationClass);
|
|
8365
|
-
|
|
8366
|
-
setTimeout(() => {
|
|
8367
|
-
container.classList.remove(animationClass);
|
|
8368
|
-
}, 300); // 300ms corresponds to $slide-duration in the SCSS
|
|
8337
|
+
setTimeout(() => container.classList.remove(animationClass), 300);
|
|
8369
8338
|
});
|
|
8370
8339
|
this.currentDate = newDate;
|
|
8371
8340
|
};
|
|
@@ -8377,12 +8346,16 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8377
8346
|
if (this.isDateDisabled(date)) {
|
|
8378
8347
|
return;
|
|
8379
8348
|
}
|
|
8349
|
+
this.isUserClick = true;
|
|
8380
8350
|
if (this.selectionType === 'single') {
|
|
8381
8351
|
this.handleSingleSelection(date);
|
|
8382
8352
|
}
|
|
8383
8353
|
else {
|
|
8384
8354
|
this.handleRangeSelection(date);
|
|
8385
8355
|
}
|
|
8356
|
+
requestAnimationFrame(() => {
|
|
8357
|
+
this.isUserClick = false;
|
|
8358
|
+
});
|
|
8386
8359
|
};
|
|
8387
8360
|
/**
|
|
8388
8361
|
* Handles single date selection
|
|
@@ -8525,12 +8498,15 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8525
8498
|
/**
|
|
8526
8499
|
* Generates the days of the current month
|
|
8527
8500
|
* @param {number} offset - Month offset (0 by default)
|
|
8528
|
-
* @param {number} totalCalendars - Number of calendars to display (1 by default)
|
|
8529
8501
|
* @returns {Array<{ dayOfMonth: number | null, date: Date | null, isSelected: boolean, isDisabled: boolean }>} Array of formatted days
|
|
8530
8502
|
*/
|
|
8531
8503
|
this.getDaysInMonth = (offset = 0) => {
|
|
8532
|
-
const
|
|
8533
|
-
|
|
8504
|
+
const baseMonth = this.currentDate.getUTCMonth();
|
|
8505
|
+
// Correctly calculate the year and month for the given offset
|
|
8506
|
+
const targetDate = new Date(this.currentDate);
|
|
8507
|
+
targetDate.setUTCMonth(baseMonth + offset);
|
|
8508
|
+
const year = targetDate.getUTCFullYear();
|
|
8509
|
+
const month = targetDate.getUTCMonth();
|
|
8534
8510
|
const firstDay = new Date(Date.UTC(year, month, 1));
|
|
8535
8511
|
const lastDay = new Date(Date.UTC(year, month + 1, 0));
|
|
8536
8512
|
const days = [];
|
|
@@ -8539,32 +8515,18 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8539
8515
|
const dayOfWeekIndex = firstDay.getUTCDay(); // 0 = Sunday, 1 = Monday, etc.
|
|
8540
8516
|
// Adjust based on firstDayOfWeek (if week starts on Monday, offset is different)
|
|
8541
8517
|
const offsetDays = (dayOfWeekIndex - this.firstDayOfWeek + 7) % 7;
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
isDisabled: this.isDateDisabled(date),
|
|
8555
|
-
});
|
|
8556
|
-
}
|
|
8557
|
-
}
|
|
8558
|
-
else {
|
|
8559
|
-
for (let i = 0; i < offsetDays; i++) {
|
|
8560
|
-
days.push({
|
|
8561
|
-
dayOfMonth: null,
|
|
8562
|
-
date: null,
|
|
8563
|
-
isCurrentMonth: false,
|
|
8564
|
-
isDisabled: true,
|
|
8565
|
-
});
|
|
8566
|
-
}
|
|
8567
|
-
}
|
|
8518
|
+
// Add padding days from the previous month
|
|
8519
|
+
for (let i = 0; i < offsetDays; i++) {
|
|
8520
|
+
const prevMonthDay = new Date(Date.UTC(year, month, 0)).getUTCDate();
|
|
8521
|
+
const date = new Date(Date.UTC(year, month - 1, prevMonthDay - offsetDays + 1 + i));
|
|
8522
|
+
days.push({
|
|
8523
|
+
dayOfMonth: date.getUTCDate(),
|
|
8524
|
+
date,
|
|
8525
|
+
isCurrentMonth: false,
|
|
8526
|
+
isDisabled: this.isDateDisabled(date),
|
|
8527
|
+
// Days from previous month are blank if not the first calendar
|
|
8528
|
+
isBlank: offset > 0,
|
|
8529
|
+
});
|
|
8568
8530
|
}
|
|
8569
8531
|
// Add the days of the current month
|
|
8570
8532
|
for (let i = 1; i <= lastDay.getUTCDate(); i++) {
|
|
@@ -8574,33 +8536,22 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8574
8536
|
date,
|
|
8575
8537
|
isCurrentMonth: true,
|
|
8576
8538
|
isDisabled: this.isDateDisabled(date),
|
|
8539
|
+
isBlank: false,
|
|
8577
8540
|
});
|
|
8578
8541
|
}
|
|
8579
|
-
|
|
8580
|
-
(this.numberOfCalendars > 1 && offset === this.numberOfCalendars - 1);
|
|
8581
|
-
// Add the days of the next month to fill the grid
|
|
8542
|
+
// Add padding days to fill the last week
|
|
8582
8543
|
const nextMonthDaysNeeded = 7 - (days.length % 7 || 7);
|
|
8583
8544
|
if (nextMonthDaysNeeded < 7) {
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
}
|
|
8594
|
-
}
|
|
8595
|
-
else {
|
|
8596
|
-
for (let i = 0; i < nextMonthDaysNeeded; i++) {
|
|
8597
|
-
days.push({
|
|
8598
|
-
dayOfMonth: null,
|
|
8599
|
-
date: null,
|
|
8600
|
-
isCurrentMonth: false,
|
|
8601
|
-
isDisabled: true,
|
|
8602
|
-
});
|
|
8603
|
-
}
|
|
8545
|
+
for (let i = 1; i <= nextMonthDaysNeeded; i++) {
|
|
8546
|
+
const date = new Date(Date.UTC(year, month + 1, i));
|
|
8547
|
+
days.push({
|
|
8548
|
+
dayOfMonth: i,
|
|
8549
|
+
date,
|
|
8550
|
+
isCurrentMonth: false,
|
|
8551
|
+
isDisabled: this.isDateDisabled(date),
|
|
8552
|
+
// Days from next month are blank if not the last calendar
|
|
8553
|
+
isBlank: offset < this.numberOfCalendars - 1,
|
|
8554
|
+
});
|
|
8604
8555
|
}
|
|
8605
8556
|
}
|
|
8606
8557
|
return days;
|
|
@@ -8637,12 +8588,25 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8637
8588
|
this.handleMonthChange = (event, calendarOffset = 0) => {
|
|
8638
8589
|
const select = event.target;
|
|
8639
8590
|
const selectedMonth = parseInt(select.value, 10);
|
|
8640
|
-
const currentMonth = this.currentDate.getUTCMonth();
|
|
8641
|
-
// Calculate the difference considering the calendar offset
|
|
8642
|
-
const monthDiff = selectedMonth - ((currentMonth + calendarOffset) % 12);
|
|
8643
8591
|
const newDate = new Date(this.currentDate);
|
|
8644
|
-
|
|
8645
|
-
|
|
8592
|
+
// Date for the calendar being changed
|
|
8593
|
+
const targetCalendarDate = new Date(newDate.toUTCString());
|
|
8594
|
+
targetCalendarDate.setUTCMonth(targetCalendarDate.getUTCMonth() + calendarOffset);
|
|
8595
|
+
const currentMonth = targetCalendarDate.getUTCMonth();
|
|
8596
|
+
let monthDiff = selectedMonth - currentMonth;
|
|
8597
|
+
// Smartly adjust for year change
|
|
8598
|
+
if (monthDiff > 6) {
|
|
8599
|
+
// e.g. from Jan to Dec, go back 1 month
|
|
8600
|
+
monthDiff -= 12;
|
|
8601
|
+
}
|
|
8602
|
+
if (monthDiff < -6) {
|
|
8603
|
+
// e.g. from Dec to Jan, go forward 1 month
|
|
8604
|
+
monthDiff += 12;
|
|
8605
|
+
}
|
|
8606
|
+
// Apply the diff to the original `currentDate`
|
|
8607
|
+
const finalDate = new Date(this.currentDate);
|
|
8608
|
+
finalDate.setUTCMonth(finalDate.getUTCMonth() + monthDiff);
|
|
8609
|
+
this.currentDate = finalDate;
|
|
8646
8610
|
};
|
|
8647
8611
|
/**
|
|
8648
8612
|
* Handles year change in the numeric entry
|
|
@@ -8654,9 +8618,10 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8654
8618
|
const year = parseInt(input.value, 10);
|
|
8655
8619
|
if (!isNaN(year) && year >= 1900 && year <= 2100) {
|
|
8656
8620
|
const newDate = new Date(this.currentDate);
|
|
8657
|
-
newDate.setUTCFullYear(year);
|
|
8658
8621
|
newDate.setUTCMonth(newDate.getUTCMonth() + calendarOffset);
|
|
8659
|
-
|
|
8622
|
+
newDate.setUTCFullYear(year);
|
|
8623
|
+
newDate.setUTCMonth(newDate.getUTCMonth() - calendarOffset);
|
|
8624
|
+
this.currentDate = new Date(newDate);
|
|
8660
8625
|
}
|
|
8661
8626
|
};
|
|
8662
8627
|
/**
|
|
@@ -8885,7 +8850,12 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8885
8850
|
for (let i = 0; i < days.length; i += 7) {
|
|
8886
8851
|
weeks.push(days.slice(i, i + 7));
|
|
8887
8852
|
}
|
|
8888
|
-
|
|
8853
|
+
// Add year and month to the key to force re-render on date change
|
|
8854
|
+
const targetDate = new Date(this.currentDate);
|
|
8855
|
+
targetDate.setUTCMonth(targetDate.getUTCMonth() + offset);
|
|
8856
|
+
const year = targetDate.getUTCFullYear();
|
|
8857
|
+
const month = targetDate.getUTCMonth();
|
|
8858
|
+
return (h$1("div", { class: "calendar-wrapper" }, h$1("div", { class: "calendar-container", key: `calendar-${index}-${year}-${month}` }, this.renderHeader(offset, index), h$1("div", { class: "calendar-grid" }, this.showWeekNumbers && this.renderWeekNumbers(weeks, index), h$1(CalendarGrid, { days: days, dayNames: this.getDayNames(), selectionType: this.selectionType, selectedDate: this.selectedDate, startDate: this.startDate, endDate: this.endDate, isUTCMode: this.isUTCMode, onDayClick: this.handleDateSelection, isDateInRange: this.isDateInRange, isToday: this.isToday }))), index < this.numberOfCalendars - 1 && (h$1("div", { class: "calendar-separator" }))));
|
|
8889
8859
|
};
|
|
8890
8860
|
/**
|
|
8891
8861
|
* Renders the shortcuts
|
|
@@ -8935,7 +8905,7 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8935
8905
|
this.endDate = endDate;
|
|
8936
8906
|
// Do not navigate to the start date if data-prevent-navigation attribute is present
|
|
8937
8907
|
const preventNavigation = this.el.getAttribute('data-prevent-navigation') === 'true';
|
|
8938
|
-
if (!preventNavigation) {
|
|
8908
|
+
if (!preventNavigation && !this.isUserClick) {
|
|
8939
8909
|
this.currentDate = startDate;
|
|
8940
8910
|
}
|
|
8941
8911
|
}
|
|
@@ -8963,7 +8933,7 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
8963
8933
|
this.selectedDate = parsedDate;
|
|
8964
8934
|
// Do not navigate to the selected date if data-prevent-navigation attribute is present
|
|
8965
8935
|
const preventNavigation = this.el.getAttribute('data-prevent-navigation') === 'true';
|
|
8966
|
-
if (!preventNavigation) {
|
|
8936
|
+
if (!preventNavigation && !this.isUserClick) {
|
|
8967
8937
|
this.currentDate = parsedDate;
|
|
8968
8938
|
}
|
|
8969
8939
|
}
|
|
@@ -9077,6 +9047,27 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
9077
9047
|
throw error; // Re-throw to let the caller handle it
|
|
9078
9048
|
}
|
|
9079
9049
|
}
|
|
9050
|
+
/**
|
|
9051
|
+
* Clears the current selection and resets the calendar to its initial state.
|
|
9052
|
+
* This method can be called programmatically to reset the calendar.
|
|
9053
|
+
*/
|
|
9054
|
+
async clear() {
|
|
9055
|
+
if (this.selectionType === 'single') {
|
|
9056
|
+
this.selectedDate = null;
|
|
9057
|
+
this.singleValue = '';
|
|
9058
|
+
this.value = '';
|
|
9059
|
+
this.singleDateChange.emit('');
|
|
9060
|
+
this.valueChanged.emit('');
|
|
9061
|
+
}
|
|
9062
|
+
else {
|
|
9063
|
+
this.startDate = null;
|
|
9064
|
+
this.endDate = null;
|
|
9065
|
+
this.rangeValue = { start: '', end: '' };
|
|
9066
|
+
this.value = '';
|
|
9067
|
+
this.rangeDateChange.emit({ start: '', end: '' });
|
|
9068
|
+
this.valueChanged.emit('');
|
|
9069
|
+
}
|
|
9070
|
+
}
|
|
9080
9071
|
/**
|
|
9081
9072
|
* Renders the datepicker
|
|
9082
9073
|
* @returns {JSX.Element} Datepicker
|
|
@@ -9084,8 +9075,8 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
9084
9075
|
* @slot default - Child content of the component.
|
|
9085
9076
|
*/
|
|
9086
9077
|
render() {
|
|
9087
|
-
return (h$1(Host$1, { key: '
|
|
9088
|
-
this.hasActions) && (h$1("div", { key: '
|
|
9078
|
+
return (h$1(Host$1, { key: '7abeb96312f2bcf26eed3a133ef59d5d3b5b528f' }, h$1("div", { key: 'e0b2db720853551e3b6445e92b39b418123cb83e', class: "datepicker-root" }, h$1("div", { key: '1a83c285278c440c4e33ae770a033974e4924830', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, h$1("div", { key: '3481fe780a3e1d8f0c1e22ffc82c3b7830721055', 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.shortcutsPlacement === 'bottom') ||
|
|
9079
|
+
this.hasActions) && (h$1("div", { key: '3a644bdc993142c181c45173756e362025d4a23a', class: "datepicker-controls" }, this.shortcutsPlacement === 'bottom' && this.renderShortcuts(), this.hasActions && this.renderActions())))), h$1("slot", { key: '4a4290ccf63429a9a88cfd95a33b4fdc34c8ef74' })));
|
|
9089
9080
|
}
|
|
9090
9081
|
get el() { return this; }
|
|
9091
9082
|
static get watchers() { return {
|
|
@@ -9116,7 +9107,8 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
9116
9107
|
"selectedDate": [32],
|
|
9117
9108
|
"startDate": [32],
|
|
9118
9109
|
"endDate": [32],
|
|
9119
|
-
"months": [32]
|
|
9110
|
+
"months": [32],
|
|
9111
|
+
"clear": [64]
|
|
9120
9112
|
}, undefined, {
|
|
9121
9113
|
"numberOfCalendars": ["validateNumberOfCalendars"],
|
|
9122
9114
|
"rangeValue": ["onRangeValueChange"],
|
|
@@ -9517,9 +9509,9 @@ const NvFieldtext$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldtext extends
|
|
|
9517
9509
|
/****************************************************************************/
|
|
9518
9510
|
//#region RENDER
|
|
9519
9511
|
render() {
|
|
9520
|
-
return (h$1(Host$1, { key: '
|
|
9521
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
9522
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
9512
|
+
return (h$1(Host$1, { key: '35382ab52aa48116fbedc7683aff4729f06f5969' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '6f849db1b7603fc4de4fb23075fd7daa72438dd2', htmlFor: this.inputId }, h$1("slot", { key: '24bc67fe3a8de24a8601a2cf3c5afd2532e17c4a', name: "label" }, this.label))), h$1("div", { key: '8ffd2d0f048082c71a76054842fffd22452b9ad2', class: "input-wrapper" }, h$1("slot", { key: '478020c16e29399dcc6566651f88acc8d88ef36d', name: "before-input" }), h$1("div", { key: '1aa0bac3947bdff209268619202ccc38da691761', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '369b5f0a4c4d1d16217ad5de9221273ece41e1f0', name: "leading-input" }), h$1("input", { key: '91446fe15f48f45693f56b3fd21926b8114c1dca', 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 }), h$1("slot", { key: '505a9ed004c4492f8daaef9a92bcaf344e2a10fb', name: "trailing-input" }), this.error && (h$1("nv-icon", { key: 'c1e9ecd4f901862391daa6c9f5c75d3c1b81810f', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '15a452bdbbb386a51e4fe51370bd09521cc6f47f', name: "circle-check", class: "validation", size: "md" }))), h$1("slot", { key: '7e7e3969dd6f3d1b80eab00ac966f7ba9f13895c', name: "after-input" })), (this.description ||
|
|
9513
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'b4ca95846a8fdf68e95d602968506bf009f9334f', class: "description" }, h$1("slot", { key: 'fce329e819b837318b2d9bf9e16a8ef886aa940a', name: "description" }, this.description))), (this.errorDescription ||
|
|
9514
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'c3800ac457b5f0f87a3bdf9e9e37a36f5905786c', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'f77d02598ba261bf2b48b16ecfa3fc15fe221599', name: "error-description" }, this.errorDescription)))));
|
|
9523
9515
|
}
|
|
9524
9516
|
static get formAssociated() { return true; }
|
|
9525
9517
|
get el() { return this; }
|
|
@@ -15167,13 +15159,13 @@ const NvFieldcheckbox$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldcheckbox
|
|
|
15167
15159
|
/****************************************************************************/
|
|
15168
15160
|
//#region RENDER
|
|
15169
15161
|
render() {
|
|
15170
|
-
return (h$1(Host$1, { key: '
|
|
15162
|
+
return (h$1(Host$1, { key: '46e0688340e1cda23f1fdbefb349fbaa8bb188f2', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("div", { key: '5769e3e61f69b7a9821864aab6338b13b46db4cc', class: "input-container" }, h$1("input", { key: '0acc841c8583ca1d0781135b95a038703b3be516', 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 => {
|
|
15171
15163
|
if (el) {
|
|
15172
15164
|
el.indeterminate = this.indeterminate;
|
|
15173
15165
|
}
|
|
15174
|
-
} }), h$1("span", { key: '
|
|
15175
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
15176
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
15166
|
+
} }), h$1("span", { key: 'a2bdc7fa16b4cb5e266c1666746f88b462ef6bbc', class: "icon" }, this.checked && !this.indeterminate && (h$1("slot", { key: 'aa00b58bb2fb2132b4b355568bbecafbf14d9536', name: "checked-icon" }, h$1("svg", { key: '3d7e92b03fc0ebc0676a5f5a011e0a5f16bb06d9', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: '28170c912acd9442af03c889afc10d348657a84b', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h$1("slot", { key: '790eca10b1eea865ecde7be45c00ae3bbf65132b', name: "indeterminate-icon" }, h$1("svg", { key: 'a00b2e00c2e2038dd1d67c43aef4f30e5d7a27e7', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: '6e7eb5f117a0244594392a52f932a91056093168', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h$1("slot", { key: '4c11bb2b8078adc0d7d5f3c52c2525bc836ad075' }), h$1("div", { key: '323cab79ca6e047df5482d75490ba7288eef5e27', class: "text-container" }, h$1("slot", { key: '5bc6845d98ee06117b97588e71467ce106e1ab60', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'ce639cb27b8ea446f2a0d73a36c3c9541bde9ab8', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: 'cd4b650b2f1b064b65211e90fdddff15b0d6f1f4', name: "label" }, this.label))), (this.description ||
|
|
15167
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '7de730e025d5eeae626bbe64125479dc9ebb4332', class: "description" }, h$1("slot", { key: '2c2f6343838ffff29e1e920ae927d89e9a63f02e', name: "description" }, this.description)))), (this.errorDescription ||
|
|
15168
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'b49fd559c3bf84e814da0093f9af64e62510725d', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'b15a968201d8ef5ea5e764beac553cf8ca0b87d3', name: "error-description" }, this.errorDescription))))));
|
|
15177
15169
|
}
|
|
15178
15170
|
static get formAssociated() { return true; }
|
|
15179
15171
|
get el() { return this; }
|
|
@@ -19246,6 +19238,27 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19246
19238
|
};
|
|
19247
19239
|
return formatMap[format] || 'dd/mm/yyyy';
|
|
19248
19240
|
}
|
|
19241
|
+
/**
|
|
19242
|
+
* Clears the current selection and resets the field to its initial state.
|
|
19243
|
+
* This method can be called programmatically to reset the field.
|
|
19244
|
+
*/
|
|
19245
|
+
async clear() {
|
|
19246
|
+
// Reset internal state
|
|
19247
|
+
this.singleValue = '';
|
|
19248
|
+
this.value = '';
|
|
19249
|
+
// Reset the input element value
|
|
19250
|
+
if (this.inputElement) {
|
|
19251
|
+
this.inputElement.value = '';
|
|
19252
|
+
// Remove the input mask and reinitialize if needed
|
|
19253
|
+
if (this.inputElement.inputmask) {
|
|
19254
|
+
this.inputElement.inputmask.remove();
|
|
19255
|
+
}
|
|
19256
|
+
}
|
|
19257
|
+
// Emit events to notify about the change
|
|
19258
|
+
this.valueChanged.emit('');
|
|
19259
|
+
// Close the popover if open
|
|
19260
|
+
this.open = false;
|
|
19261
|
+
}
|
|
19249
19262
|
//#endregion METHODS
|
|
19250
19263
|
/****************************************************************************/
|
|
19251
19264
|
//#region LIFECYCLE
|
|
@@ -19311,12 +19324,12 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19311
19324
|
/****************************************************************************/
|
|
19312
19325
|
//#region RENDER
|
|
19313
19326
|
render() {
|
|
19314
|
-
return (h$1(Host$1, { key: '
|
|
19315
|
-
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '
|
|
19327
|
+
return (h$1(Host$1, { key: '45af13d8290479c8ec171c0702d9d695c5047610' }, ((this.label && this.label.length > 0) ||
|
|
19328
|
+
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'd30403c879f8ca0449d8d25d22bb401ece876758', htmlFor: this.inputId }, h$1("slot", { key: 'aec155a914cff6b7ea8170dbd1f0d9ee4f35172e', name: "label" }, this.label))), h$1("nv-popover", { key: '522969535f2b8340f1a9b425c4ea6291fc65cb7e', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: 'eb1d5ab314fe654b3642afb22d9e3fbc340de969', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '6c28354e914075c36db9bee659d140669a745cab', name: "before-input" }), h$1("div", { key: '68d3aa4a8afcec4042a8930678cea7046f3e31d7', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: 'ed7ada6913a6735af622369236b5f521f2e96aad', name: "leading-input" }), h$1("input", { key: '49607b25253233665544e8e85db3814734280fe0', id: this.inputId, ref: this.setInputRef, placeholder: this.currentPlaceholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, "data-scope": "date" }), this.error && (h$1("nv-icon", { key: '35d06926d78f7c653fbf0424b59802fb4489004a', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '17ca631dca201fb412c921619223c1abc8777d2b', name: "circle-check", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: 'e08d735115cde3d22a657b986f4a7a5a0347d1af', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
|
|
19316
19329
|
,
|
|
19317
|
-
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: '
|
|
19318
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
19319
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
19330
|
+
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: '75cf593c7b9f2078f055522d6e43440dbe0cc522', name: "after-input" })), h$1("div", { key: '0df8cd2360a17f5cc786e6b29c67ded308c18104', slot: "content" }, h$1("nv-calendar", { key: '045a02370ef9dfe31ae3d0b2f702fafb25c7da8f', 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, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
|
|
19331
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'ecedbfe16857d9976349f3f3875be13f9ffc4b53', class: "description" }, h$1("slot", { key: 'e848d9e03e169c9ac57ce2fb7cdb00466f658c61', name: "description" }, this.description))), (this.errorDescription ||
|
|
19332
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '028b4d496ba3ee5eefa0107da8a62c771709a3ed', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: 'd3b79a0ae56ec7eb444c28985b1ffcfd8a4e36a1' })));
|
|
19320
19333
|
}
|
|
19321
19334
|
get el() { return this; }
|
|
19322
19335
|
static get watchers() { return {
|
|
@@ -19351,7 +19364,8 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19351
19364
|
"fluid": [516],
|
|
19352
19365
|
"singleValue": [32],
|
|
19353
19366
|
"currentPlaceholder": [32],
|
|
19354
|
-
"open": [32]
|
|
19367
|
+
"open": [32],
|
|
19368
|
+
"clear": [64]
|
|
19355
19369
|
}, [[0, "singleDateChange", "handleSingleDateChange"], [0, "closePopover", "handleClosePopover"], [0, "keydown", "handleKeyDown"]], {
|
|
19356
19370
|
"value": ["handleValueChange"]
|
|
19357
19371
|
}]);
|
|
@@ -19651,6 +19665,34 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
|
|
|
19651
19665
|
*/
|
|
19652
19666
|
updateCalendarValue() {
|
|
19653
19667
|
}
|
|
19668
|
+
/**
|
|
19669
|
+
* Clears the current selection and resets the date range field to its initial state.
|
|
19670
|
+
* This method can be called programmatically to reset the field.
|
|
19671
|
+
*/
|
|
19672
|
+
async clear() {
|
|
19673
|
+
// Reset internal state
|
|
19674
|
+
this.startValue = '';
|
|
19675
|
+
this.endValue = '';
|
|
19676
|
+
this.value = '';
|
|
19677
|
+
// Reset both input elements
|
|
19678
|
+
const inputs = this.el.querySelectorAll('.input-wrapper input');
|
|
19679
|
+
inputs.forEach((input) => {
|
|
19680
|
+
input.value = '';
|
|
19681
|
+
// Remove input mask if exists
|
|
19682
|
+
if (input.inputmask) {
|
|
19683
|
+
input.inputmask.remove();
|
|
19684
|
+
}
|
|
19685
|
+
});
|
|
19686
|
+
// Emit events to notify about the change
|
|
19687
|
+
this.valueChanged.emit('');
|
|
19688
|
+
this.dateRangeChange.emit({ start: '', end: '' });
|
|
19689
|
+
// Close the popover if open
|
|
19690
|
+
this.open = false;
|
|
19691
|
+
// Clear the calendar if it exists
|
|
19692
|
+
if (this.calendarElement) {
|
|
19693
|
+
this.calendarElement.clear();
|
|
19694
|
+
}
|
|
19695
|
+
}
|
|
19654
19696
|
//#endregion METHODS
|
|
19655
19697
|
/****************************************************************************/
|
|
19656
19698
|
//#region LIFECYCLE
|
|
@@ -19839,10 +19881,10 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
|
|
|
19839
19881
|
/****************************************************************************/
|
|
19840
19882
|
//#region RENDER
|
|
19841
19883
|
render() {
|
|
19842
|
-
return (h$1(Host$1, { key: '
|
|
19843
|
-
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '
|
|
19844
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
19845
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
19884
|
+
return (h$1(Host$1, { key: 'e2d5ce2c864dbc8ba478a1ce1353aa8e51e13ec1' }, ((this.label && this.label.length > 0) ||
|
|
19885
|
+
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '6e171200b763f8e7a907d305475bb7d4faa27979', htmlFor: this.startInputId }, h$1("slot", { key: '9f8b94e7491d4cd73e17f41ba290acda1fe73f3b', name: "label" }, this.label))), h$1("nv-popover", { key: '9bf5539eeceadb960c3438ddc05fe986f800d33b', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '58f7625d27c2266429ddc4f653d61efefed5bc66', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '206064a5c1be74082202849b96e46a8207377098', name: "before-input" }), h$1("div", { key: 'bd66fb676a5a749e17ede3f75c8a4404586c0c63', class: "input-container" }, h$1("slot", { key: '7c78a037f5189143ea32ca843e1c27b52d8f2d4b', name: "leading-input" }), h$1("div", { key: 'fbe89bc4502eca56e05029d65a45684484921433', class: "range-inputs" }, h$1("input", { key: '397e572e87dd7f01977008b44847469cabd06494', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h$1("div", { key: '378d2755919eafc9f4edd8ee451c01e49dc70cfe', class: "range-separator" }), h$1("input", { key: '2de8dcda3161667a543c04ae529a0f617f6598c6', 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, "data-scope": "date-range" })), this.error && (h$1("nv-icon", { key: '5880e135764a7f9f87d92a4f7a84eba9f56b7d46', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '5d764360d3dbfc306962cb9e4b67d7d3c4bc09ed', name: "circle-check", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: '1b09d57633f8e115cc3d92a82d35399c53be265b', 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: '7ec41f782b0343eeb427bee4d7f2ab1b549978b3', name: "after-input" })), h$1("div", { key: 'ea714333fe596af8a10c6f8a1e6c72935f8e5c91', slot: "content" }, h$1("nv-calendar", { key: 'ffaa70c5bc76c422396b233d3dc46fdeb2d06b10', ref: el => (this.calendarElement = el), dateFormat: this.dateFormat, value: this.value, 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", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
|
|
19886
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '7f4aa271c896234907d95cfe7660e1c41ab8ddf7', class: "description" }, h$1("slot", { key: 'fce93594f7af4d054f886ce3caf48cfffb6809aa', name: "description" }, this.description))), (this.errorDescription ||
|
|
19887
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'f5a19b5d4c90c4319dc4eb09d1067f202ab229c9', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: '1d494e4c192b38c26e8cfe5482516382cacc13c6' })));
|
|
19846
19888
|
}
|
|
19847
19889
|
get el() { return this; }
|
|
19848
19890
|
static get watchers() { return {
|
|
@@ -19881,7 +19923,8 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
|
|
|
19881
19923
|
"fluid": [516],
|
|
19882
19924
|
"startValue": [32],
|
|
19883
19925
|
"endValue": [32],
|
|
19884
|
-
"open": [32]
|
|
19926
|
+
"open": [32],
|
|
19927
|
+
"clear": [64]
|
|
19885
19928
|
}, [[0, "rangeDateChange", "handleRangeDateChange"], [0, "valueChanged", "handleCalendarValueChanged"], [0, "closePopover", "handleClosePopover"], [0, "applyDateRange", "handleApplyDateRange"], [0, "singleDateChange", "handleDateReset"], [0, "rangeDateChange", "handleDateReset"], [0, "keydown", "handleKeyDown"]], {
|
|
19886
19929
|
"value": ["handleValueChange"],
|
|
19887
19930
|
"open": ["onOpenChanged"]
|
|
@@ -19986,7 +20029,7 @@ const NvFielddropdownitem$2 = /*@__PURE__*/ proxyCustomElement(class NvFielddrop
|
|
|
19986
20029
|
/****************************************************************************/
|
|
19987
20030
|
//#region RENDER
|
|
19988
20031
|
render() {
|
|
19989
|
-
return (h$1(Host$1, { key: '
|
|
20032
|
+
return (h$1(Host$1, { key: '486800fafd79ee133a459521e84b06c538f5585e', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h$1("slot", { key: 'fd9c5c5aad8c585735ddbcaf0cb98ab26d89ec69' }), !this.composed && (h$1("div", { key: '145a6e02b2338f47235c3616a1af63bf5b0ea465', class: "text-wrapper" }, h$1("span", { key: 'bc013eaf7fe0d56c1d609c3fce846f25ef2cfbb3', "data-scope": "text" }, this.label))), this.selected && (h$1("nv-icon", { key: 'f7f6a4b2b27753d54eb92a77364329a29a3d6f08', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
|
|
19990
20033
|
}
|
|
19991
20034
|
get el() { return this; }
|
|
19992
20035
|
static get style() { return NvFielddropdownitemStyle0; }
|
|
@@ -20369,9 +20412,9 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
20369
20412
|
//#region RENDER
|
|
20370
20413
|
render() {
|
|
20371
20414
|
var _a;
|
|
20372
|
-
return (h$1(Host$1, { key: '
|
|
20373
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
20374
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
20415
|
+
return (h$1(Host$1, { key: '39025d9624475fa633e36c3ba44feed7f34f42e1', 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: '961a78a526a81e7fb0a219f1e46d6126880993db', htmlFor: this.inputId }, h$1("slot", { key: '9d6b7d6fa1cc80393f0e85819a437e8193bdf672', name: "label" }, this.label))), h$1("nv-popover", { key: '564fcf5fa2f263874b737fdf1bcc5a9aa9bc21d3', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '415ed0ee145ce9253380baed4a026afa018c59b7', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: 'ddbece3ddfa0bcd16a8587c4ee693f8c44b69356', name: "before-input" }), h$1("div", { key: '546fbc02d2051f47aea2a369ae479658c3c1d8dc', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '95bb574eeb43285f73fd731581d1426095f7538a', 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: '669c6b2e93a85789e747e3f384dfd7b940cda9a7', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (h$1("nv-icon", { key: '65f91d73115249ded5344e78f18ed7c37f8265b9', name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: '05644dcc1dfdbb0aa625b49484fab299b5b58894', "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: 'd84d1936300877825adc9c61cc7d9ba773b92194', name: "after-input" })), h$1("div", { key: 'de5e6bb6f3b40fed39cf90d046e8361dcb2a4d8f', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (h$1("ul", null, this.options.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 ||
|
|
20416
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '648b7fb9b7dade22d763f9afc468a4b48115a1a0', class: "description" }, h$1("slot", { key: 'b560fb630a56c3d42363c1b8f0fa494faefd00d6', name: "description" }, this.description))), (this.errorDescription ||
|
|
20417
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'bcb614617bb1183f33d20d51304d8ff17d9c7381', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '5345cb01032f24b0527bf22d77116a77bb439969', name: "error-description" }, this.errorDescription)))));
|
|
20375
20418
|
}
|
|
20376
20419
|
static get formAssociated() { return true; }
|
|
20377
20420
|
get el() { return this; }
|
|
@@ -20501,11 +20544,11 @@ const NvFielddropdownitemcheck$2 = /*@__PURE__*/ proxyCustomElement(class NvFiel
|
|
|
20501
20544
|
};
|
|
20502
20545
|
}
|
|
20503
20546
|
render() {
|
|
20504
|
-
return (h$1(Host$1, { key: '
|
|
20547
|
+
return (h$1(Host$1, { key: '82abe79dd061f60e380f033027f799121769f89e', onClick: this.handleClick }, h$1("nv-fieldcheckbox", { key: '505181c56faacb09e55c428d91287d96e1c3b72a', 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 }, h$1("slot", { key: '95a53b7d4ec735fd3256505b57e2a497b475f511' }), h$1("slot", { key: '137d5e2b3046417bbc90c0bd2dd10b846d1dfd53', name: "main" }), h$1("slot", { key: '47d4a73e401186b7bc7a18aaad82018f0ccc1e2f', name: "label" }), h$1("slot", { key: 'ff5c752d386c282635a97ad2bcb8858571aff7e9', name: "description" }))));
|
|
20505
20548
|
}
|
|
20506
20549
|
get el() { return this; }
|
|
20507
20550
|
static get style() { return NvFielddropdownitemcheckStyle0; }
|
|
20508
|
-
}, [
|
|
20551
|
+
}, [4, "nv-fielddropdownitemcheck", {
|
|
20509
20552
|
"checked": [1540],
|
|
20510
20553
|
"value": [513],
|
|
20511
20554
|
"label": [513],
|
|
@@ -20676,6 +20719,14 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20676
20719
|
this.resetFilter();
|
|
20677
20720
|
}
|
|
20678
20721
|
};
|
|
20722
|
+
/**
|
|
20723
|
+
* Clear the filter text
|
|
20724
|
+
*/
|
|
20725
|
+
this.clearFilterText = () => {
|
|
20726
|
+
this.filterText = '';
|
|
20727
|
+
this.filterTextChanged.emit('');
|
|
20728
|
+
this.resetFilter();
|
|
20729
|
+
};
|
|
20679
20730
|
/**
|
|
20680
20731
|
* Handle input blur for options mode.
|
|
20681
20732
|
*/
|
|
@@ -20684,9 +20735,9 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20684
20735
|
if (!this.el.contains(document.activeElement)) {
|
|
20685
20736
|
// Close the popover without affecting the divider
|
|
20686
20737
|
this.open = false;
|
|
20687
|
-
//
|
|
20738
|
+
// Clear filter text when focus is lost
|
|
20688
20739
|
if (this.filterable) {
|
|
20689
|
-
this.
|
|
20740
|
+
this.clearFilterText();
|
|
20690
20741
|
}
|
|
20691
20742
|
}
|
|
20692
20743
|
}, 150);
|
|
@@ -20802,9 +20853,9 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20802
20853
|
if (!this.el.contains(document.activeElement)) {
|
|
20803
20854
|
// Close the popover without affecting the divider
|
|
20804
20855
|
this.open = false;
|
|
20805
|
-
//
|
|
20856
|
+
// Clear filter text when focus is lost
|
|
20806
20857
|
if (this.filterable) {
|
|
20807
|
-
this.
|
|
20858
|
+
this.clearFilterText();
|
|
20808
20859
|
}
|
|
20809
20860
|
}
|
|
20810
20861
|
}, 150);
|
|
@@ -20835,14 +20886,14 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20835
20886
|
* @returns {any} The JSX for options mode
|
|
20836
20887
|
*/
|
|
20837
20888
|
this.renderOptionsMode = () => {
|
|
20838
|
-
return (h$1(Host$1, { "aria-label": this.label, "aria-expanded": this.open.toString() }, (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.value.length > 0 && (h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.value.length > 0, label: `${this.value.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.value.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.filterText, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown, "data-scope": "focusable" })) : (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, "data-scope": "focusable" }, h$1("span", null, 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: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, h$1("ul", { role: "content" }, this.options.map(option => (h$1("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.value.includes(option.value), disabled: option.disabled }))), h$1("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
|
|
20889
|
+
return (h$1(Host$1, { "aria-label": this.label, "aria-expanded": this.open.toString() }, (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.value.length > 0 && (h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.value.length > 0, label: `${this.value.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.value.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.filterText, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown, "data-scope": "focusable" })) : (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, "data-scope": "focusable" }, h$1("span", null, this.placeholder))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), this.filterable && this.filterText.length > 0 && (h$1("nv-iconbutton", { "data-scope": "clear-filter", name: "x", size: "md", emphasis: "lower", tabindex: "-1", onClick: this.clearFilterText, "aria-label": "Clear filter text" })), 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: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, h$1("ul", { role: "content" }, this.options.map(option => (h$1("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.value.includes(option.value), disabled: option.disabled }))), h$1("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
|
|
20839
20890
|
};
|
|
20840
20891
|
/**
|
|
20841
20892
|
* Renders the component in slots mode
|
|
20842
20893
|
* @returns {any} The JSX for slots mode
|
|
20843
20894
|
*/
|
|
20844
20895
|
this.renderSlotsMode = () => {
|
|
20845
|
-
return (h$1(Host$1, { "aria-label": this.label, "aria-expanded": this.open.toString() }, (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.value.length > 0 && (h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.value.length > 0, label: `${this.value.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.value.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.filterText, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown, "data-scope": "focusable" })) : (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, "data-scope": "focusable" }, h$1("span", null, 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: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, h$1("slot", { name: "content" }))), this.renderDescriptions()));
|
|
20896
|
+
return (h$1(Host$1, { "aria-label": this.label, "aria-expanded": this.open.toString() }, (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.value.length > 0 && (h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.value.length > 0, label: `${this.value.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.value.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.filterText, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown, "data-scope": "focusable" })) : (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, "data-scope": "focusable" }, h$1("span", null, this.placeholder))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), this.filterable && this.filterText.length > 0 && (h$1("nv-iconbutton", { name: "x", size: "md", emphasis: "lower", tabindex: "-1", onClick: this.clearFilterText, "aria-label": "Clear filter text" })), 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: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, h$1("slot", { name: "content" }))), this.renderDescriptions()));
|
|
20846
20897
|
};
|
|
20847
20898
|
}
|
|
20848
20899
|
//#endregion EVENTS
|
|
@@ -21690,9 +21741,9 @@ const NvFieldnumber$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldnumber ext
|
|
|
21690
21741
|
/****************************************************************************/
|
|
21691
21742
|
//#region RENDER
|
|
21692
21743
|
render() {
|
|
21693
|
-
return (h$1(Host$1, { key: '
|
|
21694
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
21695
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
21744
|
+
return (h$1(Host$1, { key: '0fcd74073e1c3f2c8de00c21e1ff782d4ed2fbe8' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'c4dc1dc4efd2150fb897f0602b07ab22643756e6', htmlFor: this.inputId }, h$1("slot", { key: 'a0aa360dd532e11fd0273c8ba8d5ded3adc45642', name: "label" }, this.label))), h$1("div", { key: 'c2ffeb70a8e5ffe43ec5061e035add48fd0f09a2', class: "input-wrapper" }, h$1("slot", { key: '62ef15b0961ae4af93940d3d2dd10fdb6a636d4d', name: "before-input" }), h$1("div", { key: '07be430ad207b6023ee969b7ad290d4946f4b6fe', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '69978ac5971a25cc8c0515250d741ac8a658c3bd', name: "leading-input" }), h$1("input", { key: '284f8da710438e470a26541b7cf72f89730ef3ab', 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 }), h$1("slot", { key: 'd028cd632cff77f592429e97a81a1d45aeec621d', name: "trailing-input" }), this.error && (h$1("nv-icon", { key: '7de629b71971559c647ba4ad4885815124bb63b3', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '135e609c2e568174db3503633f389c70a2fceaba', name: "circle-check", class: "validation", size: "md" })), h$1("div", { key: '17a952157f55ff65911d852a4274de5db4241508', class: "stepper" }, h$1("nv-iconbutton", { key: '33d0412ea6ed883d92b64363b404628d610e2339', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), h$1("nv-iconbutton", { key: '68bf536a5fe5bb0b3c2c3bd5508324c050cb8764', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), h$1("slot", { key: '3922a559b4ca954bee9caea379c940e7b132f65f', name: "after-input" })), (this.description ||
|
|
21745
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '8844bf48e0251717549d4e0079370fe2f590c616', class: "description" }, h$1("slot", { key: 'f35c77ffa2f01a66d72ef75a65c5c634b14bbdbc', name: "description" }, this.description))), (this.errorDescription ||
|
|
21746
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'ce407c77dd30a235c7691727480c911ad6128392', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '7ffb85e03e5a9a949f022398537c74a812b8a12f', name: "error-description" }, this.errorDescription)))));
|
|
21696
21747
|
}
|
|
21697
21748
|
static get formAssociated() { return true; }
|
|
21698
21749
|
get el() { return this; }
|
|
@@ -21859,9 +21910,9 @@ const NvFieldpassword$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldpassword
|
|
|
21859
21910
|
/****************************************************************************/
|
|
21860
21911
|
//#region RENDER
|
|
21861
21912
|
render() {
|
|
21862
|
-
return (h$1(Host$1, { key: '
|
|
21863
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
21864
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
21913
|
+
return (h$1(Host$1, { key: 'b8d142f5a35087f977437af4d2094783e455d9a0' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'f26d2c14ee03d1ef80fe263a1849c0da03a39a8c', htmlFor: this.inputId }, h$1("slot", { key: '13dfa9e681e1b5a7244e7debc7d1c1af36bedd37', name: "label" }, this.label))), h$1("div", { key: '5a01c9cc4573543e0d6633f9b8fadfa1ad6b066a', class: "input-wrapper" }, h$1("slot", { key: '2ff066ad5da2d3fe0885ccc1a0c97f9817ff4bbe', name: "before-input" }), h$1("div", { key: '429535a2b55ea4af5374067948f5be1d16898694', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '00d8fa3cd0e8af41f1b9c46cefc256a29187db9d', name: "leading-input" }), h$1("input", { key: '7aa5db4e17d62e3a9c10e8b5e2dabe224033b2da', 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: '0c919def4c580387d87a2f500a663f4dba5874cb', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h$1("nv-iconbutton", { key: '2b020de565c3311431c83c68a773731055c1c6c5', 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: '938de4d9c513e3aef3de1e9a108e69558843b466', name: "after-input" })), (this.description ||
|
|
21914
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '6150e4be7c79bf10a1a2db3b14334c4fd9d2396c', class: "description" }, h$1("slot", { key: 'de557936e4ed9e0798cbbb95f832fa6a831d63a9', name: "description" }, this.description))), (this.errorDescription ||
|
|
21915
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '74e43aa5f463f8156d44d261d5641c0aafccc5fc', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '4956c95a870964a712524fb30d26e9fd500edef8', name: "error-description" }, this.errorDescription)))));
|
|
21865
21916
|
}
|
|
21866
21917
|
static get formAssociated() { return true; }
|
|
21867
21918
|
get el() { return this; }
|
|
@@ -22011,9 +22062,9 @@ const NvFieldradio$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldradio exten
|
|
|
22011
22062
|
/****************************************************************************/
|
|
22012
22063
|
//#region RENDER
|
|
22013
22064
|
render() {
|
|
22014
|
-
return (h$1(Host$1, { key: '
|
|
22015
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
22016
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
22065
|
+
return (h$1(Host$1, { key: '5721fd4ffd6d8b1392e65d0b8eaea4dea241be63', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("input", { key: 'c54d8952edb57e34016a85ba2b6b9c7fc2a20a37', 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: 'e80c6c12fbf461776822185109e05aea5a6c954b', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '0f89b274c7ee7ea7d2e3116a004575176d044b5b', htmlFor: this.inputId }, h$1("slot", { key: '04b04fbc8ad5a199def48e728c74f13e7230414d', name: "label" }, this.label))), (this.description ||
|
|
22066
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'e5c5048c50d0089393a29f12eb09f0ae26aedcfc', class: "description" }, h$1("slot", { key: '6902044f273d508a79a66a3f185fc4a9ac48e94f', name: "description" }, this.description))), (this.errorDescription ||
|
|
22067
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '8d388b64deccd2f398485dfa0b83d70b8c50ae47', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'c5237272b97c754d2745eb62a85519f2c14dfb27', name: "error-description" }, this.errorDescription))))));
|
|
22017
22068
|
}
|
|
22018
22069
|
static get formAssociated() { return true; }
|
|
22019
22070
|
get el() { return this; }
|
|
@@ -22400,13 +22451,13 @@ const NvFieldselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldselect ext
|
|
|
22400
22451
|
* @returns {HTMLStencilElement} The HTML element to render.
|
|
22401
22452
|
*/
|
|
22402
22453
|
render() {
|
|
22403
|
-
return (h$1(Host$1, { key: '
|
|
22454
|
+
return (h$1(Host$1, { key: 'ff869c177289342a39ae292a530359af940a5669' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '10815f70059de9b1774ccc26b69d441d250e1833', htmlFor: this.inputId }, h$1("slot", { key: 'afe78cd3671151060fd1e2a37b77c164767908fa', name: "label" }, this.label))), h$1("div", { key: '064d8f512bc5f11831096d3a092afb00dcfeb1bc', class: "select-wrapper" }, h$1("slot", { key: 'c12d375bc5a558d25f1eb34343e2ad5fce784558', name: "before-input" }), h$1("div", { key: 'ffb39cfc0444edc49a4e2b6318990085009d7598', class: "select-container", onClick: this.handleSelectContainerClick }, h$1("slot", { key: 'd5fccac0e92fe0553b8478a6f5dc9be4591e8c23', name: "leading-input" }), this.internalReadonly && (h$1("input", { key: '94dc05d08de8120c78fa140df5eb3adc09ce97da', 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
|
|
22404
22455
|
? `${this.inputId}-error`
|
|
22405
|
-
: `${this.inputId}-description` })), h$1("select", { key: '
|
|
22456
|
+
: `${this.inputId}-description` })), h$1("select", { key: '85ffba58429aaa393cc9178e0866a61f85d92103', 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
|
|
22406
22457
|
? `${this.inputId}-error`
|
|
22407
|
-
: `${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: '
|
|
22408
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
22409
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
22458
|
+
: `${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: '694b0306ddaf671faea9dd863bb7f2917b567ffb', class: "select-icons" }, this.error && (h$1("nv-icon", { key: '4f86b0916dcbfefb24af5e5e2c0ca009ece6193b', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: 'f99ba37d4a70b7c352b4abb0be0b5eb85b4cc947', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (h$1("nv-iconbutton", { key: 'b152a3b110b0f780b29adcf1efb4aadf98cf81be', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), h$1("slot", { key: '63c6076165bae5d36732179c4a761d5b381076b5', name: "after-input" })), (this.description ||
|
|
22459
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'dd3e41b62290c580e050eb5a4742aabc7395cbda', class: "description", id: `${this.inputId}-description` }, h$1("slot", { key: '87bedab511a8b3d07d6616e4937342b6d272c5f3', name: "description" }, this.description))), (this.errorDescription ||
|
|
22460
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'd4cf69f5f2446fbbf8ed36910d89c3aa7ac2c826', class: "error-description", id: `${this.inputId}-error` }, h$1("slot", { key: '2fc8b58658bd406af834dcad378b3b00aca40b22', name: "error-description" }, this.errorDescription)))));
|
|
22410
22461
|
}
|
|
22411
22462
|
static get formAssociated() { return true; }
|
|
22412
22463
|
get el() { return this; }
|
|
@@ -23159,11 +23210,11 @@ const NvFieldslider$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldslider ext
|
|
|
23159
23210
|
/****************************************************************************/
|
|
23160
23211
|
//#region RENDER
|
|
23161
23212
|
render() {
|
|
23162
|
-
return (h$1(Host$1, { key: '
|
|
23213
|
+
return (h$1(Host$1, { key: '688357b41179bb99a662b8ea22f2beb7454b0d8c' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '7628e9ac0f304aa792f7c68f3e0b9b96d84583e0', htmlFor: this.startInputId }, h$1("slot", { key: 'd876dc0602df8badadcfdf435d68356d382c8b25', name: "label" }, this.label))), h$1("div", { key: '4aedd7863c3d06e4ad7dec800b14f858568bcb79', class: "slider-container" }, this.range ? (h$1(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 0, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : null, h$1("div", { key: '74d455d904614092ed51daf34f73425571b7ca24', class: "track-container" }, h$1("div", { key: 'a53a1e0f1770006fece64a87ca03a511d0e4dd9d', class: "track", onPointerDown: this.onTrackInteraction }, this.range ? (h$1(RangeThumb, { rangeValue: this.rangeValueInternal, rawRangePosition: this.rawRangePosition, activeDragThumb: this.activeDragThumb, isDragging: this.isDragging, snap: this.snap, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue })) : (h$1(SingleThumb, { value: this.valueInternal, min: this.min, max: this.max, step: this.step, rawPosition: this.rawPosition, isDragging: this.isDragging, snap: this.snap, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue }))), h$1(TickMarks, { key: 'aafdd02a87071f214d8710d6a0678ee01668609d', ticks: this.internalTicks, min: this.min, max: this.max })), this.range ? (h$1(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 1, inputId: this.endInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : (h$1(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name }))), (this.success ||
|
|
23163
23214
|
this.description ||
|
|
23164
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
23215
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '10eb3eb2f7a903af08419df8476c11e27e9e575e', class: "description" }, this.success && (h$1("nv-icon", { key: 'ee312f8f0563e6dc920e9cbf886784df8c57e719', name: "circle-check", class: "validation", size: "md" })), h$1("slot", { key: '4ee31b6914ebae20404acd582c27b38b5ad64700', name: "description" }, this.description))), (this.error ||
|
|
23165
23216
|
this.errorDescription ||
|
|
23166
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
23217
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'e37e44dea94b691cbac98d16fb74c5c5cb280c5e', class: "error-description", hidden: !this.error }, this.error && (h$1("nv-icon", { key: 'c1b403a4848fdcf0e9f51f37ec7454224562ed5c', name: "alert-circle", class: "validation", size: "md" })), h$1("slot", { key: '87db18643f9473ae30e936fc1a316de95f06c107', name: "error-description" }, this.errorDescription)))));
|
|
23167
23218
|
}
|
|
23168
23219
|
static get formAssociated() { return true; }
|
|
23169
23220
|
get el() { return this; }
|
|
@@ -23441,9 +23492,9 @@ const NvFieldtextarea$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtextarea
|
|
|
23441
23492
|
/****************************************************************************/
|
|
23442
23493
|
//#region RENDER
|
|
23443
23494
|
render() {
|
|
23444
|
-
return (h$1(Host$1, { key: '
|
|
23445
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
23446
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
23495
|
+
return (h$1(Host$1, { key: '2b054e4460ac1532cb2006feaa3930abc8e21505' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '5058a7c4a77a37336bcc58fd6b727f1f9564d7b2', htmlFor: this.inputId }, h$1("slot", { key: '0c5abb11d0c2377b702ae1614134e28e53a6e1e2', name: "label" }, this.label))), h$1("div", { key: 'e6d9981eaab913b3cf04fd99e0fbd07830fbebff', class: "textarea-wrapper" }, h$1("div", { key: '23392da0e927d2eb5720fa98499afd2fcb33d840', class: "textarea-container", onClick: this.handleTextareaContainerClick }, h$1("textarea", { key: '9b9521f4e033002ea346e3054118a114349dd7ee', 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 ||
|
|
23496
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '27411a39625e1f03bbe23ae52ceadb04ab0afd4e', class: "description" }, h$1("slot", { key: '56a5e1a95376899525911e096ded708a4987711d', name: "description" }, this.description))), (this.errorDescription ||
|
|
23497
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '2336848d28c0d67c95607da5bcab3348c4c15e0a', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'a200628a9ed75402395e415eab743afddf0a5d27', name: "error-description" }, this.errorDescription)))));
|
|
23447
23498
|
}
|
|
23448
23499
|
static get formAssociated() { return true; }
|
|
23449
23500
|
get el() { return this; }
|
|
@@ -23512,7 +23563,7 @@ function startsWithIgnoreCase(str, prefix) {
|
|
|
23512
23563
|
return str.toLowerCase().startsWith(prefix.toLowerCase());
|
|
23513
23564
|
}
|
|
23514
23565
|
|
|
23515
|
-
const nvFieldtimeCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldtime{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fieldtime[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldtime[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fieldtime[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fieldtime[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:700}nv-fieldtime label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;line-height:var(--form-label-line-height)}nv-fieldtime nv-popover{width:100%;display:block}nv-fieldtime nv-popover [data-scope=popover]{padding:var(--list-dropdown-padding);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border);width:100%}nv-fieldtime .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fieldtime .input-container{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%;min-height:40px;gap:0;padding-left:var(--form-field-padding-x)}nv-fieldtime .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fieldtime .input-container:focus-within,nv-fieldtime .input-container:focus-within:hover,nv-fieldtime .input-container:focus,nv-fieldtime .input-container:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldtime .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldtime .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldtime .input-container input.time-input{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:500;line-height:var(--form-field-line-height);width:100%;width:100%;min-width:24px;flex:0 0 24px;text-align:center;padding:0;margin:0}nv-fieldtime .input-container input.time-input:focus{outline:none}nv-fieldtime .input-container input.time-input::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:400;line-height:var(--form-field-line-height)}nv-fieldtime .input-container input.time-input[type=password]::-ms-clear,nv-fieldtime .input-container input.time-input[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fieldtime .input-container input.time-input::-webkit-inner-spin-button,nv-fieldtime .input-container input.time-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}nv-fieldtime .input-container span{width:100%;text-align:center;min-width:24px;flex:0 0 24px;padding:0 4px;color:var(--components-form-field-content-text)}nv-fieldtime .input-container>nv-iconbutton{border:0px;border-radius:0px;margin-left:auto}nv-fieldtime .input-container>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fieldtime .input-container nv-icon.validation{color:var(--nv-field-border-default);position:absolute;right:50px;top:50%;transform:translateY(-50%)}nv-fieldtime .input-container:focus,nv-fieldtime .input-container:focus-within{border-color:var(--color-focus-brand);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--color-focus-brand)}nv-fieldtime .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldtime .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}nv-fieldtime hr{border:none;border-top:1px solid var(--dropdown-divider-color, #ccc);margin:0.5rem 0}nv-fieldtime .time-dropdown{width:100%}nv-fieldtime .time-dropdown .time-columns{display:flex;justify-content:flex-start;align-items:center}nv-fieldtime .time-dropdown .time-columns .time-column{flex:1;text-align:center;padding-right:2px;max-height:200px;overflow-y:auto;scroll-behavior:smooth;scrollbar-gutter:stable both-edges}nv-fieldtime .time-dropdown .time-columns .time-column::-webkit-scrollbar{width:6px;height:6px}nv-fieldtime .time-dropdown .time-columns .time-column::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fieldtime .time-dropdown .time-columns .time-column::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fieldtime .time-dropdown .time-columns .time-column:last-child{border-right:none}nv-fieldtime .time-dropdown .time-columns .time-column .time-option{padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);text-align:center;cursor:pointer;transition:background-color 0.2s;height:40px;border-radius:var(--list-dropdown-item-radius);display:flex;justify-content:center;align-items:center}nv-fieldtime .time-dropdown .time-columns .time-column .time-option:hover{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-list-dropdown-item-label-hover)}nv-fieldtime .time-dropdown .time-columns .time-column .time-option:focus,nv-fieldtime .time-dropdown .time-columns .time-column .time-option:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-list-dropdown-item-label-hover)}nv-fieldtime .time-dropdown .time-columns .time-column .time-option.selected{background-color:var(--components-list-dropdown-item-background-active);color:var(--components-list-dropdown-item-label-active);border-width:1px;border-style:solid;border-color:var(--components-list-dropdown-item-border-active)}nv-fieldtime .time-dropdown .time-columns .time-column .time-option.highlighted{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}";
|
|
23566
|
+
const nvFieldtimeCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldtime{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fieldtime[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldtime[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fieldtime[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fieldtime[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:700}nv-fieldtime label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;line-height:var(--form-label-line-height)}nv-fieldtime nv-popover{width:100%;display:block}nv-fieldtime nv-popover [data-scope=popover]{padding:var(--list-dropdown-padding);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border);width:100%}nv-fieldtime .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fieldtime .input-container{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%;min-height:40px;gap:0;padding-left:var(--form-field-padding-x)}nv-fieldtime .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fieldtime .input-container:focus-within,nv-fieldtime .input-container:focus-within:hover,nv-fieldtime .input-container:focus,nv-fieldtime .input-container:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldtime .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldtime .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldtime .input-container input.time-input{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:500;line-height:var(--form-field-line-height);width:100%;width:100%;min-width:24px;flex:0 0 24px;text-align:center;padding:0;margin:0}nv-fieldtime .input-container input.time-input:focus{outline:none}nv-fieldtime .input-container input.time-input::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:400;line-height:var(--form-field-line-height)}nv-fieldtime .input-container input.time-input[type=password]::-ms-clear,nv-fieldtime .input-container input.time-input[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fieldtime .input-container input.time-input::-webkit-inner-spin-button,nv-fieldtime .input-container input.time-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}nv-fieldtime .input-container span{width:100%;text-align:center;min-width:24px;flex:0 0 24px;padding:0 4px;color:var(--components-form-field-content-text)}nv-fieldtime .input-container>nv-iconbutton{border:0px;border-radius:0px;margin-left:auto}nv-fieldtime .input-container>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fieldtime .input-container nv-icon.validation{color:var(--nv-field-border-default);position:absolute;right:50px;top:50%;transform:translateY(-50%)}nv-fieldtime .input-container:focus,nv-fieldtime .input-container:focus-within{border-color:var(--color-focus-brand);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--color-focus-brand)}nv-fieldtime .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldtime .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}nv-fieldtime hr{border:none;border-top:1px solid var(--dropdown-divider-color, #ccc);margin:0.5rem 0}nv-fieldtime .time-dropdown{width:100%}nv-fieldtime .time-dropdown .time-columns{display:flex;justify-content:flex-start;align-items:center}nv-fieldtime .time-dropdown .time-columns .time-column{flex:1;text-align:center;max-height:200px;overflow-y:auto;scroll-behavior:smooth;scrollbar-gutter:stable both-edges;scrollbar-gutter:auto}nv-fieldtime .time-dropdown .time-columns .time-column::-webkit-scrollbar{width:6px;height:6px}nv-fieldtime .time-dropdown .time-columns .time-column::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fieldtime .time-dropdown .time-columns .time-column::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fieldtime .time-dropdown .time-columns .time-column:last-child{border-right:none}nv-fieldtime .time-dropdown .time-columns .time-column .time-option{padding:var(--calendar-padding);text-align:center;cursor:pointer;transition:background-color 0.2s;border-radius:var(--list-dropdown-item-radius);color:var(--components-calendar-cell-text);font-size:var(--font-size-sm);display:flex;justify-content:center;align-items:center}nv-fieldtime .time-dropdown .time-columns .time-column .time-option:hover{background-color:var(--components-calendar-cell-background-hover);color:var(--components-calendar-cell-text-hover)}nv-fieldtime .time-dropdown .time-columns .time-column .time-option:focus,nv-fieldtime .time-dropdown .time-columns .time-column .time-option:focus-within{background-color:var(--components-calendar-cell-background-hover);color:var(--components-calendar-cell-text-hover)}nv-fieldtime .time-dropdown .time-columns .time-column .time-option.selected{background-color:var(--components-calendar-cell-background-selected);color:var(--components-calendar-cell-text-selected)}nv-fieldtime .time-dropdown .time-columns .time-column .time-option.highlighted{background-color:var(--components-calendar-cell-background-hover);color:var(--components-menu-contextual-item-content-hover)}";
|
|
23516
23567
|
const NvFieldtimeStyle0 = nvFieldtimeCss;
|
|
23517
23568
|
|
|
23518
23569
|
const NvFieldtime$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtime extends H {
|
|
@@ -24476,26 +24527,26 @@ const NvFieldtime$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtime extends
|
|
|
24476
24527
|
}, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
24477
24528
|
}
|
|
24478
24529
|
render() {
|
|
24479
|
-
return (h$1(Host$1, { key: '
|
|
24480
|
-
h$1("input", { key: '
|
|
24530
|
+
return (h$1(Host$1, { key: 'a8d08a4dac97430398e3f769f353e91ef08de9c0', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'e7d4a858f6194f085144fd59894ad54220a17a03', htmlFor: this.inputId }, h$1("slot", { key: '69901d62cdd32e3d7d1efe14066ef5ab42eed0d5', name: "label" }, this.label))), h$1("nv-popover", { key: '2541a920b4ce7b98515c58867ab1ab25d9cace9d', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '2f501df272714fd912b0d0981c27db89b46ae424', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: '41ee670692e5facaa0ddd065a2a79a66825d207b', name: "before-input" }), h$1("div", { key: '24e41277073946b78ae4d1f8f38173045e699845', class: "input-container" }, h$1("slot", { key: '6db3ce5df588697b9183225be3b603a3b51a156f', name: "leading-input" }), startsWithIgnoreCase(this.format, 'HH') && [
|
|
24531
|
+
h$1("input", { key: 'ee093f322342ac3572ad76c48ebc2ecbed63ac01', 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
|
|
24481
24532
|
? `${TimeType.Hours}-${this.name}`
|
|
24482
24533
|
: TimeType.Hours, id: this.inputId, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
24483
24534
|
], this.format.includes('mm') && [
|
|
24484
|
-
h$1("span", { key: '
|
|
24485
|
-
h$1("input", { key: '
|
|
24535
|
+
h$1("span", { key: '9cec44d707277c298ba7a70934e1593a12207799' }, ":"),
|
|
24536
|
+
h$1("input", { key: '2acaf3b143f0f5e9e04005213bdfe9ea5334bf53', 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
|
|
24486
24537
|
? `${TimeType.Minutes}-${this.name}`
|
|
24487
24538
|
: TimeType.Minutes, id: `${this.inputId}-minutes`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
24488
24539
|
], this.format.includes('ss') && [
|
|
24489
|
-
h$1("span", { key: '
|
|
24490
|
-
h$1("input", { key: '
|
|
24540
|
+
h$1("span", { key: '07e0b374bdcad92339c4ddc10d71cc963a8a71ff' }, ":"),
|
|
24541
|
+
h$1("input", { key: '84838544717af0bc967258d91fbee2748072be4f', 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
|
|
24491
24542
|
? `${TimeType.Seconds}-${this.name}`
|
|
24492
24543
|
: TimeType.Seconds, id: `${this.inputId}-seconds`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
24493
|
-
], h$1("nv-iconbutton", { key: '
|
|
24544
|
+
], h$1("nv-iconbutton", { key: 'ec8d0d5c7eb9aa720deef07f23c712287246f3a8', name: 'clock', 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: 'dbef458469153ef93ad94903a2bcf439f6243d40', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h$1("nv-icon", { key: '3dfb5e5b32dc91ebe53502f9117f628ae79bf57c', name: "circle-check", class: "validation", size: "sm" }))), h$1("slot", { key: '744e72f9c7828f8487f58265dac564670ba26329', name: "after-input" })), h$1("div", { key: '72dc9823125b9109bc27e049936007e796a97a06', class: "time-dropdown", slot: "content" }, h$1("div", { key: '1b1f8241a25500cf9ce22ebea20becd6882760cc', class: "time-columns" }, startsWithIgnoreCase(this.format, 'HH') &&
|
|
24494
24545
|
this.RenderTimeOptionsColumn(TimeType.Hours), this.format.includes('mm') &&
|
|
24495
24546
|
this.RenderTimeOptionsColumn(TimeType.Minutes), this.format.includes('ss') &&
|
|
24496
24547
|
this.RenderTimeOptionsColumn(TimeType.Seconds)))), (this.description ||
|
|
24497
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
24498
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
24548
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '57985d7f2626853a24db80d56607b5453b00b6c9', class: "description" }, h$1("slot", { key: 'ba3383c066c6bcac3b1e6183b84528723de9cddc', name: "description" }, this.description))), (this.errorDescription ||
|
|
24549
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '6f02373e082fcc7e34e0d35441783122cd7c0266', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '43508d63829f53f5b5c718f1a112abbe5919b900', name: "error-description" }, this.errorDescription)))));
|
|
24499
24550
|
}
|
|
24500
24551
|
static get formAssociated() { return true; }
|
|
24501
24552
|
get el() { return this; }
|
|
@@ -24621,7 +24672,7 @@ const NvMenuitem$2 = /*@__PURE__*/ proxyCustomElement(class NvMenuitem extends H
|
|
|
24621
24672
|
/****************************************************************************/
|
|
24622
24673
|
//#region RENDER
|
|
24623
24674
|
render() {
|
|
24624
|
-
return (h$1(Host$1, { key: '
|
|
24675
|
+
return (h$1(Host$1, { key: '327165c89f4e5decf8dc4b7b28e18562e528056d', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h$1("nv-icon", { key: '4247d922bca3797dc3f2917218749a8d3c038df1', name: this.icon }), h$1("slot", { key: '1f81464ccf47a5bd918873ef70d3d3385e870638' }), this.label && h$1("span", { key: '113358a0cacfa53710ec0049a8e1c5e981de5b15', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h$1("kbd", { key: 'ee7c773b89bf1f55876cf297600247883cd54937' }, this.shortcut), this.hasSubmenu && h$1("nv-icon", { key: '70cbe2df51d9fbffe3b474b54e87aa06801acef7', name: "chevron-right" })));
|
|
24625
24676
|
}
|
|
24626
24677
|
get el() { return this; }
|
|
24627
24678
|
static get style() { return NvMenuitemStyle0; }
|
|
@@ -24845,7 +24896,7 @@ const NvMenu$1 = /*@__PURE__*/ proxyCustomElement(class NvMenu extends H {
|
|
|
24845
24896
|
});
|
|
24846
24897
|
}
|
|
24847
24898
|
render() {
|
|
24848
|
-
return (h$1(Host$1, { key: '
|
|
24899
|
+
return (h$1(Host$1, { key: '25e38953e8d6e4c591087f3964822eed76cd3775' }, h$1("slot", { key: 'f6ad4e16d740129dc296a3e0b2c5dffdd063b182', name: "trigger" }), h$1("nv-popover", { key: 'c355356a877bb0cedfd69bfaf4e724c06612c1e5', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.items ? (h$1("ul", { slot: "content" }, this.renderMenuItems())) : (h$1("slot", { name: "content" })))));
|
|
24849
24900
|
}
|
|
24850
24901
|
get el() { return this; }
|
|
24851
24902
|
static get style() { return NvMenuStyle0; }
|
|
@@ -24913,7 +24964,7 @@ const NvRow$1 = /*@__PURE__*/ proxyCustomElement(class NvRow extends H {
|
|
|
24913
24964
|
/****************************************************************************/
|
|
24914
24965
|
//#region RENDER
|
|
24915
24966
|
render() {
|
|
24916
|
-
return (h$1(Host$1, { key: '
|
|
24967
|
+
return (h$1(Host$1, { key: 'daad5f10b72b95468ac50a3deab7faf87769be42' }, h$1("slot", { key: '16509b69358739997fe97a45ea9476f30682de2b' })));
|
|
24917
24968
|
}
|
|
24918
24969
|
static get style() { return NvRowStyle0; }
|
|
24919
24970
|
}, [4, "nv-row"]);
|
|
@@ -24954,7 +25005,7 @@ const NvStack$1 = /*@__PURE__*/ proxyCustomElement(class NvStack extends H {
|
|
|
24954
25005
|
/****************************************************************************/
|
|
24955
25006
|
//#region RENDER
|
|
24956
25007
|
render() {
|
|
24957
|
-
return (h$1(Host$1, { key: '
|
|
25008
|
+
return (h$1(Host$1, { key: '0a93c321e46c7e17ac0efe09556ee4447fec5f74', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h$1("slot", { key: 'faf55f3f579311c333e1ea66f1a19ace98594377' })));
|
|
24958
25009
|
}
|
|
24959
25010
|
static get style() { return NvStackStyle0; }
|
|
24960
25011
|
}, [4, "nv-stack", {
|
|
@@ -25293,14 +25344,14 @@ const NvTable$1 = /*@__PURE__*/ proxyCustomElement(class NvTable extends H {
|
|
|
25293
25344
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
25294
25345
|
? []
|
|
25295
25346
|
: this.table.data;
|
|
25296
|
-
return (h$1(Host$1, { key: '
|
|
25347
|
+
return (h$1(Host$1, { key: 'a389cee4e6b29cdb852b8b6c0f8fd39926474525' }, h$1("div", { key: 'ea7629bc0cba0ec1cbe59f6f03ac2527095d9abb', class: "hidden" }, h$1("slot", { key: 'b070a8e7f54fd3846744bb659447b97547d1c7cf' })), h$1("slot", { key: 'b0eb0a2d7c98073e88282b1e2e513b9e6a335345', 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 &&
|
|
25297
25348
|
headerGroups.map(col => {
|
|
25298
25349
|
return (h$1("th", { key: col.name }, this.renderTemplate(this.headerTemplateCache.get(col.name), {}) || col.header));
|
|
25299
25350
|
})))), 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 => {
|
|
25300
25351
|
var _a;
|
|
25301
25352
|
return (h$1("td", null, this.renderTemplate(this.templateCache.get(col.name), row) ||
|
|
25302
25353
|
((_a = row[col.name]) !== null && _a !== void 0 ? _a : this.fallbackValue)));
|
|
25303
|
-
})))))))), h$1("slot", { key: '
|
|
25354
|
+
})))))))), h$1("slot", { key: '599e4c1663c3a80375e3c511358be381b06eec2f', name: "after" })));
|
|
25304
25355
|
}
|
|
25305
25356
|
get el() { return this; }
|
|
25306
25357
|
static get watchers() { return {
|
|
@@ -25443,8 +25494,8 @@ const NvToggle$1 = /*@__PURE__*/ proxyCustomElement(class NvToggle extends H {
|
|
|
25443
25494
|
/****************************************************************************/
|
|
25444
25495
|
//#region RENDER
|
|
25445
25496
|
render() {
|
|
25446
|
-
return (h$1(Host$1, { key: '
|
|
25447
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
25497
|
+
return (h$1(Host$1, { key: '7aac2ef8519d5c033a0e74461755e2286420032a', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h$1("div", { key: 'fb0f560aff50b9d3c2b75ba2b59dd68012f5af10', class: "input-container" }, h$1("input", { key: '61ff98c20dec0822979f04ad3b3316fc3caac31f', 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: '543ad351428f6ae60e94bd31e3a7a6922c02e5d4', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '42f764c9c4454cf5b8b1fa88c2c43654170a5222', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: '125247eeea72b68de829f36ad817a4381541ad07', name: "label" }, this.label))), (this.description ||
|
|
25498
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'a2fcd0d39a8f555e7d6b64879e84ff7f011e4901', class: "description" }, h$1("slot", { key: '4e7af6b6a0a25fcb4d9529dcb1a32cb7c928c7de', name: "description" }, this.description))))));
|
|
25448
25499
|
}
|
|
25449
25500
|
static get formAssociated() { return true; }
|
|
25450
25501
|
get el() { return this; }
|
|
@@ -25503,7 +25554,7 @@ const NvAccordion = r({
|
|
|
25503
25554
|
tagName: 'nv-accordion',
|
|
25504
25555
|
elementClass: NvAccordion$2,
|
|
25505
25556
|
react: React,
|
|
25506
|
-
events: {
|
|
25557
|
+
events: { onOpenChanged: 'openChanged' },
|
|
25507
25558
|
defineCustomElement: defineCustomElement$S
|
|
25508
25559
|
});
|
|
25509
25560
|
const NvAccordionItem = r({
|
|
@@ -25894,159 +25945,159 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
25894
25945
|
case 'nv-accordion':
|
|
25895
25946
|
return Promise.resolve().then(function () { return require(
|
|
25896
25947
|
/* webpackMode: "lazy" */
|
|
25897
|
-
'./nv-accordion.entry-
|
|
25948
|
+
'./nv-accordion.entry-1dHBq_qo.js'); }).then(processMod, consoleError);
|
|
25898
25949
|
case 'nv-alert':
|
|
25899
25950
|
return Promise.resolve().then(function () { return require(
|
|
25900
25951
|
/* webpackMode: "lazy" */
|
|
25901
|
-
'./nv-alert.entry-
|
|
25952
|
+
'./nv-alert.entry-6J-BEBxl.js'); }).then(processMod, consoleError);
|
|
25902
25953
|
case 'nv-avatar':
|
|
25903
25954
|
return Promise.resolve().then(function () { return require(
|
|
25904
25955
|
/* webpackMode: "lazy" */
|
|
25905
|
-
'./nv-avatar.entry-
|
|
25956
|
+
'./nv-avatar.entry-Lav6aVEw.js'); }).then(processMod, consoleError);
|
|
25906
25957
|
case 'nv-breadcrumb':
|
|
25907
25958
|
return Promise.resolve().then(function () { return require(
|
|
25908
25959
|
/* webpackMode: "lazy" */
|
|
25909
|
-
'./nv-breadcrumb.entry-
|
|
25960
|
+
'./nv-breadcrumb.entry-BKoLlkWC.js'); }).then(processMod, consoleError);
|
|
25910
25961
|
case 'nv-breadcrumbs':
|
|
25911
25962
|
return Promise.resolve().then(function () { return require(
|
|
25912
25963
|
/* webpackMode: "lazy" */
|
|
25913
|
-
'./nv-breadcrumbs.entry-
|
|
25964
|
+
'./nv-breadcrumbs.entry-BdGgzdxC.js'); }).then(processMod, consoleError);
|
|
25914
25965
|
case 'nv-col':
|
|
25915
25966
|
return Promise.resolve().then(function () { return require(
|
|
25916
25967
|
/* webpackMode: "lazy" */
|
|
25917
|
-
'./nv-col.entry-
|
|
25968
|
+
'./nv-col.entry-C3IgKfxS.js'); }).then(processMod, consoleError);
|
|
25918
25969
|
case 'nv-datagrid':
|
|
25919
25970
|
return Promise.resolve().then(function () { return require(
|
|
25920
25971
|
/* webpackMode: "lazy" */
|
|
25921
|
-
'./nv-datagrid.entry-
|
|
25972
|
+
'./nv-datagrid.entry-Bh1mgk8D.js'); }).then(processMod, consoleError);
|
|
25922
25973
|
case 'nv-datagridcolumn':
|
|
25923
25974
|
return Promise.resolve().then(function () { return require(
|
|
25924
25975
|
/* webpackMode: "lazy" */
|
|
25925
|
-
'./nv-datagridcolumn.entry-
|
|
25976
|
+
'./nv-datagridcolumn.entry-DopvtY6C.js'); }).then(processMod, consoleError);
|
|
25926
25977
|
case 'nv-dialog':
|
|
25927
25978
|
return Promise.resolve().then(function () { return require(
|
|
25928
25979
|
/* webpackMode: "lazy" */
|
|
25929
|
-
'./nv-dialog.entry-
|
|
25980
|
+
'./nv-dialog.entry-D8oF5B-9.js'); }).then(processMod, consoleError);
|
|
25930
25981
|
case 'nv-fielddate':
|
|
25931
25982
|
return Promise.resolve().then(function () { return require(
|
|
25932
25983
|
/* webpackMode: "lazy" */
|
|
25933
|
-
'./nv-fielddate.entry-
|
|
25984
|
+
'./nv-fielddate.entry-BIuQgdYW.js'); }).then(processMod, consoleError);
|
|
25934
25985
|
case 'nv-fielddaterange':
|
|
25935
25986
|
return Promise.resolve().then(function () { return require(
|
|
25936
25987
|
/* webpackMode: "lazy" */
|
|
25937
|
-
'./nv-fielddaterange.entry-
|
|
25988
|
+
'./nv-fielddaterange.entry-C82h1WUR.js'); }).then(processMod, consoleError);
|
|
25938
25989
|
case 'nv-fielddropdown':
|
|
25939
25990
|
return Promise.resolve().then(function () { return require(
|
|
25940
25991
|
/* webpackMode: "lazy" */
|
|
25941
|
-
'./nv-fielddropdown.entry-
|
|
25992
|
+
'./nv-fielddropdown.entry-CWqg8M3_.js'); }).then(processMod, consoleError);
|
|
25942
25993
|
case 'nv-fieldmultiselect':
|
|
25943
25994
|
return Promise.resolve().then(function () { return require(
|
|
25944
25995
|
/* webpackMode: "lazy" */
|
|
25945
|
-
'./nv-fieldmultiselect.entry-
|
|
25996
|
+
'./nv-fieldmultiselect.entry-CAdWlUw2.js'); }).then(processMod, consoleError);
|
|
25946
25997
|
case 'nv-fieldpassword':
|
|
25947
25998
|
return Promise.resolve().then(function () { return require(
|
|
25948
25999
|
/* webpackMode: "lazy" */
|
|
25949
|
-
'./nv-fieldpassword.entry-
|
|
26000
|
+
'./nv-fieldpassword.entry-BOtLqrGx.js'); }).then(processMod, consoleError);
|
|
25950
26001
|
case 'nv-fieldradio':
|
|
25951
26002
|
return Promise.resolve().then(function () { return require(
|
|
25952
26003
|
/* webpackMode: "lazy" */
|
|
25953
|
-
'./nv-fieldradio.entry-
|
|
26004
|
+
'./nv-fieldradio.entry-CY4txacC.js'); }).then(processMod, consoleError);
|
|
25954
26005
|
case 'nv-fieldselect':
|
|
25955
26006
|
return Promise.resolve().then(function () { return require(
|
|
25956
26007
|
/* webpackMode: "lazy" */
|
|
25957
|
-
'./nv-fieldselect.entry-
|
|
26008
|
+
'./nv-fieldselect.entry-CRP6e7uq.js'); }).then(processMod, consoleError);
|
|
25958
26009
|
case 'nv-fieldslider':
|
|
25959
26010
|
return Promise.resolve().then(function () { return require(
|
|
25960
26011
|
/* webpackMode: "lazy" */
|
|
25961
|
-
'./nv-fieldslider.entry-
|
|
26012
|
+
'./nv-fieldslider.entry-BLO9yOcu.js'); }).then(processMod, consoleError);
|
|
25962
26013
|
case 'nv-fieldtextarea':
|
|
25963
26014
|
return Promise.resolve().then(function () { return require(
|
|
25964
26015
|
/* webpackMode: "lazy" */
|
|
25965
|
-
'./nv-fieldtextarea.entry-
|
|
26016
|
+
'./nv-fieldtextarea.entry-dDaXddme.js'); }).then(processMod, consoleError);
|
|
25966
26017
|
case 'nv-fieldtime':
|
|
25967
26018
|
return Promise.resolve().then(function () { return require(
|
|
25968
26019
|
/* webpackMode: "lazy" */
|
|
25969
|
-
'./nv-fieldtime.entry-
|
|
26020
|
+
'./nv-fieldtime.entry-DAIYFHO7.js'); }).then(processMod, consoleError);
|
|
25970
26021
|
case 'nv-row':
|
|
25971
26022
|
return Promise.resolve().then(function () { return require(
|
|
25972
26023
|
/* webpackMode: "lazy" */
|
|
25973
|
-
'./nv-row.entry-
|
|
26024
|
+
'./nv-row.entry-BsPFwLLA.js'); }).then(processMod, consoleError);
|
|
25974
26025
|
case 'nv-stack':
|
|
25975
26026
|
return Promise.resolve().then(function () { return require(
|
|
25976
26027
|
/* webpackMode: "lazy" */
|
|
25977
|
-
'./nv-stack.entry-
|
|
26028
|
+
'./nv-stack.entry-4Ec3nJml.js'); }).then(processMod, consoleError);
|
|
25978
26029
|
case 'nv-table':
|
|
25979
26030
|
return Promise.resolve().then(function () { return require(
|
|
25980
26031
|
/* webpackMode: "lazy" */
|
|
25981
|
-
'./nv-table.entry-
|
|
26032
|
+
'./nv-table.entry-Bv0iDqou.js'); }).then(processMod, consoleError);
|
|
25982
26033
|
case 'nv-tablecolumn':
|
|
25983
26034
|
return Promise.resolve().then(function () { return require(
|
|
25984
26035
|
/* webpackMode: "lazy" */
|
|
25985
|
-
'./nv-tablecolumn.entry-
|
|
26036
|
+
'./nv-tablecolumn.entry-XJJCmUC2.js'); }).then(processMod, consoleError);
|
|
25986
26037
|
case 'nv-toggle':
|
|
25987
26038
|
return Promise.resolve().then(function () { return require(
|
|
25988
26039
|
/* webpackMode: "lazy" */
|
|
25989
|
-
'./nv-toggle.entry-
|
|
26040
|
+
'./nv-toggle.entry-C72c_569.js'); }).then(processMod, consoleError);
|
|
25990
26041
|
case 'nv-accordion-item':
|
|
25991
26042
|
return Promise.resolve().then(function () { return require(
|
|
25992
26043
|
/* webpackMode: "lazy" */
|
|
25993
|
-
'./nv-accordion-item.entry-
|
|
26044
|
+
'./nv-accordion-item.entry-BgDBJjHO.js'); }).then(processMod, consoleError);
|
|
25994
26045
|
case 'nv-badge_2':
|
|
25995
26046
|
return Promise.resolve().then(function () { return require(
|
|
25996
26047
|
/* webpackMode: "lazy" */
|
|
25997
|
-
'./nv-badge_2.entry-
|
|
26048
|
+
'./nv-badge_2.entry-DaAOJgy_.js'); }).then(processMod, consoleError);
|
|
25998
26049
|
case 'nv-dialogfooter_2':
|
|
25999
26050
|
return Promise.resolve().then(function () { return require(
|
|
26000
26051
|
/* webpackMode: "lazy" */
|
|
26001
|
-
'./nv-dialogfooter_2.entry-
|
|
26052
|
+
'./nv-dialogfooter_2.entry-QE1dFuOh.js'); }).then(processMod, consoleError);
|
|
26002
26053
|
case 'nv-fielddropdownitem':
|
|
26003
26054
|
return Promise.resolve().then(function () { return require(
|
|
26004
26055
|
/* webpackMode: "lazy" */
|
|
26005
|
-
'./nv-fielddropdownitem.entry-
|
|
26056
|
+
'./nv-fielddropdownitem.entry-KuL1iVS4.js'); }).then(processMod, consoleError);
|
|
26006
26057
|
case 'nv-fieldnumber':
|
|
26007
26058
|
return Promise.resolve().then(function () { return require(
|
|
26008
26059
|
/* webpackMode: "lazy" */
|
|
26009
|
-
'./nv-fieldnumber.entry-
|
|
26060
|
+
'./nv-fieldnumber.entry-Bbk2wO5k.js'); }).then(processMod, consoleError);
|
|
26010
26061
|
case 'nv-fieldtext':
|
|
26011
26062
|
return Promise.resolve().then(function () { return require(
|
|
26012
26063
|
/* webpackMode: "lazy" */
|
|
26013
|
-
'./nv-fieldtext.entry-
|
|
26064
|
+
'./nv-fieldtext.entry-BqgV8SxD.js'); }).then(processMod, consoleError);
|
|
26014
26065
|
case 'nv-menu':
|
|
26015
26066
|
return Promise.resolve().then(function () { return require(
|
|
26016
26067
|
/* webpackMode: "lazy" */
|
|
26017
|
-
'./nv-menu.entry-
|
|
26068
|
+
'./nv-menu.entry-Fg1jfAeH.js'); }).then(processMod, consoleError);
|
|
26018
26069
|
case 'nv-menuitem':
|
|
26019
26070
|
return Promise.resolve().then(function () { return require(
|
|
26020
26071
|
/* webpackMode: "lazy" */
|
|
26021
|
-
'./nv-menuitem.entry-
|
|
26072
|
+
'./nv-menuitem.entry-CGg4iJrd.js'); }).then(processMod, consoleError);
|
|
26022
26073
|
case 'nv-tooltip':
|
|
26023
26074
|
return Promise.resolve().then(function () { return require(
|
|
26024
26075
|
/* webpackMode: "lazy" */
|
|
26025
|
-
'./nv-tooltip.entry-
|
|
26076
|
+
'./nv-tooltip.entry-BNvm30iV.js'); }).then(processMod, consoleError);
|
|
26026
26077
|
case 'nv-button':
|
|
26027
26078
|
return Promise.resolve().then(function () { return require(
|
|
26028
26079
|
/* webpackMode: "lazy" */
|
|
26029
|
-
'./nv-button.entry-
|
|
26080
|
+
'./nv-button.entry-Pe2qJFy0.js'); }).then(processMod, consoleError);
|
|
26030
26081
|
case 'nv-calendar':
|
|
26031
26082
|
return Promise.resolve().then(function () { return require(
|
|
26032
26083
|
/* webpackMode: "lazy" */
|
|
26033
|
-
'./nv-calendar.entry-
|
|
26084
|
+
'./nv-calendar.entry-WRFrbZtz.js'); }).then(processMod, consoleError);
|
|
26034
26085
|
case 'nv-fieldcheckbox':
|
|
26035
26086
|
return Promise.resolve().then(function () { return require(
|
|
26036
26087
|
/* webpackMode: "lazy" */
|
|
26037
|
-
'./nv-fieldcheckbox.entry-
|
|
26088
|
+
'./nv-fieldcheckbox.entry-BbC0JUWc.js'); }).then(processMod, consoleError);
|
|
26038
26089
|
case 'nv-popover':
|
|
26039
26090
|
return Promise.resolve().then(function () { return require(
|
|
26040
26091
|
/* webpackMode: "lazy" */
|
|
26041
|
-
'./nv-popover.entry-
|
|
26092
|
+
'./nv-popover.entry-DsKxPxfa.js'); }).then(processMod, consoleError);
|
|
26042
26093
|
case 'nv-iconbutton_2':
|
|
26043
26094
|
return Promise.resolve().then(function () { return require(
|
|
26044
26095
|
/* webpackMode: "lazy" */
|
|
26045
|
-
'./nv-iconbutton_2.entry-
|
|
26096
|
+
'./nv-iconbutton_2.entry-DAWQjqvb.js'); }).then(processMod, consoleError);
|
|
26046
26097
|
case 'nv-icon':
|
|
26047
26098
|
return Promise.resolve().then(function () { return require(
|
|
26048
26099
|
/* webpackMode: "lazy" */
|
|
26049
|
-
'./nv-icon.entry-
|
|
26100
|
+
'./nv-icon.entry-CxE0uTUN.js'); }).then(processMod, consoleError);
|
|
26050
26101
|
}
|
|
26051
26102
|
}
|
|
26052
26103
|
return import(
|
|
@@ -28261,7 +28312,7 @@ const globalScripts = () => {};
|
|
|
28261
28312
|
const defineCustomElements = async (win, options) => {
|
|
28262
28313
|
if (typeof window === 'undefined') return undefined;
|
|
28263
28314
|
await globalScripts();
|
|
28264
|
-
return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"value\":[1040],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"open\":[1540],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"options\":[1040],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"fluid\":[516],\"badgeLabel\":[513,\"badge-label\"],\"filterText\":[1537,\"filter-text\"],\"sortedOptions\":[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-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"autofocus\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"],[5,\"touchstart\",\"handleDocumentTouch\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"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\":[1537],\"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\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"singleValue\":[32],\"currentPlaceholder\":[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],\"autofocus\":[516],\"value\":[1537],\"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\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"startValue\":[32],\"endValue\":[32],\"open\":[32]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"valueChanged\",\"handleCalendarValueChanged\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"singleDateChange\",\"handleDateReset\"],[0,\"rangeDateChange\",\"handleDateReset\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"onOpenChanged\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"open\":[1540],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"options\":[16],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"fluid\":[516],\"filterText\":[32],\"selectedValues\":[32],\"getFilterText\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[2,\"blur\",\"handleBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"]}]]],[\"nv-accordion\",[[4,\"nv-accordion\",{\"data\":[513],\"mode\":[513],\"openIndexes\":[1040],\"internalOpenIndexes\":[32],\"parsedData\":[32],\"open\":[64],\"close\":[64]},[[0,\"itemToggle\",\"onItemToggle\"]],{\"data\":[\"dataChanged\"]}]]],[\"nv-fieldslider\",[[68,\"nv-fieldslider\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"hasField\":[516,\"has-field\"],\"range\":[516],\"disabled\":[516],\"readonly\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"value\":[1040],\"step\":[514],\"snap\":[516],\"snapTicks\":[516,\"snap-ticks\"],\"name\":[513],\"endName\":[513,\"end-name\"],\"min\":[514],\"max\":[514],\"showTicks\":[516,\"show-ticks\"],\"ticks\":[16],\"fluid\":[516],\"labelBeforeValue\":[513,\"label-before-value\"],\"labelAfterValue\":[513,\"label-after-value\"],\"isDragging\":[32],\"activeDragThumb\":[32],\"internalTicks\":[32],\"rawPosition\":[32],\"rawRangePosition\":[32],\"valueInternal\":[32],\"rangeValueInternal\":[32]},null,{\"value\":[\"onValueChange\"],\"min\":[\"onConfigChange\"],\"max\":[\"onConfigChange\"],\"step\":[\"onConfigChange\"],\"ticks\":[\"onConfigChange\"],\"showTicks\":[\"onConfigChange\"],\"snap\":[\"onConfigChange\"],\"snapTicks\":[\"onConfigChange\"],\"range\":[\"onRangeChange\"]}]]],[\"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-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],\"fluid\":[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],\"fluid\":[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-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"globalFilterPosition\":[513,\"global-filter-position\"],\"enablePagination\":[516,\"enable-pagination\"],\"pageSize\":[514,\"page-size\"],\"pageSizes\":[16],\"enableSorting\":[516,\"enable-sorting\"],\"enableRowSelection\":[516,\"enable-row-selection\"],\"state\":[16],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilterSearchTerm\":[32],\"columnData\":[32],\"paginationState\":[32],\"sortingState\":[32],\"rowSelectionState\":[32]},null,{\"columns\":[\"parseColumns\"],\"data\":[\"parseData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilterSearchTerm\":[\"handleGlobalFilterSearchTerm\",\"handleInternalStateChange\"],\"paginationState\":[\"handlePaginationState\",\"handleInternalStateChange\"],\"sortingState\":[\"handleSortingState\",\"handleInternalStateChange\"],\"pageSize\":[\"handlePageSize\"],\"rowSelectionState\":[\"handleRowSelectionState\"],\"state\":[\"handleStateChange\"]}]]],[\"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-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513],\"repeatTemplate\":[516,\"repeat-template\"],\"group\":[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],\"fluid\":[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\":[16],\"show\":[64],\"close\":[64]},[[0,\"menuitemSelected\",\"handleMenuItemSelect\"],[0,\"keydown\",\"handleKeydown\"],[0,\"openChanged\",\"handleOpenChanged\"]]]]],[\"nv-accordion-item\",[[4,\"nv-accordion-item\",{\"itemtitle\":[513],\"subtitle\":[513],\"open\":[1540],\"disabled\":[516],\"maxContentHeight\":[514,\"max-content-height\"],\"mode\":[513],\"currentOpenState\":[32],\"isInitialized\":[32],\"isAnimating\":[32],\"toggle\":[64]},null,{\"open\":[\"onOpenChanged\"]}]]],[\"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],\"fluid\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"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],\"fluid\":[516]}]]],[\"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-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-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\"],\"isIconOnly\":[516,\"is-icon-only\"],\"_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-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"value\":[1537],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1040],\"min\":[513],\"max\":[513],\"disabledDates\":[16],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"months\":[32]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"],\"value\":[\"onValueChange\"]}]]],[\"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\"]}]]],[\"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]}]]]]"), options);
|
|
28315
|
+
return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"value\":[1040],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"open\":[1540],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"options\":[1040],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"fluid\":[516],\"badgeLabel\":[513,\"badge-label\"],\"filterText\":[1537,\"filter-text\"],\"sortedOptions\":[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-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"autofocus\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"],[5,\"touchstart\",\"handleDocumentTouch\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"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\":[1537],\"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\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"singleValue\":[32],\"currentPlaceholder\":[32],\"open\":[32],\"clear\":[64]},[[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],\"autofocus\":[516],\"value\":[1537],\"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\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"startValue\":[32],\"endValue\":[32],\"open\":[32],\"clear\":[64]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"valueChanged\",\"handleCalendarValueChanged\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"singleDateChange\",\"handleDateReset\"],[0,\"rangeDateChange\",\"handleDateReset\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"onOpenChanged\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"open\":[1540],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"options\":[16],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"fluid\":[516],\"filterText\":[32],\"selectedValues\":[32],\"getFilterText\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[2,\"blur\",\"handleBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"]}]]],[\"nv-accordion\",[[4,\"nv-accordion\",{\"data\":[16],\"mode\":[513],\"openIndexes\":[1040],\"internalOpenIndexes\":[32],\"open\":[64],\"close\":[64]},[[0,\"itemToggle\",\"onItemToggle\"]]]]],[\"nv-fieldslider\",[[68,\"nv-fieldslider\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"hasField\":[516,\"has-field\"],\"range\":[516],\"disabled\":[516],\"readonly\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"value\":[1040],\"step\":[514],\"snap\":[516],\"snapTicks\":[516,\"snap-ticks\"],\"name\":[513],\"endName\":[513,\"end-name\"],\"min\":[514],\"max\":[514],\"showTicks\":[516,\"show-ticks\"],\"ticks\":[16],\"fluid\":[516],\"labelBeforeValue\":[513,\"label-before-value\"],\"labelAfterValue\":[513,\"label-after-value\"],\"isDragging\":[32],\"activeDragThumb\":[32],\"internalTicks\":[32],\"rawPosition\":[32],\"rawRangePosition\":[32],\"valueInternal\":[32],\"rangeValueInternal\":[32]},null,{\"value\":[\"onValueChange\"],\"min\":[\"onConfigChange\"],\"max\":[\"onConfigChange\"],\"step\":[\"onConfigChange\"],\"ticks\":[\"onConfigChange\"],\"showTicks\":[\"onConfigChange\"],\"snap\":[\"onConfigChange\"],\"snapTicks\":[\"onConfigChange\"],\"range\":[\"onRangeChange\"]}]]],[\"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-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],\"fluid\":[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],\"fluid\":[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-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"globalFilterPosition\":[513,\"global-filter-position\"],\"enablePagination\":[516,\"enable-pagination\"],\"pageSize\":[514,\"page-size\"],\"pageSizes\":[16],\"enableSorting\":[516,\"enable-sorting\"],\"enableRowSelection\":[516,\"enable-row-selection\"],\"state\":[16],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilterSearchTerm\":[32],\"columnData\":[32],\"paginationState\":[32],\"sortingState\":[32],\"rowSelectionState\":[32]},null,{\"columns\":[\"parseColumns\"],\"data\":[\"parseData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilterSearchTerm\":[\"handleGlobalFilterSearchTerm\",\"handleInternalStateChange\"],\"paginationState\":[\"handlePaginationState\",\"handleInternalStateChange\"],\"sortingState\":[\"handleSortingState\",\"handleInternalStateChange\"],\"pageSize\":[\"handlePageSize\"],\"rowSelectionState\":[\"handleRowSelectionState\"],\"state\":[\"handleStateChange\"]}]]],[\"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-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513],\"repeatTemplate\":[516,\"repeat-template\"],\"group\":[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],\"fluid\":[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\":[16],\"show\":[64],\"close\":[64]},[[0,\"menuitemSelected\",\"handleMenuItemSelect\"],[0,\"keydown\",\"handleKeydown\"],[0,\"openChanged\",\"handleOpenChanged\"]]]]],[\"nv-accordion-item\",[[4,\"nv-accordion-item\",{\"itemTitle\":[513,\"item-title\"],\"subtitle\":[513],\"open\":[1540],\"disabled\":[516],\"maxContentHeight\":[514,\"max-content-height\"],\"mode\":[513],\"currentOpenState\":[32],\"isInitialized\":[32],\"isAnimating\":[32],\"toggle\":[64]},null,{\"open\":[\"onOpenChanged\"]}]]],[\"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],\"fluid\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"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],\"fluid\":[516]}]]],[\"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-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-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\"],\"isIconOnly\":[516,\"is-icon-only\"],\"_isHidden\":[32]},null,{\"dismissal\":[\"handleDismissalChange\"],\"icon\":[\"handleIconChange\"],\"hidden\":[\"handleHiddenChange\"]}],[4,\"nv-fielddropdownitemcheck\",{\"checked\":[1540],\"value\":[513],\"label\":[513],\"description\":[513],\"group\":[513],\"disabled\":[516]}]]],[\"nv-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"value\":[1537],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1040],\"min\":[513],\"max\":[513],\"disabledDates\":[16],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"months\":[32],\"clear\":[64]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"],\"value\":[\"onValueChange\"]}]]],[\"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\"]}]]],[\"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]}]]]]"), options);
|
|
28265
28316
|
};
|
|
28266
28317
|
|
|
28267
28318
|
(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);}})();
|