@nova-design-system/nova-react 3.29.0 → 3.30.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/{constants-BReL3Lsa-DpB_ghPF.js → constants-gOKBmbgZ-CSoZ8z-G.js} +5 -0
- package/dist/cjs/generated/components.server.js +33 -1
- package/dist/cjs/index-DXwd3F_r.js +10391 -0
- package/dist/cjs/index.js +7 -1
- package/dist/cjs/{nv-accordion-item.entry-D1o0gC5w.js → nv-accordion-item.entry-CTbduehY.js} +3 -3
- package/dist/cjs/{nv-accordion.entry-DYJtq9Az.js → nv-accordion.entry-DeaPwIUP.js} +2 -2
- package/dist/cjs/{nv-alert.entry-CMtCdHmk.js → nv-alert.entry-B5k8RXXD.js} +8 -8
- package/dist/cjs/{nv-avatar.entry-B6e7aG4W.js → nv-avatar.entry-CJh9bGfN.js} +8 -8
- package/dist/cjs/{nv-badge_2.entry-RD3j0bJM.js → nv-badge_2.entry-BnPPW4rW.js} +5 -5
- package/dist/cjs/{nv-breadcrumb.entry-DgpqY2fr.js → nv-breadcrumb.entry-DS5GJVCJ.js} +2 -2
- package/dist/cjs/{nv-breadcrumbs.entry-CZgcDUw5.js → nv-breadcrumbs.entry-CJ835Ba8.js} +2 -2
- package/dist/cjs/{nv-button.entry-DR9NaRxG.js → nv-button.entry-8U0o_X3d.js} +7 -7
- package/dist/cjs/{nv-buttongroup.entry-qO8r7WqG.js → nv-buttongroup.entry-D5I5d9y0.js} +2 -2
- package/dist/cjs/{nv-calendar.entry-DRlv3Xph.js → nv-calendar.entry-C0ggIM3A.js} +9 -9
- package/dist/cjs/{nv-col.entry-B7utJttP.js → nv-col.entry-tIk723nS.js} +2 -2
- package/dist/cjs/{nv-datagrid.entry-digYmlnA.js → nv-datagrid.entry-Cal_usTi.js} +8 -8
- package/dist/cjs/{nv-datagridcolumn.entry-UwaDi-Hr.js → nv-datagridcolumn.entry-BLbpwW7Q.js} +2 -2
- package/dist/cjs/{nv-datetest.entry-BJtWaM2T.js → nv-datetest.entry-NQzySOox.js} +2 -2
- package/dist/cjs/{nv-datetimetest.entry-WaNPcHxh.js → nv-datetimetest.entry-Br6j4eAR.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-BI_mFT2G.js → nv-dialog.entry-GTDQJaoQ.js} +3 -3
- package/dist/cjs/{nv-dialogfooter_2.entry-DU2ClBUR.js → nv-dialogfooter_2.entry-CHY36NHl.js} +6 -6
- package/dist/cjs/{nv-drawer.entry-BKF4CyOt.js → nv-drawer.entry-C-TZDi4-.js} +3 -3
- package/dist/cjs/{nv-drawerfooter_2.entry-BSyUs7_4.js → nv-drawerfooter_2.entry-DTY4qAnd.js} +6 -6
- package/dist/cjs/{nv-fieldcheckbox.entry-l5FWToQi.js → nv-fieldcheckbox.entry-Qf4gdEnq.js} +5 -5
- package/dist/cjs/{nv-fielddate.entry-BfviesNp.js → nv-fielddate.entry-D1aJmKbh.js} +7 -7
- package/dist/cjs/{nv-fielddaterange.entry-BvDkPLXG.js → nv-fielddaterange.entry-Vc-gHwf8.js} +7 -7
- package/dist/cjs/{nv-fielddropdown.entry-B-nYjuMt.js → nv-fielddropdown.entry-BVVsM71m.js} +5 -5
- package/dist/cjs/{nv-fielddropdownitem.entry-Dxqyb9DN.js → nv-fielddropdownitem.entry-DTRonCZJ.js} +2 -2
- package/dist/cjs/{nv-fieldmultiselect.entry-CgO1RP0W.js → nv-fieldmultiselect.entry-Cvsh_jn7.js} +1 -1
- package/dist/cjs/{nv-fieldnumber.entry-stgdLi7x.js → nv-fieldnumber.entry-jVFZ0wj3.js} +5 -5
- package/dist/cjs/{nv-fieldpassword.entry-CHA3JAUd.js → nv-fieldpassword.entry-CQKbWqMe.js} +5 -5
- package/dist/cjs/{nv-fieldradio.entry-DHavVjB-.js → nv-fieldradio.entry-FPGOqFBo.js} +4 -4
- package/dist/cjs/{nv-fieldselect.entry-Dq5AsOFt.js → nv-fieldselect.entry-DJmW4pff.js} +6 -6
- package/dist/cjs/{nv-fieldslider.entry-SlF3BBUW.js → nv-fieldslider.entry-D71HjSto.js} +4 -4
- package/dist/cjs/{nv-fieldtext.entry-BYCc8SyD.js → nv-fieldtext.entry-BxgbvxEW.js} +5 -5
- package/dist/cjs/{nv-fieldtextarea.entry-96JCOb9L.js → nv-fieldtextarea.entry-BDS37zhJ.js} +4 -4
- package/dist/cjs/{nv-fieldtime.entry-BdzjxkaK.js → nv-fieldtime.entry-DkWokxdT.js} +44 -44
- package/dist/cjs/{nv-icon.entry-CSRxi6BH.js → nv-icon.entry-CUemAv89.js} +8 -8
- package/dist/cjs/{nv-iconbutton_2.entry-BtDxwMFD.js → nv-iconbutton_2.entry-BLdJr3QV.js} +3 -3
- package/dist/cjs/{nv-menu.entry-aX39SPH8.js → nv-menu.entry-z4cDNCeX.js} +2 -2
- package/dist/cjs/{nv-menuitem.entry-DzSp52G2.js → nv-menuitem.entry-4XdONuGl.js} +2 -2
- package/dist/cjs/{nv-notification-bullet.entry-D2yOXj46.js → nv-notification-bullet.entry-B1EK4G_X.js} +1 -1
- package/dist/cjs/{nv-notification.entry-BRXHbtT8.js → nv-notification.entry-BBAQ72f7.js} +19 -19
- package/dist/cjs/{nv-notificationcontainer.entry-YNIM2_ah.js → nv-notificationcontainer.entry-CtFunFA9.js} +2 -2
- package/dist/cjs/{nv-pagination-nav.entry-uY1nT9aT.js → nv-pagination-nav.entry-DbzEBjoa.js} +2 -2
- package/dist/cjs/{nv-paginationtable.entry-mr5KYXVC.js → nv-paginationtable.entry-DRGsk0DH.js} +19 -3
- package/dist/cjs/{nv-popover.entry-_9ARKM70.js → nv-popover.entry-w9o3Y_vT.js} +2 -2
- package/dist/cjs/{nv-row.entry-BMQvcqlU.js → nv-row.entry-Cop4QB1Y.js} +2 -2
- package/dist/cjs/nv-sidebar.entry-96HyTMt9.js +355 -0
- package/dist/cjs/{nv-sidebarcontent.entry-llnRwVuj.js → nv-sidebarcontent.entry-RCkZZp9I.js} +2 -2
- package/dist/cjs/{nv-sidebardivider.entry--rQv8d5T.js → nv-sidebardivider.entry-DY25WqI7.js} +2 -2
- package/dist/cjs/{nv-sidebarfooter.entry-C5R0sUI_.js → nv-sidebarfooter.entry-9BFpNPLP.js} +2 -2
- package/dist/cjs/{nv-sidebargroup.entry-DdrpLbU7.js → nv-sidebargroup.entry-Cj52DXba.js} +2 -2
- package/dist/cjs/{nv-sidebarheader.entry-HuBPIsyf.js → nv-sidebarheader.entry-_WZgNwoi.js} +2 -2
- package/dist/cjs/{nv-sidebarlogo.entry-TZNPoqnA.js → nv-sidebarlogo.entry-4Zy6k3V5.js} +2 -2
- package/dist/cjs/{nv-sidebarnavitem.entry-BWc3mF5I.js → nv-sidebarnavitem.entry-fQ9sqxDj.js} +3 -3
- package/dist/cjs/{nv-sidebarnavsubitem.entry-DekANwO8.js → nv-sidebarnavsubitem.entry-1iBobkME.js} +2 -2
- package/dist/cjs/{nv-split.entry-BOwOB8FW.js → nv-split.entry-Dfzpge0r.js} +2 -2
- package/dist/cjs/{nv-stack.entry-CaTiSLGN.js → nv-stack.entry-BnCput1S.js} +2 -2
- package/dist/cjs/nv-statusindicator.entry-ClPHcTkz.js +42 -0
- package/dist/cjs/{nv-table.entry-LFZaS0Dy.js → nv-table.entry-DsllD6Bz.js} +3 -3
- package/dist/cjs/{nv-tableheader.entry-CK50S8xW.js → nv-tableheader.entry-AWCKrpLj.js} +2 -2
- package/dist/cjs/nv-tag.entry-BwENpoSV.js +85 -0
- package/dist/cjs/{nv-timetest.entry-A9elKwkf.js → nv-timetest.entry-BQsV7Qb2.js} +2 -2
- package/dist/cjs/{nv-toggle.entry-BGu-6rEs.js → nv-toggle.entry-a0tSJ6GE.js} +3 -3
- package/dist/cjs/{nv-togglebutton.entry-BzAcBOgN.js → nv-togglebutton.entry-CT8fZr74.js} +2 -2
- package/dist/cjs/{nv-togglebuttongroup.entry-CIWp7IXc.js → nv-togglebuttongroup.entry-BN7WkQ_L.js} +2 -2
- package/dist/cjs/{nv-tooltip.entry-CoGkSHpv.js → nv-tooltip.entry-xpFqRgZM.js} +2 -2
- package/dist/components/NvDatatable/NvDatatable.js +176 -59
- package/dist/components/NvDatatable/expandState.js +8 -0
- package/dist/components/NvDatatable/expandState.test.js +41 -0
- package/dist/components/NvDatatable/paginationState.js +9 -0
- package/dist/components/NvDatatable/paginationState.test.js +84 -0
- package/dist/generated/components.js +20 -1
- package/dist/generated/components.server.js +31 -1
- package/dist/types/components/NvDatatable/NvDatatable.d.ts +1 -1
- package/dist/types/components/NvDatatable/expandState.d.ts +5 -0
- package/dist/types/components/NvDatatable/expandState.test.d.ts +1 -0
- package/dist/types/components/NvDatatable/paginationState.d.ts +9 -0
- package/dist/types/components/NvDatatable/paginationState.test.d.ts +1 -0
- package/dist/types/components/NvDatatable/types.d.ts +16 -1
- package/dist/types/generated/components.d.ts +12 -1
- package/dist/types/generated/components.server.d.ts +12 -1
- package/package.json +1 -1
- package/dist/cjs/index-DgKzi_Pd.js +0 -10208
- package/dist/cjs/nv-sidebar.entry-C4HTjJmz.js +0 -181
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-DXwd3F_r.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -114,8 +114,10 @@ exports.NvSidebarnavitem = index.NvSidebarnavitem;
|
|
|
114
114
|
exports.NvSidebarnavsubitem = index.NvSidebarnavsubitem;
|
|
115
115
|
exports.NvSplit = index.NvSplit;
|
|
116
116
|
exports.NvStack = index.NvStack;
|
|
117
|
+
exports.NvStatusindicator = index.NvStatusindicator;
|
|
117
118
|
exports.NvTable = index.NvTable;
|
|
118
119
|
exports.NvTableheader = index.NvTableheader;
|
|
120
|
+
exports.NvTag = index.NvTag;
|
|
119
121
|
exports.NvTimetest = index.NvTimetest;
|
|
120
122
|
exports.NvToggle = index.NvToggle;
|
|
121
123
|
exports.NvTogglebutton = index.NvTogglebutton;
|
|
@@ -129,6 +131,10 @@ Object.defineProperty(exports, "SortingPossibility", {
|
|
|
129
131
|
enumerable: true,
|
|
130
132
|
get: function () { return index.SortingPossibility; }
|
|
131
133
|
});
|
|
134
|
+
Object.defineProperty(exports, "StatusIndicatorEmphasis", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return index.StatusIndicatorEmphasis; }
|
|
137
|
+
});
|
|
132
138
|
Object.defineProperty(exports, "TextInputAutocomplete", {
|
|
133
139
|
enumerable: true,
|
|
134
140
|
get: function () { return index.TextInputAutocomplete; }
|
package/dist/cjs/{nv-accordion-item.entry-D1o0gC5w.js → nv-accordion-item.entry-CTbduehY.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var collapse_animationDZDm0vSK = require('./collapse.animation-DZDm0vSK-C2TOIhIK.js');
|
|
5
5
|
require('./style-value-types.es-xlgmw4x8-B1vLqX9m.js');
|
|
6
6
|
require('@stencil/react-output-target/runtime');
|
|
@@ -196,12 +196,12 @@ const NvAccordionItem = class {
|
|
|
196
196
|
/****************************************************************************/
|
|
197
197
|
//#region RENDER
|
|
198
198
|
render() {
|
|
199
|
-
return (index.h(index.Host, { key: '
|
|
199
|
+
return (index.h(index.Host, { key: 'd4c17c017d33831281ff47b857dbf89cc4c81fff', class: {
|
|
200
200
|
'nv-accordion-item': true,
|
|
201
201
|
'is-open': this.currentOpenState,
|
|
202
202
|
'is-disabled': this.disabled,
|
|
203
203
|
'is-animating': this.isAnimating,
|
|
204
|
-
}, role: "listitem", "aria-expanded": this.currentOpenState ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("div", { key: '
|
|
204
|
+
}, role: "listitem", "aria-expanded": this.currentOpenState ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("div", { key: '32f3f117cf65d4ac9550dff00928f0099b72405a', class: "nv-accordion-item__header", onClick: this.handleHeaderClick, "aria-controls": "content" }, index.h("slot", { key: '8533b9dfde96c2da7867175dc73749ed0fd17f5f', name: "header" }, index.h("div", { key: '9f6ccf7d5044e5e236fcba238f898d4d6f296d3e', class: "nv-accordion-item__header-content" }, this.itemTitle && (index.h("span", { key: '4458aad736c819b129f066838f22a750e316c8be', class: "nv-accordion-item__title" }, this.itemTitle)), this.subtitle && (index.h("span", { key: '5bbb2e546c6ada4402401e4a5fcac30a7058b191', class: "nv-accordion-item__subtitle" }, this.subtitle)))), index.h("nv-iconbutton", { key: '97d5cf23c30fafd8dbac383f9e1e19d7a92e2294', emphasis: "low", size: "sm", shape: "square", name: this.chevronIconName, tabindex: this.disabled ? -1 : 0, onClick: this.handleIconClick, onKeyDown: this.handleHeaderKeyDown, "aria-controls": "content", "aria-label": this.currentOpenState ? 'Close the section' : 'Open the section' })), index.h("div", { key: '71e54e7f92aff4568b2ea22d4774b7c95a0335ce', id: "content", class: "nv-accordion-item__content", ref: el => (this.contentRef = el) }, index.h("div", { key: 'fd6ec95ca0efc4d65a723d3b2f40171fa7ee0e01', class: "nv-accordion-item__content-inner" }, index.h("slot", { key: '46a72758177f8d6a4d62bb880f8744aa85db571f', name: "content" })))));
|
|
205
205
|
}
|
|
206
206
|
get el() { return index.getElement(this); }
|
|
207
207
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -162,7 +162,7 @@ const NvAccordion = class {
|
|
|
162
162
|
/****************************************************************************/
|
|
163
163
|
//#region RENDER
|
|
164
164
|
render() {
|
|
165
|
-
return (index.h(index.Host, { key: '
|
|
165
|
+
return (index.h(index.Host, { key: '60fa93fd799665c25cae9e7d52f80a8dcd4123cf', role: "list", class: "nv-accordion" }, this.data?.length ? (this.data.map((item, i) => (index.h("nv-accordion-item", { key: item.id ?? i, itemTitle: item.title, disabled: item.disabled, open: (this.openIndexes || []).includes(i), mode: this.mode }, item.subtitle ? (index.h("div", { slot: "header" }, index.h("div", { class: "nv-accordion-item__header-content" }, index.h("span", { class: "nv-accordion-item__title" }, item.title), index.h("span", { class: "nv-accordion-item__subtitle" }, item.subtitle)))) : null, index.h("div", { slot: "content" }, item.content), item.footer && index.h("div", { slot: "footer" }, item.footer))))) : (index.h("slot", null))));
|
|
166
166
|
}
|
|
167
167
|
get el() { return index.getElement(this); }
|
|
168
168
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
|
-
var
|
|
5
|
+
var constantsGOKBmbgZ = require('./constants-gOKBmbgZ-CSoZ8z-G.js');
|
|
6
6
|
var collapse_animationDZDm0vSK = require('./collapse.animation-DZDm0vSK-C2TOIhIK.js');
|
|
7
7
|
var fade_animationDcRL9lcm = require('./fade.animation-DcRL9lcm-DAZeHoKN.js');
|
|
8
8
|
require('./style-value-types.es-xlgmw4x8-B1vLqX9m.js');
|
|
@@ -64,15 +64,15 @@ const NvAlert = class {
|
|
|
64
64
|
*/
|
|
65
65
|
this.getDefaultIcon = () => {
|
|
66
66
|
switch (this.feedback) {
|
|
67
|
-
case
|
|
67
|
+
case constantsGOKBmbgZ.FeedbackColors.Warning:
|
|
68
68
|
return 'alert-circle';
|
|
69
|
-
case
|
|
69
|
+
case constantsGOKBmbgZ.FeedbackColors.Information:
|
|
70
70
|
return 'info-circle';
|
|
71
|
-
case
|
|
71
|
+
case constantsGOKBmbgZ.FeedbackColors.Success:
|
|
72
72
|
return 'circle-check';
|
|
73
|
-
case
|
|
73
|
+
case constantsGOKBmbgZ.FeedbackColors.Error:
|
|
74
74
|
return 'alert-circle';
|
|
75
|
-
case
|
|
75
|
+
case constantsGOKBmbgZ.FeedbackColors.Neutral:
|
|
76
76
|
return 'help';
|
|
77
77
|
default:
|
|
78
78
|
return 'info-circle';
|
|
@@ -163,7 +163,7 @@ const NvAlert = class {
|
|
|
163
163
|
/****************************************************************************/
|
|
164
164
|
//#region RENDER
|
|
165
165
|
render() {
|
|
166
|
-
return (index.h(index.Host, { key: '
|
|
166
|
+
return (index.h(index.Host, { key: '4dc8704f790d4753a364be3727f14dfe033e8f75', role: "alert", class: clsxChV9xqsO.clsx('root', `feedback-${this.feedback}`) }, index.h("nv-icon", { key: 'b7e4a1b213c29001d2aa16d4276777fa3fa77039', name: this.icon ?? this.getDefaultIcon(), class: `icon-${this.feedback}`, size: "md" }), index.h("div", { key: '4ae0406ed796ee2c8cf8e5ed1e40c96dd1bfa7b5', class: "content" }, this.heading && index.h("p", { key: '02bff20045603c5e5bd3790140ce52cc66857225', class: "heading" }, this.heading), this.message && index.h("p", { key: 'e1436fe5bcffc5226747abd612266c2925d0680d', class: "message" }, this.message), index.h("slot", { key: 'deda05a3494ffd1c86ea4670c7ef793773d8c893' })), this.dismissible && (index.h("button", { key: '0c92c297f4df2ee1dd3eb781df782c983b5b61d5', class: "close", type: "button", onClick: this.handleDismiss }, index.h("nv-icon", { key: '2bf2c72e4dedc932549af6e15cf221678640ea26', name: "x", size: "sm" })))));
|
|
167
167
|
}
|
|
168
168
|
get el() { return index.getElement(this); }
|
|
169
169
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
|
-
var
|
|
5
|
+
var constantsGOKBmbgZ = require('./constants-gOKBmbgZ-CSoZ8z-G.js');
|
|
6
6
|
require('@stencil/react-output-target/runtime');
|
|
7
7
|
require('react');
|
|
8
8
|
require('react-dom');
|
|
@@ -24,19 +24,19 @@ const NvAvatar = class {
|
|
|
24
24
|
}
|
|
25
25
|
componentWillRender() {
|
|
26
26
|
if (this.xsmall) {
|
|
27
|
-
this.size =
|
|
27
|
+
this.size = constantsGOKBmbgZ.SemanticSizes.ExtraSmall;
|
|
28
28
|
}
|
|
29
29
|
if (this.small) {
|
|
30
|
-
this.size =
|
|
30
|
+
this.size = constantsGOKBmbgZ.SemanticSizes.Small;
|
|
31
31
|
}
|
|
32
32
|
if (this.medium) {
|
|
33
|
-
this.size =
|
|
33
|
+
this.size = constantsGOKBmbgZ.SemanticSizes.Medium;
|
|
34
34
|
}
|
|
35
35
|
if (this.large) {
|
|
36
|
-
this.size =
|
|
36
|
+
this.size = constantsGOKBmbgZ.SemanticSizes.Large;
|
|
37
37
|
}
|
|
38
38
|
if (this.xlarge) {
|
|
39
|
-
this.size =
|
|
39
|
+
this.size = constantsGOKBmbgZ.SemanticSizes.ExtraLarge;
|
|
40
40
|
}
|
|
41
41
|
if (this.text) {
|
|
42
42
|
this.initials = this.text;
|
|
@@ -60,7 +60,7 @@ const NvAvatar = class {
|
|
|
60
60
|
/****************************************************************************/
|
|
61
61
|
//#region RENDER
|
|
62
62
|
render() {
|
|
63
|
-
return (index.h(index.Host, { key: '
|
|
63
|
+
return (index.h(index.Host, { key: '04faba5849d8626fd926d353d85e866d812a8398', class: clsxChV9xqsO.clsx(`avatar-${this.size}`, `avatar-color-${this.color}`), "aria-label": this.alt }, this.src ? (index.h("img", { src: this.src, alt: this.alt })) : this.initials ? (this.trimInitials(this.initials)) : (index.h("slot", { name: "icon" }, index.h("nv-icon", { name: "user" })))));
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
NvAvatar.style = nvAvatarCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
5
|
var collapse_animationDZDm0vSK = require('./collapse.animation-DZDm0vSK-C2TOIhIK.js');
|
|
6
6
|
var fade_animationDcRL9lcm = require('./fade.animation-DcRL9lcm-DAZeHoKN.js');
|
|
@@ -136,14 +136,14 @@ const NvBadge = class {
|
|
|
136
136
|
/****************************************************************************/
|
|
137
137
|
//#region RENDER
|
|
138
138
|
render() {
|
|
139
|
-
return (index.h(index.Host, { key: '
|
|
139
|
+
return (index.h(index.Host, { key: 'c623e524b0ea26ad5d1d246ed804c1ca52d643d4', class: clsxChV9xqsO.clsx(`badge-${this.color}`, {
|
|
140
140
|
'has-close': this.dismissible,
|
|
141
141
|
'with-gap': this.dismissible || this.label,
|
|
142
142
|
'visually-hidden': this._isHidden,
|
|
143
143
|
'is-icon-only': this.isIconOnly,
|
|
144
|
-
}) }, index.h("span", { key: '
|
|
144
|
+
}) }, index.h("span", { key: 'b3a7c14129b885a4af63f9ba50813a64c1cb8c44', class: "nv-badge-leading" }, this.leadIcon && index.h("nv-icon", { key: 'eb0d8f9a76670ff7c97990ebc40a318a28d5d09c', name: this.leadIcon, size: "sm" }), index.h("slot", { key: '10e5514902a6c81c070d8c76559e6ff546441386', name: "leading-icon" })), index.h("span", { key: '7821387d8864ef38bc5e2dd0720243c5f5cc20ae', class: clsxChV9xqsO.clsx('nv-badge-label', {
|
|
145
145
|
'visually-hidden': this.isIconOnly,
|
|
146
|
-
}) }, this.label, index.h("slot", { key: '
|
|
146
|
+
}) }, this.label, index.h("slot", { key: '672a3655ce4ab44d1369f53593e36ba0aad3e1cf' })), this.dismissible && (index.h("button", { key: 'ad50e6882515b9f0aaec411fbdb703aa1eb85da0', onClick: this.handleClose, class: "close", type: "button" }, index.h("nv-icon", { key: '8f06fa69021d23cd6391f610787e4d62ded02384', name: "x", size: "sm" })))));
|
|
147
147
|
}
|
|
148
148
|
get el() { return index.getElement(this); }
|
|
149
149
|
static get watchers() { return {
|
|
@@ -211,7 +211,7 @@ const NvFielddropdownitemcheck = class {
|
|
|
211
211
|
/****************************************************************************/
|
|
212
212
|
//#region RENDER
|
|
213
213
|
render() {
|
|
214
|
-
return (index.h(index.Host, { key: '
|
|
214
|
+
return (index.h(index.Host, { key: '1b9fc39245d08ca942588b04db9b4f079c459386', onClick: this.handleClick }, index.h("nv-fieldcheckbox", { key: 'cea008ab80777d31bef8a1877c27c62cec13d84d', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, index.h("slot", { key: 'b34dc2b2882ec6f9488e815d99981fe3b34fb52e' }), index.h("slot", { key: '27490556f5bd70a84b452da828cab5cf6fd9e3e1', name: "main" }), index.h("slot", { key: '9677f8b7ad71c247771e139fc5ad3c5536cba4d7', name: "label" }), index.h("slot", { key: '500f11369105c426b3f566b2ea40f2e858fde1cf', name: "description" }))));
|
|
215
215
|
}
|
|
216
216
|
get el() { return index.getElement(this); }
|
|
217
217
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
@@ -40,7 +40,7 @@ const NvBreadcrumb = class {
|
|
|
40
40
|
/****************************************************************************/
|
|
41
41
|
//#region RENDER
|
|
42
42
|
render() {
|
|
43
|
-
return (index.h(index.Host, { key: '
|
|
43
|
+
return (index.h(index.Host, { key: 'cefd123208aa50ad05ac912780393aaf8b76a7eb', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsxChV9xqsO.clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (index.h("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (index.h("slot", { ref: el => (this.defaultSlot = el) })), this.tooltip && (index.h("nv-tooltip", { key: '13665470c79f6c7637c524b74b767b9a5747a77f', ref: el => (this.toolTipRef = el), message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (index.h("nv-popover", { key: 'c71b3bbf12531d9cb7b3abb920f8bc932ed0beb1', ref: el => (this.popoverRef = el), triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, index.h("ul", { key: '5c11484aaf9026f7a3e0f5562488f28ce7a97fcd', slot: "content" }, index.h("slot", { key: '2058072469703e46e3697a83e40e2b4ce9ead834' })))), index.h("span", { key: '209284d8788b24b0513f38d1aa3a03a23f6f12db', "data-scope": "separator" }, "/")));
|
|
44
44
|
}
|
|
45
45
|
get el() { return index.getElement(this); }
|
|
46
46
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -13,7 +13,7 @@ const NvBreadcrumbs = class {
|
|
|
13
13
|
}
|
|
14
14
|
//#region RENDER
|
|
15
15
|
render() {
|
|
16
|
-
return (index.h(index.Host, { key: '
|
|
16
|
+
return (index.h(index.Host, { key: '3a44180de4ed7bc35fa84edf033fb379116552df', role: "navigation", "aria-label": "breadcrumbs" }, index.h("slot", { key: '33c211e755042f0eb494cbe55e6d126922ba6f8f' })));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
NvBreadcrumbs.style = nvBreadcrumbsCss();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
|
+
var constantsGOKBmbgZ = require('./constants-gOKBmbgZ-CSoZ8z-G.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-dom');
|
|
@@ -81,11 +81,11 @@ const NvButton = class {
|
|
|
81
81
|
event.preventDefault();
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
|
-
if (this.type !==
|
|
84
|
+
if (this.type !== constantsGOKBmbgZ.ButtonType.Button &&
|
|
85
85
|
(this.form || this.internals?.form)) {
|
|
86
86
|
this.processFormAction();
|
|
87
87
|
}
|
|
88
|
-
else if (this.form && this.type ===
|
|
88
|
+
else if (this.form && this.type === constantsGOKBmbgZ.ButtonType.Button) {
|
|
89
89
|
console.warn('Button has a form id but is not of type submit or reset so no form action will be processed.', `Button:`, this.el);
|
|
90
90
|
}
|
|
91
91
|
};
|
|
@@ -103,10 +103,10 @@ const NvButton = class {
|
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
105
105
|
switch (this.type) {
|
|
106
|
-
case
|
|
106
|
+
case constantsGOKBmbgZ.ButtonType.Submit:
|
|
107
107
|
formElement.requestSubmit();
|
|
108
108
|
break;
|
|
109
|
-
case
|
|
109
|
+
case constantsGOKBmbgZ.ButtonType.Reset:
|
|
110
110
|
formElement.reset();
|
|
111
111
|
break;
|
|
112
112
|
}
|
|
@@ -148,7 +148,7 @@ const NvButton = class {
|
|
|
148
148
|
/****************************************************************************/
|
|
149
149
|
//#region RENDER
|
|
150
150
|
render() {
|
|
151
|
-
return (index.h(index.Host, { key: '
|
|
151
|
+
return (index.h(index.Host, { key: '2597730775f043b11be36a52a9dc5d21e7ad4ef0', role: "button", tabindex: this.disableTabindex ? -1 : 0, onClick: this.handleButtonClick }, this.loading && (index.h("nv-loader", { key: 'e39ab02bc5b8843866f2baa734d56956c5d7be18', size: this.size === constantsGOKBmbgZ.ButtonSize.Large ? 'sm' : 'xs' })), index.h("slot", { key: 'e6cc54748edc793da1654e9a9fe17a5db20c679f', name: "leading-icon" }), index.h("slot", { key: 'c3bd505559a3646fdce310726b1d14068ce3a020' }), index.h("slot", { key: '4459bc71ee05c8812e78539757aa427a2da4620a', name: "trailing-icon" })));
|
|
152
152
|
}
|
|
153
153
|
static get formAssociated() { return true; }
|
|
154
154
|
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-DXwd3F_r.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -182,7 +182,7 @@ const NvButtongroup = class {
|
|
|
182
182
|
/****************************************************************************/
|
|
183
183
|
//#region RENDER
|
|
184
184
|
render() {
|
|
185
|
-
return (index.h(index.Host, { key: '
|
|
185
|
+
return (index.h(index.Host, { key: 'ffaeee344623291c46930379b1efdbbccff98605' }, index.h("slot", { key: 'e7a4ccb11d90620bcb1209b55c250f605dbc598c' })));
|
|
186
186
|
}
|
|
187
187
|
get el() { return index.getElement(this); }
|
|
188
188
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
|
+
var constantsGOKBmbgZ = require('./constants-gOKBmbgZ-CSoZ8z-G.js');
|
|
5
5
|
var _commonjsHelpersB85MJLTf = require('./_commonjsHelpers-B85MJLTf-CFO10eej.js');
|
|
6
6
|
require('@stencil/react-output-target/runtime');
|
|
7
7
|
require('react');
|
|
@@ -798,9 +798,9 @@ const NvCalendar = class {
|
|
|
798
798
|
this.getDayNames = () => {
|
|
799
799
|
let days;
|
|
800
800
|
// If we have custom day names for this locale
|
|
801
|
-
if (
|
|
801
|
+
if (constantsGOKBmbgZ.CUSTOM_DAY_NAMES[this.locale]) {
|
|
802
802
|
// Custom day names are expected to start with Monday (index 0 = Monday)
|
|
803
|
-
days = [...
|
|
803
|
+
days = [...constantsGOKBmbgZ.CUSTOM_DAY_NAMES[this.locale]];
|
|
804
804
|
}
|
|
805
805
|
else {
|
|
806
806
|
// Generate days using Intl.DateTimeFormat, starting from Monday
|
|
@@ -890,8 +890,8 @@ const NvCalendar = class {
|
|
|
890
890
|
/** Initializes the list of formatted months according to the locale */
|
|
891
891
|
this.initializeMonths = () => {
|
|
892
892
|
// If we have custom month names for this locale
|
|
893
|
-
if (
|
|
894
|
-
this.months =
|
|
893
|
+
if (constantsGOKBmbgZ.CUSTOM_MONTH_NAMES[this.locale]) {
|
|
894
|
+
this.months = constantsGOKBmbgZ.CUSTOM_MONTH_NAMES[this.locale].map((label, value) => ({
|
|
895
895
|
value,
|
|
896
896
|
label,
|
|
897
897
|
}));
|
|
@@ -909,7 +909,7 @@ const NvCalendar = class {
|
|
|
909
909
|
* @returns {string} Localized abbreviation for "week"
|
|
910
910
|
*/
|
|
911
911
|
this.getLocalizedWeekText = () => {
|
|
912
|
-
return
|
|
912
|
+
return constantsGOKBmbgZ.WEEK_ABBREVIATIONS[this.locale] || 'W';
|
|
913
913
|
};
|
|
914
914
|
/**
|
|
915
915
|
* Handles month change in the selector
|
|
@@ -1407,8 +1407,8 @@ const NvCalendar = class {
|
|
|
1407
1407
|
* @slot default - Child content of the component.
|
|
1408
1408
|
*/
|
|
1409
1409
|
render() {
|
|
1410
|
-
return (index.h(index.Host, { key: '
|
|
1411
|
-
this.hasActions) && (index.h("div", { key: '
|
|
1410
|
+
return (index.h(index.Host, { key: '1af51da7bdecfbd87e3e9237758404442215fe0c' }, index.h("div", { key: '8fc10fedf54c009a312ff1cf849aa920374e450b', class: "datepicker-root" }, index.h("div", { key: 'a182580b8c53bd419995d63d3b10101a21dabe73', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, index.h("div", { key: 'cbbbb9ca80dedd7da1c3907b950d0037254452ca', 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') ||
|
|
1411
|
+
this.hasActions) && (index.h("div", { key: '4f35471614e4e60bdc1ae1783383bfd674bb6714', class: "datepicker-controls" }, this.shortcutsPlacement === 'bottom' && this.renderShortcuts(), this.hasActions && this.renderActions())))), index.h("slot", { key: 'fb5a9416b0c9054f89bcecbd5a6689c1aa890e1b' })));
|
|
1412
1412
|
}
|
|
1413
1413
|
get el() { return index.getElement(this); }
|
|
1414
1414
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
@@ -30,7 +30,7 @@ const NvCol = class {
|
|
|
30
30
|
/****************************************************************************/
|
|
31
31
|
//#region RENDER
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h(index.Host, { key: '
|
|
33
|
+
return (index.h(index.Host, { key: '0ba847762f1eda2cd6448ca81056ef461d7c4c46', class: clsxChV9xqsO.clsx(this.getColSize()) }, index.h("slot", { key: '486335bceecc68083597e4b4bc29a14f34bc2c4a' })));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
NvCol.style = nvColCss();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var dom_utilsCuXVGECR = require('./dom.utils-CuXVGECR-8VY5SfMZ.js');
|
|
5
|
-
var
|
|
5
|
+
var constantsGOKBmbgZ = require('./constants-gOKBmbgZ-CSoZ8z-G.js');
|
|
6
6
|
require('@stencil/react-output-target/runtime');
|
|
7
7
|
require('react');
|
|
8
8
|
require('react-dom');
|
|
@@ -3470,9 +3470,9 @@ const NvDatagrid = class {
|
|
|
3470
3470
|
return;
|
|
3471
3471
|
const nextOrder = header.column.getNextSortingOrder();
|
|
3472
3472
|
switch (nextOrder) {
|
|
3473
|
-
case
|
|
3473
|
+
case constantsGOKBmbgZ.SortingPossibility.Asc:
|
|
3474
3474
|
return 'Sort ascending';
|
|
3475
|
-
case
|
|
3475
|
+
case constantsGOKBmbgZ.SortingPossibility.Desc:
|
|
3476
3476
|
return 'Sort descending';
|
|
3477
3477
|
default:
|
|
3478
3478
|
return 'Clear sort';
|
|
@@ -4156,10 +4156,10 @@ const NvDatagrid = class {
|
|
|
4156
4156
|
if (!header.column.getCanSort())
|
|
4157
4157
|
return null;
|
|
4158
4158
|
const sortState = header.column.getIsSorted();
|
|
4159
|
-
if (sortState ===
|
|
4159
|
+
if (sortState === constantsGOKBmbgZ.SortingPossibility.Asc) {
|
|
4160
4160
|
return (index.h("div", { class: "inline-flex align-middle" }, index.h("nv-icon", { name: "arrow-up" })));
|
|
4161
4161
|
}
|
|
4162
|
-
if (sortState ===
|
|
4162
|
+
if (sortState === constantsGOKBmbgZ.SortingPossibility.Desc) {
|
|
4163
4163
|
return (index.h("div", { class: "inline-flex align-middle" }, index.h("nv-icon", { name: "arrow-down" })));
|
|
4164
4164
|
}
|
|
4165
4165
|
return null;
|
|
@@ -4320,7 +4320,7 @@ const NvDatagrid = class {
|
|
|
4320
4320
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
4321
4321
|
? []
|
|
4322
4322
|
: this.table?.getRowModel()?.rows;
|
|
4323
|
-
return (index.h(index.Host, { key: '
|
|
4323
|
+
return (index.h(index.Host, { key: '9b03b317c777c1b562704c2a41174402ed912edc' }, index.h("div", { key: '2870e17288993bbe4ef97c5466f748358524ddd6', class: "hidden" }, index.h("slot", { key: 'dae9e3d0101a9172be5f6c861ac3aac9c47dbcd7' })), index.h("slot", { key: '92595656e2a98ad396026dd190a395a2229c9b54', name: "before" }), this.enableGlobalFilter && this.table && (index.h("div", { key: '2be1c238f90c9622667fdeb945489cc158920ed3', class: `search-container justify-${this.globalFilterPosition}` }, index.h("nv-fieldtext", { key: 'ce5470985bc635f30ad079c92959fa3c66112fa2', value: this.globalFilterSearchTerm, onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns..." }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (index.h("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (index.h("div", null, index.h("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (index.h("thead", null, this.parsedColumns.length > 0 && headerGroups
|
|
4324
4324
|
? headerGroups?.map(headerGroup => (index.h("tr", { key: headerGroup.id }, headerGroup.headers.map(header => {
|
|
4325
4325
|
return this.getHeaderCell(header);
|
|
4326
4326
|
}))))
|
|
@@ -4332,7 +4332,7 @@ const NvDatagrid = class {
|
|
|
4332
4332
|
})));
|
|
4333
4333
|
}))), this.table && this.enableRowSelection ? (index.h("tfoot", null, index.h("tr", null, index.h("td", { colSpan: 20 }, this.enableRowSelection && this.table ? (index.h("div", null, this.rowSelectionState &&
|
|
4334
4334
|
Object.keys(this.rowSelectionState).length > 0 ? (index.h("span", null, Object.keys(this.rowSelectionState).length, " of", ' ', this.table.getPreFilteredRowModel()?.rows
|
|
4335
|
-
?.length || 0, ' ', "Total Rows Selected")) : (index.h("span", null, "No rows selected")))) : null)))) : null), this.getPagination())), index.h("slot", { key: '
|
|
4335
|
+
?.length || 0, ' ', "Total Rows Selected")) : (index.h("span", null, "No rows selected")))) : null)))) : null), this.getPagination())), index.h("slot", { key: 'f16988b9f3aab0c2d6498eff3e631e15e6a7748e', name: "after" })));
|
|
4336
4336
|
}
|
|
4337
4337
|
get el() { return index.getElement(this); }
|
|
4338
4338
|
static get watchers() { return {
|
package/dist/cjs/{nv-datagridcolumn.entry-UwaDi-Hr.js → nv-datagridcolumn.entry-BLbpwW7Q.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -17,7 +17,7 @@ const NvDatagridcolumn = class {
|
|
|
17
17
|
/****************************************************************************/
|
|
18
18
|
//#region RENDER
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: 'ca9506c7e77ca7d1b0a5ceed4c0978e9f33546bf' }, index.h("slot", { key: '6975e38f5a491a894c9c526e1d064c0451a25605', name: "header" }), index.h("slot", { key: 'fc67eb8ce80b10167ecf6947f33268e6588aa178', name: "cell" })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var novaDatetimeCyL2J6O4 = require('./nova-datetime-CyL2J6O4-0Y9g3rfI.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
@@ -61,7 +61,7 @@ const NvDatetest = class {
|
|
|
61
61
|
/****************************************************************************/
|
|
62
62
|
//#region RENDER
|
|
63
63
|
render() {
|
|
64
|
-
return (index.h(index.Host, { key: '
|
|
64
|
+
return (index.h(index.Host, { key: '025baa8afbaa2e9235e6bc78c9adc018ff745b6a' }, index.h("label", { key: 'b8a18b978363589534b3f3fe08ef313171039a26' }, "Start:", index.h("input", { key: '30ecb8438b981e85c15e81baadf24450c4d33afb', type: "date", value: this.value?.start ?? '', onInput: this.handleStartChange })), index.h("label", { key: '3bdf0afbf4214d636cea2a67be40834433307f20' }, "End:", index.h("input", { key: 'f4faecf38b6e9d0f17c53d30c49fd3c87f50a9ec', type: "date", value: this.value?.end ?? '', onInput: this.handleEndChange })), index.h("slot", { key: '4465321ab167d723a58037e8cc3ec43085cb0a37' })));
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
NvDatetest.style = nvDatetestCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var index_esmD3eWMME9 = require('./index.esm-D3eWMME9-CG1TVKfu.js');
|
|
5
5
|
var events_utilsB6GgGra_ = require('./events.utils-B6GgGra--01N__3wY.js');
|
|
6
6
|
var fade_animationDcRL9lcm = require('./fade.animation-DcRL9lcm-DAZeHoKN.js');
|
|
@@ -8,7 +8,7 @@ var grow_animationD7ep_aVl = require('./grow.animation-D7ep_aVl-BuXEDSK-.js');
|
|
|
8
8
|
require('./style-value-types.es-xlgmw4x8-B1vLqX9m.js');
|
|
9
9
|
var timeline_animationCgHCo_Ho = require('./timeline.animation-CgHCo_Ho-KteJaZPb.js');
|
|
10
10
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
11
|
-
var
|
|
11
|
+
var constantsGOKBmbgZ = require('./constants-gOKBmbgZ-CSoZ8z-G.js');
|
|
12
12
|
var v4BdYh22OP = require('./v4-BdYh22OP-C1vaJ4yP.js');
|
|
13
13
|
require('@stencil/react-output-target/runtime');
|
|
14
14
|
require('react');
|
|
@@ -298,7 +298,7 @@ const NvDialog = class {
|
|
|
298
298
|
//#region RENDER
|
|
299
299
|
render() {
|
|
300
300
|
const hasForm = this.form || this.el.querySelector('form');
|
|
301
|
-
return (index.h(index.Host, { key: '
|
|
301
|
+
return (index.h(index.Host, { key: '851b2bdefcf90631ab162942264f0b2108053cba' }, index.h("slot", { key: 'f488e07c5599fe4cee186d9085dc13052a917185', name: "trigger" }), index.h("dialog", { key: 'd5a1f9af64afd02ec5ad985cea2de55385164e98', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, onPointerDown: this.handleDialogPointerDown, onClick: this.handleDialogClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsxChV9xqsO.clsx({ full: this.full }) }, index.h("div", { key: '3566481978cdd52ed194651ec0f071b7c3023746', class: "backdrop", ref: el => (this.backdropElement = el) }, index.h("div", { key: 'df01c082574f1a5c3dc75523c11793670a6c6e5f', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (index.h("nv-button", { key: '8c3acd5d9eb235dec637c365f7a8756ff22f81dd', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, index.h("nv-icon", { key: '6239295e8eb09d270e4b6f7404a3287072f40cfa', name: "x", size: "sm" }))), this.headerElement ? (index.h("slot", { name: "header" })) : (index.h("nv-dialogheader", { id: "dialog-header" })), index.h("div", { key: 'b74e5123776b75fcb599f6606361f00621514d09', class: "content-body", id: "dialog-content" }, index.h("slot", { key: 'aa037132057d2b78b736624d2e82978c40214aed' })), this.footerElement ? (index.h("slot", { name: "footer" })) : (index.h("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? constantsGOKBmbgZ.ButtonType.Submit : constantsGOKBmbgZ.ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
|
|
302
302
|
}
|
|
303
303
|
get el() { return index.getElement(this); }
|
|
304
304
|
static get watchers() { return {
|
package/dist/cjs/{nv-dialogfooter_2.entry-DU2ClBUR.js → nv-dialogfooter_2.entry-CHY36NHl.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
|
+
var constantsGOKBmbgZ = require('./constants-gOKBmbgZ-CSoZ8z-G.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-dom');
|
|
@@ -80,15 +80,15 @@ const NvDialogfooter = class {
|
|
|
80
80
|
// Set the default button type based on the form property
|
|
81
81
|
if (!this.primaryButtonType) {
|
|
82
82
|
this.primaryButtonRef.type = this.form
|
|
83
|
-
?
|
|
84
|
-
:
|
|
83
|
+
? constantsGOKBmbgZ.ButtonType.Submit
|
|
84
|
+
: constantsGOKBmbgZ.ButtonType.Button;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
//#endregion LIFECYCLE
|
|
88
88
|
/****************************************************************************/
|
|
89
89
|
//#region RENDER
|
|
90
90
|
render() {
|
|
91
|
-
return (index.h(index.Host, { key: '
|
|
91
|
+
return (index.h(index.Host, { key: '91320615714b06f288269640d99c0ad9b29378f0' }, index.h("slot", { key: '25151b6b74591d31c234b5450d27ab31fb240017' }, index.h(index.Fragment, { key: '6b5bee68bf0d9fbdcc9f3396e8ce122ff27480eb' }, !this.undismissable && (index.h("nv-button", { key: '20660e41e817edf9da27565231809e85b1b17179', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { key: 'baeb2e7267838396ad930653823b86d8265fddc4', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { key: 'dde4eb5fa927e504b0734de1c8ef3d7e0a75ef96', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { key: '195de12b4b25e3de011d7d4509672d686c21025e', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
|
|
92
92
|
}
|
|
93
93
|
static get formAssociated() { return true; }
|
|
94
94
|
get el() { return index.getElement(this); }
|
|
@@ -111,7 +111,7 @@ const NvDialogheader = class {
|
|
|
111
111
|
/****************************************************************************/
|
|
112
112
|
//#region RENDER
|
|
113
113
|
render() {
|
|
114
|
-
return (index.h(index.Host, { key: '
|
|
114
|
+
return (index.h(index.Host, { key: '89253c9dc392f224ab392420529ec66aaae037fb' }, index.h("slot", { key: '2d8509cf0b19a184016e3095583a2b7046dbc86f' }, index.h(index.Fragment, { key: 'cb3edda2f9e3041a5656c4634d663144fe9e3093' }, index.h("div", { key: 'cad9bbe95828596467c5f48f3765bee4bf9a7ccb', class: "heading" }, this.heading), index.h("div", { key: '5e3e1d45e1d1d17a80f50d883b5d89605a250db3', class: "subheading" }, this.subheading)))));
|
|
115
115
|
}
|
|
116
116
|
get el() { return index.getElement(this); }
|
|
117
117
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DXwd3F_r.js');
|
|
4
4
|
var index_esmD3eWMME9 = require('./index.esm-D3eWMME9-CG1TVKfu.js');
|
|
5
5
|
var events_utilsB6GgGra_ = require('./events.utils-B6GgGra--01N__3wY.js');
|
|
6
6
|
var fade_animationDcRL9lcm = require('./fade.animation-DcRL9lcm-DAZeHoKN.js');
|
|
@@ -8,7 +8,7 @@ require('./style-value-types.es-xlgmw4x8-B1vLqX9m.js');
|
|
|
8
8
|
var slide_animationCmH5d1of = require('./slide.animation-CmH5d1of-BZuw607U.js');
|
|
9
9
|
var timeline_animationCgHCo_Ho = require('./timeline.animation-CgHCo_Ho-KteJaZPb.js');
|
|
10
10
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
11
|
-
var
|
|
11
|
+
var constantsGOKBmbgZ = require('./constants-gOKBmbgZ-CSoZ8z-G.js');
|
|
12
12
|
var v4BdYh22OP = require('./v4-BdYh22OP-C1vaJ4yP.js');
|
|
13
13
|
require('@stencil/react-output-target/runtime');
|
|
14
14
|
require('react');
|
|
@@ -431,7 +431,7 @@ const NvDrawer = class {
|
|
|
431
431
|
render() {
|
|
432
432
|
const hasForm = this.form || this.el.querySelector('form');
|
|
433
433
|
const state = this.open ? 'open' : 'closed';
|
|
434
|
-
return (index.h(index.Host, { key: '
|
|
434
|
+
return (index.h(index.Host, { key: 'aada34b34ad78467aed1a5aa494bd573b8c3023c' }, index.h("slot", { key: 'fe01a0da104aa434f193a16e102880566b283531', name: "trigger" }), index.h("dialog", { key: '7db46371372809e4434d93675926cecfb2f90b74', ref: el => (this.dialogElement = el), onClose: this.handleDrawerClose, onClick: this.handleDrawerClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "drawer-header", "aria-describedby": "drawer-content", class: clsxChV9xqsO.clsx({ [`side-${this.side}`]: true }), "data-state": state }, index.h("div", { key: '1bd258e560667dc30474c3f30e376e9c6058e104', class: "backdrop", ref: el => (this.backdropElement = el) }, index.h("div", { key: 'bd3d78bc975a15d9bd03ffd764e4c9831a982c3a', class: clsxChV9xqsO.clsx('content', `size-${this.size}`), ref: el => (this.contentElement = el), "data-state": state, "data-side": this.side, style: this.width ? { width: this.width } : {} }, !this.undismissable && (index.h("nv-button", { key: '44dc185a2180b6371a822bdae3c2498e9228356d', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, index.h("nv-icon", { key: '9892aded6c0540f08785ff93cda21966420564bd', name: "x", size: "sm" }))), this.headerElement ? (index.h("slot", { name: "header" })) : (index.h("nv-drawerheader", { id: "drawer-header" })), index.h("div", { key: 'f99756243748abee798cf6dca389dfb350980b98', class: "content-body", id: "drawer-content" }, index.h("slot", { key: 'fdd5e1c648dd1bc88429e9b3f1d01d94577042f5' })), this.footerElement ? (index.h("slot", { name: "footer" })) : (index.h("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? constantsGOKBmbgZ.ButtonType.Submit : constantsGOKBmbgZ.ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
|
|
435
435
|
}
|
|
436
436
|
get el() { return index.getElement(this); }
|
|
437
437
|
static get watchers() { return {
|