@nice2dev/ui 1.4.1 → 1.4.3
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/CHANGELOG.md +52 -0
- package/dist/NiceCodeEditor-DhdjnDLV.cjs +289 -0
- package/dist/{NiceDataGrid-BT6iCUgP.cjs → NiceDataGrid-CrKDzMM1.cjs} +1 -1
- package/dist/{NiceForm-Bysp66Ef.cjs → NiceForm-CT9hEXpc.cjs} +1 -1
- package/dist/NiceLoginForm-C2-WgRn0.cjs +1 -0
- package/dist/NiceMention-BZEHqPrf.cjs +432 -0
- package/dist/NiceModuleLifecyclePanel-DKlqKPy2.cjs +1 -0
- package/dist/{NiceSavedQueryPanel-BbznsXFd.cjs → NiceSavedQueryPanel-C5Ab_NWx.cjs} +1 -1
- package/dist/NiceScheduler-BZQAKEVF.cjs +5 -0
- package/dist/{NiceWindow-pgR4c-kQ.cjs → NiceWindow-BklnkBpu.cjs} +1 -1
- package/dist/charts/NiceLinearGauge.mjs +96 -83
- package/dist/charts/NicePolarChart.mjs +47 -47
- package/dist/charts-BzlvCCg9.cjs +768 -0
- package/dist/charts.cjs +1 -1
- package/dist/{core-lazy-CL4ZIxF-.cjs → core-lazy-VTd5zfoZ.cjs} +1 -1
- package/dist/data.cjs +1 -1
- package/dist/display/NiceAvatar.mjs +40 -24
- package/dist/editors/pickers/NiceDateRangeBox.mjs +92 -92
- package/dist/editors/pickers/NiceDateTimePicker.mjs +173 -173
- package/dist/editors/rich/NiceCodeEditor.mjs +645 -584
- package/dist/editors/rich/NiceDocumentEditor.mjs +277 -254
- package/dist/editors.cjs +1 -1
- package/dist/feedback/NiceDrawer.mjs +15 -15
- package/dist/feedback.cjs +1 -1
- package/dist/index.cjs +202 -202
- package/dist/index.d.ts +18 -0
- package/dist/lazy.cjs +1 -1
- package/dist/navigation/NiceNavShell.mjs +646 -593
- package/dist/navigation/NiceSidebarNav.mjs +844 -823
- package/dist/navigation.cjs +1 -1
- package/dist/overlays/NiceWindow.mjs +91 -91
- package/dist/overlays.cjs +1 -1
- package/dist/planning/NiceScheduler.mjs +170 -169
- package/dist/planning/NiceSchedulerViews.mjs +242 -233
- package/dist/style.css +2 -2
- package/dist/utility/intlNames.mjs +26 -16
- package/package.json +4 -4
- package/dist/NiceCodeEditor-D0QZW88r.cjs +0 -268
- package/dist/NiceLoginForm-FGf32sro.cjs +0 -1
- package/dist/NiceMention-sc8W-DwH.cjs +0 -430
- package/dist/NiceModuleLifecyclePanel-DBQPCa_V.cjs +0 -1
- package/dist/NiceScheduler-3Ez0zSQJ.cjs +0 -5
- package/dist/charts-B0tHOpJ7.cjs +0 -768
package/dist/editors.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./no-code-B3BHeyG-.cjs"),i=require("./NiceForm-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./no-code-B3BHeyG-.cjs"),i=require("./NiceForm-CT9hEXpc.cjs"),e=require("./NiceMention-BZEHqPrf.cjs"),o=require("./NiceSelect-BNPXs6FQ.cjs"),N=require("./pickerCommons-CwcCc8Qi.cjs"),t=require("./NiceColorPicker-BLwYNSXJ.cjs"),r=require("./NiceHtmlEditor-C1OVtLQ6.cjs"),n=require("./NiceCodeEditor-DhdjnDLV.cjs");exports.NiceCheckbox=c.NiceCheckbox;exports.NiceNumberInput=c.NiceNumberInput;exports.NiceTextInput=c.NiceTextInput;exports.MASK_PRESETS=i.MASK_PRESETS;exports.NiceAutocomplete=i.NiceAutocomplete;exports.NiceCalendar=i.NiceCalendar;exports.NiceCountryPicker=i.NiceCountryPicker;exports.NiceDateTimePicker=i.NiceDateTimePicker;exports.NiceForm=i.NiceForm;exports.NiceMaskedInput=i.NiceMaskedInput;exports.NicePasswordInput=i.NicePasswordInput;exports.NiceRadioGroup=i.NiceRadioGroup;exports.NiceRating=i.NiceRating;exports.NiceSlider=i.NiceSlider;exports.NiceTagBox=i.NiceTagBox;exports.NiceTextArea=i.NiceTextArea;exports.NiceUpload=i.NiceUpload;exports.NICE_COLOR_PRESET_KEYS=e.NICE_COLOR_PRESET_KEYS;exports.NiceAccountPicker=e.NiceAccountPicker;exports.NiceAddressInput=e.NiceAddressInput;exports.NiceCodeEditorAI=e.NiceCodeEditorAI;exports.NiceColorPalette=e.NiceColorPalette;exports.NiceContactPicker=e.NiceContactPicker;exports.NiceCropEditor=e.NiceCropEditor;exports.NiceDateRangeBox=e.NiceDateRangeBox;exports.NiceDocumentEditor=e.NiceDocumentEditor;exports.NiceDropDownBox=e.NiceDropDownBox;exports.NiceEmojiPicker=e.NiceEmojiPicker;exports.NiceGradientPicker=e.NiceGradientPicker;exports.NiceHtmlEditorAI=e.NiceHtmlEditorAI;exports.NiceImageAnnotator=e.NiceImageAnnotator;exports.NiceImageEditor=e.NiceImageEditor;exports.NiceInputOtp=e.NiceInputOtp;exports.NiceInvoiceLineEditor=e.NiceInvoiceLineEditor;exports.NiceKeyValueEditor=e.NiceKeyValueEditor;exports.NiceKnob=e.NiceKnob;exports.NiceLogConsole=e.NiceLogConsole;exports.NiceLookup=e.NiceLookup;exports.NiceMarkdownEditor=e.NiceMarkdownEditor;exports.NiceMention=e.NiceMention;exports.NicePDFAnnotationEditor=e.NicePDFAnnotationEditor;exports.NicePickList=e.NicePickList;exports.NiceRangeSlider=e.NiceRangeSlider;exports.NiceScannerControl=e.NiceScannerControl;exports.NiceScriptRunner=e.NiceScriptRunner;exports.NiceSignature=e.NiceSignature;exports.NiceTreeSelect=e.NiceTreeSelect;exports.NiceWiki=e.NiceWiki;exports.NiceSelect=o.NiceSelect;exports.NiceToggle=N.NiceToggle;exports.NiceColorPicker=t.NiceColorPicker;exports.NiceHtmlEditor=r.NiceHtmlEditor;exports.NiceCodeEditor=n.NiceCodeEditor;
|
|
@@ -5,19 +5,19 @@ const k = ({
|
|
|
5
5
|
open: r,
|
|
6
6
|
onClose: a,
|
|
7
7
|
title: s,
|
|
8
|
-
position:
|
|
8
|
+
position: t = "right",
|
|
9
9
|
size: m = "md",
|
|
10
10
|
children: u,
|
|
11
11
|
footer: n,
|
|
12
|
-
transitionDuration:
|
|
12
|
+
transitionDuration: i,
|
|
13
13
|
className: w,
|
|
14
14
|
style: f,
|
|
15
|
-
displayStyle:
|
|
15
|
+
displayStyle: c,
|
|
16
16
|
testId: y,
|
|
17
|
-
"data-testid":
|
|
17
|
+
"data-testid": v
|
|
18
18
|
}) => {
|
|
19
|
-
const
|
|
20
|
-
return C(
|
|
19
|
+
const h = p("modal", c), N = g("modal", c), { t: _ } = $(), d = x(null);
|
|
20
|
+
return C(d, { open: r, onClose: a }), j(() => {
|
|
21
21
|
if (r)
|
|
22
22
|
return document.body.style.overflow = "hidden", () => {
|
|
23
23
|
document.body.style.overflow = "";
|
|
@@ -26,26 +26,26 @@ const k = ({
|
|
|
26
26
|
/* @__PURE__ */ e(
|
|
27
27
|
"div",
|
|
28
28
|
{
|
|
29
|
-
className: "nice-drawer-overlay",
|
|
30
|
-
onMouseDown: (
|
|
31
|
-
|
|
29
|
+
className: "nice-drawer-overlay nice-drawer-overlay--visible",
|
|
30
|
+
onMouseDown: (o) => {
|
|
31
|
+
o.target === o.currentTarget && a();
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
),
|
|
35
35
|
/* @__PURE__ */ l(
|
|
36
36
|
"div",
|
|
37
37
|
{
|
|
38
|
-
ref:
|
|
39
|
-
className: `nice-drawer nice-drawer--${
|
|
38
|
+
ref: d,
|
|
39
|
+
className: `nice-drawer nice-drawer--open nice-drawer--${t} nice-drawer--${m} nice-drawer--ds-${N} ${w || ""}`,
|
|
40
40
|
style: {
|
|
41
|
-
...
|
|
41
|
+
...h,
|
|
42
42
|
...f,
|
|
43
|
-
...
|
|
43
|
+
...i != null ? { transitionDuration: `${i}ms` } : {}
|
|
44
44
|
},
|
|
45
45
|
role: "dialog",
|
|
46
46
|
"aria-modal": "true",
|
|
47
47
|
"aria-label": s,
|
|
48
|
-
"data-testid":
|
|
48
|
+
"data-testid": v ?? y,
|
|
49
49
|
children: [
|
|
50
50
|
s && /* @__PURE__ */ l("div", { className: "nice-drawer__header", children: [
|
|
51
51
|
/* @__PURE__ */ e("h3", { className: "nice-drawer__title", children: s }),
|
|
@@ -55,7 +55,7 @@ const k = ({
|
|
|
55
55
|
type: "button",
|
|
56
56
|
className: "nice-drawer__close",
|
|
57
57
|
onClick: a,
|
|
58
|
-
"aria-label":
|
|
58
|
+
"aria-label": _("controls.close", "Close"),
|
|
59
59
|
children: /* @__PURE__ */ e(D, { name: "close", size: 18 })
|
|
60
60
|
}
|
|
61
61
|
)
|
package/dist/feedback.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceLoginForm-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceLoginForm-C2-WgRn0.cjs"),o=require("./NiceModal-BRVzjuUN.cjs"),i=require("./devops-cgRBnZVX.cjs");exports.NiceAlert=e.NiceAlert;exports.NiceCookieConsent=e.NiceCookieConsent;exports.NiceDrawer=e.NiceDrawer;exports.NiceErrorBoundary=e.NiceErrorBoundary;exports.NiceLoginForm=e.NiceLoginForm;exports.NiceOfflineBanner=e.NiceOfflineBanner;exports.NiceRetryPanel=e.NiceRetryPanel;exports.NiceTimeoutFeedback=e.NiceTimeoutFeedback;exports.NiceToastContainer=e.NiceToastContainer;exports.alertIcons=e.alertIcons;exports.useNiceToast=e.useNiceToast;exports.NiceModal=o.NiceModal;exports.NiceConfirmDialog=i.NiceConfirmDialog;exports.useNiceDialogs=i.useNiceDialogs;
|