aptechka 0.1.3 → 0.1.5
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/lib/Animated-CzBHCHNm.js +130 -0
- package/lib/Animated-DZ_fbJmi.cjs +1 -0
- package/lib/Damped--qBZAdEi.cjs +1 -0
- package/lib/Damped-Bm1kSn1f.js +36 -0
- package/lib/Derived-BS2ja9qa.js +27 -0
- package/lib/Derived-CqmIkTGN.cjs +1 -0
- package/lib/ElementConstructor-DB0xOoat.js +199 -0
- package/lib/ElementConstructor-v1FPLXAW.cjs +1 -0
- package/lib/{SourceManager-vXInLlh_.js → SourceManager-B44FUTig.js} +26 -26
- package/lib/SourceManager-D447KWpH.cjs +1 -0
- package/lib/Store-BOOfmlyv.cjs +1 -0
- package/lib/{Store-qq7IjRLE.js → Store-uTyReFzx.js} +50 -34
- package/lib/Viewport-CDqiD8Ao.cjs +1 -0
- package/lib/Viewport-Cj0i-H5d.js +129 -0
- package/lib/WheelControls-CX9WUbBC.js +83 -0
- package/lib/WheelControls-CfDeGCOU.cjs +1 -0
- package/lib/abstract-elements/AbstractButtonElement.d.ts +5 -0
- package/lib/abstract-elements/index.cjs +1 -0
- package/lib/abstract-elements/index.d.ts +1 -0
- package/lib/abstract-elements/index.js +27 -0
- package/lib/accordion/AccordionElement.d.ts +24 -1
- package/lib/accordion/index.cjs +1 -0
- package/lib/accordion/index.js +166 -0
- package/lib/animation/Animated.d.ts +9 -12
- package/lib/animation/Tweened.d.ts +1 -1
- package/lib/animation/index.cjs +1 -1
- package/lib/animation/index.d.ts +1 -1
- package/lib/animation/index.js +11 -17
- package/lib/attribute/index.cjs +1 -1
- package/lib/attribute/index.d.ts +8 -4
- package/lib/attribute/index.js +44 -35
- package/lib/canvas/index.cjs +1 -0
- package/lib/{canvas-2d → canvas}/index.d.ts +4 -3
- package/lib/canvas/index.js +97 -0
- package/lib/connector/index.cjs +1 -0
- package/lib/connector/index.d.ts +14 -0
- package/lib/connector/index.js +53 -0
- package/lib/controls/WheelControls.d.ts +3 -2
- package/lib/controls/index.cjs +1 -1
- package/lib/controls/index.js +23 -27
- package/lib/createStylesheet-74ZP3AZm.js +8 -0
- package/lib/createStylesheet-ChhZFwSX.cjs +1 -0
- package/lib/createTheme-BMH9cRrS.js +15 -0
- package/lib/createTheme-COo8IzPG.cjs +1 -0
- package/lib/custom-element/index.cjs +1 -1
- package/lib/custom-element/index.d.ts +3 -1
- package/lib/custom-element/index.js +19 -9
- package/lib/device/Viewport.d.ts +1 -1
- package/lib/device/index.cjs +1 -1
- package/lib/device/index.js +5 -121
- package/lib/element-constructor/ElementConstructor.d.ts +11 -15
- package/lib/element-constructor/createStylesheet.d.ts +2 -0
- package/lib/element-constructor/createTheme.d.ts +12 -0
- package/lib/element-constructor/htmlTags.d.ts +115 -113
- package/lib/element-constructor/index.cjs +1 -1
- package/lib/element-constructor/index.d.ts +2 -1
- package/lib/element-constructor/index.js +387 -1136
- package/lib/element-constructor/svgTags.d.ts +63 -63
- package/lib/element-resizer/index.cjs +1 -0
- package/lib/element-resizer/index.d.ts +9 -0
- package/lib/element-resizer/index.js +64 -0
- package/lib/en3/attachments/En3SourceManager.d.ts +2 -2
- package/lib/en3/index.cjs +7 -7
- package/lib/en3/index.js +252 -242
- package/lib/en3/objects/En3Clip.d.ts +2 -2
- package/lib/events-CoqmkUxo.js +11 -0
- package/lib/events-D68xg4dy.cjs +1 -0
- package/lib/file-EevnUtRj.cjs +1 -0
- package/lib/file-lxi_oXJf.js +13 -0
- package/lib/htmlTags-CNEFIHPp.js +683 -0
- package/lib/htmlTags-CwYHVo9n.cjs +1 -0
- package/lib/image/index.cjs +1 -1
- package/lib/image/index.js +13 -20
- package/lib/index-DyJhLxk8.js +310 -0
- package/lib/index-tPw9mmLF.cjs +9 -0
- package/lib/intersector/index.cjs +1 -1
- package/lib/intersector/index.d.ts +2 -1
- package/lib/intersector/index.js +33 -22
- package/lib/jsx/ComponentWrapper.d.ts +12 -0
- package/lib/jsx/h.d.ts +7 -0
- package/lib/jsx/hooks.d.ts +19 -0
- package/lib/jsx/index.cjs +1 -0
- package/lib/jsx/index.d.ts +4 -0
- package/lib/jsx/index.js +125 -0
- package/lib/jsx/render.d.ts +2 -0
- package/lib/jsx/type.d.ts +185 -0
- package/lib/ladder/index.cjs +1 -1
- package/lib/ladder/index.js +3 -4
- package/lib/layout-box/index.cjs +1 -1
- package/lib/layout-box/index.d.ts +1 -0
- package/lib/layout-box/index.js +113 -99
- package/lib/loading/index.cjs +1 -1
- package/lib/loading/index.js +1 -1
- package/lib/media/index.cjs +1 -1
- package/lib/media/index.js +17 -20
- package/lib/modal/ModalElement.d.ts +12 -0
- package/lib/modal/index.cjs +1 -0
- package/lib/modal/index.d.ts +1 -0
- package/lib/modal/index.js +144 -0
- package/lib/morph/index.cjs +1 -1
- package/lib/morph/index.js +1 -1
- package/lib/number-Bo5RdrA1.js +23 -0
- package/lib/number-yVpzMdbQ.cjs +1 -0
- package/lib/popover/PopoverButtonElement.d.ts +14 -0
- package/lib/popover/PopoverElement.d.ts +19 -0
- package/lib/popover/index.cjs +1 -0
- package/lib/popover/index.d.ts +2 -0
- package/lib/popover/index.js +122 -0
- package/lib/router/index.cjs +1 -1
- package/lib/router/index.js +2 -2
- package/lib/scroll/ScrollElement.d.ts +5 -3
- package/lib/scroll/index.cjs +1 -71
- package/lib/scroll/index.js +349 -314
- package/lib/scroll-entries/index.cjs +1 -1
- package/lib/scroll-entries/index.d.ts +1 -1
- package/lib/scroll-entries/index.js +4 -2
- package/lib/select/SelectElement.d.ts +25 -0
- package/lib/select/SelectHeadElement.d.ts +12 -0
- package/lib/select/SelectOptionElement.d.ts +13 -0
- package/lib/select/SelectUserElement.d.ts +7 -0
- package/lib/select/index.cjs +1 -0
- package/lib/select/index.d.ts +4 -0
- package/lib/select/index.js +7 -0
- package/lib/source/SourceClass.d.ts +1 -1
- package/lib/source/index.cjs +2 -2
- package/lib/source/index.js +13 -18
- package/lib/store/CumulativeResource.d.ts +2 -2
- package/lib/store/Resource.d.ts +1 -1
- package/lib/store/Store.d.ts +55 -9
- package/lib/store/StoreRegistry.d.ts +2 -2
- package/lib/store/index.cjs +1 -1
- package/lib/store/index.d.ts +2 -1
- package/lib/store/index.js +105 -66
- package/lib/string-BrDhnNUL.js +39 -0
- package/lib/string-DzUwFYSS.cjs +1 -0
- package/lib/studio/StudioElement.d.ts +3 -0
- package/lib/studio/index.cjs +10 -0
- package/lib/studio/index.js +985 -0
- package/lib/studio/studioStorage.d.ts +14 -0
- package/lib/studio/tweaker/TweakerBooleanManagerElement.d.ts +10 -0
- package/lib/studio/tweaker/TweakerColorManagerElement.d.ts +10 -0
- package/lib/studio/tweaker/TweakerElement.d.ts +17 -0
- package/lib/studio/tweaker/TweakerFieldElement.d.ts +20 -0
- package/lib/studio/tweaker/TweakerFolderElement.d.ts +22 -0
- package/lib/studio/tweaker/TweakerLinkManagerElement.d.ts +10 -0
- package/lib/studio/tweaker/TweakerNumberManagerElement.d.ts +17 -0
- package/lib/studio/tweaker/TweakerRangeManagerElement.d.ts +10 -0
- package/lib/studio/tweaker/TweakerSelectManagerElement.d.ts +10 -0
- package/lib/studio/tweaker/TweakerStoreManagerElement.d.ts +7 -0
- package/lib/studio/tweaker/TweakerStringManagerElement.d.ts +12 -0
- package/lib/studio/tweaker/tweakerManagerConstructors.d.ts +5 -0
- package/lib/style-At6aDoqG.cjs +1 -0
- package/lib/style-j2TwriJ_.js +10 -0
- package/lib/theme/index.cjs +1 -0
- package/lib/theme/index.d.ts +90 -0
- package/lib/theme/index.js +34 -0
- package/lib/ticker/index.cjs +1 -1
- package/lib/ticker/index.js +1 -1
- package/lib/utils/events.d.ts +6 -0
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +8 -7
- package/lib/utils/index.js +95 -105
- package/lib/utils/number.d.ts +2 -3
- package/lib/utils/string.d.ts +1 -0
- package/lib/utils/style.d.ts +2 -0
- package/lib/utils/ts-utility.d.ts +2 -0
- package/lib/video/index.cjs +1 -1
- package/lib/video/index.js +13 -20
- package/lib/window-resizer/index.cjs +1 -0
- package/lib/window-resizer/index.d.ts +9 -0
- package/lib/window-resizer/index.js +46 -0
- package/package.json +91 -28
- package/lib/Damped-DdPj4Sho.cjs +0 -1
- package/lib/Damped-H3PuZwKV.js +0 -152
- package/lib/SourceManager-tmQlXkSD.cjs +0 -1
- package/lib/Store-txkR3wXU.cjs +0 -1
- package/lib/WheelControls-9ZQKSYYq.js +0 -83
- package/lib/WheelControls-TYhGU6oA.cjs +0 -1
- package/lib/canvas-2d/index.cjs +0 -5
- package/lib/canvas-2d/index.js +0 -90
- package/lib/element-constructor/specialObjects.d.ts +0 -2
- package/lib/measurer/CumulativeOffsetLeft.d.ts +0 -4
- package/lib/measurer/CumulativeOffsetTop.d.ts +0 -4
- package/lib/measurer/Meaurer.d.ts +0 -8
- package/lib/measurer/index.cjs +0 -1
- package/lib/measurer/index.d.ts +0 -3
- package/lib/measurer/index.js +0 -48
- package/lib/number-2bR0KBcX.cjs +0 -1
- package/lib/number-bCHB2GAD.js +0 -31
- package/lib/resizer/index.cjs +0 -1
- package/lib/resizer/index.d.ts +0 -10
- package/lib/resizer/index.js +0 -45
- package/lib/string-GmxZA5Nq.js +0 -31
- package/lib/string-WmNOGq16.cjs +0 -1
- package/lib/utils/dev.d.ts +0 -3
- /package/lib/{attributes-w0u-KiIb.js → attributes-69we3byR.js} +0 -0
- /package/lib/{attributes-_2U65GDl.cjs → attributes-Bf2svn4j.cjs} +0 -0
- /package/lib/{browser-S4eq8AeN.js → browser-0zX67oeU.js} +0 -0
- /package/lib/{browser-QbF6EW-w.cjs → browser-CpzFX2xg.cjs} +0 -0
- /package/lib/{dom-bHEwc_xV.js → dom-BY7JhTx5.js} +0 -0
- /package/lib/{dom-QhWsdQS2.cjs → dom-qY2LdCVL.cjs} +0 -0
- /package/lib/{easings-uF-tgahf.js → easings-BKi40vHz.js} +0 -0
- /package/lib/{easings-_wFs9ZWc.cjs → easings-DsS5-Kqc.cjs} +0 -0
- /package/lib/{function-zwSFehNd.js → function-C10DGppn.js} +0 -0
- /package/lib/{function-QP7IreXR.cjs → function-MthRj-GJ.cjs} +0 -0
- /package/lib/{layout-rZzbsLPd.cjs → layout-8ryRAMGJ.cjs} +0 -0
- /package/lib/{layout-5SJlcXTY.js → layout-HoBT_Da2.js} +0 -0
- /package/lib/{math-_a3IpKOc.js → math-BOBiC4TN.js} +0 -0
- /package/lib/{math-FNUBmQPK.cjs → math-GDWEqu7y.cjs} +0 -0
package/lib/measurer/index.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
var c = Object.defineProperty;
|
|
2
|
-
var d = (s, e, t) => e in s ? c(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
-
var f = (s, e, t) => (d(s, typeof e != "symbol" ? e + "" : e, t), t), m = (s, e, t) => {
|
|
4
|
-
if (!e.has(s))
|
|
5
|
-
throw TypeError("Cannot " + t);
|
|
6
|
-
};
|
|
7
|
-
var i = (s, e, t) => (m(s, e, "read from private field"), t ? t.call(s) : e.get(s)), n = (s, e, t) => {
|
|
8
|
-
if (e.has(s))
|
|
9
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
10
|
-
e instanceof WeakSet ? e.add(s) : e.set(s, t);
|
|
11
|
-
}, h = (s, e, t, o) => (m(s, e, "write to private field"), o ? o.call(s, t) : e.set(s, t), t);
|
|
12
|
-
import { i as O } from "../browser-S4eq8AeN.js";
|
|
13
|
-
import { g as z, a as C } from "../layout-5SJlcXTY.js";
|
|
14
|
-
var r, a, l, u;
|
|
15
|
-
class v {
|
|
16
|
-
constructor(e) {
|
|
17
|
-
n(this, r, void 0);
|
|
18
|
-
n(this, a, null);
|
|
19
|
-
n(this, l, 0);
|
|
20
|
-
f(this, "value", (e) => e ? e(i(this, l)) : i(this, l));
|
|
21
|
-
n(this, u, () => {
|
|
22
|
-
h(this, l, this.handleResize()), i(this, r).isConnected || this.destroy();
|
|
23
|
-
});
|
|
24
|
-
h(this, r, e), O && (h(this, a, new ResizeObserver(i(this, u))), i(this, a).observe(e));
|
|
25
|
-
}
|
|
26
|
-
get element() {
|
|
27
|
-
return i(this, r);
|
|
28
|
-
}
|
|
29
|
-
destroy() {
|
|
30
|
-
i(this, a).disconnect();
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
r = new WeakMap(), a = new WeakMap(), l = new WeakMap(), u = new WeakMap();
|
|
34
|
-
class R extends v {
|
|
35
|
-
handleResize() {
|
|
36
|
-
return z(this.element);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
class x extends v {
|
|
40
|
-
handleResize() {
|
|
41
|
-
return C(this.element);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
R as CumulativeOffsetLeft,
|
|
46
|
-
x as CumulativeOffsetTop,
|
|
47
|
-
v as Measurer
|
|
48
|
-
};
|
package/lib/number-2bR0KBcX.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10];function i(n,e=5){return(.5+n*o[e]<<0)/o[e]}function a(n,e){return Math.round(n/e)*e}function d(n,e="abcdefghijklmnopqrstuvwxyz0123456789"){const u=e.length,c=crypto.getRandomValues(new Uint8Array(n));let r="";for(let t=0;t<n;t++)r+=e.charAt(c[t]%u);return r}exports.fix=i;exports.generateId=d;exports.roundTo=a;
|
package/lib/number-bCHB2GAD.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const o = [
|
|
2
|
-
1,
|
|
3
|
-
10,
|
|
4
|
-
100,
|
|
5
|
-
1e3,
|
|
6
|
-
1e4,
|
|
7
|
-
1e5,
|
|
8
|
-
1e6,
|
|
9
|
-
1e7,
|
|
10
|
-
1e8,
|
|
11
|
-
1e9,
|
|
12
|
-
1e10
|
|
13
|
-
];
|
|
14
|
-
function u(n, e = 5) {
|
|
15
|
-
return (0.5 + n * o[e] << 0) / o[e];
|
|
16
|
-
}
|
|
17
|
-
function i(n, e) {
|
|
18
|
-
return Math.round(n / e) * e;
|
|
19
|
-
}
|
|
20
|
-
function s(n, e = "abcdefghijklmnopqrstuvwxyz0123456789") {
|
|
21
|
-
const a = e.length, c = crypto.getRandomValues(new Uint8Array(n));
|
|
22
|
-
let r = "";
|
|
23
|
-
for (let t = 0; t < n; t++)
|
|
24
|
-
r += e.charAt(c[t] % a);
|
|
25
|
-
return r;
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
u as f,
|
|
29
|
-
s as g,
|
|
30
|
-
i as r
|
|
31
|
-
};
|
package/lib/resizer/index.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var h=(e,s,i)=>{if(!s.has(e))throw TypeError("Cannot "+i)};var r=(e,s,i)=>(h(e,s,"read from private field"),i?i.call(e):s.get(e)),u=(e,s,i)=>{if(s.has(e))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(e):s.set(e,i)},d=(e,s,i,o)=>(h(e,s,"write to private field"),o?o.call(e,i):s.set(e,i),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../notifier/index.cjs"),w=require("../browser-QbF6EW-w.cjs"),f=require("../function-QP7IreXR.cjs"),a=f.debounce(e=>{e?window.dispatchEvent(new CustomEvent("resize",{detail:{cause:e}})):window.dispatchEvent(new Event("resize"))},0);var t,n,c;class v extends b.Notifier{constructor(){super();u(this,t,!1);u(this,n,()=>{r(this,t)||(d(this,t,!0),r(this,c).call(this))});u(this,c,f.debounce(()=>{this.notify(),d(this,t,!1)},0));w.isBrowser&&(addEventListener("resize",r(this,n)),r(this,n).call(this))}subscribe(i,o){const z=super.subscribe(i,o);return r(this,t)||i(),z}}t=new WeakMap,n=new WeakMap,c=new WeakMap;const l=new v;exports.dispatchResizeEvent=a;exports.resizer=l;
|
package/lib/resizer/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Notifier } from '../notifier';
|
|
2
|
-
export type ResizerCallback = () => void;
|
|
3
|
-
export declare const dispatchResizeEvent: (cause?: any) => void;
|
|
4
|
-
declare class Resizer extends Notifier<ResizerCallback> {
|
|
5
|
-
#private;
|
|
6
|
-
constructor();
|
|
7
|
-
subscribe(callback: ResizerCallback, order?: number): () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const resizer: Resizer;
|
|
10
|
-
export {};
|
package/lib/resizer/index.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
var u = (e, s, i) => {
|
|
2
|
-
if (!s.has(e))
|
|
3
|
-
throw TypeError("Cannot " + i);
|
|
4
|
-
};
|
|
5
|
-
var r = (e, s, i) => (u(e, s, "read from private field"), i ? i.call(e) : s.get(e)), d = (e, s, i) => {
|
|
6
|
-
if (s.has(e))
|
|
7
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
8
|
-
s instanceof WeakSet ? s.add(e) : s.set(e, i);
|
|
9
|
-
}, f = (e, s, i, o) => (u(e, s, "write to private field"), o ? o.call(e, i) : s.set(e, i), i);
|
|
10
|
-
import { Notifier as z } from "../notifier/index.js";
|
|
11
|
-
import { i as w } from "../browser-S4eq8AeN.js";
|
|
12
|
-
import { d as c } from "../function-zwSFehNd.js";
|
|
13
|
-
const l = c((e) => {
|
|
14
|
-
e ? window.dispatchEvent(
|
|
15
|
-
new CustomEvent("resize", {
|
|
16
|
-
detail: {
|
|
17
|
-
cause: e
|
|
18
|
-
}
|
|
19
|
-
})
|
|
20
|
-
) : window.dispatchEvent(new Event("resize"));
|
|
21
|
-
}, 0);
|
|
22
|
-
var t, n, h;
|
|
23
|
-
class a extends z {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
d(this, t, !1);
|
|
27
|
-
d(this, n, () => {
|
|
28
|
-
r(this, t) || (f(this, t, !0), r(this, h).call(this));
|
|
29
|
-
});
|
|
30
|
-
d(this, h, c(() => {
|
|
31
|
-
this.notify(), f(this, t, !1);
|
|
32
|
-
}, 0));
|
|
33
|
-
w && (addEventListener("resize", r(this, n)), r(this, n).call(this));
|
|
34
|
-
}
|
|
35
|
-
subscribe(i, o) {
|
|
36
|
-
const p = super.subscribe(i, o);
|
|
37
|
-
return r(this, t) || i(), p;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
t = new WeakMap(), n = new WeakMap(), h = new WeakMap();
|
|
41
|
-
const R = new a();
|
|
42
|
-
export {
|
|
43
|
-
l as dispatchResizeEvent,
|
|
44
|
-
R as resizer
|
|
45
|
-
};
|
package/lib/string-GmxZA5Nq.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
function n(e, s = !1) {
|
|
2
|
-
let t = "";
|
|
3
|
-
return e.split("-").forEach((a, o) => {
|
|
4
|
-
if (o === 0 && !s)
|
|
5
|
-
t += a;
|
|
6
|
-
else {
|
|
7
|
-
const c = a[0], r = a.slice(1), i = c.toUpperCase() + r;
|
|
8
|
-
t += i;
|
|
9
|
-
}
|
|
10
|
-
}), t;
|
|
11
|
-
}
|
|
12
|
-
function l(e) {
|
|
13
|
-
return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
14
|
-
}
|
|
15
|
-
function p(e) {
|
|
16
|
-
return e.split("_").join(".");
|
|
17
|
-
}
|
|
18
|
-
function f(e) {
|
|
19
|
-
return /^[a-z\d]+$/i.test(e) ? e.charAt(0).toUpperCase() + e.slice(1) : e.replace(/([a-z\d])([a-z\d]*)/gi, (s, t, a) => t.toUpperCase() + a.toLowerCase()).replace(/[^a-z\d]/gi, "");
|
|
20
|
-
}
|
|
21
|
-
function u(e, s = !1) {
|
|
22
|
-
const t = (a) => a.slice(0, 1).toUpperCase() + a.slice(1);
|
|
23
|
-
return s ? e.split(" ").map((a) => t(a)).join(" ") : t(e);
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
u as a,
|
|
27
|
-
l as c,
|
|
28
|
-
n as k,
|
|
29
|
-
p as s,
|
|
30
|
-
f as t
|
|
31
|
-
};
|
package/lib/string-WmNOGq16.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function r(e,o=!1){let t="";return e.split("-").forEach((a,c)=>{if(c===0&&!o)t+=a;else{const s=a[0],i=a.slice(1),l=s.toUpperCase()+i;t+=l}}),t}function n(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function p(e){return e.split("_").join(".")}function u(e){return/^[a-z\d]+$/i.test(e)?e.charAt(0).toUpperCase()+e.slice(1):e.replace(/([a-z\d])([a-z\d]*)/gi,(o,t,a)=>t.toUpperCase()+a.toLowerCase()).replace(/[^a-z\d]/gi,"")}function f(e,o=!1){const t=a=>a.slice(0,1).toUpperCase()+a.slice(1);return o?e.split(" ").map(a=>t(a)).join(" "):t(e)}exports.camelToKebab=n;exports.capitalize=f;exports.kebabToCamel=r;exports.snakeToDotted=p;exports.toPascalCase=u;
|
package/lib/utils/dev.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|