@nmorph/nmorph-ui-kit 0.2.66 → 0.2.67
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/index.es.js +12 -11
- package/dist/index.umd.js +2 -2
- package/dist/src/utils/any-to-pascal.d.ts +1 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -31,7 +31,7 @@ const J2 = (e, t) => {
|
|
|
31
31
|
}
|
|
32
32
|
}, Q2 = (e, t) => {
|
|
33
33
|
console.log(`%c ${t} `, `background: ${Fe[e].bg}; color: ${Fe[e].text}`);
|
|
34
|
-
}, Z2 = ["disabled", "loading", "type"], N2 = { key: 1 }, I2 = { key: 0 }, W = /* @__PURE__ */ D({
|
|
34
|
+
}, jx = (e) => e.replace(/(^\w|-\w)/g, (t) => t.replace(/-/, "").toUpperCase()), Z2 = ["disabled", "loading", "type"], N2 = { key: 1 }, I2 = { key: 0 }, W = /* @__PURE__ */ D({
|
|
35
35
|
__name: "NmorphButton",
|
|
36
36
|
props: {
|
|
37
37
|
styleType: { default: "default" },
|
|
@@ -4464,8 +4464,8 @@ const Le = (e) => {
|
|
|
4464
4464
|
});
|
|
4465
4465
|
};
|
|
4466
4466
|
return { placement: u, placementCoords: d };
|
|
4467
|
-
},
|
|
4468
|
-
}, Ng = "@nmorph/nmorph-ui-kit", Ig = "module", ew = "0.2.
|
|
4467
|
+
}, Wx = () => {
|
|
4468
|
+
}, Ng = "@nmorph/nmorph-ui-kit", Ig = "module", ew = "0.2.67", tw = "MIT", nw = {
|
|
4469
4469
|
node: "18.13.0",
|
|
4470
4470
|
npm: "8.19.3"
|
|
4471
4471
|
}, ow = "./dist/index.d.ts", aw = "./dist/index.umd.js", sw = "./dist/index.es.js", lw = "./dist/style.css", rw = [
|
|
@@ -4682,7 +4682,7 @@ const Le = (e) => {
|
|
|
4682
4682
|
}
|
|
4683
4683
|
}, Ye = {
|
|
4684
4684
|
NmorphSwitch: k2[ae.en]
|
|
4685
|
-
},
|
|
4685
|
+
}, Lx = {
|
|
4686
4686
|
NmorphSwitch: k2[ae.ru]
|
|
4687
4687
|
}, yw = (e) => {
|
|
4688
4688
|
const t = e && e.messages ? { ...e.messages, en: Ye } : { en: Ye }, a = e && e.locale ? e.locale : ae.en;
|
|
@@ -4691,7 +4691,7 @@ const Le = (e) => {
|
|
|
4691
4691
|
fallbackLocale: ae.en,
|
|
4692
4692
|
messages: t
|
|
4693
4693
|
});
|
|
4694
|
-
},
|
|
4694
|
+
}, Ux = () => {
|
|
4695
4695
|
const e = w([]), t = {
|
|
4696
4696
|
duration: 3e3,
|
|
4697
4697
|
closable: !0,
|
|
@@ -6957,7 +6957,7 @@ const Tx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6957
6957
|
return window && window.addEventListener("resize", t), {
|
|
6958
6958
|
dimensions: e
|
|
6959
6959
|
};
|
|
6960
|
-
},
|
|
6960
|
+
}, Yx = () => Q("nmorph"), Gx = {
|
|
6961
6961
|
install(e, t = {}) {
|
|
6962
6962
|
if (!t.i18n.outsideMessagesMerge) {
|
|
6963
6963
|
const c = yw(t.i18n), u = e.__VUE_I18N__;
|
|
@@ -7065,11 +7065,12 @@ export {
|
|
|
7065
7065
|
V2 as NmorphTooltip,
|
|
7066
7066
|
ye as NmorphVideoResolution,
|
|
7067
7067
|
Be as NmorphYearMonthPicker,
|
|
7068
|
+
jx as anyToPascalCase,
|
|
7068
7069
|
Re as camelToKebab,
|
|
7069
7070
|
Fx as capitalizeFirstChar,
|
|
7070
7071
|
J2 as createBlockModifiers,
|
|
7071
7072
|
Ee as deepClone,
|
|
7072
|
-
|
|
7073
|
+
Gx as default,
|
|
7073
7074
|
Ye as en,
|
|
7074
7075
|
de as formatDateIntl,
|
|
7075
7076
|
Ce as formatTimestampToTime,
|
|
@@ -7086,16 +7087,16 @@ export {
|
|
|
7086
7087
|
Q2 as log,
|
|
7087
7088
|
Se as monthNames,
|
|
7088
7089
|
y$ as resolution,
|
|
7089
|
-
|
|
7090
|
+
Lx as ru,
|
|
7090
7091
|
A2 as timeArrayToTimestamp,
|
|
7091
7092
|
Mw as useA11yProps,
|
|
7092
|
-
|
|
7093
|
+
Wx as useEventManager,
|
|
7093
7094
|
Le as useFieldValidation,
|
|
7094
7095
|
Zg as useFormValidation,
|
|
7095
7096
|
A as useModifiers,
|
|
7096
|
-
|
|
7097
|
+
Yx as useNmorph,
|
|
7097
7098
|
Ox as useNmorphBrowser,
|
|
7098
|
-
|
|
7099
|
+
Ux as useNmorphNotification,
|
|
7099
7100
|
xw as useNmorphTheme,
|
|
7100
7101
|
yw as useNmorphTranslation,
|
|
7101
7102
|
M2 as usePlacement
|