nectiasw 0.0.29 → 0.0.30

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.d.ts CHANGED
@@ -101,6 +101,7 @@ export { stack } from './utils/stack';
101
101
  export { bearer } from './utils/bearer';
102
102
  export { revert } from './utils/revert';
103
103
  export { mapping } from './utils/mapping';
104
+ export { isAmount } from './utils/amount';
104
105
  export { download } from './utils/download';
105
106
  export { capitalize } from './utils/capitalize';
106
107
  export { formatHourTime, removeHourFormat } from './utils/time';
package/dist/index.es.js CHANGED
@@ -55777,7 +55777,11 @@ function fde(e, n) {
55777
55777
  value: t[n.valueAsKey]
55778
55778
  }));
55779
55779
  }
55780
- function hde(e, n, t) {
55780
+ function hde(e) {
55781
+ const n = +e;
55782
+ return !isNaN(n) && n > 0;
55783
+ }
55784
+ function pde(e, n, t) {
55781
55785
  const r = window == null ? void 0 : window.atob(n), i = new Array(r.length);
55782
55786
  for (let c = 0; c < r.length; c++)
55783
55787
  i[c] = r.charCodeAt(c);
@@ -55790,15 +55794,15 @@ function hde(e, n, t) {
55790
55794
  href: l.createObjectURL(a)
55791
55795
  }), s.click(), l.revokeObjectURL(s.href), s.remove();
55792
55796
  }
55793
- function pde(e) {
55797
+ function mde(e) {
55794
55798
  return e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
55795
55799
  }
55796
- function mde(e, n) {
55800
+ function gde(e, n) {
55797
55801
  return Array.from({ length: n ?? 24 }, (t, r) => ({
55798
55802
  [e ?? "hour"]: r.toString().padStart(2, "0") + ":00"
55799
55803
  }));
55800
55804
  }
55801
- function gde(e, n) {
55805
+ function vde(e, n) {
55802
55806
  return Array.from({ length: (n ?? 24) * 2 }, (t, r) => {
55803
55807
  const i = Math.floor(r / 2), o = r % 2 * 30, a = i.toString().padStart(2, "0"), s = o === 0 ? "00" : o.toString();
55804
55808
  return {
@@ -55917,7 +55921,7 @@ const Hce = we.div`
55917
55921
  `, Yce = we.div`
55918
55922
  display: flex;
55919
55923
  justify-content: ${(e) => e == null ? void 0 : e.justify};
55920
- `, vde = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
55924
+ `, bde = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
55921
55925
  __proto__: null,
55922
55926
  Container: Hce,
55923
55927
  Content: Yce,
@@ -55947,7 +55951,7 @@ export {
55947
55951
  Eue as DangerTitle,
55948
55952
  Bne as Datepicker,
55949
55953
  iue as Description,
55950
- vde as Detail,
55954
+ bde as Detail,
55951
55955
  lw as Dropdown,
55952
55956
  cre as Empty,
55953
55957
  aue as Error,
@@ -56002,21 +56006,22 @@ export {
56002
56006
  gue as authorization,
56003
56007
  Bse as bearer,
56004
56008
  Km as broadcast,
56005
- pde as capitalize,
56009
+ mde as capitalize,
56006
56010
  vue as checkSystems,
56007
- gde as createHalfTimeSlots,
56011
+ vde as createHalfTimeSlots,
56008
56012
  Kue as createObserver,
56009
56013
  nde as createRef,
56010
56014
  Jue as createSignal,
56011
- mde as createTimeSlots,
56015
+ gde as createTimeSlots,
56012
56016
  lde as defaultCacheQueryOptions,
56013
56017
  mk as defaultConfig,
56014
56018
  ede as destroy,
56015
56019
  que as destroySignal,
56016
56020
  Que as dispatch,
56017
- hde as download,
56021
+ pde as download,
56018
56022
  AE as formatHourTime,
56019
56023
  qA as initialState,
56024
+ hde as isAmount,
56020
56025
  fde as mapping,
56021
56026
  lO as observe,
56022
56027
  ab as removeHourFormat,