@nova-design-system/nova-react 3.0.0-beta.46 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-BgDhK4Po.js → index-Byv3Vmev.js} +605 -495
- package/dist/cjs/index.js +1 -2
- package/dist/cjs/{nv-alert.entry-C9DnCn0Q.js → nv-alert.entry-BXY4KXbF.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-Cj_bK7KY.js → nv-avatar.entry-BnPSKkJJ.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-H664ASUM.js → nv-badge_2.entry-BsI3B8Rr.js} +2 -2
- package/dist/cjs/{nv-breadcrumb.entry-BOyjRSxM.js → nv-breadcrumb.entry-D5vGHLOG.js} +2 -2
- package/dist/cjs/{nv-breadcrumbs.entry-DkffTj6Z.js → nv-breadcrumbs.entry-CsaqAsnb.js} +2 -2
- package/dist/cjs/{nv-button.entry-Dv4bG9oE.js → nv-button.entry-DzZfGZGy.js} +2 -2
- package/dist/cjs/{nv-calendar.entry-DSoKDy9Q.js → nv-calendar.entry-CGKv_-gO.js} +49 -20
- package/dist/cjs/{nv-col.entry-CGNiCKta.js → nv-col.entry-Cng8NaTW.js} +2 -2
- package/dist/cjs/{nv-datagrid.entry-YSL7aTz5.js → nv-datagrid.entry-BbAOzpiO.js} +352 -92
- package/dist/cjs/{nv-datagridcolumn.entry-7whgB5iS.js → nv-datagridcolumn.entry-CRogHbVM.js} +2 -2
- package/dist/cjs/{nv-dialog.entry-CLANnPw3.js → nv-dialog.entry-BSIZGYGF.js} +2 -2
- package/dist/cjs/{nv-dialogfooter_2.entry-cHevwuGs.js → nv-dialogfooter_2.entry-Q4_li_QU.js} +3 -3
- package/dist/cjs/{nv-fieldcheckbox.entry-BV8M8SyS.js → nv-fieldcheckbox.entry-DmgzfmRd.js} +5 -5
- package/dist/cjs/{nv-fielddate.entry--KEcXuio.js → nv-fielddate.entry-qAvLX_Ru.js} +6 -6
- package/dist/cjs/{nv-fielddaterange.entry-Bctzvr40.js → nv-fielddaterange.entry-DVB8Rwxk.js} +5 -5
- package/dist/cjs/{nv-fielddropdown.entry-DJPARQ0F.js → nv-fielddropdown.entry-DKXmoXeW.js} +16 -30
- package/dist/cjs/{nv-fielddropdownitem.entry-DAlnhF7-.js → nv-fielddropdownitem.entry-BVLVXi0e.js} +2 -2
- package/dist/cjs/{nv-fieldmultiselect.entry-DDKtC-sR.js → nv-fieldmultiselect.entry-DrTbd3Dj.js} +29 -72
- package/dist/cjs/{nv-fieldnumber.entry-FzcOQMWp.js → nv-fieldnumber.entry-DegbEHRL.js} +4 -4
- package/dist/cjs/{nv-fieldpassword.entry-ZgJKgEWo.js → nv-fieldpassword.entry-gqjlEl7a.js} +4 -4
- package/dist/cjs/{nv-fieldradio.entry-B6vwI0oH.js → nv-fieldradio.entry-CVEY4v6F.js} +4 -4
- package/dist/cjs/{nv-fieldselect.entry-Dpb1RR2D.js → nv-fieldselect.entry-BrCUuRWa.js} +6 -6
- package/dist/cjs/{nv-fieldtext.entry-WhMFksEn.js → nv-fieldtext.entry-q9NnqL5c.js} +4 -4
- package/dist/cjs/{nv-fieldtextarea.entry-Cpqi_pE7.js → nv-fieldtextarea.entry-B4qiLmX1.js} +4 -4
- package/dist/cjs/{nv-fieldtime.entry-BApGHC9K.js → nv-fieldtime.entry-Bp2IWjhN.js} +10 -10
- package/dist/cjs/{nv-icon.entry-DTbgrNDQ.js → nv-icon.entry-B1ax9cJS.js} +2 -2
- package/dist/cjs/{nv-iconbutton_2.entry-D5Wjr6mr.js → nv-iconbutton_2.entry-BRPAGl2S.js} +3 -3
- package/dist/cjs/{nv-menu.entry-4P44Bom1.js → nv-menu.entry-BiWiIZAm.js} +17 -43
- package/dist/cjs/{nv-menuitem.entry-pYkLIeY9.js → nv-menuitem.entry-CFkXoZ_r.js} +2 -2
- package/dist/cjs/{nv-popover.entry-DJzEjs-d.js → nv-popover.entry-KT1iQUJk.js} +2 -2
- package/dist/cjs/{nv-row.entry-AQGhBTGs.js → nv-row.entry-Cs2GDrcu.js} +2 -2
- package/dist/cjs/{nv-stack.entry-Bb6k4Yob.js → nv-stack.entry-Ci7pxGSo.js} +2 -2
- package/dist/cjs/{nv-table.entry-C4DY5CRF.js → nv-table.entry-N4MV8Y6E.js} +3 -3
- package/dist/cjs/{nv-tablecolumn.entry-jJAoHJnt.js → nv-tablecolumn.entry-CTz4jsZl.js} +1 -1
- package/dist/cjs/{nv-toggle.entry-P76L0fsx.js → nv-toggle.entry-m10-ncYR.js} +3 -3
- package/dist/cjs/{nv-tooltip.entry-DC7XngcD.js → nv-tooltip.entry-B6aRDto3.js} +2 -2
- package/dist/generated/components.js +0 -8
- package/dist/types/generated/components.d.ts +0 -3
- package/package.json +1 -1
- package/dist/cjs/nv-base.entry-DdLnS1hF.js +0 -71
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Byv3Vmev.js');
|
|
4
4
|
require('react');
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,7 +8,6 @@ require('react');
|
|
|
8
8
|
exports.NvAlert = index.NvAlert;
|
|
9
9
|
exports.NvAvatar = index.NvAvatar;
|
|
10
10
|
exports.NvBadge = index.NvBadge;
|
|
11
|
-
exports.NvBase = index.NvBase;
|
|
12
11
|
exports.NvBreadcrumb = index.NvBreadcrumb;
|
|
13
12
|
exports.NvBreadcrumbs = index.NvBreadcrumbs;
|
|
14
13
|
exports.NvButton = index.NvButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Byv3Vmev.js');
|
|
4
4
|
var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
|
|
5
5
|
var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
|
|
6
6
|
var timeline_animation1b88f052 = require('./timeline.animation-1b88f052-B8-vCVrY.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Byv3Vmev.js');
|
|
4
4
|
var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
|
|
5
5
|
var timeline_animation1b88f052 = require('./timeline.animation-1b88f052-B8-vCVrY.js');
|
|
6
6
|
var fade_animation2a077983 = require('./fade.animation-2a077983-aKN0EDTo.js');
|
|
@@ -185,7 +185,7 @@ const NvFielddropdownitemcheck = class {
|
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
187
|
render() {
|
|
188
|
-
return (index.h(index.Host, { key: '
|
|
188
|
+
return (index.h(index.Host, { key: '93a97fb36d69bd837b27cdbfa31adc5a7a71dab4', onClick: this.handleClick }, index.h("nv-fieldcheckbox", { key: '7afd9b55ce6911c327fae658304fa313fc908d45', 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 })));
|
|
189
189
|
}
|
|
190
190
|
get el() { return index.getElement(this); }
|
|
191
191
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Byv3Vmev.js');
|
|
4
4
|
var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
|
|
5
5
|
require('react');
|
|
6
6
|
|
|
@@ -36,7 +36,7 @@ const NvBreadcrumb = class {
|
|
|
36
36
|
/****************************************************************************/
|
|
37
37
|
//#region RENDER
|
|
38
38
|
render() {
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: '50f858dc015ef2cd51f54a08fa53ec88ee42ac41', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx297c1ffe.clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (index.h("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (index.h("slot", null)), this.tooltip && (index.h("nv-tooltip", { key: '1df40faa4a483d4abf8895def5db87696cf0d08e', message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (index.h("nv-popover", { key: '90174908cdcf1b3e1f8a8a82a01cfa505311c930', triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, index.h("ul", { key: '72282abd41c80bb8edf0c6b19506be32bf5ed688', slot: "content" }, index.h("slot", { key: '4b9c325c0d27162c4856796f6a7d7c9b39edf993' })))), index.h("span", { key: '62316fc8efc09067a0a64d4e90e76d57b329ee81', "data-scope": "separator" }, "/")));
|
|
40
40
|
}
|
|
41
41
|
get el() { return index.getElement(this); }
|
|
42
42
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Byv3Vmev.js');
|
|
4
4
|
require('react');
|
|
5
5
|
|
|
6
6
|
const nvBreadcrumbsCss = "nv-breadcrumbs{display:block}nv-breadcrumbs>ol{display:flex;flex-wrap:wrap;align-items:center;gap:var(--breadcrumb-padding-y)}nv-breadcrumbs nv-breadcrumb:last-child [data-scope=separator],nv-breadcrumbs nv-breadcrumb:last-child [slot=separator]{display:none}";
|
|
@@ -12,7 +12,7 @@ const NvBreadcrumbs = class {
|
|
|
12
12
|
}
|
|
13
13
|
//#region RENDER
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '19ad2bb41f4254a98a571cbadb50ba5ed7d29f62', role: "navigation", "aria-label": "breadcrumbs" }, index.h("ol", { key: '11b77f0f11c6b1dc2ce5ab3f4f7b23e8ec728b61' }, index.h("slot", { key: 'c0c683f93c6874aa5f84fb735d13c1b5eabcd951' }))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
NvBreadcrumbs.style = NvBreadcrumbsStyle0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Byv3Vmev.js');
|
|
4
4
|
var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
|
|
5
5
|
require('react');
|
|
6
6
|
|
|
@@ -150,7 +150,7 @@ const NvButton = class {
|
|
|
150
150
|
/****************************************************************************/
|
|
151
151
|
//#region RENDER
|
|
152
152
|
render() {
|
|
153
|
-
return (index.h(index.Host, { key: '
|
|
153
|
+
return (index.h(index.Host, { key: 'f8b20f9052d71f93eaf03f98550a7237225cadf2', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (index.h("nv-loader", { key: 'c1cefa72ee24dad9ce16bbfe1f51e6cec6dc7fbc', size: this.size === constants98e2dcc2.ButtonSize.Large ? 'sm' : 'xs' })), index.h("slot", { key: '36a311494e45ebc23b1133923a676d58e87f3800', name: "leading-icon" }), index.h("slot", { key: 'f6fea826cda9a09f7152f4e30cc6981c89e73ebe' }), index.h("slot", { key: 'd59c23ff85ea7efc16c69c5adbeb0e91786f1f68', name: "trailing-icon" })));
|
|
154
154
|
}
|
|
155
155
|
static get formAssociated() { return true; }
|
|
156
156
|
get el() { return index.getElement(this); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Byv3Vmev.js');
|
|
4
4
|
var _commonjsHelpers1789f0cf = require('./_commonjsHelpers-1789f0cf-BJu3ubxk.js');
|
|
5
5
|
var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
|
|
6
6
|
require('react');
|
|
@@ -225,11 +225,11 @@ const NvCalendar = class {
|
|
|
225
225
|
/**
|
|
226
226
|
* Change the displayed month
|
|
227
227
|
* @param {number} offset - Month offset (-1 for previous, 1 for next)
|
|
228
|
-
* @param {number} calendarOffset - Month offset for the calendar (0 by default)
|
|
229
228
|
*/
|
|
230
|
-
changeMonth(offset
|
|
229
|
+
changeMonth(offset) {
|
|
231
230
|
const newDate = new Date(this.currentDate);
|
|
232
|
-
|
|
231
|
+
// Ensure we only move by one month at a time
|
|
232
|
+
newDate.setUTCMonth(newDate.getUTCMonth() + offset);
|
|
233
233
|
// Add the appropriate animation class
|
|
234
234
|
const containers = this.el.querySelectorAll('.calendar-grid');
|
|
235
235
|
containers.forEach(container => {
|
|
@@ -387,10 +387,13 @@ const NvCalendar = class {
|
|
|
387
387
|
const firstDay = new Date(Date.UTC(year, month, 1));
|
|
388
388
|
const lastDay = new Date(Date.UTC(year, month + 1, 0));
|
|
389
389
|
const days = [];
|
|
390
|
-
//
|
|
391
|
-
|
|
390
|
+
// Correct calculation of offset for previous month days
|
|
391
|
+
// Use getUTCDay to stay consistent with UTC timezone
|
|
392
|
+
const dayOfWeekIndex = firstDay.getUTCDay(); // 0 = Sunday, 1 = Monday, etc.
|
|
393
|
+
// Adjust based on firstDayOfWeek (if week starts on Monday, offset is different)
|
|
394
|
+
const offsetDays = (dayOfWeekIndex - this.firstDayOfWeek + 7) % 7;
|
|
392
395
|
// Add the days of the previous month for the first calendar
|
|
393
|
-
if (offset === 0) {
|
|
396
|
+
if (offset === 0 && offsetDays > 0) {
|
|
394
397
|
const prevMonthLastDay = new Date(Date.UTC(year, month, 0)).getUTCDate();
|
|
395
398
|
for (let i = offsetDays; i > 0; i--) {
|
|
396
399
|
const date = new Date(Date.UTC(year, month - 1, prevMonthLastDay - i + 1));
|
|
@@ -580,6 +583,21 @@ const NvCalendar = class {
|
|
|
580
583
|
parseDate(dateInput) {
|
|
581
584
|
if (dateInput instanceof Date)
|
|
582
585
|
return dateInput;
|
|
586
|
+
// Attempt to automatically detect ISO 8601 format (generated by toISOString())
|
|
587
|
+
// The regex checks the standard ISO format: YYYY-MM-DDTHH:mm:ss.sssZ
|
|
588
|
+
if (typeof dateInput === 'string' &&
|
|
589
|
+
/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/.test(dateInput)) {
|
|
590
|
+
try {
|
|
591
|
+
const parsedDate = new Date(dateInput);
|
|
592
|
+
if (!isNaN(parsedDate.getTime())) {
|
|
593
|
+
return parsedDate;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
catch (error) {
|
|
597
|
+
// If it fails, continue with other methods
|
|
598
|
+
console.error('Error parsing ISO date:', error);
|
|
599
|
+
}
|
|
600
|
+
}
|
|
583
601
|
// Handling Unix Seconds ("X") formats
|
|
584
602
|
if (this.dateFormat === 'X') {
|
|
585
603
|
const unixSeconds = Number(dateInput);
|
|
@@ -626,6 +644,20 @@ const NvCalendar = class {
|
|
|
626
644
|
}
|
|
627
645
|
return parsed.toDate();
|
|
628
646
|
}
|
|
647
|
+
/**
|
|
648
|
+
* Checks if the date format is in UTC mode
|
|
649
|
+
* @returns {boolean} true if the date format is in UTC mode
|
|
650
|
+
*/
|
|
651
|
+
get isUTCMode() {
|
|
652
|
+
return this.dateFormat.includes('Z');
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Checks if the date format is ISO 8601
|
|
656
|
+
* @returns {boolean} true if the format is ISO 8601
|
|
657
|
+
*/
|
|
658
|
+
get isISO8601Format() {
|
|
659
|
+
return this.dateFormat === 'YYYY-MM-DD[T]HH:mm:ss[Z]';
|
|
660
|
+
}
|
|
629
661
|
/**
|
|
630
662
|
* Formats a date to a string according to the format
|
|
631
663
|
* @param {Date} date - Date to format
|
|
@@ -634,6 +666,11 @@ const NvCalendar = class {
|
|
|
634
666
|
formatDate(date) {
|
|
635
667
|
if (!date)
|
|
636
668
|
return '';
|
|
669
|
+
// Special case for ISO 8601
|
|
670
|
+
if (this.isISO8601Format) {
|
|
671
|
+
// For the ISO 8601 format, use directly toISOString() which is standard
|
|
672
|
+
return date.toISOString();
|
|
673
|
+
}
|
|
637
674
|
// If the format is "Ticks", convert the time to C# ticks
|
|
638
675
|
if (this.dateFormat === 'Ticks') {
|
|
639
676
|
const ticks = date.getTime() * 10000 + 621355968000000000;
|
|
@@ -829,11 +866,10 @@ const NvCalendar = class {
|
|
|
829
866
|
/**
|
|
830
867
|
* Handles month change with an offset
|
|
831
868
|
* @param {number} direction - Direction (-1 for previous, 1 for next)
|
|
832
|
-
* @param {number} offset - Month offset (0 by default)
|
|
833
869
|
* @returns {Function} Change month handler
|
|
834
870
|
*/
|
|
835
|
-
getChangeMonthHandler(direction
|
|
836
|
-
return () => this.changeMonth(direction
|
|
871
|
+
getChangeMonthHandler(direction) {
|
|
872
|
+
return () => this.changeMonth(direction);
|
|
837
873
|
}
|
|
838
874
|
/**
|
|
839
875
|
* Handles month change from an event (ex: dropdown)
|
|
@@ -895,13 +931,6 @@ const NvCalendar = class {
|
|
|
895
931
|
return [];
|
|
896
932
|
}
|
|
897
933
|
}
|
|
898
|
-
/**
|
|
899
|
-
* Checks if the date format is in UTC mode
|
|
900
|
-
* @returns {boolean} true if the date format is in UTC mode
|
|
901
|
-
*/
|
|
902
|
-
get isUTCMode() {
|
|
903
|
-
return this.dateFormat.includes('Z');
|
|
904
|
-
}
|
|
905
934
|
/**
|
|
906
935
|
* Checks if shortcuts are visible
|
|
907
936
|
* @returns {boolean} true if shortcuts are visible
|
|
@@ -927,8 +956,8 @@ const NvCalendar = class {
|
|
|
927
956
|
* @description Renders the header of the calendar
|
|
928
957
|
*/
|
|
929
958
|
renderHeader(offset, index$1) {
|
|
930
|
-
return (index.h("div", { class: "header" }, this.numberOfCalendars > 1 && index$1 === 0 && (index.h("nv-iconbutton", { class: "nav-left", emphasis: "lower", name: "chevron-left", onClick: this.getChangeMonthHandler(-1
|
|
931
|
-
Math.floor((this.currentDate.getUTCMonth() + offset) / 12), onChange: this.getHandleYearChange(offset) })), this.numberOfCalendars === 1 && (index.h("div", { class: "nav-buttons" }, index.h("nv-iconbutton", { emphasis: "lower", name: "chevron-left", onClick: this.getChangeMonthHandler(-1
|
|
959
|
+
return (index.h("div", { class: "header" }, this.numberOfCalendars > 1 && index$1 === 0 && (index.h("nv-iconbutton", { class: "nav-left", emphasis: "lower", name: "chevron-left", onClick: this.getChangeMonthHandler(-1) })), index.h("div", { class: "date-controls" }, index.h("select", { class: "month-select mr-4", onChange: this.getHandleMonthChange(offset) }, this.months.map(month => (index.h("option", { key: month.value, value: month.value, selected: month.value === (this.currentDate.getUTCMonth() + offset) % 12 }, month.label)))), index.h("input", { type: "number", class: "year-input", min: "1950", max: "2100", value: this.currentDate.getUTCFullYear() +
|
|
960
|
+
Math.floor((this.currentDate.getUTCMonth() + offset) / 12), onChange: this.getHandleYearChange(offset) })), this.numberOfCalendars === 1 && (index.h("div", { class: "nav-buttons" }, index.h("nv-iconbutton", { emphasis: "lower", name: "chevron-left", onClick: this.getChangeMonthHandler(-1) }), index.h("nv-iconbutton", { emphasis: "lower", name: "chevron-right", onClick: this.getChangeMonthHandler(1) }))), this.numberOfCalendars > 1 && index$1 === this.numberOfCalendars - 1 && (index.h("nv-iconbutton", { emphasis: "lower", name: "chevron-right", onClick: this.getChangeMonthHandler(1), class: "nav-right" }))));
|
|
932
961
|
}
|
|
933
962
|
/**
|
|
934
963
|
* Renders the week numbers
|
|
@@ -1021,7 +1050,7 @@ const NvCalendar = class {
|
|
|
1021
1050
|
* @slot default - Child content of the component.
|
|
1022
1051
|
*/
|
|
1023
1052
|
render() {
|
|
1024
|
-
return (index.h(index.Host, { key: '
|
|
1053
|
+
return (index.h(index.Host, { key: '89300da9f694aa926855452414e7e036f75f2de6' }, index.h("div", { key: '467ef9fc9d6523eec3712bf779d49fdf50c55617', class: "datepicker-root" }, index.h("div", { key: '990f2cb18dcad96cab0f8dfb62e6c57049475440', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, index.h("div", { key: 'c0dedf1007cbc6a87bd591925c9994474c876afc', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), (this.hasShortcuts || this.hasActions) && (index.h("div", { key: 'ef81eaf952fbe569be7e1d3ee6cb59de0e137fe4', class: "datepicker-controls" }, this.hasShortcuts && this.renderShortcuts(), this.hasActions && this.renderActions())))), index.h("slot", { key: 'e1281217950b5cb02952a69b081d4fcce5863b4d' })));
|
|
1025
1054
|
}
|
|
1026
1055
|
get el() { return index.getElement(this); }
|
|
1027
1056
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Byv3Vmev.js');
|
|
4
4
|
var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
|
|
5
5
|
require('react');
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@ const NvCol = class {
|
|
|
29
29
|
/****************************************************************************/
|
|
30
30
|
//#region RENDER
|
|
31
31
|
render() {
|
|
32
|
-
return (index.h(index.Host, { key: '
|
|
32
|
+
return (index.h(index.Host, { key: '8f7112dc8ce8896d9e7265741f06b7449dd508df', class: clsx297c1ffe.clsx(this.getColSize()) }, index.h("slot", { key: '3bedff11752d04db2615a5f26d4d910d95dee76c' })));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
NvCol.style = NvColStyle0;
|