comand-component-library 4.1.82 → 4.1.83

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.
@@ -18688,7 +18688,7 @@ function y1(e, n, t, s, i, o) {
18688
18688
  ], 2)
18689
18689
  ], 2);
18690
18690
  }
18691
- const b1 = /* @__PURE__ */ P(f1, [["render", y1]]), x1 = "comand-component-library", _1 = "4.1.82", C1 = "GPL-3.0-only", w1 = "CoManD-UI", k1 = "module", v1 = {
18691
+ const b1 = /* @__PURE__ */ P(f1, [["render", y1]]), x1 = "comand-component-library", _1 = "4.1.83", C1 = "GPL-3.0-only", w1 = "CoManD-UI", k1 = "module", v1 = {
18692
18692
  prepublishOnly: "npm run build-lib",
18693
18693
  dev: "vite",
18694
18694
  build: "vite build",
@@ -22665,7 +22665,11 @@ function Ev(e, n = 0) {
22665
22665
  }
22666
22666
  }), s;
22667
22667
  }
22668
- function Hv() {
22668
+ function Hv(e, n = null, t) {
22669
+ let s = "";
22670
+ return s += e + " ", n && (s += n + " "), s += t, s;
22671
+ }
22672
+ function qv() {
22669
22673
  const e = {};
22670
22674
  Ro(s);
22671
22675
  function n(i = "defaultSequence") {
@@ -22746,10 +22750,11 @@ export {
22746
22750
  Qe as createUuid,
22747
22751
  Fv as currentDate,
22748
22752
  B1 as formatDate,
22753
+ Hv as fullName,
22749
22754
  qi as getCookieDisclaimerCookie,
22750
22755
  Ke as getFileExtension,
22751
22756
  be as openFancyBox,
22752
22757
  Cm as setCookieDisclaimerCookie,
22753
22758
  Ev as useScrollspy,
22754
- Hv as useSequence
22759
+ qv as useSequence
22755
22760
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.1.82",
3
+ "version": "4.1.83",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": "CoManD-UI",
6
6
  "private": false,
package/src/index.js CHANGED
@@ -70,6 +70,7 @@ export { capitalize } from '@/utils/string'
70
70
  export { useScrollspy } from '@/composables/scrollspy'
71
71
  export { setCookieDisclaimerCookie, getCookieDisclaimerCookie } from '@/utils/cookie'
72
72
  export { currentDate, formatDate } from "@/utils/date"
73
+ export { fullName } from "@/utils/name"
73
74
 
74
75
  // export composables
75
76
  export { useSequence } from '@/composables/sequence'
@@ -0,0 +1,13 @@
1
+ function fullName(firstName, middleName = null, lastName) {
2
+ let fullName = ""
3
+ fullName += firstName + " "
4
+
5
+ if(middleName) {
6
+ fullName += middleName + " "
7
+ }
8
+
9
+ fullName += lastName
10
+ return fullName
11
+ }
12
+
13
+ export {fullName}