@design-edito/tools 0.2.41 → 1.0.1
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/agnostic/scrapers/@meteociel/index.d.ts +36 -0
- package/agnostic/scrapers/@meteociel/index.js +194 -0
- package/agnostic/scrapers/@meteociel/locations/index.d.ts +11 -0
- package/agnostic/scrapers/@meteociel/locations/index.js +6 -0
- package/agnostic/scrapers/@meteociel/types.d.ts +1 -0
- package/agnostic/weather/types.d.ts +181 -0
- package/chunks/chunk-JQLUR5LO.js +12 -0
- package/components/Comp/index.d.ts +1 -1
- package/components/Comp/index.js +0 -10
- package/package.json +2 -1
- package/agnostic/arrays/dedupe/index.d.ts +0 -7
- package/agnostic/arrays/dedupe/index.js +0 -10
- package/agnostic/arrays/find-duplicates/index.d.ts +0 -15
- package/agnostic/arrays/find-duplicates/index.js +0 -26
- package/agnostic/arrays/find-duplicates/index.test.d.ts +0 -1
- package/agnostic/arrays/is-array-of/index.d.ts +0 -16
- package/agnostic/arrays/is-array-of/index.js +0 -27
- package/agnostic/arrays/is-array-of/index.test.d.ts +0 -1
- package/agnostic/arrays/make/index.d.ts +0 -11
- package/agnostic/arrays/make/index.js +0 -9
- package/agnostic/arrays/make/index.test.d.ts +0 -1
- package/agnostic/arrays/random-pick/index.d.ts +0 -22
- package/agnostic/arrays/random-pick/index.js +0 -9
- package/agnostic/arrays/random-pick/index.test.d.ts +0 -1
- package/agnostic/arrays/shuffle/index.d.ts +0 -9
- package/agnostic/arrays/shuffle/index.js +0 -14
- package/agnostic/arrays/shuffle/index.test.d.ts +0 -1
- package/agnostic/booleans/is-falsy/index.d.ts +0 -24
- package/agnostic/booleans/is-falsy/index.js +0 -12
- package/agnostic/booleans/is-falsy/index.test.d.ts +0 -1
- package/agnostic/colors/channels/index.d.ts +0 -39
- package/agnostic/colors/channels/index.js +0 -19
- package/agnostic/colors/channels/index.test.d.ts +0 -1
- package/agnostic/colors/contrast/index.d.ts +0 -10
- package/agnostic/colors/contrast/index.js +0 -33
- package/agnostic/colors/contrast/index.test.d.ts +0 -1
- package/agnostic/colors/convert/index.d.ts +0 -164
- package/agnostic/colors/convert/index.js +0 -46
- package/agnostic/colors/convert/index.test.d.ts +0 -1
- package/agnostic/colors/distance/index.d.ts +0 -10
- package/agnostic/colors/distance/index.js +0 -56
- package/agnostic/colors/distance/index.test.d.ts +0 -1
- package/agnostic/colors/grayscale/index.d.ts +0 -10
- package/agnostic/colors/grayscale/index.js +0 -162
- package/agnostic/colors/grayscale/index.test.d.ts +0 -1
- package/agnostic/colors/invert/index.d.ts +0 -10
- package/agnostic/colors/invert/index.js +0 -51
- package/agnostic/colors/invert/index.test.d.ts +0 -1
- package/agnostic/colors/lerp/index.d.ts +0 -13
- package/agnostic/colors/lerp/index.js +0 -103
- package/agnostic/colors/lerp/index.test.d.ts +0 -1
- package/agnostic/colors/luminance/index.d.ts +0 -9
- package/agnostic/colors/luminance/index.js +0 -13
- package/agnostic/colors/luminance/index.test.d.ts +0 -1
- package/agnostic/colors/palette/index.d.ts +0 -11
- package/agnostic/colors/palette/index.js +0 -110
- package/agnostic/colors/palette/index.test.d.ts +0 -1
- package/agnostic/colors/rotate/index.d.ts +0 -11
- package/agnostic/colors/rotate/index.js +0 -14
- package/agnostic/colors/rotate/index.test.d.ts +0 -1
- package/agnostic/colors/tidy/index.d.ts +0 -10
- package/agnostic/colors/tidy/index.js +0 -12
- package/agnostic/colors/tidy/index.test.d.ts +0 -1
- package/agnostic/colors/typechecks/index.d.ts +0 -71
- package/agnostic/colors/typechecks/index.js +0 -27
- package/agnostic/colors/typechecks/index.test.d.ts +0 -1
- package/agnostic/colors/types.d.ts +0 -188
- package/agnostic/colors/types.js +0 -7
- package/agnostic/css/bem/index.d.ts +0 -30
- package/agnostic/css/bem/index.js +0 -159
- package/agnostic/css/generate-nice-color/index.d.ts +0 -8
- package/agnostic/css/generate-nice-color/index.js +0 -74
- package/agnostic/css/generate-nice-color/index.test.d.ts +0 -1
- package/agnostic/css/is-valid-css-class-name/index.d.ts +0 -13
- package/agnostic/css/is-valid-css-class-name/index.js +0 -9
- package/agnostic/css/is-valid-css-class-name/index.test.d.ts +0 -1
- package/agnostic/css/styles-set/index.d.ts +0 -39
- package/agnostic/css/styles-set/index.js +0 -173
- package/agnostic/errors/register/index.d.ts +0 -33
- package/agnostic/errors/register/index.js +0 -51
- package/agnostic/errors/unknown-to-string/index.d.ts +0 -7
- package/agnostic/errors/unknown-to-string/index.js +0 -7
- package/agnostic/errors/unknown-to-string/index.test.d.ts +0 -1
- package/agnostic/html/get-node-ancestors/index.d.ts +0 -13
- package/agnostic/html/get-node-ancestors/index.js +0 -8
- package/agnostic/html/get-node-ancestors/index.test.d.ts +0 -1
- package/agnostic/html/get-position-inside-parent/index.d.ts +0 -9
- package/agnostic/html/get-position-inside-parent/index.js +0 -11
- package/agnostic/html/get-position-inside-parent/index.test.d.ts +0 -1
- package/agnostic/html/hyper-json/cast/index.d.ts +0 -12
- package/agnostic/html/hyper-json/cast/index.js +0 -25
- package/agnostic/html/hyper-json/index.d.ts +0 -18
- package/agnostic/html/hyper-json/index.js +0 -50
- package/agnostic/html/hyper-json/method/index.d.ts +0 -7
- package/agnostic/html/hyper-json/method/index.js +0 -7
- package/agnostic/html/hyper-json/serialize/index.d.ts +0 -5
- package/agnostic/html/hyper-json/serialize/index.js +0 -11
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.d.ts +0 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +0 -27
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +0 -29
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.d.ts +0 -8
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.d.ts +0 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.d.ts +0 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.d.ts +0 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +0 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +0 -27
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.d.ts +0 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +0 -27
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.d.ts +0 -9
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/index.js +0 -10
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +0 -11
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +0 -11
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +0 -11
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.d.ts +0 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +0 -27
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +0 -25
- package/agnostic/html/hyper-json/transformer/index.d.ts +0 -33
- package/agnostic/html/hyper-json/transformer/index.js +0 -9
- package/agnostic/html/hyper-json/tree/index.d.ts +0 -47
- package/agnostic/html/hyper-json/tree/index.js +0 -25
- package/agnostic/html/hyper-json/types/index.d.ts +0 -143
- package/agnostic/html/hyper-json/types/index.js +0 -7
- package/agnostic/html/hyper-json/utils/index.d.ts +0 -57
- package/agnostic/html/hyper-json/utils/index.js +0 -25
- package/agnostic/html/insert-node/index.d.ts +0 -19
- package/agnostic/html/insert-node/index.js +0 -7
- package/agnostic/html/insert-node/index.test.d.ts +0 -1
- package/agnostic/html/placeholders/index.d.ts +0 -7
- package/agnostic/html/placeholders/index.js +0 -39
- package/agnostic/html/replace-in-element/index.d.ts +0 -15
- package/agnostic/html/replace-in-element/index.js +0 -26
- package/agnostic/html/replace-in-element/index.test.d.ts +0 -1
- package/agnostic/html/selector-to-element/index.d.ts +0 -16
- package/agnostic/html/selector-to-element/index.js +0 -34
- package/agnostic/html/selector-to-element/index.test.d.ts +0 -1
- package/agnostic/html/string-to-nodes/index.d.ts +0 -14
- package/agnostic/html/string-to-nodes/index.js +0 -20
- package/agnostic/html/string-to-nodes/index.test.d.ts +0 -1
- package/agnostic/misc/assert/index.d.ts +0 -5
- package/agnostic/misc/assert/index.js +0 -64
- package/agnostic/misc/cast/index.d.ts +0 -81
- package/agnostic/misc/cast/index.js +0 -23
- package/agnostic/misc/cast/index.test.d.ts +0 -1
- package/agnostic/misc/connection/index.d.ts +0 -26
- package/agnostic/misc/connection/index.js +0 -39
- package/agnostic/misc/connection/index.test.d.ts +0 -1
- package/agnostic/misc/crawler/index.d.ts +0 -63
- package/agnostic/misc/crawler/index.js +0 -35
- package/agnostic/misc/crawler/index.test.d.ts +0 -1
- package/agnostic/misc/crossenv/detect-runtime/index.d.ts +0 -12
- package/agnostic/misc/crossenv/detect-runtime/index.js +0 -17
- package/agnostic/misc/crossenv/detect-runtime/index.test.d.ts +0 -1
- package/agnostic/misc/crossenv/types.d.ts +0 -40
- package/agnostic/misc/crossenv/types.js +0 -7
- package/agnostic/misc/crossenv/window/index.d.ts +0 -28
- package/agnostic/misc/crossenv/window/index.js +0 -13
- package/agnostic/misc/crossenv/window/index.test.d.ts +0 -1
- package/agnostic/misc/data-size/index.d.ts +0 -87
- package/agnostic/misc/data-size/index.js +0 -297
- package/agnostic/misc/data-size/index.test.d.ts +0 -1
- package/agnostic/misc/data-size/types.d.ts +0 -37
- package/agnostic/misc/elo/index.d.ts +0 -29
- package/agnostic/misc/elo/index.js +0 -31
- package/agnostic/misc/is-constructor-function/index.d.ts +0 -13
- package/agnostic/misc/is-constructor-function/index.js +0 -7
- package/agnostic/misc/is-constructor-function/index.test.d.ts +0 -1
- package/agnostic/misc/is-nullish/index.d.ts +0 -26
- package/agnostic/misc/is-nullish/index.js +0 -11
- package/agnostic/misc/is-nullish/index.test.d.ts +0 -1
- package/agnostic/misc/logs/logger/index.d.ts +0 -45
- package/agnostic/misc/logs/logger/index.js +0 -112
- package/agnostic/misc/logs/make-text-block/index.d.ts +0 -1
- package/agnostic/misc/logs/make-text-block/index.js +0 -7
- package/agnostic/misc/logs/styles/index.d.ts +0 -11
- package/agnostic/misc/logs/styles/index.js +0 -8
- package/agnostic/misc/lorem-ipsum/index.d.ts +0 -3
- package/agnostic/misc/lorem-ipsum/index.js +0 -190
- package/agnostic/misc/lorem-ipsum/index.test.d.ts +0 -1
- package/agnostic/misc/normalize-extension/index.d.ts +0 -11
- package/agnostic/misc/normalize-extension/index.js +0 -92
- package/agnostic/misc/normalize-extension/index.test.d.ts +0 -1
- package/agnostic/misc/outcome/index.d.ts +0 -56
- package/agnostic/misc/outcome/index.js +0 -11
- package/agnostic/misc/outcome/index.test.d.ts +0 -1
- package/agnostic/numbers/absolute-modulo/index.d.ts +0 -8
- package/agnostic/numbers/absolute-modulo/index.js +0 -7
- package/agnostic/numbers/absolute-modulo/index.test.d.ts +0 -1
- package/agnostic/numbers/approximate-rational/index.d.ts +0 -22
- package/agnostic/numbers/approximate-rational/index.js +0 -72
- package/agnostic/numbers/approximate-rational/index.test.d.ts +0 -1
- package/agnostic/numbers/clamp/index.d.ts +0 -9
- package/agnostic/numbers/clamp/index.js +0 -7
- package/agnostic/numbers/clamp/index.test.d.ts +0 -1
- package/agnostic/numbers/interpolate/index.d.ts +0 -21
- package/agnostic/numbers/interpolate/index.js +0 -14
- package/agnostic/numbers/interpolate/index.test.d.ts +0 -1
- package/agnostic/numbers/responsive-harmonics/index.d.ts +0 -30
- package/agnostic/numbers/responsive-harmonics/index.js +0 -54
- package/agnostic/numbers/round/index.d.ts +0 -24
- package/agnostic/numbers/round/index.js +0 -11
- package/agnostic/numbers/round/index.test.d.ts +0 -1
- package/agnostic/objects/deep-get-property/index.d.ts +0 -9
- package/agnostic/objects/deep-get-property/index.js +0 -27
- package/agnostic/objects/enums/is-in-enum/index.d.ts +0 -11
- package/agnostic/objects/enums/is-in-enum/index.js +0 -7
- package/agnostic/objects/flatten-getters/index.d.ts +0 -7
- package/agnostic/objects/flatten-getters/index.js +0 -25
- package/agnostic/objects/is-object/index.d.ts +0 -14
- package/agnostic/objects/is-object/index.js +0 -9
- package/agnostic/objects/is-record/index.d.ts +0 -7
- package/agnostic/objects/is-record/index.js +0 -7
- package/agnostic/objects/record-format/index.d.ts +0 -38
- package/agnostic/objects/record-format/index.js +0 -18
- package/agnostic/objects/record-map/index.d.ts +0 -12
- package/agnostic/objects/record-map/index.js +0 -7
- package/agnostic/objects/validation/index.d.ts +0 -11
- package/agnostic/objects/validation/index.js +0 -11
- package/agnostic/optim/memoize/index.d.ts +0 -12
- package/agnostic/optim/memoize/index.js +0 -19
- package/agnostic/optim/throttle-debounce/index.d.ts +0 -30
- package/agnostic/optim/throttle-debounce/index.js +0 -114
- package/agnostic/optim/throttle-debounce/types.d.ts +0 -2
- package/agnostic/random/hex-char/index.d.ts +0 -4
- package/agnostic/random/hex-char/index.js +0 -9
- package/agnostic/random/random/index.d.ts +0 -17
- package/agnostic/random/random/index.js +0 -9
- package/agnostic/random/uuid/index.d.ts +0 -21
- package/agnostic/random/uuid/index.js +0 -12
- package/agnostic/regexps/index.d.ts +0 -95
- package/agnostic/regexps/index.js +0 -88
- package/agnostic/sanitization/file-name/index.d.ts +0 -13
- package/agnostic/sanitization/file-name/index.js +0 -7
- package/agnostic/sanitization/html/index.d.ts +0 -61
- package/agnostic/sanitization/html/index.js +0 -121
- package/agnostic/sanitization/path/index.d.ts +0 -11
- package/agnostic/sanitization/path/index.js +0 -14
- package/agnostic/sanitization/types.d.ts +0 -37
- package/agnostic/sanitization/types.js +0 -0
- package/agnostic/sanitization/user-input/index.d.ts +0 -13
- package/agnostic/sanitization/user-input/index.js +0 -23
- package/agnostic/strings/char-codes/index.d.ts +0 -82
- package/agnostic/strings/char-codes/index.js +0 -70
- package/agnostic/strings/matches/index.d.ts +0 -28
- package/agnostic/strings/matches/index.js +0 -11
- package/agnostic/strings/normalize-indent/index.d.ts +0 -23
- package/agnostic/strings/normalize-indent/index.js +0 -19
- package/agnostic/strings/parse-table/index.d.ts +0 -145
- package/agnostic/strings/parse-table/index.js +0 -87
- package/agnostic/strings/replace-all/index.d.ts +0 -21
- package/agnostic/strings/replace-all/index.js +0 -7
- package/agnostic/strings/to-alphanum/index.d.ts +0 -19
- package/agnostic/strings/to-alphanum/index.js +0 -11
- package/agnostic/strings/trim/index.d.ts +0 -20
- package/agnostic/strings/trim/index.js +0 -9
- package/agnostic/time/dates/format-date/index.d.ts +0 -48
- package/agnostic/time/dates/format-date/index.js +0 -61
- package/agnostic/time/duration/index.d.ts +0 -39
- package/agnostic/time/duration/index.js +0 -112
- package/agnostic/time/timeout/index.d.ts +0 -9
- package/agnostic/time/timeout/index.js +0 -19
- package/agnostic/time/transitions/index.d.ts +0 -74
- package/agnostic/time/transitions/index.js +0 -161
- package/agnostic/time/wait/index.d.ts +0 -7
- package/agnostic/time/wait/index.js +0 -7
- package/agnostic/typescript/types.d.ts +0 -37
- package/agnostic/typescript/types.js +0 -0
- package/chunks/chunk-2WSVYQ5Q.js +0 -77
- package/chunks/chunk-3MPXVP4L.js +0 -25
- package/chunks/chunk-4CIS3R7T.js +0 -10
- package/chunks/chunk-4WE2WEXL.js +0 -12
- package/chunks/chunk-54KPQCVI.js +0 -25
- package/chunks/chunk-5CFQCSKJ.js +0 -23
- package/chunks/chunk-5NTPCRFH.js +0 -32
- package/chunks/chunk-5O52VUI6.js +0 -31
- package/chunks/chunk-5X76KDYN.js +0 -60
- package/chunks/chunk-65BFQP3T.js +0 -25
- package/chunks/chunk-66BURDRK.js +0 -29
- package/chunks/chunk-6BGIDRU5.js +0 -36
- package/chunks/chunk-6KOJFWH3.js +0 -47
- package/chunks/chunk-6XL25OZX.js +0 -12
- package/chunks/chunk-6YVXSCRH.js +0 -37
- package/chunks/chunk-75BICI4L.js +0 -20
- package/chunks/chunk-7B2E2NGH.js +0 -40
- package/chunks/chunk-AKNR3U25.js +0 -20
- package/chunks/chunk-ALLCYHRY.js +0 -2684
- package/chunks/chunk-AOEOW5XW.js +0 -40
- package/chunks/chunk-ASWI3EO6.js +0 -25
- package/chunks/chunk-AV373PHY.js +0 -56
- package/chunks/chunk-AXMAF3J2.js +0 -38
- package/chunks/chunk-AYGAQQXD.js +0 -27
- package/chunks/chunk-BHGRXDTS.js +0 -28
- package/chunks/chunk-BQABPH3I.js +0 -31
- package/chunks/chunk-BQXTV2GG.js +0 -36
- package/chunks/chunk-BXFRBV67.js +0 -28
- package/chunks/chunk-D3ERTRDW.js +0 -17
- package/chunks/chunk-DBNCEHTT.js +0 -22
- package/chunks/chunk-DBZAJJUF.js +0 -39
- package/chunks/chunk-DNIOWD7K.js +0 -8
- package/chunks/chunk-DUCLFPGE.js +0 -78
- package/chunks/chunk-E6MSDKON.js +0 -13
- package/chunks/chunk-EBQRPRRC.js +0 -22
- package/chunks/chunk-EEPLTO3E.js +0 -31
- package/chunks/chunk-EPUHVR7J.js +0 -17
- package/chunks/chunk-FENXVJYO.js +0 -11
- package/chunks/chunk-FH74QWR6.js +0 -47
- package/chunks/chunk-FM3HGCFL.js +0 -56
- package/chunks/chunk-FSI422YG.js +0 -31
- package/chunks/chunk-FXISVWGE.js +0 -60
- package/chunks/chunk-H4PP6AHP.js +0 -15
- package/chunks/chunk-HC6ZOHCS.js +0 -14
- package/chunks/chunk-HEY7J6GI.js +0 -37
- package/chunks/chunk-HMPY32F7.js +0 -34
- package/chunks/chunk-HQLRJ7XW.js +0 -12
- package/chunks/chunk-HYPEWMYZ.js +0 -10
- package/chunks/chunk-IBQQCUYV.js +0 -36
- package/chunks/chunk-IK2S6ZYP.js +0 -29
- package/chunks/chunk-ISJONMNA.js +0 -16
- package/chunks/chunk-J5D4OQ5U.js +0 -27
- package/chunks/chunk-JDINERKY.js +0 -107
- package/chunks/chunk-JFXEMK66.js +0 -33
- package/chunks/chunk-JN2UETL4.js +0 -32
- package/chunks/chunk-JU23NBY2.js +0 -22
- package/chunks/chunk-JVMFT3IT.js +0 -134
- package/chunks/chunk-K5UF634H.js +0 -25
- package/chunks/chunk-KRYJVBO5.js +0 -155
- package/chunks/chunk-L3OCRR3V.js +0 -25
- package/chunks/chunk-LFHDJTZJ.js +0 -12552
- package/chunks/chunk-MHNUCHPP.js +0 -26
- package/chunks/chunk-MSAAQTCE.js +0 -207
- package/chunks/chunk-MZYCKOLN.js +0 -103
- package/chunks/chunk-NEMHJSNM.js +0 -24
- package/chunks/chunk-NIIAUOBO.js +0 -36
- package/chunks/chunk-NR7STUY3.js +0 -28
- package/chunks/chunk-O66PEU62.js +0 -27
- package/chunks/chunk-O7UCJNVF.js +0 -38
- package/chunks/chunk-OF2W4ZRG.js +0 -53
- package/chunks/chunk-OGBUSUE6.js +0 -12
- package/chunks/chunk-OSAXBA7G.js +0 -10
- package/chunks/chunk-PTJO2TGI.js +0 -23
- package/chunks/chunk-PTN2V757.js +0 -35
- package/chunks/chunk-QEKI6WGQ.js +0 -27
- package/chunks/chunk-QFBVETGF.js +0 -34
- package/chunks/chunk-QHEWBOQI.js +0 -19
- package/chunks/chunk-QXAJXTXV.js +0 -19
- package/chunks/chunk-R3AWQXMY.js +0 -20
- package/chunks/chunk-RCO57B6F.js +0 -9
- package/chunks/chunk-RGQNRTBI.js +0 -55
- package/chunks/chunk-RNXRHCHQ.js +0 -633
- package/chunks/chunk-ROWPCMQY.js +0 -29
- package/chunks/chunk-RW7VAKJW.js +0 -15
- package/chunks/chunk-S2I77NEE.js +0 -35
- package/chunks/chunk-S6ZFFGWH.js +0 -34
- package/chunks/chunk-SBBIQ5UH.js +0 -36
- package/chunks/chunk-TLWVLCIQ.js +0 -39
- package/chunks/chunk-TTJXJX4E.js +0 -48
- package/chunks/chunk-ULYGDEW2.js +0 -25
- package/chunks/chunk-UR5BUIPU.js +0 -26
- package/chunks/chunk-USIYKRNX.js +0 -20
- package/chunks/chunk-UZ4SWSOZ.js +0 -41
- package/chunks/chunk-VU6JYR3W.js +0 -64
- package/chunks/chunk-VYDUHDXW.js +0 -35
- package/chunks/chunk-W5A2TON3.js +0 -10
- package/chunks/chunk-W5VY535B.js +0 -37
- package/chunks/chunk-WNDMYNDU.js +0 -8
- package/chunks/chunk-XA4HVHJ4.js +0 -18
- package/chunks/chunk-XCBH6NLF.js +0 -42
- package/chunks/chunk-XEQ2PBT2.js +0 -20
- package/chunks/chunk-XIIJYVJZ.js +0 -15
- package/chunks/chunk-XNF5MLCQ.js +0 -14
- package/chunks/chunk-Y6FD4ASO.js +0 -32
- package/chunks/chunk-YA2YCZUF.js +0 -8
- package/chunks/chunk-YDIBNEGA.js +0 -9
- package/chunks/chunk-YOP6WVCF.js +0 -45
- package/chunks/chunk-YWSXCFYY.js +0 -61
- package/chunks/chunk-ZKIQ753F.js +0 -23
- package/chunks/chunk-ZTPRFEPV.js +0 -32
- package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +0 -27
- package/node/@aws-s3/storage/directory/copy-dir/index.js +0 -9
- package/node/@aws-s3/storage/directory/list/index.d.ts +0 -17
- package/node/@aws-s3/storage/directory/list/index.js +0 -9
- package/node/@aws-s3/storage/directory/move-dir/index.d.ts +0 -33
- package/node/@aws-s3/storage/directory/move-dir/index.js +0 -9
- package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +0 -31
- package/node/@aws-s3/storage/directory/remove-dir/index.js +0 -9
- package/node/@aws-s3/storage/file/copy/index.d.ts +0 -30
- package/node/@aws-s3/storage/file/copy/index.js +0 -9
- package/node/@aws-s3/storage/file/download/index.d.ts +0 -22
- package/node/@aws-s3/storage/file/download/index.js +0 -9
- package/node/@aws-s3/storage/file/exists/index.d.ts +0 -23
- package/node/@aws-s3/storage/file/exists/index.js +0 -9
- package/node/@aws-s3/storage/file/move/index.d.ts +0 -33
- package/node/@aws-s3/storage/file/move/index.js +0 -9
- package/node/@aws-s3/storage/file/remove/index.d.ts +0 -17
- package/node/@aws-s3/storage/file/remove/index.js +0 -9
- package/node/@aws-s3/storage/file/stat/index.d.ts +0 -24
- package/node/@aws-s3/storage/file/stat/index.js +0 -9
- package/node/@aws-s3/storage/file/upload/index.d.ts +0 -22
- package/node/@aws-s3/storage/file/upload/index.js +0 -9
- package/node/@express/@multer/index.d.ts +0 -56
- package/node/@express/@multer/index.js +0 -47
- package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +0 -18
- package/node/@google-cloud/storage/bucket/get-metadata/index.js +0 -22
- package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +0 -22
- package/node/@google-cloud/storage/directory/copy-dir/index.js +0 -9
- package/node/@google-cloud/storage/directory/list/index.d.ts +0 -17
- package/node/@google-cloud/storage/directory/list/index.js +0 -9
- package/node/@google-cloud/storage/directory/move-dir/index.d.ts +0 -31
- package/node/@google-cloud/storage/directory/move-dir/index.js +0 -9
- package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +0 -31
- package/node/@google-cloud/storage/directory/remove-dir/index.js +0 -9
- package/node/@google-cloud/storage/file/copy/index.d.ts +0 -32
- package/node/@google-cloud/storage/file/copy/index.js +0 -9
- package/node/@google-cloud/storage/file/download/index.d.ts +0 -21
- package/node/@google-cloud/storage/file/download/index.js +0 -9
- package/node/@google-cloud/storage/file/exists/index.d.ts +0 -19
- package/node/@google-cloud/storage/file/exists/index.js +0 -9
- package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +0 -23
- package/node/@google-cloud/storage/file/generate-signed-url/index.js +0 -28
- package/node/@google-cloud/storage/file/get-metadata/index.d.ts +0 -22
- package/node/@google-cloud/storage/file/get-metadata/index.js +0 -24
- package/node/@google-cloud/storage/file/get-permissions/index.d.ts +0 -19
- package/node/@google-cloud/storage/file/get-permissions/index.js +0 -24
- package/node/@google-cloud/storage/file/move/index.d.ts +0 -36
- package/node/@google-cloud/storage/file/move/index.js +0 -9
- package/node/@google-cloud/storage/file/remove/index.d.ts +0 -24
- package/node/@google-cloud/storage/file/remove/index.js +0 -9
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +0 -26
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +0 -30
- package/node/@google-cloud/storage/file/stat/index.d.ts +0 -25
- package/node/@google-cloud/storage/file/stat/index.js +0 -9
- package/node/@google-cloud/storage/file/update-metadata/index.d.ts +0 -24
- package/node/@google-cloud/storage/file/update-metadata/index.js +0 -24
- package/node/@google-cloud/storage/file/upload/index.d.ts +0 -24
- package/node/@google-cloud/storage/file/upload/index.js +0 -9
- package/node/cloud-storage/clients/index.d.ts +0 -40
- package/node/cloud-storage/clients/index.js +0 -13
- package/node/cloud-storage/operations/copy-dir/index.d.ts +0 -60
- package/node/cloud-storage/operations/copy-dir/index.js +0 -35
- package/node/cloud-storage/operations/copy-file/index.d.ts +0 -60
- package/node/cloud-storage/operations/copy-file/index.js +0 -35
- package/node/cloud-storage/operations/download-file/index.d.ts +0 -65
- package/node/cloud-storage/operations/download-file/index.js +0 -35
- package/node/cloud-storage/operations/exists-file/index.d.ts +0 -56
- package/node/cloud-storage/operations/exists-file/index.js +0 -35
- package/node/cloud-storage/operations/list-dir/index.d.ts +0 -52
- package/node/cloud-storage/operations/list-dir/index.js +0 -35
- package/node/cloud-storage/operations/move-dir/index.d.ts +0 -60
- package/node/cloud-storage/operations/move-dir/index.js +0 -35
- package/node/cloud-storage/operations/move-file/index.d.ts +0 -60
- package/node/cloud-storage/operations/move-file/index.js +0 -35
- package/node/cloud-storage/operations/remove-dir/index.d.ts +0 -56
- package/node/cloud-storage/operations/remove-dir/index.js +0 -35
- package/node/cloud-storage/operations/remove-file/index.d.ts +0 -56
- package/node/cloud-storage/operations/remove-file/index.js +0 -35
- package/node/cloud-storage/operations/stat-file/index.d.ts +0 -54
- package/node/cloud-storage/operations/stat-file/index.js +0 -35
- package/node/cloud-storage/operations/upload-file/index.d.ts +0 -61
- package/node/cloud-storage/operations/upload-file/index.js +0 -35
- package/node/encryption/@aes-256-gcm/buffer/index.d.ts +0 -20
- package/node/encryption/@aes-256-gcm/buffer/index.js +0 -28
- package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +0 -21
- package/node/encryption/@aes-256-gcm/uint8-array/index.js +0 -11
- package/node/encryption/key/index.d.ts +0 -16
- package/node/encryption/key/index.js +0 -15
- package/node/files/is-in-directory/index.d.ts +0 -8
- package/node/files/is-in-directory/index.js +0 -11
- package/node/files/read-write/index.d.ts +0 -53
- package/node/files/read-write/index.js +0 -18
- package/node/files/subpaths/index.d.ts +0 -63
- package/node/files/subpaths/index.js +0 -122
- package/node/ftps/directory/copy-dir/index.d.ts +0 -28
- package/node/ftps/directory/copy-dir/index.js +0 -9
- package/node/ftps/directory/list/index.d.ts +0 -12
- package/node/ftps/directory/list/index.js +0 -9
- package/node/ftps/directory/move-dir/index.d.ts +0 -26
- package/node/ftps/directory/move-dir/index.js +0 -9
- package/node/ftps/directory/remove-dir/index.d.ts +0 -25
- package/node/ftps/directory/remove-dir/index.js +0 -9
- package/node/ftps/file/copy/index.d.ts +0 -28
- package/node/ftps/file/copy/index.js +0 -9
- package/node/ftps/file/download/index.d.ts +0 -22
- package/node/ftps/file/download/index.js +0 -9
- package/node/ftps/file/exists/index.d.ts +0 -21
- package/node/ftps/file/exists/index.js +0 -9
- package/node/ftps/file/move/index.d.ts +0 -38
- package/node/ftps/file/move/index.js +0 -9
- package/node/ftps/file/remove/index.d.ts +0 -20
- package/node/ftps/file/remove/index.js +0 -9
- package/node/ftps/file/stat/index.d.ts +0 -17
- package/node/ftps/file/stat/index.js +0 -9
- package/node/ftps/file/upload/index.d.ts +0 -24
- package/node/ftps/file/upload/index.js +0 -9
- package/node/images/create/index.d.ts +0 -9
- package/node/images/create/index.js +0 -19
- package/node/images/format/index.d.ts +0 -62
- package/node/images/format/index.js +0 -269
- package/node/images/metadata/index.d.ts +0 -9
- package/node/images/metadata/index.js +0 -19
- package/node/images/transform/index.d.ts +0 -27
- package/node/images/transform/index.js +0 -205
- package/node/images/transform/operations/blur/index.d.ts +0 -5
- package/node/images/transform/operations/blur/index.js +0 -11
- package/node/images/transform/operations/brighten/index.d.ts +0 -5
- package/node/images/transform/operations/brighten/index.js +0 -11
- package/node/images/transform/operations/extend/index.d.ts +0 -5
- package/node/images/transform/operations/extend/index.js +0 -18
- package/node/images/transform/operations/extract/index.d.ts +0 -5
- package/node/images/transform/operations/extract/index.js +0 -11
- package/node/images/transform/operations/flatten/index.d.ts +0 -5
- package/node/images/transform/operations/flatten/index.js +0 -18
- package/node/images/transform/operations/flip/index.d.ts +0 -2
- package/node/images/transform/operations/flip/index.js +0 -7
- package/node/images/transform/operations/flop/index.d.ts +0 -2
- package/node/images/transform/operations/flop/index.js +0 -7
- package/node/images/transform/operations/hue/index.d.ts +0 -5
- package/node/images/transform/operations/hue/index.js +0 -11
- package/node/images/transform/operations/level/index.d.ts +0 -5
- package/node/images/transform/operations/level/index.js +0 -11
- package/node/images/transform/operations/lighten/index.d.ts +0 -5
- package/node/images/transform/operations/lighten/index.js +0 -11
- package/node/images/transform/operations/normalize/index.d.ts +0 -5
- package/node/images/transform/operations/normalize/index.js +0 -11
- package/node/images/transform/operations/overlay/index.d.ts +0 -5
- package/node/images/transform/operations/overlay/index.js +0 -18
- package/node/images/transform/operations/resize/index.d.ts +0 -5
- package/node/images/transform/operations/resize/index.js +0 -18
- package/node/images/transform/operations/rotate/index.d.ts +0 -5
- package/node/images/transform/operations/rotate/index.js +0 -18
- package/node/images/transform/operations/saturate/index.d.ts +0 -5
- package/node/images/transform/operations/saturate/index.js +0 -11
- package/node/images/types.d.ts +0 -387
- package/node/images/types.js +0 -9
- package/node/images/utils/index.d.ts +0 -27
- package/node/images/utils/index.js +0 -19
- package/node/process/on-exit/index.d.ts +0 -28
- package/node/process/on-exit/index.js +0 -32
- package/node/process/prompt-continue/index.d.ts +0 -18
- package/node/process/prompt-continue/index.js +0 -1680
- package/node/process/spawner/index.d.ts +0 -18
- package/node/process/spawner/index.js +0 -83
- package/node/sftp/directory/copy-dir/index.d.ts +0 -28
- package/node/sftp/directory/copy-dir/index.js +0 -9
- package/node/sftp/directory/list/index.d.ts +0 -12
- package/node/sftp/directory/list/index.js +0 -9
- package/node/sftp/directory/move-dir/index.d.ts +0 -26
- package/node/sftp/directory/move-dir/index.js +0 -9
- package/node/sftp/directory/remove-dir/index.d.ts +0 -25
- package/node/sftp/directory/remove-dir/index.js +0 -9
- package/node/sftp/file/copy/index.d.ts +0 -28
- package/node/sftp/file/copy/index.js +0 -9
- package/node/sftp/file/download/index.d.ts +0 -20
- package/node/sftp/file/download/index.js +0 -9
- package/node/sftp/file/exists/index.d.ts +0 -21
- package/node/sftp/file/exists/index.js +0 -9
- package/node/sftp/file/move/index.d.ts +0 -38
- package/node/sftp/file/move/index.js +0 -9
- package/node/sftp/file/remove/index.d.ts +0 -20
- package/node/sftp/file/remove/index.js +0 -9
- package/node/sftp/file/stat/index.d.ts +0 -18
- package/node/sftp/file/stat/index.js +0 -9
- package/node/sftp/file/upload/index.d.ts +0 -24
- package/node/sftp/file/upload/index.js +0 -9
- /package/agnostic/{arrays/dedupe → scrapers/@meteociel}/index.test.d.ts +0 -0
- /package/agnostic/{misc/data-size → scrapers/@meteociel}/types.js +0 -0
- /package/agnostic/{optim/throttle-debounce → weather}/types.js +0 -0
- /package/node/{@design-edito/index.d.ts → index.d.ts} +0 -0
- /package/node/{@design-edito/index.js → index.js} +0 -0
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a hexadecimal color string (e.g., "#FF5733").
|
|
3
|
-
*/
|
|
4
|
-
export type Hex = `#${string}`;
|
|
5
|
-
/**
|
|
6
|
-
* Represents a color in the RGBA color space.
|
|
7
|
-
* @property {number} r - Red channel (0-255).
|
|
8
|
-
* @property {number} g - Green channel (0-255).
|
|
9
|
-
* @property {number} b - Blue channel (0-255).
|
|
10
|
-
* @property {number} [a] - Alpha channel (0-1), optional.
|
|
11
|
-
*/
|
|
12
|
-
export type Rgba = {
|
|
13
|
-
r: number;
|
|
14
|
-
g: number;
|
|
15
|
-
b: number;
|
|
16
|
-
a?: number;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Represents a color in the HSLA color space.
|
|
20
|
-
* @property {number} h - Hue (0-360).
|
|
21
|
-
* @property {number} s - Saturation (0-100).
|
|
22
|
-
* @property {number} l - Lightness (0-100).
|
|
23
|
-
* @property {number} [a] - Alpha channel (0-1), optional.
|
|
24
|
-
*/
|
|
25
|
-
export type Hsla = {
|
|
26
|
-
h: number;
|
|
27
|
-
s: number;
|
|
28
|
-
l: number;
|
|
29
|
-
a?: number;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Represents a color in the HSBA (HSB/HSV) color space.
|
|
33
|
-
* @property {number} h - Hue (0-360).
|
|
34
|
-
* @property {number} s - Saturation (0-100).
|
|
35
|
-
* @property {number} b - Brightness (0-100).
|
|
36
|
-
* @property {number} [a] - Alpha channel (0-1), optional.
|
|
37
|
-
*/
|
|
38
|
-
export type Hsba = {
|
|
39
|
-
h: number;
|
|
40
|
-
s: number;
|
|
41
|
-
b: number;
|
|
42
|
-
a?: number;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Represents a color in the CIELAB color space.
|
|
46
|
-
* @property {number} l - Lightness (0-100).
|
|
47
|
-
* @property {number} a - Green-red axis (approximately -128 to 127).
|
|
48
|
-
* @property {number} b - Blue-yellow axis (approximately -128 to 127).
|
|
49
|
-
* @property {number} [al] - Alpha channel (0-1), optional.
|
|
50
|
-
*/
|
|
51
|
-
export type Laba = {
|
|
52
|
-
l: number;
|
|
53
|
-
a: number;
|
|
54
|
-
b: number;
|
|
55
|
-
al?: number;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Represents a color in the CIELCh color space.
|
|
59
|
-
* @property {number} l - Lightness (0-100).
|
|
60
|
-
* @property {number} c - Chroma (0 to approximately 150).
|
|
61
|
-
* @property {number} h - Hue (0-360).
|
|
62
|
-
* @property {number} [a] - Alpha channel (0-1), optional.
|
|
63
|
-
*/
|
|
64
|
-
export type Lcha = {
|
|
65
|
-
l: number;
|
|
66
|
-
c: number;
|
|
67
|
-
h: number;
|
|
68
|
-
a?: number;
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* Represents a color in the CMYK color space.
|
|
72
|
-
* @property {number} c - Cyan (0-100).
|
|
73
|
-
* @property {number} m - Magenta (0-100).
|
|
74
|
-
* @property {number} y - Yellow (0-100).
|
|
75
|
-
* @property {number} k - Black (0-100).
|
|
76
|
-
* @property {number} [a] - Alpha channel (0-1), optional.
|
|
77
|
-
*/
|
|
78
|
-
export type Cmyka = {
|
|
79
|
-
c: number;
|
|
80
|
-
m: number;
|
|
81
|
-
y: number;
|
|
82
|
-
k: number;
|
|
83
|
-
a?: number;
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Represents a color in the CIE XYZ color space.
|
|
87
|
-
* @property {number} x - X tristimulus value (approximately 0-95.047).
|
|
88
|
-
* @property {number} y - Y tristimulus value (approximately 0-100).
|
|
89
|
-
* @property {number} z - Z tristimulus value (approximately 0-108.883).
|
|
90
|
-
* @property {number} [a] - Alpha channel (0-1), optional.
|
|
91
|
-
*/
|
|
92
|
-
export type Xyza = {
|
|
93
|
-
x: number;
|
|
94
|
-
y: number;
|
|
95
|
-
z: number;
|
|
96
|
-
a?: number;
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* Union type of all valid CSS named colors.
|
|
100
|
-
*/
|
|
101
|
-
export type CssColor = 'aliceblue' | 'antiquewhite' | 'aqua' | 'aquamarine' | 'azure' | 'beige' | 'bisque' | 'black' | 'blanchedalmond' | 'blue' | 'blueviolet' | 'brown' | 'burlywood' | 'cadetblue' | 'chartreuse' | 'chocolate' | 'coral' | 'cornflowerblue' | 'cornsilk' | 'crimson' | 'cyan' | 'darkblue' | 'darkcyan' | 'darkgoldenrod' | 'darkgray' | 'darkgreen' | 'darkgrey' | 'darkkhaki' | 'darkmagenta' | 'darkolivegreen' | 'darkorange' | 'darkorchid' | 'darkred' | 'darksalmon' | 'darkseagreen' | 'darkslateblue' | 'darkslategray' | 'darkslategrey' | 'darkturquoise' | 'darkviolet' | 'deeppink' | 'deepskyblue' | 'dimgray' | 'dimgrey' | 'dodgerblue' | 'firebrick' | 'floralwhite' | 'forestgreen' | 'fuchsia' | 'gainsboro' | 'ghostwhite' | 'gold' | 'goldenrod' | 'gray' | 'green' | 'greenyellow' | 'grey' | 'honeydew' | 'hotpink' | 'indianred' | 'indigo' | 'ivory' | 'khaki' | 'lavender' | 'lavenderblush' | 'lawngreen' | 'lemonchiffon' | 'lightblue' | 'lightcoral' | 'lightcyan' | 'lightgoldenrodyellow' | 'lightgray' | 'lightgreen' | 'lightgrey' | 'lightpink' | 'lightsalmon' | 'lightseagreen' | 'lightskyblue' | 'lightslategray' | 'lightslategrey' | 'lightsteelblue' | 'lightyellow' | 'lime' | 'limegreen' | 'linen' | 'magenta' | 'maroon' | 'mediumaquamarine' | 'mediumblue' | 'mediumorchid' | 'mediumpurple' | 'mediumseagreen' | 'mediumslateblue' | 'mediumspringgreen' | 'mediumturquoise' | 'mediumvioletred' | 'midnightblue' | 'mintcream' | 'mistyrose' | 'moccasin' | 'navajowhite' | 'navy' | 'oldlace' | 'olive' | 'olivedrab' | 'orange' | 'orangered' | 'orchid' | 'palegoldenrod' | 'palegreen' | 'paleturquoise' | 'palevioletred' | 'papayawhip' | 'peachpuff' | 'peru' | 'pink' | 'plum' | 'powderblue' | 'purple' | 'rebeccapurple' | 'red' | 'rosybrown' | 'royalblue' | 'saddlebrown' | 'salmon' | 'sandybrown' | 'seagreen' | 'seashell' | 'sienna' | 'silver' | 'skyblue' | 'slateblue' | 'slategray' | 'slategrey' | 'snow' | 'springgreen' | 'steelblue' | 'tan' | 'teal' | 'thistle' | 'tomato' | 'turquoise' | 'violet' | 'wheat' | 'white' | 'whitesmoke' | 'yellow' | 'yellowgreen';
|
|
102
|
-
type CssColorMap = {
|
|
103
|
-
[K in CssColor]: Rgba;
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Map of CSS named colors to their corresponding RGBA values.
|
|
107
|
-
*/
|
|
108
|
-
export declare const cssColors: CssColorMap;
|
|
109
|
-
/**
|
|
110
|
-
* Union type representing any supported color format.
|
|
111
|
-
*/
|
|
112
|
-
export type Color = Hex | Rgba | Hsla | Hsba | Laba | Lcha | Cmyka | Xyza | CssColor;
|
|
113
|
-
/**
|
|
114
|
-
* Conditional type that maps a color type to its corresponding transformed type.
|
|
115
|
-
* CSS colors are transformed to RGBA, while other formats remain unchanged.
|
|
116
|
-
* @template C - The input color type.
|
|
117
|
-
*/
|
|
118
|
-
export type TransformedColor<C extends Color> = C extends CssColor ? Rgba : C extends Hex ? Hex : C extends Rgba ? Rgba : C extends Hsla ? Hsla : C extends Hsba ? Hsba : C extends Cmyka ? Cmyka : C extends Xyza ? Xyza : C extends Laba ? Laba : C extends Lcha ? Lcha : never;
|
|
119
|
-
/**
|
|
120
|
-
* Union type of all available color channel names across different color spaces.
|
|
121
|
-
*/
|
|
122
|
-
export type Channel = 'red' | 'green' | 'blue' | 'alpha' | 'hue' | 'saturation' | 'lightness' | 'brightness' | 'cyan' | 'magenta' | 'yellow' | 'black' | 'x' | 'y' | 'z' | 'lightnessLab' | 'aLab' | 'bLab' | 'chroma' | 'hueLch';
|
|
123
|
-
/**
|
|
124
|
-
* Available methods for inverting colors.
|
|
125
|
-
*/
|
|
126
|
-
export type InvertMethod = 'rgb' | 'lab' | 'lch';
|
|
127
|
-
/**
|
|
128
|
-
* Available methods for rotating color hues.
|
|
129
|
-
*/
|
|
130
|
-
export type RotateMethod = 'hsl' | 'lab' | 'lch';
|
|
131
|
-
type PaletteMap<C extends Color> = {
|
|
132
|
-
'complementary': readonly [TransformedColor<C>];
|
|
133
|
-
'complementary-lab': readonly [TransformedColor<C>];
|
|
134
|
-
'complementary-lch': readonly [TransformedColor<C>];
|
|
135
|
-
'split-complementary': readonly [TransformedColor<C>, TransformedColor<C>];
|
|
136
|
-
'split-complementary-lab': readonly [TransformedColor<C>, TransformedColor<C>];
|
|
137
|
-
'split-complementary-lch': readonly [TransformedColor<C>, TransformedColor<C>];
|
|
138
|
-
'triadic': readonly [TransformedColor<C>, TransformedColor<C>];
|
|
139
|
-
'triadic-lab': readonly [TransformedColor<C>, TransformedColor<C>];
|
|
140
|
-
'triadic-lch': readonly [TransformedColor<C>, TransformedColor<C>];
|
|
141
|
-
'tetradic': readonly [TransformedColor<C>, TransformedColor<C>, TransformedColor<C>];
|
|
142
|
-
'tetradic-lab': readonly [TransformedColor<C>, TransformedColor<C>, TransformedColor<C>];
|
|
143
|
-
'tetradic-lch': readonly [TransformedColor<C>, TransformedColor<C>, TransformedColor<C>];
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Union type of all available color palette generation schemes.
|
|
147
|
-
*/
|
|
148
|
-
export type PaletteType = keyof PaletteMap<Color>;
|
|
149
|
-
/**
|
|
150
|
-
* Represents a generated color palette of a specific type.
|
|
151
|
-
* @template C - The input color type.
|
|
152
|
-
* @template T - The palette generation scheme.
|
|
153
|
-
*/
|
|
154
|
-
export type Palette<C extends Color, T extends PaletteType> = PaletteMap<C>[T];
|
|
155
|
-
/**
|
|
156
|
-
* Available methods for converting colors to grayscale.
|
|
157
|
-
*/
|
|
158
|
-
export type GrayscaleMethod = 'rgb-avg' | 'rgb-weighted-avg' | 'rgb-min-channel' | 'rgb-max-channel' | 'rgb-via-red' | 'rgb-via-green' | 'rgb-via-blue' | 'cmyk-avg' | 'cmyk-no-black-avg' | 'cmyk-min-channel' | 'cmyk-min-no-black-channel' | 'cmyk-max-channel' | 'cmyk-max-no-black-channel' | 'cmyk-via-cyan' | 'cmyk-via-magenta' | 'cmyk-via-yellow' | 'cmyk-via-black' | 'cmyk-perceptual' | 'hsl' | 'hsb' | 'xyz' | 'lab' | 'lch';
|
|
159
|
-
/**
|
|
160
|
-
* Represents a color in the linear sRGB color space.
|
|
161
|
-
* @property {number} linearR - Linear red channel (0-1).
|
|
162
|
-
* @property {number} linearG - Linear green channel (0-1).
|
|
163
|
-
* @property {number} linearB - Linear blue channel (0-1).
|
|
164
|
-
* @property {number} [a] - Alpha channel (0-1), optional.
|
|
165
|
-
*/
|
|
166
|
-
export type Srgba = {
|
|
167
|
-
linearR: number;
|
|
168
|
-
linearG: number;
|
|
169
|
-
linearB: number;
|
|
170
|
-
a?: number;
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* Available methods for calculating color luminance.
|
|
174
|
-
*/
|
|
175
|
-
export type LuminanceMethod = 'rgb' | 'xyz' | 'lab';
|
|
176
|
-
/**
|
|
177
|
-
* Available methods for calculating color distance.
|
|
178
|
-
*/
|
|
179
|
-
export type DistanceMethod = 'ciede2000';
|
|
180
|
-
/**
|
|
181
|
-
* Available methods for calculating color contrast ratios.
|
|
182
|
-
*/
|
|
183
|
-
export type ContrastMethod = 'wcag';
|
|
184
|
-
/**
|
|
185
|
-
* Available methods for interpolating (lerping) between colors.
|
|
186
|
-
*/
|
|
187
|
-
export type LerpMethod = 'rgb' | 'lab' | 'lch' | 'hsl' | 'hsb' | 'rgb-linear' | 'xyz';
|
|
188
|
-
export {};
|
package/agnostic/colors/types.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare function getNamesArr(arg: any): string[];
|
|
2
|
-
export interface Block {
|
|
3
|
-
name: string;
|
|
4
|
-
modifiers: string[];
|
|
5
|
-
}
|
|
6
|
-
export declare class BEM {
|
|
7
|
-
constructor();
|
|
8
|
-
addBlock(blockNameArg: any): BEM;
|
|
9
|
-
addElement(elementNameArg: any): BEM;
|
|
10
|
-
addModifier(modifierNameArg: any): BEM;
|
|
11
|
-
copy(): BEM;
|
|
12
|
-
block(blockNameArg: any): BEM;
|
|
13
|
-
element(elementNameArg: any): BEM;
|
|
14
|
-
modifier(modifierNameArg: any): BEM;
|
|
15
|
-
blk(blockNameArg: any): BEM;
|
|
16
|
-
elt(elementNameArg: any): BEM;
|
|
17
|
-
mod(modifierNameArg: any): BEM;
|
|
18
|
-
cp(): BEM;
|
|
19
|
-
get value(): string;
|
|
20
|
-
get val(): string;
|
|
21
|
-
private blocks;
|
|
22
|
-
private findBlockByName;
|
|
23
|
-
private addSingleBlock;
|
|
24
|
-
private addSingleElement;
|
|
25
|
-
private addSingleModifier;
|
|
26
|
-
private setCurrentBlockByName;
|
|
27
|
-
private createBlockByName;
|
|
28
|
-
private getCurrentBlock;
|
|
29
|
-
}
|
|
30
|
-
export declare function bem(blockNameArg: any): BEM;
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isValidClassName
|
|
3
|
-
} from "../../../chunks/chunk-W5A2TON3.js";
|
|
4
|
-
import {
|
|
5
|
-
isFalsy
|
|
6
|
-
} from "../../../chunks/chunk-QXAJXTXV.js";
|
|
7
|
-
import "../../../chunks/chunk-HC6ZOHCS.js";
|
|
8
|
-
import "../../../chunks/chunk-XCBH6NLF.js";
|
|
9
|
-
|
|
10
|
-
// src/agnostic/css/bem/index.ts
|
|
11
|
-
function getNamesArr(arg) {
|
|
12
|
-
const returned = [];
|
|
13
|
-
if (typeof arg === "string") {
|
|
14
|
-
arg.trim().split(/\s+/gm).forEach((name) => {
|
|
15
|
-
if (isValidClassName(name)) returned.push(name);
|
|
16
|
-
});
|
|
17
|
-
} else if (Array.isArray(arg)) {
|
|
18
|
-
arg.forEach((elt) => returned.push(...getNamesArr(elt)));
|
|
19
|
-
} else if (typeof arg === "object" && arg !== null) {
|
|
20
|
-
Object.entries(arg).forEach(([key, val]) => {
|
|
21
|
-
if (!isFalsy(val)) returned.push(...getNamesArr(key));
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return returned;
|
|
25
|
-
}
|
|
26
|
-
var BEM = class _BEM {
|
|
27
|
-
constructor() {
|
|
28
|
-
this.findBlockByName = this.findBlockByName.bind(this);
|
|
29
|
-
this.addBlock = this.addBlock.bind(this);
|
|
30
|
-
this.addElement = this.addElement.bind(this);
|
|
31
|
-
this.addModifier = this.addModifier.bind(this);
|
|
32
|
-
this.copy = this.copy.bind(this);
|
|
33
|
-
this.block = this.block.bind(this);
|
|
34
|
-
this.element = this.element.bind(this);
|
|
35
|
-
this.modifier = this.modifier.bind(this);
|
|
36
|
-
this.blk = this.blk.bind(this);
|
|
37
|
-
this.elt = this.elt.bind(this);
|
|
38
|
-
this.mod = this.mod.bind(this);
|
|
39
|
-
this.cp = this.cp.bind(this);
|
|
40
|
-
this.addSingleBlock = this.addSingleBlock.bind(this);
|
|
41
|
-
this.addSingleElement = this.addSingleElement.bind(this);
|
|
42
|
-
this.addSingleModifier = this.addSingleModifier.bind(this);
|
|
43
|
-
this.setCurrentBlockByName = this.setCurrentBlockByName.bind(this);
|
|
44
|
-
this.createBlockByName = this.createBlockByName.bind(this);
|
|
45
|
-
this.getCurrentBlock = this.getCurrentBlock.bind(this);
|
|
46
|
-
}
|
|
47
|
-
addBlock(blockNameArg) {
|
|
48
|
-
const blocksNames = getNamesArr(blockNameArg);
|
|
49
|
-
blocksNames.forEach(this.addSingleBlock);
|
|
50
|
-
return this;
|
|
51
|
-
}
|
|
52
|
-
addElement(elementNameArg) {
|
|
53
|
-
const elementsNames = getNamesArr(elementNameArg);
|
|
54
|
-
elementsNames.forEach(this.addSingleElement);
|
|
55
|
-
return this;
|
|
56
|
-
}
|
|
57
|
-
addModifier(modifierNameArg) {
|
|
58
|
-
const currentBlock = this.getCurrentBlock();
|
|
59
|
-
if (currentBlock === void 0) return this;
|
|
60
|
-
const modifiersNames = getNamesArr(modifierNameArg);
|
|
61
|
-
modifiersNames.forEach(this.addSingleModifier);
|
|
62
|
-
return this;
|
|
63
|
-
}
|
|
64
|
-
copy() {
|
|
65
|
-
const copy = new _BEM();
|
|
66
|
-
this.blocks.forEach((block) => {
|
|
67
|
-
copy.addBlock(block.name);
|
|
68
|
-
block.modifiers.forEach(copy.addModifier);
|
|
69
|
-
});
|
|
70
|
-
return copy;
|
|
71
|
-
}
|
|
72
|
-
block(blockNameArg) {
|
|
73
|
-
return this.copy().addBlock(blockNameArg);
|
|
74
|
-
}
|
|
75
|
-
element(elementNameArg) {
|
|
76
|
-
return this.copy().addElement(elementNameArg);
|
|
77
|
-
}
|
|
78
|
-
modifier(modifierNameArg) {
|
|
79
|
-
return this.copy().addModifier(modifierNameArg);
|
|
80
|
-
}
|
|
81
|
-
blk(blockNameArg) {
|
|
82
|
-
return this.block(blockNameArg);
|
|
83
|
-
}
|
|
84
|
-
elt(elementNameArg) {
|
|
85
|
-
return this.element(elementNameArg);
|
|
86
|
-
}
|
|
87
|
-
mod(modifierNameArg) {
|
|
88
|
-
return this.modifier(modifierNameArg);
|
|
89
|
-
}
|
|
90
|
-
cp() {
|
|
91
|
-
return this.copy();
|
|
92
|
-
}
|
|
93
|
-
get value() {
|
|
94
|
-
return this.blocks.map((block) => {
|
|
95
|
-
return [block.name, ...block.modifiers.map((modifier) => {
|
|
96
|
-
return `${block.name}_${modifier}`;
|
|
97
|
-
})].join(" ");
|
|
98
|
-
}).join(" ");
|
|
99
|
-
}
|
|
100
|
-
get val() {
|
|
101
|
-
return this.value;
|
|
102
|
-
}
|
|
103
|
-
blocks = [];
|
|
104
|
-
findBlockByName(name) {
|
|
105
|
-
return this.blocks.find((block) => block.name === name);
|
|
106
|
-
}
|
|
107
|
-
addSingleBlock(blockName) {
|
|
108
|
-
if (this.findBlockByName(blockName) !== void 0) {
|
|
109
|
-
this.setCurrentBlockByName(blockName);
|
|
110
|
-
} else {
|
|
111
|
-
const block = this.createBlockByName(blockName);
|
|
112
|
-
this.blocks.push(block);
|
|
113
|
-
}
|
|
114
|
-
return this;
|
|
115
|
-
}
|
|
116
|
-
addSingleElement(elementName) {
|
|
117
|
-
const currentBlock = this.getCurrentBlock();
|
|
118
|
-
if (currentBlock === void 0) this.addBlock(elementName);
|
|
119
|
-
else {
|
|
120
|
-
currentBlock.name = currentBlock.name + "__" + elementName;
|
|
121
|
-
}
|
|
122
|
-
return this;
|
|
123
|
-
}
|
|
124
|
-
addSingleModifier(modifierName) {
|
|
125
|
-
const currentBlock = this.getCurrentBlock();
|
|
126
|
-
if (currentBlock !== void 0) {
|
|
127
|
-
currentBlock.modifiers.push(modifierName);
|
|
128
|
-
}
|
|
129
|
-
return this;
|
|
130
|
-
}
|
|
131
|
-
setCurrentBlockByName(blockName) {
|
|
132
|
-
const block = this.findBlockByName(blockName);
|
|
133
|
-
if (block !== void 0) {
|
|
134
|
-
const blockPos = this.blocks.indexOf(block);
|
|
135
|
-
this.blocks = [
|
|
136
|
-
...this.blocks.slice(0, blockPos),
|
|
137
|
-
...this.blocks.slice(blockPos + 1),
|
|
138
|
-
block
|
|
139
|
-
];
|
|
140
|
-
}
|
|
141
|
-
return this;
|
|
142
|
-
}
|
|
143
|
-
createBlockByName(blockName) {
|
|
144
|
-
return { name: blockName, modifiers: [] };
|
|
145
|
-
}
|
|
146
|
-
getCurrentBlock() {
|
|
147
|
-
return this.blocks.slice(-1)[0];
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
function bem(blockNameArg) {
|
|
151
|
-
const bem2 = new BEM();
|
|
152
|
-
if (blockNameArg instanceof BEM) return blockNameArg.copy();
|
|
153
|
-
return bem2.addBlock(blockNameArg);
|
|
154
|
-
}
|
|
155
|
-
export {
|
|
156
|
-
BEM,
|
|
157
|
-
bem,
|
|
158
|
-
getNamesArr
|
|
159
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Array of aesthetically pleasing CSS named colors.
|
|
3
|
-
*/
|
|
4
|
-
export declare const niceColors: readonly ["fuchsia", "teal", "aliceblue", "bisque", "blueviolet", "burlywood", "chocolate", "coral", "cornflowerblue", "crimson", "darkblue", "darkgoldenrod", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkslateblue", "darkslategray", "darkviolet", "deeppink", "deepskyblue", "dodgerblue", "firebrick", "floralwhite", "gainsboro", "gold", "hotpink", "indianred", "indigo", "khaki", "lavender", "lightcoral", "lightgreen", "lightsalmon", "lightsteelblue", "limegreen", "magenta", "mediumseagreen", "mediumspringgreen", "mediumvioletred", "moccasin", "orangered", "orchid", "palegoldenrod", "palevioletred", "peachpuff", "peru", "plum", "royalblue", "sandybrown", "springgreen", "tan", "thistle", "tomato", "violet", "wheat", "yellowgreen"];
|
|
5
|
-
/**
|
|
6
|
-
* Generates a random aesthetically pleasing CSS named color.
|
|
7
|
-
*/
|
|
8
|
-
export declare const generateNiceColor: () => (typeof niceColors)[number];
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import "../../../chunks/chunk-XCBH6NLF.js";
|
|
2
|
-
|
|
3
|
-
// src/agnostic/css/generate-nice-color/index.ts
|
|
4
|
-
var niceColors = [
|
|
5
|
-
"fuchsia",
|
|
6
|
-
"teal",
|
|
7
|
-
"aliceblue",
|
|
8
|
-
"bisque",
|
|
9
|
-
"blueviolet",
|
|
10
|
-
"burlywood",
|
|
11
|
-
"chocolate",
|
|
12
|
-
"coral",
|
|
13
|
-
"cornflowerblue",
|
|
14
|
-
"crimson",
|
|
15
|
-
"darkblue",
|
|
16
|
-
"darkgoldenrod",
|
|
17
|
-
"darkkhaki",
|
|
18
|
-
"darkmagenta",
|
|
19
|
-
"darkolivegreen",
|
|
20
|
-
"darkorange",
|
|
21
|
-
"darkorchid",
|
|
22
|
-
"darkred",
|
|
23
|
-
"darksalmon",
|
|
24
|
-
"darkslateblue",
|
|
25
|
-
"darkslategray",
|
|
26
|
-
"darkviolet",
|
|
27
|
-
"deeppink",
|
|
28
|
-
"deepskyblue",
|
|
29
|
-
"dodgerblue",
|
|
30
|
-
"firebrick",
|
|
31
|
-
"floralwhite",
|
|
32
|
-
"gainsboro",
|
|
33
|
-
"gold",
|
|
34
|
-
"hotpink",
|
|
35
|
-
"indianred",
|
|
36
|
-
"indigo",
|
|
37
|
-
"khaki",
|
|
38
|
-
"lavender",
|
|
39
|
-
"lightcoral",
|
|
40
|
-
"lightgreen",
|
|
41
|
-
"lightsalmon",
|
|
42
|
-
"lightsteelblue",
|
|
43
|
-
"limegreen",
|
|
44
|
-
"magenta",
|
|
45
|
-
"mediumseagreen",
|
|
46
|
-
"mediumspringgreen",
|
|
47
|
-
"mediumvioletred",
|
|
48
|
-
"moccasin",
|
|
49
|
-
"orangered",
|
|
50
|
-
"orchid",
|
|
51
|
-
"palegoldenrod",
|
|
52
|
-
"palevioletred",
|
|
53
|
-
"peachpuff",
|
|
54
|
-
"peru",
|
|
55
|
-
"plum",
|
|
56
|
-
"royalblue",
|
|
57
|
-
"sandybrown",
|
|
58
|
-
"springgreen",
|
|
59
|
-
"tan",
|
|
60
|
-
"thistle",
|
|
61
|
-
"tomato",
|
|
62
|
-
"violet",
|
|
63
|
-
"wheat",
|
|
64
|
-
"yellowgreen"
|
|
65
|
-
];
|
|
66
|
-
var generateNiceColor = () => {
|
|
67
|
-
const pos = Math.floor(Math.random() * niceColors.length);
|
|
68
|
-
const found = niceColors[pos];
|
|
69
|
-
return found;
|
|
70
|
-
};
|
|
71
|
-
export {
|
|
72
|
-
generateNiceColor,
|
|
73
|
-
niceColors
|
|
74
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Regular expression pattern for validating CSS class names.
|
|
3
|
-
* Matches class names that start with an optional hyphen, followed by a letter or underscore,
|
|
4
|
-
* then any combination of letters, numbers, underscores, or hyphens.
|
|
5
|
-
*/
|
|
6
|
-
export declare const classNameRegex: RegExp;
|
|
7
|
-
/**
|
|
8
|
-
* Checks if a string is a valid CSS class name.
|
|
9
|
-
*
|
|
10
|
-
* @param {string} string - The string to validate.
|
|
11
|
-
* @returns {boolean} True if the string is a valid CSS class name, false otherwise.
|
|
12
|
-
*/
|
|
13
|
-
export declare function isValidClassName(string: string): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
export type StylesSetItem = {
|
|
3
|
-
type: 'string' | 'url';
|
|
4
|
-
content: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
position?: number;
|
|
7
|
-
onLoad?: () => void;
|
|
8
|
-
};
|
|
9
|
-
export declare class StylesSet {
|
|
10
|
-
static defaultPrivateIDAttribute: string;
|
|
11
|
-
static defaultPublicIDAttribute: string;
|
|
12
|
-
tagsPrivateIDAttribute: string;
|
|
13
|
-
tagsPublicIDAttribute: string;
|
|
14
|
-
private _items;
|
|
15
|
-
get items(): Map<string, StylesSetItem>;
|
|
16
|
-
private getTargetPosition;
|
|
17
|
-
setTagsPrivateIDAttribute(str: string): this;
|
|
18
|
-
setTagsPublicIDAttribute(str: string): this;
|
|
19
|
-
getById(id: string): StylesSetItem | undefined;
|
|
20
|
-
generateUniquePrivateId(): string;
|
|
21
|
-
private _rendered;
|
|
22
|
-
render(element: Element): this;
|
|
23
|
-
unmount(element: Element): this;
|
|
24
|
-
updateRendered(): this;
|
|
25
|
-
addItem(item: StylesSetItem, abortIfIdExists?: boolean): this;
|
|
26
|
-
removeItem(idOrPosition: string | number): this;
|
|
27
|
-
getDomString(documentObj?: Document): Promise<string>;
|
|
28
|
-
}
|
|
29
|
-
export type StylesSetCompProps = {
|
|
30
|
-
items?: StylesSet['items'];
|
|
31
|
-
privateIDAttribute?: StylesSet['tagsPrivateIDAttribute'];
|
|
32
|
-
publicIDAttribute?: StylesSet['tagsPublicIDAttribute'];
|
|
33
|
-
onRendered?: (...any: any[]) => any;
|
|
34
|
-
};
|
|
35
|
-
export declare class StylesSetComp extends Component<StylesSetCompProps> {
|
|
36
|
-
componentDidMount(): void;
|
|
37
|
-
componentDidUpdate(): void;
|
|
38
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
}
|